Research summary

Magnesium and Sleep

Key takeaway

Magnesium is widely marketed as a sleep aid, but the human evidence is limited. A meta-analysis of three small randomized trials in older adults with insomnia found that oral magnesium (in amounts under 1 g, up to three times a day) shortened the time to fall asleep by roughly 17 minutes versus placebo, while a gain of about 16 minutes in total sleep time was not statistically significant. A broader systematic review found observational data suggesting an association between magnesium and sleep quality, but randomized trials gave contradictory results. The trials are few, small, and of low to very low quality, so conclusions remain tentative.[1], [2]

What the trials measured

A 2021 systematic review and meta-analysis pooled three randomized controlled trials comparing oral magnesium with placebo in 151 older adults with insomnia. The combined analysis found that the time to fall asleep (sleep onset latency) was about 17 minutes shorter after magnesium supplementation than after placebo, a difference that reached statistical significance.[1]

The same analysis reported that total sleep time was longer by roughly 16 minutes in the magnesium group, but this change did not reach statistical significance and so cannot be considered a reliable effect. The doses studied were under 1 g of magnesium, taken up to three times a day.[1]

How strong is the evidence

A separate systematic review of nine studies covering more than 7,500 adults found that observational studies suggested an association between magnesium status and aspects of sleep quality, whereas the randomized trials reported contradictory and uncertain findings. The reviewers called for larger, well-designed randomized trials with follow-up longer than 12 weeks.[1], [2]

Taken together, the available randomized evidence is sparse and of low to very low quality, with trials at moderate-to-high risk of bias. That means the apparent benefit for falling asleep faster should be treated as preliminary rather than settled.[1], [2]

Limitations

The meta-analysis rested on just three small randomized trials totaling 151 older adults with insomnia, all at moderate-to-high risk of bias, and the evidence was graded low to very low quality. Findings in older adults with insomnia may not generalize to younger people or those without sleep problems.[1], [2]

Beyond the modest, statistically significant reduction in time to fall asleep, other outcomes such as total sleep time were not statistically significant, and broader reviews found randomized trials to be inconsistent. Larger, longer trials are needed before firm conclusions can be drawn. This summary is for general information and is not medical advice.[1], [2]

References

  1. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis.. BMC complementary medicine and therapies. 2021. Systematic review and meta-analysis View source →
  2. The Role of Magnesium in Sleep Health: a Systematic Review of Available Literature.. Biological trace element research. 2023. Systematic review View source →
Foundational guide

What is magnesium?

Read the guide →