Magnesium for sleep, by the evidence

Does magnesium help you sleep? The mechanism is real, the trial evidence is modest. Which form (glycinate), what dose (100-350 mg), and who actually benefits.
What people ask us next.
- Does magnesium actually help you sleep?
- Modestly, and mostly if you are deficient or older. The mechanism is sound, magnesium dampens the excitatory NMDA receptor and supports GABA, but the trial evidence is low-quality with small effects (Mah & Pitre 2021). The most-cited RCT (Abbasi 2012) showed improvement in elderly insomniacs at 500 mg/day. A well-nourished young adult should expect little. It is a reasonable low-risk trial, not a reliable sleep aid.
- Which magnesium is best for sleep?
- Glycinate (magnesium bisglycinate). It is well absorbed and does not loosen the bowel the way citrate and oxide do, which matters for an overnight dose (Walker 2003). The glycine it is bound to has mild sleep-supportive evidence of its own. Threonate is heavily marketed for the brain but is expensive and has no sleep-outcome trials. Our magnesium forms comparison ranks them by $/100mg of elemental magnesium.
- How much magnesium should I take for sleep?
- 100-350 mg of elemental magnesium, taken 1-2 hours before bed, kept under the 350 mg/day supplemental upper limit so food magnesium can sit on top. Read the label for elemental magnesium, not compound weight, since a large 'magnesium glycinate' number often translates to a much smaller elemental dose.
- When should I take magnesium for sleep?
- About 1-2 hours before bed. There is no strong timing trial, but taking it in the evening aligns the modest calming effect with the sleep window and is how the sleep studies dosed it. Consistency matters more than exact timing; if it upsets your stomach, take it with a small snack.
- Can magnesium replace melatonin or a sleep medication?
- No. Magnesium's effect is smaller and less reliable than melatonin for circadian-timing problems or than a prescribed hypnotic for clinical insomnia. It is best framed as fixing a possible deficiency that is hurting sleep, not as a sedative. If insomnia is persistent, that is a clinician conversation, not a supplement one.
- Is it safe to take magnesium every night?
- Yes, for healthy adults, within the supplemental upper limit. The 350 mg/day cap on supplemental magnesium exists because higher doses of poorly absorbed forms cause diarrhea (NIH ODS). Glycinate at 100-350 mg is well under that and well tolerated nightly. People with impaired kidney function should not supplement magnesium without medical advice.
Every claim, cited.
- [01]Abbasi B, Kimiagar M, Sadeghniiat K, et al. 2012. The effect of magnesium supplementation on primary insomnia in elderly: a double-blind placebo-controlled clinical trial. J Res Med Sci 17(12):1161-1169. 500 mg/day improved sleep measures in elderly insomniacs.
- [02]Mah J, Pitre T. 2021. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complement Med Ther 21:125. Evidence graded low-quality, modest effect.
- [03]Walker AF, Marakis G, Christie S, Byng M. 2003. Mg citrate found more bioavailable than other Mg preparations. Magnes Res 16(3):183-191. Absorption and tolerability by form.
- [04]Workinger JL, Doyle RP, Bortz J. 2018. Challenges in the diagnosis of magnesium status. Nutrients 10(9):1202. NMDA/GABA mechanism and status assessment.
- [05]NIH Office of Dietary Supplements. Magnesium Fact Sheet for Health Professionals. Supplemental upper limit 350 mg/day; food has no UL.
The Larderlab Team builds evidence-led frameworks for eating, lifting, and stocking a kitchen. We cite every claim. We publish the spreadsheet when possible. We buy what we review at retail price. When new data lands, we revise with a dated note.
Next in this hub.
What to Avoid When Taking Collagen: Five Caveats With Evidence Behind Them
Do not count it toward your protein target, do not judge it before 8 to 12 weeks, and if you form kidney stones, know that 30 g of gelatin raised urinary oxalate by 43 percent in a controlled study. The real caveats, and the myths.
8 min · rev 2026-08-24Foods High in Collagen: Why the Real List Is Shorter Than You Think
Collagen exists only in animal connective tissue, so no plant food contains any. Gelatin powder leads at 85.6 g of protein per 100 g, pork skin at 61.3 g. And the most-marketed source, bone broth, tested poorly against supplements.
8 min · rev 2026-08-24Ashwagandha Benefits: What the Trials Show, and the Liver Signal
Pooled across 12 trials in 1,002 people, stress fell with a standardised mean difference of 1.75 and anxiety by 1.55, but heterogeneity was above 83 percent and the certainty of evidence was rated low. The dose that was tested, and the hepatic case series.
8 min · rev 2026-08-24Get the Larderlab Macro Planner.
A Google Sheet that calculates your protein target, splits it across 3-5 meals, and ranks 20 protein sources by $/gram. Free. Copy-and-modify your own version.
By subscribing, you agree to our Privacy Policy. Unsubscribe anytime.