larderlab
Explainer· Supplements

Magnesium for sleep, by the evidence

Magnesium for sleep, by the evidence
Evidence reviewed·05 sources cited·Dr. Soraya Khan, RDN
Vol. 1Issue 042026-06-28larderlab.com
Educational use only. Larderlab content is educational. Pantry, macro, and supplement guidance is not a substitute for medical advice. Consult a registered dietitian or your physician before making material changes to your diet or supplementation.

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.

Questions

What people ask us next.

Q01
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.
Q02
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.
Q03
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.
Q04
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.
Q05
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.
Q06
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.
Sources

Every claim, cited.

05 refs
  1. [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.
  2. [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.
  3. [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.
  4. [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.
  5. [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 · byline

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.

Related

Next in this hub.

Dispatch · lead magnet~ 1 email / week

Get 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.