Magnesium3 min read

Does magnesium help sleep or energy?

Edited by Tamar EinavUpdated 10 sources
A bowl of almonds and mixed nuts.
Photo: Charles Chen / Unsplash
Short answer

In the best recent trial, mostly women around 41 with poor sleep, magnesium eased insomnia a little more than a dummy pill, and people who ate little magnesium seemed to gain the most. In older adults with insomnia, it helped them fall asleep about 17 minutes faster. The honest limits: a 2026 review of 12 trials found the results inconsistent and doesn't back magnesium as a routine insomnia treatment, and tiredness didn't change. Keep supplements at 350 mg a day or less.

Key takeaways
  • In a trial of 155 adults with poor sleep, mostly women, magnesium helped sleep a little more than a dummy pill, and low-magnesium eaters seemed to gain the most. Tiredness didn't change.3
  • Older adults with insomnia fell asleep about 17 minutes faster. Across 12 trials, though, results are small and mixed, and a 2026 review doesn't back magnesium as a routine insomnia treatment.12
  • Nearly half of Americans eat less magnesium than they need, so food is a gentle place to start. From supplements, stay at 350 mg a day or less.4
  • For energy, the research is still waiting for its first good trial in people who aren't low. The one trial that measured tiredness saw no change.43
In this article
  1. The internet’s favorite sleep fix
  2. What magnesium does in your body
  3. What happened in the sleep trials?
  4. And energy?
  5. What about menopause sleep?
  6. Is it safe to try?
  7. What we don’t know yet

The internet’s favorite sleep fix

Ask any group of women in midlife what helps them sleep, and someone will say magnesium. Sometimes with a lot of exclamation points.

We understand why. After a night awake at 3 a.m. and a long, heavy afternoon, a cheap mineral at bedtime sounds like real hope. Your tiredness is real, and wanting a gentle fix for it is completely fair.

So we opened the trials. Here’s the hopeful part: in the best recent trial, mostly women around 41, magnesium eased poor sleep a little more than a dummy pill, and people who ate the least magnesium seemed to gain the most. The honest part: the effect was small, the bigger reviews are mixed, and energy didn’t move.

What magnesium does in your body

Magnesium is a mineral your body uses in hundreds of jobs, including turning food into energy and keeping muscles and nerves working.4 Women need about 310 to 320 mg a day.4 You get it from leafy greens, beans, nuts, seeds and whole grains.4

And many of us come up short. About 48% of Americans get less magnesium from food than they need.4 Real, symptom-causing deficiency is uncommon in healthy people, though, because your kidneys hold on to magnesium when you’re low.4 If that’s you, the most interesting clue in the trials is about you.

A bedside lamp glows beside a bed under a slanted window.
Photo: Polina Kuzovkova / Unsplash

What happened in the sleep trials?

Here are the trials worth knowing, starting with the one we like best:

The one most like you. German researchers tested 155 adults with poor sleep. About 80% were women, and the average age was 41. Half took 250 mg of magnesium (as magnesium bisglycinate) every day for 4 weeks. Half took a dummy pill.3

Drop in insomnia score after 4 weeks

155 adults with poor sleep, 80% women (score runs 0 to 28)

Magnesium, 250 mg a day3.9 points
Dummy pill2.3 points

Source3

Magnesium won, but by a small margin, and the dummy pill did more than half the work.3 Here’s the hint that caught our eye: people who said they ate little magnesium seemed to improve more. That was a side analysis based on a single question, so treat it as a clue, not a rule.3

The older adults. Three small trials in older people with insomnia found they fell asleep about 17 minutes faster on magnesium. Total sleep time didn’t clearly change, and all three trials had quality problems.2 In one small trial, 46 older adults took 500 mg a day for 8 weeks and reported better sleep on several measures.6

The sleep-ring study. In 80 adults aged 35 to 55 (mostly women), a form called magnesium L-threonate improved deep sleep scores on a sleep-tracking ring and made people feel more energetic in the morning.7 Two things to know: the trial was paid for by a company that sells that ingredient, and the “1 gram” dose held only about 75 mg of actual magnesium.7 Supplement math is its own sport.

