When to Take Magnesium: Morning or Night?
Food, split doses and a few medicines matter more than the time on the clock.
The short answer
Take magnesium with a meal, at whatever time of day you will remember it. Absorption from a magnesium-rich water rose from 45.7% to 52.3% when it was drunk with a meal1. No study we read found a better time of day.
If your goal is sleep, an evening dose is a sensible choice, but expect a modest effect at most: one sleep trial found a small benefit over placebo and another found none2, 3. For what magnesium does and how much to take, see our magnesium page.
Key takeaways
Is it best to take magnesium at night or in the morning?
We found no study that tested whether the time of day changes how much magnesium you absorb, and no trial that compared a morning dose with a night dose of the same supplement. What is known is that absorption depends mainly on the dose, the food matrix and what else you take with it4.
Sleep is the reason people pick night. The evidence for that goal is modest and mixed, and comes from daily dosing over weeks:
- 46 older adults: 500 mg of magnesium daily for 8 weeks shortened sleep onset time (P = 0.02) and lowered insomnia severity scores (P = 0.006) compared with placebo5. That dose is above the 350 mg upper limit for supplements in adults, so don't copy it without a clinician's advice6.
- 155 adults with poor sleep: 250 mg of elemental magnesium as bisglycinate cut insomnia severity scores by 3.9 points, against 2.3 on placebo, at 4 weeks (p = 0.049). The effect size was small (Cohen's d = 0.2)2.
- 100 adults aged 51 to 85 with poor sleep: 320 mg of magnesium a day as citrate, or a placebo, for 7 weeks. Sleep quality scores improved from 10.4 to 6.6 regardless of whether people took magnesium or placebo, so the trial could not show that magnesium itself helped3.
- A meta-analysis of 3 trials in 151 older adults: sleep onset was 17.36 minutes shorter on magnesium. The review rated the evidence low to very low quality7.
On timing, the bisglycinate trial had people take the capsules 30 to 60 minutes before bed, while the 46-adult trial gave two tablets a day2, 5. Neither compared one time with another, so the benefit shown is for taking magnesium daily, not for the hour you take it. Our pages on magnesium for sleep quality and insomnia cover the full evidence.
Should you take magnesium with food or on an empty stomach?
With food is the better default. In a crossover study of 10 healthy women, apparent absorption of magnesium from mineral water was 45.7% alone and 52.3% with a meal, a relative gain of 14.4%1.
Meals can also help with the stomach. High supplemental doses can cause diarrhea, nausea and abdominal cramping6, and taking the dose with food is a common way to take the edge off. That is practical advice rather than a trial result.
One small pilot supports meals for a specific group. Eight people with a history of calcium oxalate kidney stones and high urine oxalate took magnesium with meals or fasting for 7 days. The with-meals group had a larger drop in urinary oxalate (a median of 17.8 mg a day, against an average of 8.5 mg)8. The trial is too small to generalise, but it points the same way. See kidney stones if that applies to you.
What in a meal lowers absorption?
Some foods work against you. Phytate (in whole grains), oxalate and fibre all reduce magnesium uptake, while protein and some indigestible carbohydrates raise it4. In one stable-isotope study, adding phytic acid at whole-meal bread levels cut fractional magnesium absorption from 32.5% to 13.0%9. That study tested magnesium in bread, not a capsule. It still suggests taking a supplement with a lighter meal rather than a bran-heavy one.
Is it better to split magnesium into smaller doses?
Yes, if you take a lot. The share of magnesium you absorb falls as a single dose rises. In a study that gave a standard meal with 5 increasing amounts of magnesium acetate, fractional absorption fell from 65% at the lowest intake to 11% at the highest10.
A review of the absorption research reached the same conclusion: relative uptake is higher when the mineral is taken in several low doses across the day than in one large dose4. The review adds that absorbing more at one time is usually followed by excreting more4.
A practical split is half with breakfast and half with dinner. Keep the daily total at or below the upper limit for magnesium from supplements and medicines: 350 mg for adults and children aged 9 and over, 110 mg for children aged 4 to 8, and 65 mg for children aged 1 to 36. The limit does not count the magnesium in food6. Ask a doctor before giving magnesium to a child.
Does the form of magnesium change when to take it?
We found no trial that tested timing for any single form. The same rules apply to glycinate, citrate and oxide: take them with food and split large doses.
The form does change how much you absorb. Forms that dissolve well in liquid, such as citrate, aspartate, lactate and chloride, tend to be absorbed better than oxide6. In one study, fractional absorption of magnesium oxide was only 4%, while chloride, lactate and aspartate were higher and similar to each other11. In a 60-day trial in 46 adults at 300 mg of elemental magnesium a day, citrate raised blood levels most and oxide did not differ from placebo12.
A review noted that the salt matters less than often claimed, and that dose and your own status count for more4. Our comparison of magnesium glycinate vs citrate goes through which form suits which goal.
One timing point follows from the stomach effects. A poorly absorbed form at a large dose can loosen stools6, so take it when a bathroom trip is convenient. If constipation is the goal, see constipation.
What should you never mix with magnesium?
Separate magnesium from a few medicines, and from large doses of other minerals. Magnesium can bind to some drugs in the gut and reduce how much of them you absorb6.
- Oral bisphosphonates (such as alendronate): take magnesium at least 2 hours before or after them6.
- Tetracycline antibiotics (such as doxycycline) and quinolones (such as ciprofloxacin): take the antibiotic at least 2 hours before, or 4 to 6 hours after, magnesium6. For ciprofloxacin, the label sets the gap at 6 hours after any supplement that contains magnesium13.
- Thyroid medicine (levothyroxine): its label says not to take it within 4 hours of antacids, such as those with magnesium hydroxide, or of iron or calcium supplements14. It does not mention other magnesium supplements, so if you take levothyroxine for hypothyroidism, ask your pharmacist whether to keep magnesium 4 hours away too.
- High doses of other minerals: these can reduce magnesium uptake4. For zinc, one study found this at a very high 142 mg a day from supplements6, so take any high-dose mineral supplement at a different meal.
Other medicines change your magnesium status instead. Loop and thiazide diuretics increase magnesium loss in urine, and proton pump inhibitors taken for more than a year can cause low magnesium6. Ask your pharmacist about your own list before you start.
Kidney disease
What happens if you take magnesium every night?
In healthy adults, a nightly dose at or below the upper limit is unlikely to cause harm, since that limit marks the most you can take daily with no likely ill effects6. The sleep trials above gave magnesium daily for only 4 to 8 weeks5, 2, 3, so they say little about years of nightly use.
Kidney disease changes this. The risk of magnesium toxicity rises with impaired kidney function or kidney failure, because the body can no longer clear the excess6. If you have chronic kidney disease, ask your doctor before taking any magnesium supplement.
The common side effects at high doses are diarrhea, nausea and abdominal cramping. Very high doses can cause toxicity, with low blood pressure, vomiting, breathing difficulty and an irregular heartbeat6. Toxicity has mostly followed very large doses of magnesium laxatives or antacids, typically over 5,000 mg a day, and has caused deaths in a toddler and an older man6. The 350 mg adult limit covers supplements and medicines combined, so count any magnesium antacid or laxative too.
What are the signs you are low in magnesium?
Early signs are loss of appetite, nausea, vomiting, fatigue and weakness. As deficiency worsens, numbness, tingling, muscle cramps, seizures, personality changes and abnormal heart rhythms can follow6.
These signs are not specific to magnesium. Symptomatic deficiency from low intake alone is uncommon in healthy people, because the kidneys limit urinary loss6. Low magnesium is more likely with gut disease, type 2 diabetes, heavy alcohol use, older age, or long-term diuretic or proton pump inhibitor use6.
Timing will not fix a deficiency, so see a clinician if you suspect one. The usual blood test measures magnesium in serum, which does not accurately reflect how much is in the rest of your body6. Our pages on magnesium deficiency and magnesium for deficiency explain what is known.
What is a simple schedule to follow?
Use these rules, in this order:
- Pick a meal you never skip. Dinner suits sleep goals, and breakfast suits people who forget evening doses. Absorption was higher with a meal1.
- Split it if you take a large amount. Uptake falls as a single dose rises10.
- Move other minerals to another meal. Take high-dose mineral supplements, such as zinc, away from magnesium4.
- Mind your medicines. Keep magnesium at least 2 hours from bisphosphonates. Take tetracycline or quinolone antibiotics at least 2 hours before or 4 to 6 hours after magnesium (6 hours after for ciprofloxacin)6, 13. If you take levothyroxine, ask your pharmacist whether to keep magnesium 4 hours away14.
- Give it weeks, not hours, for sleep. Trials measured sleep after 4 to 8 weeks of daily dosing5, 2, 3.
Related conditions
Frequently Asked Questions
What time is good to take magnesium, morning or night?
How long does it take for magnesium to kick in at night?
Does magnesium help AFib?
What are the rules for taking magnesium?
Is magnesium better absorbed on an empty stomach?
How we researched this
We searched PubMed and a paper-search index for trials and reviews on magnesium absorption, meals, split dosing, form and sleep, and read the NIH Office of Dietary Supplements fact sheet. We cited 11 journal records, which we read as PubMed abstracts, plus the NIH fact sheet and the FDA labels for ciprofloxacin and levothyroxine on DailyMed. For two sleep trials we also read the full text, to see when the dose was taken. We prioritised human trials, stable-isotope absorption studies and systematic reviews. We found no trial that compared morning with night dosing, so that part of the answer rests on absorption and sleep-trial evidence. Researched on 14 October 2026. Reviewed and corrected on 14 October 2026: we added a sleep trial that found no benefit over placebo, the upper limits for children, the kidney disease warning to the main text, and medicine spacing for ciprofloxacin and levothyroxine.
References
- Sabatier M, et al. Meal effect on magnesium bioavailability from mineral water in healthy women. Am J Clin Nutr. 2002;75(1):65-71. doi:10.1093/ajcn/75.1.65
- Schuster J, et al. Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial. Nat Sci Sleep. 2025;17:2027-2040. doi:10.2147/NSS.S524348 Our study summary.
- Nielsen FH, et al. Magnesium supplementation improves indicators of low magnesium status and inflammatory stress in adults older than 51 years with poor quality sleep. Magnes Res. 2010;23(4):158-68. https://pubmed.ncbi.nlm.nih.gov/21199787/
- Schuchardt JP, et al. Intestinal Absorption and Factors Influencing Bioavailability of Magnesium-An Update. Curr Nutr Food Sci. 2017;13(4):260-278. doi:10.2174/1573401313666170427162740
- Abbasi B, et al. The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial. J Res Med Sci. 2012;17(12):1161-9. https://pubmed.ncbi.nlm.nih.gov/23853635/ Our study summary.
- National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
- Mah J, et al. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complement Med Ther. 2021;21(1):125. doi:10.1186/s12906-021-03297-z Our study summary.
- Sharbaugh AJ, et al. Timing of magnesium supplementation in patients with nephrolithiasis: A randomized controlled trial. Clin Nephrol. 2025;103(5):312-317. doi:10.5414/CN111168
- Bohn T, et al. Phytic acid added to white-wheat bread inhibits fractional apparent magnesium absorption in humans. Am J Clin Nutr. 2004;79(3):418-23. doi:10.1093/ajcn/79.3.418
- Fine KD, et al. Intestinal absorption of magnesium from food and supplements. J Clin Invest. 1991;88(2):396-402. doi:10.1172/JCI115317
- Firoz M, et al. Bioavailability of US commercial magnesium preparations. Magnes Res. 2001;14(4):257-62. https://pubmed.ncbi.nlm.nih.gov/11794633/
- Walker AF, et al. Mg citrate found more bioavailable than other Mg preparations in a randomised, double-blind study. Magnes Res. 2003;16(3):183-91. https://pubmed.ncbi.nlm.nih.gov/14596323/ Our study summary.
- U.S. National Library of Medicine, DailyMed. Cipro (ciprofloxacin) tablets and oral suspension: prescribing information and Medication Guide. Bayer HealthCare Pharmaceuticals Inc. https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=888dc7f9-ad9c-4c00-8d50-8ddfd9bd27c0
- U.S. National Library of Medicine, DailyMed. Synthroid (levothyroxine sodium) tablets: prescribing information. AbbVie Inc. https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=1e11ad30-1041-4520-10b0-8f9d30d30fcc
Continue Reading
All articlesWhen to Take Vitamins: Morning, Night or With Food?
For most vitamins the time of day matters little. Take them with a meal, and space iron, calcium, zinc and some medicines apart.
When to Take Creatine: Before or After a Workout?
Creatine works when taken daily at any time. Trials comparing before and after workouts, morning and night, and with or without food, explained.