WELLNESS GOALS · GUIDE
Magnesium for Sleep: What Research Shows
Magnesium for sleep: what systematic reviews of randomized trials found (small, low-quality, inconsistent), where it might fit, safety limits, and how it compares with melatonin.
Content last updated . This page has not been medically reviewed.
Back to Better SleepWhat the research shows
Does magnesium help sleep in adults generally?
MixedA review of 12 randomized trials found inconsistent results across self-reported sleep, brain-wave measures, activity trackers and body markers; populations, forms, doses and durations varied widely. [1]
Older adults with insomnia
Promising but limitedA meta-analysis of 3 trials (151 people) found time to fall asleep was about 17 minutes shorter than with placebo; total sleep time improved by about 16 minutes, which was not statistically significant. All trials had moderate-to-high risk of bias and low to very low quality evidence. [2]
Sleep quality in wider reviews
MixedA 2022 review of 9 studies (7,582 people) showed conflicting findings and called for large, well-designed trials longer than 12 weeks. [3]
Magnesium glycinate specifically
Insufficient evidenceProper evidence not found in the sources read that tests this form against other forms for sleep. The reviews above combined different formulations. [1]
Restless legs or night cramps
See Restless legsAnalyzed separately in the 2026 review. [1]
The authors of the older-adults review noted that the quality of the literature is too weak for well-informed recommendations, though magnesium is inexpensive and widely available. [2] That is a statement about cost, not proof that it works.
Who studied it
The reviews above cover older adults with insomnia and mixed adult groups. [2][1] Results should not be transferred to children, teens, pregnancy or people with kidney disease. Proper evidence not found in the sources read for those groups.Magnesium versus melatonin
Melatonin has been studied more, with modest effects on falling asleep but no guideline support for chronic insomnia; magnesium has far less research. [3] See Melatonin for sleep.Better-supported steps first
The recommended first treatment for chronic insomnia is CBT-I. [4] See CBT-I, Sleep hygiene and Natural sleep aids compared.Frequently asked questions
Does magnesium glycinate help sleep?
Proper evidence not found for a specific advantage of the glycinate form in the reviews read. [1]
Is there an upper limit?
For supplement and medicine magnesium, NCCIH cites 350 mg for adults and 110 mg for children 4 to 8. [3]
Can magnesium replace CBT-I?
No. CBT-I is the recommended first treatment for chronic insomnia. [4]
More details: evidence, limits and cautions
The details behind this page: cautions, limits of the evidence and where sources disagree. Open any note to read it.
Safety and limits
- The NIH complementary health center advises that magnesium from supplements and medications should not exceed upper limits unless a health care provider recommends it: 350 mg for adults and children 9 to 18 and 110 mg for children 4 to 8 (limits for supplement magnesium, not food). [3]
- High intakes can cause diarrhea, nausea and abdominal cramping; extremely high intakes can lead to irregular heartbeat and cardiac arrest. [3]
- Many products combine magnesium with other ingredients; check totals using Amounts and duplicate ingredients.
- Magnesium may interact with medicines and conditions. The NIH Office of Dietary Supplements fact sheet could not be accessed for this page (the site blocked the request), so proper evidence not found here on specific interactions; ask a pharmacist and see How interactions work and Existing conditions.
- Tell your health care providers about any supplement you use. [3]
When to get help
References
- PubMed. Magnesium supplementation for sleep in adults: a systematic review of randomized controlled trials (J Diet Suppl, 2026). Read 2026-10-22.
- PubMed. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis (BMC Complement Med Ther, 2021). Read 2026-10-22.
- NCCIH. Sleep Disorders and Complementary Health Approaches. Read 2026-10-22.
- PubMed. Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians (Ann Intern Med, 2016). Read 2026-10-22.
- NHS. Insomnia. Read 2026-10-22.