Question
Does magnesium help you sleep?
Short answer
Three small, low-quality trials in 151 older adults with insomnia found they fell asleep 17 minutes sooner with magnesium. Total sleep time was not significantly better, and the evidence was rated low to very low quality. Our search found no supplement trial in Black participants. See your doctor for trouble sleeping most nights for more than a few weeks.
What this is based on
- Who was tested: Older adults with insomnia in three randomised trials, in three countries. What was found: Sleep onset latency was 17 minutes shorter with magnesium (95% CI 7 to 27 minutes). Total sleep time improved by 16 minutes, which was not significant. All trials were at moderate to high risk of bias and the evidence was rated low to very low quality.Tested Mah 2021 Study page
- My PubMed search (title and abstract terms for the product, with African American, African-American, Black adults, Black women, Black men, African descent, African ancestry and similar terms) returned 38 records for magnesium supplementation; the relevant ones were observational (a 2003 review, intake surveys), and none was a magnesium supplement trial for sleep or cramps in Black participants. The same search style for "vitamin D" returned 930 records, so the search works. ClinicalTrials.gov (API v2, intervention search with "African American" OR Black anywhere in the record): 32 records matched (titles read only; most unrelated). The NIH Office of Dietary Supplements pages returned a security check and could not be opened. Untested: sleep or cramp benefit in Black participants; whether any low magnesium status in Black adults is corrected by supplements.Not tested, and gaps (from the card)
- Trouble sleeping most nights for more than a few weeks (doctor; see sleep and sleep apnoea).When to see someone
Also asked as
- does magnesium help you sleep better
- does magnesium help you sleep at night
- does magnesium help you sleep through the night
- does magnesium help you sleep better at night
- does magnesium help you sleep longer
From the card
Magnesium tablets did not clearly prevent leg cramps in older adults, and for sleep three small, low-quality trials in older adults hint at falling asleep a little faster. Our search found no supplement trial in Black participants. Up to four hundred milligrams a day from supplements is unlikely to harm; more can cause diarrhoea.
Where this comes from
- Garrison 2020 (Study page) Open source
- Mah 2021 (Study page) Open source
- Fox 2003 (Study page) Open source
- NHS, "Vitamins and minerals: Others" (magnesium) Open source
Read the full entry: Magnesium supplements for sleep and cramps
Last checked against its sources: . Next check due: 17 May 2027.
This is information, not medical advice. If you are worried, see a doctor or pharmacist. How we grade the evidence.