Biohacking · Answer
Does magnesium help you sleep?
Quick answer
Does magnesium help you sleep?
Magnesium may help sleep a little, particularly in older adults or people with low intake, but the evidence is limited. A 2021 systematic review found only three small trials in older adults, with low-quality evidence overall. Getting enough magnesium from foods like nuts, seeds, beans and leafy greens is a sensible first step before supplementing.
At a glance
Key takeaways
- Evidence that magnesium improves sleep is limited and low quality.
- It may help most in people who don't get enough magnesium.
- Nuts, seeds, legumes, whole grains and leafy greens are rich sources.
- Supplement upper limit is 350 mg a day for adults unless advised otherwise.
Magnesium is one of the most popular sleep supplements. It plays a role in hundreds of enzyme reactions, including those involved in nerve and muscle function. But does taking it improve sleep?
What the research shows
A 2021 systematic review and meta-analysis looked for randomized trials of oral magnesium for insomnia in older adults. It found only three small trials with 151 participants. Magnesium was associated with falling asleep about 17 minutes faster compared with placebo, but the reviewers rated the overall evidence as low quality, and total sleep time didn't clearly improve.
In short: a modest benefit is possible, particularly in older adults, but it isn't well proven.
Who may benefit most
The NIH Office of Dietary Supplements notes that many Americans get less magnesium from food than recommended. People most likely to have low intake include older adults, people with type 2 diabetes or gastrointestinal conditions, and people with alcohol use disorder. If your intake is low, correcting it may help sleep more than it would for someone who already gets enough.
Food first
Good sources include:
- Pumpkin seeds, almonds and cashews
- Spinach and other leafy greens
- Black beans, edamame and other legumes
- Whole grains and dark chocolate
Adult RDAs are about 310–420 mg a day depending on age and sex. Not sure you are sleeping enough? Start with how much sleep adults need.
If you supplement
The upper limit for supplemental magnesium is 350 mg per day for adults. Higher doses can cause digestive upset. People with kidney disease should avoid supplements unless a clinician recommends them.
Bigger levers
Consistent sleep timing, a cool dark room, less late caffeine and alcohol, and daytime activity have stronger evidence. See the best room temperature for sleep and our sleep optimization hub.
People also ask
More questions people ask
What is the best magnesium for sleep?
When should I take magnesium for sleep?
Can too much magnesium be harmful?
Answers
More answers
Citations
Sources & references
- [1]Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-AnalysisMah J, Pitre T. BMC Complementary Medicine and Therapies, 2021 · Meta-analysisView source : Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis (opens in a new tab)
- [2]Magnesium: Fact Sheet for Health ProfessionalsNIH Office of Dietary Supplements · Government resourceView source : Magnesium: Fact Sheet for Health Professionals (opens in a new tab)
Study links open a PubMed search for the exact title, so they keep working even if a journal changes its URL.
Related guides
Go deeper
Our partner store
Shop 10X Health
Genetic testing, the 10X Health System and daily supplements — straight from the official 10X Health store. Save 10% through our links.
- Save 10%
New · Weight & metabolism10X Health Metabolism Genetic Test Shop now (opens 10X Health in a new tab; affiliate link) - Save 10%
Wellness genetics10X Health Methylation + Genetic Test Shop now (opens 10X Health in a new tab; affiliate link) - Save 10%
Personalized approachThe 10X Health System Shop now (opens 10X Health in a new tab; affiliate link) - Save 10%
Daily foundations10X Health Foundations Shop now (opens 10X Health in a new tab; affiliate link)
Affiliate disclosure: Live10X is an independent educational site. If you purchase through our 10X Health links, we may earn a commission at no extra cost to you. It never changes what we write. Read our affiliate disclosure.
See everything we coverThese statements have not been evaluated by the Food and Drug Administration. These products are not intended to diagnose, treat, cure, or prevent any disease.
Stop guessing. Start with data — and a plan.
Take the free wellness assessment to find your highest-leverage focus areas, then explore genetic testing when you're ready to personalize further.
“Shop 10X Health” is an affiliate link — we may earn a commission at no extra cost to you. Affiliate disclosure