There is no proven best time of day to take magnesium. No trial in NutriDex's evidence has compared morning with evening doses, and the benefits seen in research came from taking it every day for weeks or months. So pick a time you will stick to. Timing matters in a few practical ways: managing diarrhoea, fitting your routine, and checking with your pharmacist whether to space it from any regular medicines.
Does the time of day you take magnesium actually matter?
Magnesium is a mineral the body uses for energy production, muscle and nerve function, and making DNA. NutriDex gives it an overall grade of Moderate: several controlled trials show real effects, but they are modest or depend on who is taking it. Its effects are greatest when it corrects a shortfall, which is common with modern diets.
The trials behind those effects tested steady daily use, not timing. Blood pressure is a good example: magnesium probably lowers it modestly. One meta-analysis (a study that pools the results of many trials) found that a median 368 mg a day for a median 3 months lowered systolic blood pressure (the upper number) by 2.00 and diastolic (the lower number) by 1.78 mm Hg compared with placebo (a dummy pill). Another found stronger reductions at 400 mg a day or more taken for 12 weeks or longer.
A third meta-analysis found no effect in people with normal blood pressure, and larger drops in people already taking blood pressure medicines. None of these trials asked whether the time of day changed the result.
Timing does matter in a few specific ways:
- Medicines. NutriDex's calcium entry sets spacing rules for some thyroid, bone and antibiotic medicines; its magnesium entry does not. If you take regular medicines, ask your pharmacist whether to space magnesium from them.
- Diarrhoea. Too much magnesium, especially the citrate or oxide forms, causes diarrhoea, so you may prefer a time when that would be least disruptive.
- Routine. A dose taken at the same moment each day is easier to remember.
Some websites claim that an evening dose lines up a "peak" calming effect with bedtime. The evidence contains no human data showing a timed peak of this kind.
Best time to take magnesium for sleep, constipation, cramps and migraine
For sleep
Taking magnesium in the evening is reasonable if your goal is sleep, simply because it fits a wind-down routine. The evidence doesn't say how long before bed to take it, so any time in your evening routine is reasonable. Magnesium probably improves subjective sleep (how well you feel you slept) in older people and those low in magnesium. But the trials are small, and NutriDex rates the evidence on sleep quality as preliminary and low quality.
A meta-analysis of 3 trials in 151 older adults found people fell asleep 17.36 minutes faster than with placebo, while the 16.06-minute gain in total sleep time was not statistically significant; the evidence was low to very low quality. A systematic review (a structured summary of all relevant studies) found 5 of 8 sleep studies showed improvement, with higher doses (243–729 mg) more effective, and its authors concluded magnesium is likely useful for mild insomnia, especially when magnesium status is low. Whether it helps adults who already get enough magnesium is not settled. Compare options on supplements for sleep and insomnia.
For constipation
NutriDex does not grade magnesium as a constipation treatment. What its data do show is that excess magnesium, particularly citrate and oxide, causes diarrhoea, and that effect depends on how much you take. Websites give very different onset times, and the evidence doesn't settle how quickly it works. If you use it this way, choose a time when you will be near a toilet, and see a doctor if constipation persists. See supplements for constipation and regularity.
For night-time leg cramps
Many people take magnesium in the evening for night cramps, but trials have not found a benefit. An evidence review concluded that magnesium does not reduce leg cramps with no known cause, or leg cramps in pregnancy, over short courses. Changing the timing can't fix an effect that hasn't been shown.
For migraine prevention
Early evidence suggests a possible effect: magnesium may reduce how often migraines happen. A 2025 meta-analysis found fewer migraine attacks, lower severity and 1.66 fewer migraine days a month compared with control. Prevention depends on regular use, so a consistent daily time matters more than morning or evening. The doses used in migraine trials aren't covered here; see supplements for migraine and headaches.
For a general top-up
If you take magnesium because your diet is low in it, any time works. Choose the moment you are least likely to forget.
Does the type of magnesium change when you should take it?
Labels and websites often assign each form a time of day: glycinate at night, malate in the morning, and so on. None of these timing rules has been tested in the trials NutriDex holds. The real differences between forms are how well they are absorbed and how likely they are to loosen your bowels.
| Form | Absorption (NutriDex) | Diarrhoea in excess | Evidence on timing |
|---|---|---|---|
| Glycinate | Among the best absorbed | Not flagged in NutriDex's safety notes | None |
| Citrate | Among the best absorbed | Yes | None |
| Oxide | Poorly absorbed | Yes | None |
| L-threonate | No NutriDex data | No NutriDex data | None |
| Malate, taurate | No NutriDex data | No NutriDex data | None |
L-threonate is marketed for memory and thinking, but the human data are thin: at most a possible effect from early or small studies. Claims that malate is "energising", or that the glycine in glycinate adds a meaningful calming effect, are not answered by the evidence. NutriDex's evidence includes no head-to-head comparisons of forms for sleep.
When you read a label, look for elemental magnesium. This is the amount of magnesium itself, not the weight of the whole compound (magnesium plus whatever it is bound to). NutriDex's typical dose of 200–400 mg refers to elemental magnesium.
Should you take magnesium with food, and can you split the dose?
The evidence doesn't answer whether food changes how well magnesium is absorbed, so claims that it is "better absorbed with food" are not settled. Taking it with a meal is fine if that suits you; nothing in the evidence argues against it.
Splitting a dose between morning and evening hasn't been tested in the trials NutriDex holds either. Diarrhoea is the main sign of taking too much, so if a dose gives you loose stools, a lower total dose is the most direct fix. Claims that split doses keep magnesium levels "stable through the day" are not backed by evidence.
What not to take magnesium with: calcium, zinc, vitamin D and medicines
Calcium
NutriDex's calcium entry notes that excess calcium can impair the absorption of magnesium, iron and zinc; its upper limit is 2000–2500 mg a day for adults. The evidence doesn't show whether ordinary doses taken together cause a problem, or whether spacing them helps. Websites disagree, and the evidence doesn't settle it. Calcium itself is best absorbed in doses of 500 mg or less.
If you take calcium supplements, know the main risk. In the large WHI trial, supplemental calcium raised kidney stones by about 17%. A possible link with heart attacks is debated; trials disagree. NutriDex advises getting calcium mainly from food, and avoiding high-dose supplements if you have had calcium kidney stones, hypercalcaemia (high blood calcium) or hyperparathyroidism (overactive parathyroid glands).
Zinc
Whether zinc and magnesium compete for absorption is not answered by the evidence. The main zinc caution is separate: long-term high intake blocks copper absorption, and the adult upper limit is about 40 mg a day. The resulting copper deficiency can cause anaemia and, rarely, permanent nerve damage. Avoid nasal zinc products, which have caused permanent loss of smell.
Vitamin D
Nothing in the evidence suggests you need to separate magnesium from vitamin D. For vitamin D itself, a steady daily dose is preferred over large, infrequent doses. The adult upper limit is about 4,000 IU a day, and people with sarcoidosis or taking thiazide diuretics (a type of water tablet) should check with their doctor, because both raise calcium.
Medicines
NutriDex's magnesium entry does not set out spacing rules for specific medicines. Its calcium entry advises separating that mineral by 2–4 hours from levothyroxine (a thyroid medicine), bisphosphonates (a group of bone medicines), and tetracycline and fluoroquinolone antibiotics. If you take any of these, ask your pharmacist how to time magnesium around them, and don't change how you take a prescribed medicine without their advice. You can also check NutriDex's medication interactions page.
How much magnesium per day, and who should be careful?
NutriDex's typical dose is 200–400 mg of elemental magnesium a day, and magnesium is considered safe at these amounts. Taking too much causes diarrhoea, especially with citrate and oxide. Benefits are clearest when magnesium corrects a shortfall.
Check with a professional first if:
- You have kidney disease. NutriDex advises caution; speak to your doctor before taking magnesium.
- You take blood pressure medicines. Trials found larger blood pressure drops in people already on treatment, so tell your doctor.
- You take other regular medicines. Ask your pharmacist about timing and suitability.
- You are pregnant or breastfeeding. The evidence here doesn't cover safety in pregnancy or breastfeeding, so check with your doctor or midwife.
Bottom line: a simple magnesium timing plan
- Pick a time you will stick to every day; steady daily use is what the trials tested.
- Choose the evening if it suits your sleep routine or if magnesium makes you drowsy.
- If you use citrate or oxide at doses that loosen your bowels, take it when you will be near a toilet.
- Ask your pharmacist whether to space it from your medicines.
- Expect modest effects, mostly if you were low in magnesium to begin with.
For the full graded evidence, see NutriDex's magnesium page, linked at the top of this article. The sleep, constipation and migraine guides linked above compare magnesium with other options.