Evidence review
Does magnesium help you sleep? What the research shows
Key takeaways
Magnesium is one of the most popular supplements for sleep, and the research is starting to catch up with the interest. Several randomised trials have found improvements in how people rate their sleep, including falling asleep faster in older adults with insomnia and lower insomnia scores in adults who report poor sleep. The evidence is still early, the trials are small, and results vary. Here is what they found.
The short answer
Promising, but early.
- Several trials have found benefits. A 2021 meta-analysis found older adults with insomnia fell asleep about 17 minutes faster on magnesium than on placebo. A 2025 trial of magnesium bisglycinate found insomnia scores fell further than on placebo.
- The effects were modest. Improvements were mostly in self-reported sleep, and the 2025 trial described its effect as small.
- It was well tolerated in the largest trial. In the 2025 bisglycinate trial, 93% of participants reported no adverse events, and side effects were less common on magnesium than on placebo.
- The evidence is still developing. Results vary between trials, and a 2026 review of twelve trials rated the certainty of evidence as low to very low. It concluded that current evidence does not support oral magnesium as a routine treatment for insomnia, and called for better trials.
- For ongoing insomnia, start with the established treatment. Cognitive behavioural therapy is usually the first treatment recommended.
The evidence at a glance
| Study | Who took part | What it found |
|---|---|---|
| 2021 meta-analysis, 3 randomised trials | 151 older adults with insomnia | People fell asleep about 17 minutes faster on magnesium. No significant change in total sleep time. Low to very low quality evidence. |
| 2025 trial of magnesium bisglycinate | 155 adults reporting poor sleep, 250 mg magnesium a day for 4 weeks | Small improvement in insomnia scores beyond placebo. No difference on other measures, including sleep quality and daytime sleepiness. |
| 2012 trial | 46 older adults with insomnia, 500 mg magnesium a day for 8 weeks | Improvements in insomnia scores, sleep efficiency and time to fall asleep compared with placebo, but no significant difference in total sleep time. Small, single-centre study. |
| 2022 systematic review, 9 studies | 7,582 adults | Observational studies linked magnesium status with sleep quality. Randomised trials were contradictory. |
| 2026 systematic review, 12 randomised trials | Adults, across varied groups, forms and doses | Inconsistent findings, low to very low certainty. Does not support magnesium as a routine insomnia treatment. May give modest benefits on some self-reported measures for some adults. |
The 2012 trial used a dose above the 350 mg upper level for magnesium from supplements, under study conditions. It is not a guide to what anyone should take. Our guide to how much magnesium glycinate per day explains the upper level.
Why results vary between trials
Much of the variation between magnesium and sleep trials comes down to how they were designed.
They test different people. Some trials enrolled older adults with diagnosed insomnia. Others enrolled otherwise healthy adults who said they slept poorly. A result in one group may not apply to the other.
They use different forms and doses. The trials cover several magnesium compounds at doses from well under to well over the supplement upper level. Our guide to magnesium absorption explains why the form and dose change how much is taken up.
Most measure sleep by questionnaire. Self-reported sleep matters, but it is also the kind of measure most open to placebo effects. In the 2025 trial, insomnia scores fell in both groups, and fell further on magnesium.
Few measure magnesium status. Without knowing who started out low, trials cannot say whether magnesium helps mainly people who were short of it.
Does the form of magnesium matter?
This is one of the open questions. No trial has yet compared two forms of magnesium head to head for sleep.
What exists is a handful of single trials of individual forms. Magnesium bisglycinate has one placebo-controlled trial, covered in detail in our review of magnesium glycinate and sleep. Magnesium L-threonate was tested in a trial of 80 adults run with authors linked to an ingredient company. Other trials used other compounds or did not focus on the form at all.
The practical point is to read each result for the form it tested. A finding for one form of magnesium is not evidence for another, and findings about magnesium in general are not findings about any particular product.
Does magnesium make you sleepy?
Not in the way a sleeping tablet does. Magnesium is not a sedative. The benefits reported in trials were gradual changes over weeks of regular use, such as falling asleep faster or lower insomnia scores, rather than drowsiness after a dose.
In the 2025 magnesium bisglycinate trial, daytime sleepiness was measured directly and did not differ between the magnesium and placebo groups. In other words, people taking magnesium were no drowsier during the day than people taking placebo.
Magnesium glycinate also supplies a meaningful amount of glycine, an amino acid that has been studied separately for sleep. Whether the glycine adds anything in people has not been tested, because no trial has compared magnesium glycinate with magnesium and glycine taken separately.
Does low magnesium affect sleep?
This is one of the more interesting threads in the research, though it is not yet proof of cause. The 2022 review found that studies measuring magnesium status or intake tended to associate it with sleep quality. Studies like these cannot show that low magnesium causes poor sleep, because people who eat well, exercise and sleep well tend to share many habits.
The 2025 bisglycinate trial added an exploratory hint: participants who reported eating fewer magnesium-rich foods improved more. That was based on a single unvalidated question, and the researchers flagged it as needing confirmation.
Food is the main source of magnesium. Green leafy vegetables, legumes, nuts, seeds and wholegrains are all good sources. If you are concerned about your magnesium levels, that is a conversation for your doctor, because low magnesium is diagnosed with tests, not symptoms.
How it was taken in the trials
In the 2025 bisglycinate trial, participants took their daily dose 30 to 60 minutes before bed for four weeks, and most of the improvement appeared within the first two weeks. The 2012 trial in older adults ran for eight weeks. None measured a single dose, and none compared morning with evening dosing.
What works best for ongoing insomnia
For insomnia that has not improved with good sleep habits and relaxation techniques, cognitive behavioural therapy is usually the first treatment to try. healthdirect notes there is little scientific evidence about whether over-the-counter sleep remedies work, and recommends talking to your doctor before taking any sleep aid, because some can interact with other medicines.
When to talk to a doctor or pharmacist
See your doctor if poor sleep has lasted more than a few weeks, is affecting your mood or daytime life, or you wake up unrefreshed, because poor sleep can have causes that need their own assessment.
Check with a doctor or pharmacist before taking magnesium if you have reduced kidney function, take prescription medicines, or are pregnant or breastfeeding. Our guide to side effects and interactions explains why.
We will update this review as new trials are published. Nothing on this page is a substitute for individual medical advice.
Common questions
Questions, clearly answered.
01Does magnesium help you sleep?+
02Does magnesium make you sleepy?+
03Which form of magnesium is best for sleep?+
04How long does magnesium take to affect sleep?+
05What is the best treatment for ongoing insomnia?+
Sources
Read the evidence yourself.
Sources are provided so readers can examine the research and official guidance directly.
Systematic review of 12 randomised trials of magnesium alone for sleep in adults, searched to June 2026. Findings inconsistent; certainty low to very low. Concludes current evidence does not support oral magnesium as a routine treatment for insomnia.
↗ 02 Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled TrialNature and Science of SleepRandomised, double-blind, placebo-controlled trial in 155 adults reporting poor sleep. 250 mg elemental magnesium as bisglycinate daily for 28 days. Insomnia Severity Index fell further than placebo with a small effect size. Secondary measures showed no significant difference between groups.
↗ 03 The Role of Magnesium in Sleep Health: a Systematic Review of Available LiteratureBiological Trace Element ResearchSystematic review of 9 cross-sectional, cohort and randomised studies involving 7,582 adults. Observational studies suggested an association between magnesium status and sleep quality, while randomised trials reported contradictory findings.
↗ 04 Oral magnesium supplementation for insomnia in older adults: a Systematic Review and Meta-AnalysisBMC Complementary Medicine and TherapiesThree randomised trials, 151 older adults. Sleep onset latency 17.36 minutes shorter with magnesium than placebo; total sleep time improvement not significant. All trials at moderate to high risk of bias; low to very low quality evidence.
↗ 05 The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trialJournal of Research in Medical SciencesDouble-blind randomised trial in 46 older adults with primary insomnia, 500 mg magnesium or placebo daily for 8 weeks. Significant improvements in Insomnia Severity Index score, sleep efficiency and sleep onset latency compared with placebo; total sleep time did not differ significantly between groups.
↗ 06 Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: A randomized controlled trialSleep Medicine: XRandomised, double-blind, placebo-controlled trial of magnesium L-threonate in 80 adults with self-reported sleep problems. Cited here for the comparison of magnesium forms only.
↗ 07 Insomniahealthdirect AustraliaAustralian Government funded health service. Cognitive behaviour therapy is usually the first treatment to try if sleep strategies and relaxation have not helped. Little scientific evidence on over-the-counter sleep remedies; talk to a doctor before taking any sleep aid.
↗ 08 Magnesiumhealthdirect AustraliaAustralian Government funded health service. Australian recommended dietary intakes for adults, food sources, medicines associated with low magnesium, adverse effects of excess supplemental magnesium, and advice to speak with a doctor.
↗ 09 Magnesium: Fact Sheet for Health ProfessionalsNational Institutes of Health, Office of Dietary SupplementsMagnesium is a cofactor in more than 300 enzyme systems. The 350 mg upper level applies to supplements and medicines, not to magnesium from food. Interactions with bisphosphonates, antibiotics, diuretics and proton pump inhibitors. Toxicity risk rises with impaired kidney function.
↗Found an error? Read our corrections policy or report it.