How it all adds up. The newest big review, from 2026, gathered 12 trials of magnesium for sleep. Its verdict: the results were inconsistent, the quality was low, and the evidence “does not support oral magnesium as a routine treatment for insomnia.” It may help some people a bit.1 An earlier review that combined observational studies and trials came to a similar “unclear.”5 So think of magnesium as a small helper for some sleepers, not a fix for everyone.

And energy?

If you’re getting through your afternoons on borrowed energy, coffee and willpower, it’s natural to hope a mineral could fill the tank. Tiredness is one of the early signs of a real magnesium deficiency.4 But that doesn’t mean extra magnesium energizes people who aren’t deficient.

The 155-person trial above measured tiredness too. It didn’t budge compared with the dummy pill.3 We found no other good trial testing magnesium for energy in healthy women, and we’d love to see one. If you’re tired all the time, low iron, low B12, thyroid problems and sleep apnea are better-known suspects to check with your doctor.

What about menopause sleep?

This is the question we most want answered. Sleep gets harder around menopause: more than half of US women in perimenopause sleep under 7 hours a night.8 If that’s you, you’re far from alone. But we found no trial of magnesium on its own for menopause sleep.

One 2026 trial in women in or past menopause did find better sleep with a supplement that included magnesium. It also had four other active ingredients, so there’s no way to tell what did the work.9 And for hot flashes, which can wake you at night, a trial in 289 women found magnesium oxide did nothing, except cause more diarrhea.10

Is it safe to try?

For most healthy adults, a modest dose is low risk. A few rules from NIH:4

  • Stay at 350 mg a day or less from supplements. Food magnesium doesn’t count toward that limit.
  • Expect your gut to complain at higher doses. Diarrhea, nausea and cramps are the usual signs. Magnesium oxide, carbonate, chloride and gluconate cause diarrhea most often.
  • Kidney problems? Ask first. Your kidneys clear extra magnesium, so poor kidney function raises the risk of getting too much.
  • Don’t count on a blood test. Less than 1% of your magnesium is in your blood, so a normal result doesn’t tell you much.

The cheapest experiment is food: a handful of nuts or a bowl of beans will never make the evening news, but magnesium from food carries no risk of overdoing it in healthy people.4

What we don’t know yet

These are the questions we’re watching.

  • Magnesium alone for menopause sleep: no trial yet, and it’s the one we most want to read.9
  • Magnesium for energy in healthy women: the one trial that checked found no change, and a trial in women who are truly low would be the next step.3
  • The best form for sleep: no head-to-head trial yet, though it’s the question everyone asks.1
  • Who really benefits: the low-intake clue is promising but unproven, and it’s the lead we’re following most closely.3

Questions women ask

Does magnesium actually help you sleep?

It can help a little. In the best recent trial, mostly women with poor sleep, magnesium beat a dummy pill by a small margin, though the dummy pill also helped quite a bit. The newest review of 12 trials found the results inconsistent and called the evidence low quality.

Which type of magnesium is best for sleep?

Two forms have early trials of their own: glycinate, in a trial of mostly women, and L-threonate, in a smaller company-funded one. They've never been tested against each other for sleep, and that's a head-to-head we'd love to see. Some forms, like oxide, carbonate, chloride and gluconate, are more likely to cause diarrhea.

Will magnesium give me more energy?

Your body does use magnesium to turn food into energy, and tiredness is an early sign of a real deficiency. But in a 4-week trial in 155 adults with poor sleep, magnesium didn't change tiredness scores, and there's no good evidence it boosts energy if you aren't low. If you're tired all the time, ask your doctor to check iron, B12, thyroid and sleep apnea.

How much magnesium is safe?

From supplements, adults should stay at 350 mg a day or less. Magnesium from food doesn't count toward that limit. If you have kidney problems, ask your doctor first.

Can a blood test tell me if I'm low?

A blood test sees only a small slice of the picture. Less than 1% of your body's magnesium is in your blood, so a normal blood level doesn't tell you much about the rest.

Does magnesium help with menopause sleep or hot flashes?

This is one of the questions we most want answered. A 2026 trial found better sleep in women around menopause with a mix that included magnesium, but with several ingredients there's no way to tell which one helped. For hot flashes, a large trial found magnesium oxide didn't help, and we found no trial of magnesium on its own for menopause sleep.

