Magnesium for Sleep Quality

Moderate evidence 22 studies

Research suggests a meaningful but not yet definitive link between magnesium and sleep quality, with the body of evidence spanning observational studies, randomized controlled trials, and several meta-analyses that collectively point in a broadly positive but mixed direction. Studies indicate that higher magnesium intake or status is consistently associated with better sleep outcomes in observational data — including a large prospective study of nearly 4,000 adults and a cross-sectional analysis of over 20,000 U.S. adults — and several randomized controlled trials have reported improvements in measures such as insomnia severity, sleep onset, deep sleep, and sleep-related hormones like melatonin and cortisol. A 2021 meta-analysis found magnesium was associated with falling asleep roughly 17 minutes faster in older adults with insomnia, and a 2024 trial using magnesium L-threonate reported maintained sleep quality and improvements in deep and REM sleep, though a broader 2022 meta-analysis of dietary supplements rated magnesium's evidence as only preliminary compared to melatonin or amino acids. Across these studies, reviewers consistently note important limitations — including small sample sizes, short durations, varying magnesium forms and doses, and moderate-to-high risk of bias in existing trials — and several note that benefits may be more pronounced in people who are already deficient in magnesium, meaning larger and more rigorous trials are needed before firm conclusions can be drawn.

Related studies

Citations from PubMed and preprint sources. Match score (0-100) reflects automated search ranking, not clinical appraisal.

Title Type Year Direction Match
The Role of Magnesium in Sleep Health: a Systematic Review of Available Liter... Systematic review 2023 Mixed 100
Magnesium-L-threonate improves sleep quality and daytime functioning in adult... Other 2024 Supports 95
Examining the Effects of Supplemental Magnesium on Self-Reported Anxiety and ... Review 2024 Mixed 90
Single-Cell Multiomic Analysis of Circadian Rhythmicity in Mouse Liver Other 2025 Neutral 85
Association of magnesium intake with sleep duration and sleep quality: findin... Other 2022 Supports 85
Microglia undergo transcriptional, translational and functional adaptations t... Other 2023 Neutral 80
Oral magnesium supplementation for insomnia in older adults: a Systematic Rev... Meta-analysis 2021 Mixed 80
RNAseq analysis reveals transcriptome changes associated with the progression... Other 2024 Neutral 75
Efficacy of dietary supplements on improving sleep quality: a systematic revi... Meta-analysis 2022 Mixed 75
[Nutrition in improving sleep quality and fighting insomnia]. Review 2025 Supports 70
Structure and Function Relationships of Mucociliary Clearance in Human and Ra... Other 2023 Neutral 70
Effects of magnesium and potassium supplementation on insomnia and sleep horm... RCT 2024 Supports 65
Unlocking Predictive Power: A Machine Learning Tool Derived from In-Depth Ana... Other 2023 Neutral 65
Association between magnesium deficiency score and sleep quality in adults: A... Other 2024 Supports 60
Tuft cell-derived acetylcholine regulates epithelial fluid secretion Other 2023 Neutral 60
Multi-ancestry GWAS of major depression aids locus discovery, fine-mapping, g... Other 2022 Neutral 55
Psychological and Sleep Effects of Tryptophan and Magnesium-Enriched Mediterr... RCT 2020 55
Effect of short-term magnesium supplementation on anxiety, depression and sle... RCT 2022 Supports 50
Magnesium supplementation improves indicators of low magnesium status and inf... RCT 2010 Mixed 45
Current Evidence on Common Dietary Supplements for Sleep Quality. Review 2024 Mixed 40
The effects of melatonin and magnesium in a novel supplement delivery system ... RCT 2024 Mixed 35
Herbal and Natural Supplements for Improving Sleep: A Literature Review. Other 2024 Mixed 30

← Back to Magnesium

Medical Disclaimer: Noyemi provides information from published research for educational purposes only. This content is not medical advice and does not replace consultation with a qualified healthcare provider. Always consult your doctor before starting, stopping, or changing any supplement regimen, especially if you take medications or have existing health conditions.