No single best time to take magnesium has been established in research, so the best time is the one you can keep every day: evening is common when the goal is sleep, any time works for daily intake, and taking it with food helps if it upsets your stomach. The NIH fact sheet on magnesium gives timing rules only for a few medicines (NIH ODS: Magnesium). Below: timing by goal, food, other supplements, medicines and forms.
It is educational, not medical advice.
Key Takeaways
- Taking magnesium at the same time every day matters more than the exact hour.
- For sleep, evening is the usual choice. The main trial of magnesium bisglycinate measured results after four weeks of daily use (Schuster et al., 2025).
- The adult upper limit for magnesium from supplements and medicines is 350 mg a day; food does not count toward it (NIH ODS: Magnesium).
- Diarrhea is reported most with magnesium carbonate, chloride, gluconate and oxide.
- Take oral bisphosphonates at least 2 hours before or after magnesium, and tetracycline or quinolone antibiotics at least 2 hours before or 4 to 6 hours after it.
Featured in this article
Vitamin D Cofactor CapsulesMagnesium 100 mg, zinc 10 mg and boron 3 mg per 2 capsules, all as glycinates, made to pair with vitamin D3.
Join the WaitlistComing soon. Third-party tested ingredients.
Is There a Best Time to Take Magnesium?
Not one that research has pinned down. The sleep trials in our guide to magnesium glycinate for sleep gave magnesium daily for weeks; they did not test morning against night. The NIH Office of Dietary Supplements (ODS) fact sheet does not name a best time of day or say whether to take magnesium with or without food. Its timing advice covers oral bisphosphonates and two groups of antibiotics (NIH ODS: Magnesium).
How Much Magnesium You Need
The Recommended Dietary Allowance (RDA) counts magnesium from food, drinks and supplements together (NIH ODS: Magnesium).
| Age | Men | Women | Pregnancy | Breastfeeding |
|---|---|---|---|---|
| 19 to 30 years | 400 mg | 310 mg | 350 mg | 310 mg |
| 31 to 50 years | 420 mg | 320 mg | 360 mg | 320 mg |
| 51 years and older | 420 mg | 320 mg |
The separate 350 mg adult upper limit covers only supplements and medicines. ODS reports that 48 percent of Americans get less magnesium from food and drinks than their Estimated Average Requirement (NIH ODS: Magnesium). See foods high in magnesium for where to find it on your plate.
Best Time to Take Magnesium by Goal
For sleep: evening. In a randomized, double blind trial of 155 healthy adults aged 18 to 65 who reported poor sleep, 250 mg of magnesium a day as magnesium bisglycinate improved sleep questionnaire scores more than placebo after four weeks. The effect was small overall and larger in people whose diets were lower in magnesium (Schuster et al., 2025). A review of three trials in 151 older adults found that people taking magnesium fell asleep about 17 minutes faster than those on placebo, with the evidence rated low quality (Mah and Pitre, 2021). Neither compared times of day, but most people take it with dinner or an hour or two before bed as part of a wind-down routine.
For daily intake: whenever you will remember. Pick a meal you never skip and keep it there.
For a sensitive stomach: with a meal. High doses from supplements or medicines often cause diarrhea, sometimes with nausea and abdominal cramping (NIH ODS: Magnesium). Take it with food, lower the amount or try another form. See magnesium glycinate side effects.
For regularity: magnesium citrate draws water into the bowel, and in larger doses it is sold as a short term laxative (MedlinePlus: Magnesium Citrate), so people who use it this way pick a convenient time.
Magnesium Morning or Night: Side by Side
| Question | Morning | Night |
|---|---|---|
| Common reason | Easy to remember with breakfast | Part of a wind-down routine when sleep is the goal |
| What research compared | Not compared with night | Not compared with morning |
| Pairs with | Vitamin D taken with a meal that has some fat | Dinner, or a routine 30 to 60 minutes before bed |
| Medicine spacing | Useful if a bisphosphonate or antibiotic is taken at night | Useful if a bisphosphonate or antibiotic is taken in the morning |
| Upper limit | 350 mg a day from supplements and medicines combined, whatever the time | |
With or Without Food
ODS does not say magnesium must be taken with or without food. It does say that forms that dissolve well in liquid are more completely absorbed than less soluble forms (NIH ODS: Magnesium). Let your stomach decide: if magnesium on an empty stomach causes nausea, cramping or loose stools, move it to a meal.
Timing Magnesium With Other Supplements
Zinc: you can take them together. ODS describes one study in which 142 mg of zinc a day from supplements interfered with magnesium absorption (NIH ODS: Magnesium), far above the 40 mg adult upper limit for zinc (NIH ODS: Zinc). See magnesium and zinc together and how much zinc per day.
Iron: the ODS magnesium fact sheet gives no spacing for iron. If your magnesium product also contains zinc, taking 25 mg or more of elemental iron at the same time as zinc can lower zinc absorption (NIH ODS: Zinc).
Calcium: neither the ODS magnesium nor calcium fact sheet gives spacing between the two. Calcium absorption from supplements is greater with food and highest in doses of 500 mg or less (NIH ODS: Calcium).
Vitamin D: take vitamin D with food that has some fat, since fat improves its absorption (NIH ODS: Vitamin D). Magnesium can go at the same meal or another time. The two are often paired because all of the enzymes that metabolize vitamin D seem to require magnesium as a cofactor (Uwitonze and Razzaque, 2018). Read vitamin D and magnesium.
Timing Magnesium With Medicines
ODS names these interactions, where timing has firm rules (NIH ODS: Magnesium):
| Medicine | What happens | ODS timing advice |
|---|---|---|
| Oral bisphosphonates (for example alendronate) | Magnesium rich supplements or medicines can lower their absorption | At least 2 hours before or after |
| Tetracycline (for example doxycycline) and quinolone (for example ciprofloxacin) antibiotics | Magnesium binds the antibiotic in the gut | Antibiotic at least 2 hours before or 4 to 6 hours after the magnesium |
| Loop and thiazide diuretics (for example furosemide, hydrochlorothiazide) | Long term use can raise magnesium loss in urine | No spacing given; talk with your prescriber |
| Potassium sparing diuretics (for example amiloride, spironolactone) | Reduce magnesium loss in urine | No spacing given; talk with your prescriber |
| Proton pump inhibitors (for example esomeprazole, lansoprazole) | Use for long periods, typically more than a year, can cause low blood magnesium | No spacing given; your clinician may check your magnesium level |
Forms of Magnesium and Timing
In small studies, the aspartate, citrate, lactate and chloride forms tended to have higher bioavailability than oxide and sulfate (NIH ODS: Magnesium). In healthy volunteers, only about 4 percent of the magnesium from magnesium oxide was absorbed, while chloride, lactate and aspartate were absorbed significantly better (Firoz and Graber, 2001).
- Glycinate or bisglycinate: not among the forms ODS lists as most often causing diarrhea, and the form used in the main sleep trial, so many people take it in the evening. See magnesium bisglycinate vs glycinate.
- Citrate: draws water into the bowel, so choose a time when looser stools will not be a problem. Compare in magnesium glycinate vs citrate.
- Glycerophosphate: one of the two forms in our upcoming sleep powder; see magnesium glycerophosphate.
- Carbonate, chloride, gluconate and oxide: the forms most commonly reported to cause diarrhea (NIH ODS: Magnesium), so try them with a meal first.
For how magnesium glycerophosphate and glycinate differ, see our guide to magnesium glycerophosphate vs glycinate.
Should You Split Your Magnesium Dose?
ODS does not say magnesium must be split, but splitting can spread out the amount if one larger serving upsets your stomach, or match each serving to a goal. This example keeps total supplemental magnesium under 350 mg:
- Breakfast: 100 mg of magnesium with a meal that has some fat, alongside vitamin D.
- 30 to 60 minutes before bed: 200 mg of magnesium as part of a wind-down routine.
- Total: 300 mg from supplements, 50 mg under the 350 mg adult limit, which does not count food.
If a multivitamin, antacid or laxative also contains magnesium, count it and adjust so the total stays under 350 mg.
How Long Before You Notice a Difference?
The main bisglycinate trial measured sleep after four weeks of daily use (Schuster et al., 2025), and a trial in 46 older adults ran for eight weeks (Abbasi et al., 2012). That trial used 500 mg a day, above the 350 mg supplement limit, so do not take that much without a clinician's advice. Based on these study lengths, give a steady routine a few weeks before judging it.
Coming Soon From Synchronicity
Our Vitamin D Cofactor Capsules will give 100 mg of magnesium (as magnesium bisglycinate) per 2 capsules, with zinc 10 mg (as zinc bisglycinate) and boron 3 mg (as boron glycinate). They are made to pair with our Vitamin D3 + K2 Drops, available now. The capsules are not on sale yet. Pre-order on the product page to join the waitlist; no payment is taken. See our zinc bisglycinate and vitamin D3 pages.
Our Melatonin-Free Sleep Powder is also coming soon, with 200 mg of magnesium per scoop (as magnesium bisglycinate and magnesium glycerophosphate) plus glycine, tart cherry, myo-inositol and apigenin from chamomile flower. It supports restful sleep and helps you wind down at night, with no added melatonin and 5-HTP free. Mix 1 scoop in 8 oz of water 30 to 60 minutes before bed. It is not on sale yet. Join the waitlist on the product page; no payment is taken. See also sleep supplements without melatonin.
Used together as in the split example, 2 capsules in the morning and 1 scoop at night come to 300 mg of supplemental magnesium a day, under the 350 mg adult limit. Do not add other magnesium supplements without checking your total.
Safety Note
The risk of magnesium building up rises when the kidneys do not work well, because the ability to remove excess magnesium is reduced (NIH ODS: Magnesium). Talk with a clinician before taking magnesium if you have kidney problems, are pregnant or breastfeeding, or take bisphosphonates, tetracycline or quinolone antibiotics, diuretics or proton pump inhibitors. Keep supplemental magnesium within 350 mg a day unless a clinician advises otherwise.
Featured in this article
Vitamin D Cofactor CapsulesMagnesium 100 mg, zinc 10 mg and boron 3 mg per 2 capsules, all as glycinates, made to pair with vitamin D3.
Join the WaitlistComing soon. Third-party tested ingredients.
Frequently Asked Questions
Is it better to take magnesium in the morning or at night?
Research has not shown either to be better. Night is the usual choice for sleep, and morning works if that is when you remember. Consistency matters more.
Should I take magnesium with food?
ODS does not require it. Take it with a meal if it upsets your stomach.
How long before bed should I take magnesium?
The sleep trials did not test exact timing. Many people take it with dinner or an hour or two before bed.
Can I take magnesium and vitamin D at the same time?
Yes. Take vitamin D with a meal that has some fat; magnesium can go at the same meal or another time.
How far apart should magnesium and antibiotics be?
For tetracycline and quinolone antibiotics, ODS advises taking the antibiotic at least 2 hours before or 4 to 6 hours after a magnesium supplement.
Is 400 mg of magnesium too much?
From supplements, yes: it is above the 350 mg adult upper limit, which counts supplements and medicines but not food. As a total from food and supplements, 400 to 420 mg is the RDA for adult men.
Sources
- NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. Updated January 6, 2026. ODS
- NIH Office of Dietary Supplements. Zinc: Fact Sheet for Health Professionals. Updated January 6, 2026. ODS
- NIH Office of Dietary Supplements. Calcium: Fact Sheet for Health Professionals. ODS
- NIH Office of Dietary Supplements. Vitamin D: Fact Sheet for Health Professionals. ODS
- MedlinePlus. Magnesium Citrate. MedlinePlus
- Schuster J, et al. Magnesium bisglycinate supplementation in healthy adults reporting poor sleep: a randomized, placebo-controlled trial. Nat Sci Sleep. 2025. PubMed 40918053
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complement Med Ther. 2021. PubMed 33865376
- 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. PubMed 23853635
- Firoz and Graber, 2001. Absorption of magnesium from commercial preparations in healthy volunteers (cited in our magnesium glycinate vs citrate guide). PubMed 11794633
- Uwitonze and Razzaque, 2018. Review on magnesium and vitamin D (cited in our vitamin D and magnesium guide). DOI 10.7556/jaoa.2018.037
These statements have not been evaluated by the Food and Drug Administration. This content is for education and is not medical advice. Our products are not intended to diagnose, treat, cure or prevent any disease. Talk with a healthcare provider before starting a new supplement if you are pregnant, breastfeeding or taking medication.

Leave a comment
All comments are moderated before being published.
This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.