Supplements
Does Magnesium Help With Sleep? What the Human Trials Show
By Dr. Beau Pierce, DC · Dec 2, 2026 · 6 min read
Story at a glance
Magnesium is the sleep supplement everyone talks about. The human trials point to a real but small effect, mostly in people already sleeping poorly. Here is the honest scorecard.
Kidney disease: Healthy kidneys clear extra magnesium. With impaired kidney function, the risk of magnesium building up to toxic levels rises. Talk to your clinician first.
Oral bisphosphonates (osteoporosis drugs): magnesium can reduce their absorption, so timing matters.
Certain antibiotics (tetracyclines and quinolones): magnesium can bind them and reduce how well they work.
Diuretics: loop and thiazide types can increase magnesium loss; potassium-sparing types can reduce it.

It's 11:40 p.m. You've done everything right. Screens off. Room cool. And your brain is still running two-minute drills.
So you search the thing everybody searches: does magnesium help you sleep? Your feed says yes, loudly. Somebody's cousin swears by it. A podcast called it "nature's sleeping pill."
I love magnesium. It's one of the most important minerals in your body, involved in hundreds of enzyme reactions, nerve signaling and muscle relaxation. But you deserve the scorecard, not the highlight reel.
Short answer: in human trials, magnesium has produced small improvements in sleep, mostly in people who already slept poorly, such as older adults with insomnia and adults reporting bad sleep. It helped people fall asleep a bit faster and feel they slept better in several studies. It is not a sedative, the research is still small, and some people (especially those with kidney disease or on certain medications) need to check with their clinician first.
Think of it like a good offensive line. It doesn't score touchdowns by itself. It gives the quarterback a cleaner pocket. Magnesium may help set the table. Your habits still have to run the play.
What the human research shows
Older adults with insomnia (Abbasi 2012)
The study that launched a thousand blog posts was a double-blind, placebo-controlled trial in Iran with 46 older adults with primary insomnia. The trial used 500 mg of magnesium 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 changes in blood melatonin and cortisol (Abbasi 2012). The abstract also reports that total sleep time did not differ significantly between groups. Small trial, one country, mostly self-reported sleep. Promising, not proof.
The meta-analysis (Mah & Pitre 2021)
In 2021, researchers from Dalhousie and McMaster pooled every randomized trial they could find of oral magnesium versus placebo for insomnia in older adults. They found three trials with 151 people in three countries. Pooled, people taking magnesium fell asleep about 17 minutes faster than those on placebo. Total sleep time rose by about 16 minutes, but that wasn't statistically significant. The authors rated the trials at moderate-to-high risk of bias and the evidence as low to very low quality, and wrote that the literature is "substandard" for confident recommendations, while noting magnesium is cheap and widely available (Mah & Pitre 2021).
Seventeen minutes is real when you're the one staring at the ceiling. It's also not a knockout.
Adults with poor sleep: magnesium bisglycinate (Schuster 2025)
This is the most useful newer trial. A university team in Germany randomized 155 adults aged 18 to 65 who reported poor sleep to magnesium bisglycinate or placebo. The trial used 250 mg of elemental magnesium daily. At four weeks, insomnia scores dropped more with magnesium than with placebo, but the effect size was small, and other psychological outcomes didn't differ. People who ate less magnesium at baseline seemed to respond more, in an exploratory analysis (Schuster 2025). Sleep was measured by questionnaire only, with no sleep-lab or wearable data.
Magnesium L-threonate (2024 and 2025)
Magnesium L-threonate gets a lot of attention for the brain. In a 2024 trial, 80 adults aged 35 to 55 with self-reported sleep problems took 1 g per day of magnesium L-threonate or placebo for 21 days. The magnesium group did better than placebo on several Oura ring scores, including deep and REM sleep scores, and on morning mood and energy questionnaires (Hausenblas 2024). The study was funded by AIDP Inc., which distributes the ingredient, and two authors work there.
A 2025 trial of the same branded ingredient (Magtein) in 100 adults aged 18 to 45 who weren't happy with their sleep used 2 g daily for six weeks. It found one subjective sleep measure improved, but the ring showed no difference in sleep outcomes between groups (Lopresti & Smith 2025). Mixed signal, industry-adjacent ingredient. Worth watching.
If you want the deeper dive on forms, I broke them down in magnesium forms and the research and magnesium glycinate vs. citrate.
Why magnesium might matter for sleep
Magnesium helps calm the nervous system. The Abbasi authors describe it as a natural NMDA antagonist and GABA agonist, which is science-speak for easing off the gas and tapping the brakes in brain signaling. That's the theory. The trials above are where the theory meets the scoreboard, and so far the score is a small win, not a blowout.
One pattern keeps showing up: people who may be running low seem to respond more. If your diet is light on leafy greens, beans, nuts, seeds and whole grains, food is the first place to win. Supplements are the backup quarterback, not the starter.
Who should be careful
This is the part the hype skips. According to the NIH Office of Dietary Supplements (magnesium fact sheet):
- Kidney disease: Healthy kidneys clear extra magnesium. With impaired kidney function, the risk of magnesium building up to toxic levels rises. Talk to your clinician first.
- Oral bisphosphonates (osteoporosis drugs): magnesium can reduce their absorption, so timing matters.
- Certain antibiotics (tetracyclines and quinolones): magnesium can bind them and reduce how well they work.
- Diuretics: loop and thiazide types can increase magnesium loss; potassium-sparing types can reduce it.
- Proton pump inhibitors: long-term use (typically more than a year) can lower magnesium levels.
- Gut effects: supplemental magnesium can cause diarrhea, nausea and cramping, especially in larger amounts and certain forms.
If you take any of these medications, ask your pharmacist or prescriber how to fit magnesium in. Don't change a medication on your own.
If you're going to try it
Get your sleep foundations dialed in first. Consistent wake time, morning light, a wind-down routine, caffeine cut-off. My sleep reset protocol walks through it. And if your issue is waking in the middle of the night rather than falling asleep, read why you wake up at 3 a.m..
If you and your clinician decide a supplement makes sense, quality matters. Here are three real options, with different trade-offs.
Some links below are Amazon affiliate links. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you. It never changes what the research says.
- Thorne Magnesium Bisglycinate: a powder you mix into water, the bisglycinate form used in the 2025 sleep trial. NSF Certified for Sport. Premium.
- Klean Athlete Klean Magnesium: magnesium glycinate in vegetarian capsules. NSF Certified for Sport, a good fit if you're a tested athlete. Mid-range.
- Nature Made Magnesium Glycinate: bisglycinate capsules from a widely available brand. Budget. Nature Made says this product is USP Verified; look for the USP mark on the bottle.
Compare the price per serving on each listing, and check how much elemental magnesium is in each serving, since labels differ.
What we don't know
- Long-term effects. The trials ran three to eight weeks. We don't know if benefits hold, grow or fade over months.
- Objective sleep. Most results are questionnaires. Sleep-lab data is missing, and wearable results conflict.
- The best form. Glycinate, threonate, oxide, citrate: no trial has compared forms head-to-head for sleep.
- Who responds. Low dietary intake may predict benefit, but that came from exploratory analysis.
- Independence. Some of the most positive data came from industry-funded trials of branded ingredients.
When to see a clinician
- Insomnia most nights for three months or more, or daytime sleepiness that affects driving or work.
- Loud snoring, gasping or pauses in breathing during sleep (possible sleep apnea).
- Low mood, anxiety or racing thoughts that keep you up.
- Kidney disease, or you take bisphosphonates, antibiotics, diuretics or acid-reducing medications.
- Diarrhea, nausea, weakness, an irregular heartbeat or confusion after starting a supplement.
Common questions
Does magnesium make you sleepy right away? It isn't a sedative. Trials measured changes over weeks, not a knockout effect the first night.
What is the best magnesium for sleep? No trial has compared forms head-to-head. Bisglycinate and L-threonate both have recent trials in people with poor sleep, with small and mixed results.
Can magnesium help older adults sleep? A meta-analysis of three small trials in older adults found people fell asleep about 17 minutes faster, but the evidence quality was low.
Is it safe to take magnesium every night? That depends on your kidneys and medications. Check with your clinician, especially if you take antibiotics, bisphosphonates, diuretics or PPIs.
Champions don't look for a magic pill. They stack small, honest wins night after night.
A question to take to your next appointment: "Given my kidneys and my medications, is magnesium a reasonable thing for me to try for sleep?"
Got a sleep question I didn't cover? Ask Dr. Beau.
Related reading: Magnesium forms and the research · Magnesium glycinate vs. citrate · The sleep reset protocol
Sources
- The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial — Journal of Research in Medical Sciences, 2012-12
- Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis — BMC Complementary Medicine and Therapies, 2021-04-17
- Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: A randomized controlled trial — Sleep Medicine: X, 2024-08-17
- Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial — Nature and Science of Sleep, 2025-08-30
- The effects of magnesium L-threonate (Magtein) on cognitive performance and sleep quality in adults: a randomised, double-blind, placebo-controlled trial — Frontiers in Nutrition, 2026-01-12
- Magnesium: Fact Sheet for Health Professionals — NIH Office of Dietary Supplements, 2026
Education, not medical advice. Content on DrBeau.com is for general education and does not diagnose, treat or replace care from a licensed clinician who knows your history. In an emergency, contact local emergency services.