Keep reading

Why am I tired all the time, even after 8 hours of sleep?

Your tiredness is real, and it often has a cause you can find: in one trial, tired women with low iron stores saw their fatigue drop by almost half on iron. Time in bed isn't the same as good sleep, and for women 30 to 55 common causes are low iron, thyroid problems, sleep apnea (which often doesn't look like loud snoring in women), menopause sleep changes, depression and medicines. If tiredness lasts, or comes with warning signs like weight loss, fever, night sweats or thoughts of self-harm, see a doctor.

Brain, mood & energy · 4 min
Can creatine cause insomnia, or help after a bad night?

After a sleepless night, one big dose of creatine helped people think more clearly in the lab, and women benefited more than men. The trials that tracked sleep found no harm, and young women even slept a little more on workout days. The honest limits: it didn't make anyone feel less sleepy, no study was built to look for insomnia, and plenty of women say they sleep worse on it, which a rat study may help explain.

Brain, mood & energy · 5 min
Why you crash at 3 p.m., and what helps without coffee

A few free, well-tested moves can lift the afternoon dip: in studies, a 10-minute nap, daylight, a 10-minute walk and drinking enough water all helped, no caffeine needed. The dip itself is built into your body clock, so it isn't laziness: it shows up even when people skip lunch, and a short night makes it worse. Coffee works too, and your morning cup can stay, but a big dose even 6 hours before bed cost people more than an hour of sleep, which sets up tomorrow's slump.

Brain, mood & energy · 4 min

Got another question?

Search all 109 answers.

Sources

  1. Lopresti AL, Smith SJ, Drummond PD. Magnesium Supplementation for Sleep in Adults: A Systematic Review of Randomized Controlled Trials. J Diet Suppl 2026;23(5):553–581. 10.1080/19390211.2026.2719670. pubmed.ncbi.nlm.nih.gov/42661485/
  2. Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complement Med Ther 2021;21(1):125. 10.1186/s12906-021-03297-z. pmc.ncbi.nlm.nih.gov/articles/PMC8053283/
  3. Schuster J, Cycelskij I, Lopresti A, Hahn A. Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial. Nat Sci Sleep 2025;17:2027–2040. 10.2147/NSS.S524348. pmc.ncbi.nlm.nih.gov/articles/PMC12412596/
  4. NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. Updated January 6, 2026. ods.od.nih.gov. ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
  5. Arab A, Rafie N, Amani R, Shirani F. The Role of Magnesium in Sleep Health: a Systematic Review of Available Literature. Biol Trace Elem Res 2023;201(1):121–128. 10.1007/s12011-022-03162-1. pubmed.ncbi.nlm.nih.gov/35184264/
  6. Abbasi B, Kimiagar M, Sadeghniiat K, Shirazi MM, Hedayati M, Rashidkhani B. The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial. J Res Med Sci 2012;17(12):1161–9. PMC3703169. pmc.ncbi.nlm.nih.gov/articles/PMC3703169/
  7. Hausenblas HA, Lynch T, Hooper S, Shrestha A, Rosendale D, Gu J. Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: A randomized controlled trial. Sleep Med X 2024;8:100121. 10.1016/j.sleepx.2024.100121. pmc.ncbi.nlm.nih.gov/articles/PMC11381753/
  8. Vahratian A. Sleep Duration and Quality Among Women Aged 40–59, by Menopausal Status. NCHS Data Brief No. 286, September 2017. cdc.gov/nchs/products/databriefs/db286.htm. www.cdc.gov/nchs/products/databriefs/db286.htm
  9. Carbonneau S, Mysliwiec V, Doyle AL, et al. Nonsedating neurotransmitter-modulating supplement for nonvasomotor sleep disturbance in menopause. Menopause 2026. 10.1097/GME.0000000000002880. pubmed.ncbi.nlm.nih.gov/42742055/
  10. Park H, Qin R, Smith TJ, et al. North Central Cancer Treatment Group N10C2 (Alliance): a double-blind placebo-controlled study of magnesium supplements to reduce menopausal hot flashes. Menopause 2015;22(6):627–32. 10.1097/GME.0000000000000374. pmc.ncbi.nlm.nih.gov/articles/PMC4442087/