Best Time to Take Magnesium
Not medical advice — this summarizes published research; talk to a clinician before starting a supplement. Methodology.
The form matters more than the clock. Take glycinate at night for sleep and relaxation, citrate in the morning for energy or digestion — always with food, and spaced away from antibiotics, high-dose zinc, and calcium. If you take it just to fix a deficiency, consistency beats timing.
As an Amazon Associate we earn from qualifying purchases. Picks are ranked by cost per effective dose and clinical evidence, never commissions.
Quick answer: There's no single "best time" to take magnesium — the honest answer is that it depends on which magnesium and why you're taking it. Glycinate in the evening supports sleep; citrate in the morning supports daytime regularity and energy. Take it with food to avoid the most common side effect (loose stools), and keep it away from antibiotics, high-dose zinc, and large calcium doses. If your only goal is correcting a deficiency, taking it consistently matters more than the hour.
The real answer: match the form to the goal
| Form | When | Why |
|---|---|---|
| Glycinate | Evening, 30–60 min before bed | Gentle and well absorbed; supports sleep and relaxation |
| Citrate | Morning | Mild osmotic effect aids daytime regularity; well absorbed |
| Oxide | With a meal (or bedtime if used for constipation) | Poorly absorbed and strongly laxative — mostly a stool softener, not a repletion form |
| Any form for deficiency | Consistent daily time, with food | Correcting a deficit is about total daily intake, not the hour |
For sleep: glycinate at night
Magnesium supports sleep through its calming effect on the nervous system — it helps regulate the NMDA and GABA signaling that governs how excitable your nerves are, the same pathways calming compounds act on (a mechanism reviewed in PMID 41116797). In a 2025 randomized controlled trial, adults with poor sleep who took magnesium bisglycinate saw a small but statistically significant improvement in Insomnia Severity Index scores versus placebo over four weeks (PMID 40918053) — a real effect, though a modest one. Earlier work in older adults with insomnia found magnesium improved sleep efficiency and how quickly they fell asleep (PMID 23853635). If sleep is your goal, take glycinate 30–60 minutes before bed.
For daytime and digestion: citrate in the morning
Magnesium citrate is well absorbed and has a mild osmotic pull that supports regularity, which makes the morning a sensible time for it (NIH ODS). If you take magnesium for general repletion rather than sleep or digestion, morning or evening both work — pick the time you'll actually remember. See our magnesium forms comparison to choose a citrate that fits.
With food or on an empty stomach?
With food. The most common magnesium side effect is loose stools and nausea, and taking it with a meal blunts that. Supplemental magnesium above the tolerable upper limit of 350 mg/day makes diarrhea especially likely, so if you're taking a higher total, splitting it across meals is gentler than one large dose (NIH ODS). Magnesium from food carries no such limit — only supplements and magnesium-containing medications do.
What to keep magnesium away from
Three spacing rules the popular guides usually miss.
Antibiotics: take magnesium at least 2 hours before, or 4–6 hours after, tetracycline and quinolone antibiotics — magnesium binds them in the gut and blocks their absorption. High-dose zinc: very high supplemental zinc (around 142 mg/day in the study the NIH cites) can interfere with magnesium absorption; normal zinc doses are fine. Calcium: a large calcium dose taken at the same moment as magnesium may reduce how much magnesium you absorb, so it's reasonable to space big doses apart rather than take them together. Antibiotic and zinc figures: NIH ODS Magnesium fact sheet.
Frequently asked questions
What is the best time of day to take magnesium?
It depends on the form and your goal. Glycinate is best in the evening for sleep and relaxation; citrate is better in the morning for energy or digestive regularity. The single most important rule is consistency — take it at the same time each day, ideally with food.
Should I take magnesium in the morning or at night?
For sleep, take glycinate 30–60 minutes before bed — magnesium acts on GABA and NMDA receptors that support relaxation, and a 2025 trial found bisglycinate improved insomnia severity. For daytime energy or regularity, take citrate in the morning. For a deficiency, time of day matters far less than consistency.
Should magnesium be taken with or without food?
With food is usually better — it reduces the risk of diarrhea and nausea, the most common side effect. Supplemental magnesium above 350 mg/day makes loose stools especially likely, so splitting the dose with meals helps.
What should you not take magnesium with?
Space magnesium at least 2 hours before or 4–6 hours after tetracycline and quinolone antibiotics, which it binds and blocks. Very high-dose zinc (~142 mg/day) can interfere with magnesium absorption, and magnesium and calcium share an absorption pathway, so separate large simultaneous doses.
Related guides
- Magnesium Dosage Guide · Magnesium Forms Compared · Best Magnesium for Sleep
- Taking Magnesium with Vitamin D
Sources
- Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized Controlled Trial. Nat Sci Sleep. 2025. PMID: 40918053
- The Mechanisms of Magnesium in Sleep Disorders. Nat Sci Sleep. 2025;17:2639-2656. PMID: 41116797
- 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-1169. PMID: 23853635
- NIH Office of Dietary Supplements. Magnesium Fact Sheet for Health Professionals. ods.od.nih.gov