- Magnesium may help sleep slightly, but the evidence is thin. Jasmine Mah and Tyler Pitre's meta-analysis (BMC Complementary Medicine and Therapies, 2021) pooled three small trials in 151 older adults and found people fell asleep about 17 minutes faster, with evidence rated low to very low quality.
- The best-known trial is small. Behnood Abbasi and colleagues (Journal of Research in Medical Sciences, 2012) gave 46 older adults with insomnia 500 mg of magnesium or placebo for eight weeks and found improvements in insomnia severity, sleep efficiency and time to fall asleep.
- Newer trials show modest effects. Julius Schuster and colleagues (Nature and Science of Sleep, 2025) found 250 mg of magnesium bisglycinate reduced insomnia severity slightly more than placebo in 155 poor sleepers, with a small effect size and possibly larger benefits in people with low dietary magnesium.
- Who benefits most is probably people who are low in magnesium. The NIH Office of Dietary Supplements reports that 48% of Americans get less magnesium from food and drink than the estimated average requirement.
- The upper limit for magnesium from supplements is 350 mg a day for adults, according to the NIH Office of Dietary Supplements. High doses commonly cause diarrhea, toxicity risk rises with kidney disease, and magnesium interacts with some antibiotics, osteoporosis drugs and diuretics.
In This Article
- Why magnesium became the sleepmaxxing supplement
- Does magnesium help you sleep? What the trials found
- Newer trials: glycinate and threonate
- Magnesium glycinate vs citrate vs oxide: does the form matter?
- Who might benefit from magnesium for sleep?
- Magnesium safety: the limits that matter
- A supplement cannot outwork an unregulated evening
Does magnesium help you sleep? Possibly a little, and mostly for older adults and people who are low in magnesium, but the evidence for magnesium for sleep is thin and the effects in trials are modest. The best summary of the research found people fell asleep about 17 minutes faster on magnesium, and rated the quality of that evidence low to very low.
That is not nothing. It is also a long way from the way magnesium is sold online, as the quiet hero of the perfect night. This essay grades the evidence, explains the forms and the safety limits, and asks why a mineral became the centerpiece of so many bedtime routines in the first place.
This is general information, not medical advice. If you have a health condition or take medication, talk to a doctor or pharmacist before starting a supplement.
Why magnesium became the sleepmaxxing supplement
Magnesium has a plausible story. Researchers studying it for sleep describe it as a natural NMDA antagonist and GABA agonist, meaning it may damp down excitatory signaling and support inhibitory signaling in the brain. It is involved in hundreds of enzyme systems. It is cheap, widely available and feels natural. For a culture that wants a lever to pull at 10 p.m., it is almost perfect.
That is how magnesium ended up in the same stack as mouth tape, blue-light glasses and sleep trackers. We have written about how sleepmaxxing can make sleep worse: the more effort you pour into sleep, the more sleep becomes a performance, and performances keep the nervous system alert. A supplement taken as a ritual of control can quietly join that problem.
But a plausible mechanism is not evidence. So what do the trials actually show?
Does magnesium help you sleep? What the trials found
The most cited study is a double-blind randomized trial by Behnood Abbasi and colleagues, published in the Journal of Research in Medical Sciences in 2012. Forty-six older adults with insomnia took either 500 mg of magnesium or a placebo daily for eight weeks. Compared with placebo, the magnesium group improved on the Insomnia Severity Index, sleep efficiency and time to fall asleep, along with higher serum melatonin and lower serum cortisol.
Two caveats. The sample was small. And 500 mg is above the 350 mg daily upper limit for supplemental magnesium that the NIH Office of Dietary Supplements sets for adults, which is not a dose to copy without medical supervision.
In 2021, Jasmine Mah and Tyler Pitre published a systematic review and meta-analysis in BMC Complementary Medicine and Therapies. They found only three randomized trials comparing oral magnesium with placebo in older adults with insomnia, covering 151 people in three countries. Pooled together:
- Time to fall asleep was 17.36 minutes shorter with magnesium than with placebo.
- Total sleep time was about 16 minutes longer, but that difference was not statistically significant.
- All three trials were at moderate to high risk of bias, and the outcomes were supported by low to very low quality evidence.
The authors concluded the literature was substandard for doctors to make well-informed recommendations, while noting that magnesium is cheap and widely available. That is a fair summary of where things stood.
Newer trials: glycinate and threonate
Two more recent trials have tested specific forms in younger adults.
Magnesium bisglycinate. Julius Schuster and colleagues at Leibniz University Hannover (Nature and Science of Sleep, 2025) randomized 155 adults aged 18 to 65 who reported poor sleep to 250 mg of elemental magnesium as bisglycinate, or placebo, for four weeks. Insomnia severity scores fell by 3.9 points on magnesium and 2.3 points on placebo, a difference that only just reached statistical significance. The authors described the effect size as small and the benefit as modest. Exploratory analyses suggested people with lower dietary magnesium intake improved more, which is worth testing properly. The study was funded internally by the university; one author disclosed running a contract research organization funded by nutraceutical companies.
Notice how large the placebo response was. Most of the improvement happened in both groups. That is not a flaw in the study; it is information. A nightly ritual, the expectation of help and the simple act of paying attention to sleep all move the numbers on their own. Whatever magnesium adds sits on top of that, and in this trial the extra was small.
Magnesium L-threonate. Heather Hausenblas and colleagues (Sleep Medicine: X, 2024) randomized 80 adults aged 35 to 55 with self-reported sleep problems to 1 g a day of magnesium L-threonate or placebo for 21 days. They reported better deep sleep and REM sleep scores on an Oura ring, along with better mood, energy and alertness. Interestingly, the authors described the magnesium group as maintaining its sleep quality while the placebo group declined. The trial was funded by AIDP, a company that supplies magnesium L-threonate, and three of the six authors were affiliated with it. That does not make the result wrong, but it is one industry-funded trial measured partly with a consumer wearable.
Here is how the evidence stacks up:
| Claim | What the evidence shows | Grade | |---|---|---| | Magnesium helps older adults with insomnia fall asleep faster | Three small trials, meta-analysis, high risk of bias | Low | | Magnesium bisglycinate reduces insomnia severity in poor sleepers | One randomized trial, small effect | Preliminary | | Magnesium L-threonate improves deep sleep | One industry-funded trial, wearable outcomes | Preliminary | | Magnesium helps people who already get enough | Not established | Unknown | | Magnesium works like a sleeping pill | No supporting evidence | Not supported |
Magnesium glycinate vs citrate vs oxide: does the form matter?
Supplement marketing makes a lot of the form. The evidence for sleep specifically does not. We are not aware of any trial that has compared forms head to head for sleep outcomes.
What we do know comes from absorption research. According to the NIH Office of Dietary Supplements, forms of magnesium that dissolve well in liquid are absorbed more completely, and the aspartate, citrate, lactate and chloride forms tend to have higher bioavailability than magnesium oxide and magnesium sulfate. The forms most commonly reported to cause diarrhea are magnesium carbonate, chloride, gluconate and oxide.
In practice:
- Glycinate (bisglycinate) has one recent sleep trial behind it and is commonly marketed as gentle on the stomach.
- Citrate is well absorbed according to the ODS fact sheet. It has no dedicated sleep trial we could verify.
- Oxide is common and cheap but less well absorbed, and among the forms most linked to diarrhea.
- L-threonate has one industry-funded sleep trial behind it.
Always check the label for the amount of elemental magnesium, which is what counts toward the upper limit.
Who might benefit from magnesium for sleep?
The most plausible beneficiaries are people who are not getting enough magnesium to begin with. That is not a small group. According to the NIH Office of Dietary Supplements, an analysis of national survey data from 2013 to 2016 found that 48% of Americans consume less magnesium from food and beverages than the estimated average requirement. The recommended daily amount for most adults is 400 to 420 mg for men and 310 to 320 mg for women.
The ODS lists several groups at higher risk of low magnesium: older adults, people with gastrointestinal diseases such as Crohn's or celiac disease, people with type 2 diabetes and people with alcohol dependence.
Food is the first place to look. Green leafy vegetables, legumes, nuts, seeds and whole grains are all good sources, and magnesium from food does not carry the same risks as high-dose supplements, because healthy kidneys excrete the excess.
Magnesium safety: the limits that matter
The NIH Office of Dietary Supplements sets the tolerable upper intake level for supplemental magnesium at 350 mg a day for adults. That figure covers supplements and medications, not food.
- Gut side effects. High doses from supplements commonly cause diarrhea, sometimes with nausea and abdominal cramping.
- Kidney disease. The risk of magnesium toxicity rises with impaired kidney function or kidney failure, because the body cannot clear the excess. Do not take magnesium supplements with kidney disease unless a doctor has advised it.
- Antibiotics. Magnesium can bind to tetracycline and quinolone antibiotics, such as doxycycline and ciprofloxacin. The ODS advises taking these antibiotics at least 2 hours before or 4 to 6 hours after a magnesium supplement.
- Osteoporosis drugs. Magnesium can reduce absorption of oral bisphosphonates such as alendronate. Separate them by at least 2 hours.
- Diuretics and acid reflux drugs. Some diuretics increase magnesium loss, others reduce it, and long-term proton pump inhibitor use can lower magnesium levels.
If you take any regular medication, ask a pharmacist before adding magnesium. It takes two minutes.
A supplement cannot outwork an unregulated evening
Here is the uncomfortable part. Even in the most optimistic reading, magnesium shaves minutes off the time it takes to fall asleep. Meanwhile, the evening that came before it often runs on email until 9:30, a scroll until 11 and a nervous system still braced for tomorrow's meeting.
No mineral can outwork that.
For chronic insomnia, the American College of Physicians (Annals of Internal Medicine, 2016) recommends cognitive behavioral therapy for insomnia, CBT-I, as the first treatment for all adults, a strong recommendation based on moderate-quality evidence. CBT-I works on the behaviors and beliefs that keep the brain on alert in bed, which is the territory we explore in Sleep Anxiety: Why Bedtime Becomes a Threat.
There is a quieter irony too. One of the magnesium trials measured success with a sleep-tracking ring. For some people, tracking is exactly what keeps them awake, a pattern researchers call orthosomnia. And relaxation itself can backfire when it becomes another task, which is why relaxation techniques for sleep work best when you stop grading them.
So take magnesium if you want to, within the safe limit, especially if your diet is low in it. Treat it as a small, uncertain helper rather than a solution. Then spend more of your attention on the hour before bed than on the capsule you take at the end of it.
Get about one essay a week on the science of rest and the cost of optimization culture. Subscribe to the newsletter. Free, about one essay a week, no upsell.
Related reading: Why Sleepmaxxing Can Make Your Sleep Worse · Relaxation Techniques for Sleep · Sleep Anxiety · Tired But Wired
The research is actionable. So is the newsletter. About one essay a week, no fluff.
No spam. Unsubscribe anytime.
Frequently Asked Questions
Does magnesium help you sleep?
Possibly, a little. A 2021 meta-analysis by Jasmine Mah and Tyler Pitre found that in older adults with insomnia, magnesium shortened the time to fall asleep by about 17 minutes compared with placebo, but the three trials were small and the evidence was rated low to very low quality. A 2025 trial of magnesium bisglycinate found a small improvement in insomnia severity. Magnesium is not a sleeping pill, and the effect is most plausible in people whose magnesium intake is low.
What is the best form of magnesium for sleep?
There is no strong evidence that one form is best for sleep. Recent trials have used magnesium bisglycinate and magnesium L-threonate, each in a single randomized trial. According to the NIH Office of Dietary Supplements, forms that dissolve well, such as citrate, aspartate, lactate and chloride, tend to be absorbed better than magnesium oxide. Oxide is also among the forms most often linked to diarrhea.
How much magnesium should I take for sleep?
There is no established dose for sleep. The NIH Office of Dietary Supplements sets the tolerable upper intake level for supplemental magnesium at 350 mg a day for adults, which does not include magnesium from food. Higher doses should only be taken under medical supervision. If you have kidney disease or take regular medication, talk to a doctor or pharmacist before starting.
Is it safe to take magnesium every night?
For most healthy adults, magnesium supplements within the 350 mg daily upper limit are unlikely to cause harm, though diarrhea, nausea and cramping are common at higher doses. The risk of magnesium toxicity rises with impaired kidney function. Magnesium can also reduce the absorption of some antibiotics and osteoporosis drugs, so timing matters. Check with a doctor or pharmacist if you take other medications.
What works better than magnesium for insomnia?
For chronic insomnia, the American College of Physicians (Annals of Internal Medicine, 2016) recommends cognitive behavioral therapy for insomnia, known as CBT-I, as the first treatment for all adults, a strong recommendation based on moderate-quality evidence. Addressing what keeps the nervous system on alert in the evening also matters more than any supplement.