Supplements · Sleep and stress
Does magnesium help you sleep better?
Not proven. A few small studies suggest magnesium might help a little, but they weren't strong enough to be sure.
A few small trials hint at a modest benefit, but the evidence is low quality and the best recent trial found only a small effect. A meta-analysis found only 3 trials of magnesium for insomnia in older adults, with 151 people in total. People taking magnesium fell asleep about 17 minutes faster, but all three trials were at moderate to high risk of bias and the evidence was rated low to very low quality. A 2025 placebo-controlled trial of 155 adults with poor sleep found magnesium bisglycinate improved insomnia scores a little more than placebo after 4 weeks (−3.9 vs −2.3 points), a small effect (Cohen's d 0.2); it was funded by a supplement maker. A systematic review of 9 studies found observational links between magnesium and sleep but contradictory trial results. The 2012 trial most often quoted as proof had just 46 people.
Who this applies to: Adults with poor sleep, mostly older adults. People who eat little magnesium (nuts, seeds, beans, whole grains, leafy greens) may be the ones most likely to benefit. People with kidney disease shouldn't take magnesium supplements without medical advice.
Limited evidenceA meta-analysis of 3 small trials at moderate to high risk of bias, plus a few small, short, industry-funded trials. Effects are small or uncertain.
Educational summary, not medical advice. Talk to a clinician about your own health.