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.

  1. 01

    The mechanism: NMDA dampening and GABA support

    Magnesium plugs the NMDA receptor, reducing excitatory glutamate signaling, and supports GABA, the brain's main inhibitory neurotransmitter (Workinger et al. 2018). Both actions push the nervous system toward a calmer, sleep-permissive state. This is the biologically coherent basis for the sleep claim; the open question is whether topping up magnesium in an already-adequate person moves these pathways enough to matter.

  2. 02

    What the trials actually show

    Abbasi et al. 2012 (n=46, elderly with insomnia) found 500 mg/day improved sleep time, efficiency, and serum melatonin versus placebo. But the sample was small, old, and probably deficient at baseline. A broader systematic review (Mah & Pitre 2021) graded the evidence as low-quality with modest effect sizes. The signal is real but weak, and concentrated in deficient or older populations.

  3. 03

    Who is most likely to benefit

    The benefit tracks baseline status. People who are magnesium-insufficient (high alcohol intake, GI malabsorption, diabetes, long-term PPI or diuretic use) or older adults with declining absorption have the most room to improve. A well-nourished young adult hitting the RDA from food has little headroom and should not expect much from a supplement. Fix the deficit first; do not treat magnesium as a sedative.

  4. 04

    Glycinate is the form for sleep

    For nighttime use, glycinate (magnesium bisglycinate) is the default. It is well absorbed and, because it is bound to the amino acid glycine, it does not draw water into the bowel the way citrate and oxide do, so it avoids the overnight bathroom trips those forms can cause (Walker et al. 2003). Glycine itself has mild sleep-supportive evidence, a minor bonus. Threonate is marketed for the brain but is expensive and lacks sleep-outcome trials.

  5. 05

    The dose and timing

    Studied sleep doses range from ~200 to 500 mg/day, but a practical supplemental dose is 100-350 mg of elemental magnesium taken 1-2 hours before bed, kept under the 350 mg/day supplemental upper limit so dietary magnesium can sit on top. Check the label for elemental magnesium, not compound weight: a '1000 mg magnesium glycinate' capsule may contain only ~140 mg of elemental magnesium.

  6. 06

    What it will not do, and the cheaper first move

    Magnesium is not a hypnotic; it will not knock out a healthy sleeper and the effect, where present, is modest. The cheaper first move is to cover the RDA from food (pumpkin seeds, spinach, black beans) and fix sleep hygiene. If you still want to trial a supplement, our magnesium forms comparison ranks verified glycinate by $/100mg of elemental magnesium so you do not overpay for a modest-evidence intervention.

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.