Magnesium is a common first supplement when sleep slips. The research supports a small effect, mostly on how quickly people fall asleep and how they rate their nights, from trials that are small and short. Here is what the studies show, which forms they used, and the dose limit that matters.
What magnesium does
Magnesium is a mineral your body uses in more than 300 enzyme systems, including muscle and nerve function (NIH Office of Dietary Supplements, Magnesium fact sheet). The case for sleep rests on the nervous system: the authors of an insomnia trial describe magnesium as a natural GABA agonist and NMDA antagonist, working on one calming and one excitatory signaling system, and say it seems to play a key role in regulating sleep (Abbasi et al., Journal of Research in Medical Sciences, 2012). That is a plausible mechanism, not proof it changes your sleep.
What the evidence shows
The best summary is small. A 2021 systematic review and meta-analysis found only three randomized trials comparing oral magnesium with placebo, in 151 older adults across three countries. Pooled, people on magnesium fell asleep 17.36 minutes faster than on placebo. Total sleep time rose 16.06 minutes, but that was not statistically significant. All three trials were at moderate to high risk of bias, and the authors rated the evidence low to very low quality, too weak for physicians to make well-informed recommendations (Mah and Pitre, BMC Complementary Medicine and Therapies, 2021).
The trial most often cited. In 46 older adults with insomnia, 500 mg of magnesium a day for 8 weeks lowered the Insomnia Severity Index score and sleep onset time and improved sleep efficiency compared with placebo, while total sleep time did not differ between groups (Abbasi et al., 2012). Note the dose: it is above the 350 mg upper limit for supplements covered below.
Magnesium glycinate. A 2025 randomized trial gave 155 adults aged 18 to 65 who reported poor sleep either magnesium bisglycinate (250 mg of elemental magnesium a day) or placebo. By week 4, the Insomnia Severity Index fell 3.9 points on magnesium and 2.3 on placebo (p = 0.049). The authors called the effect small (Cohen’s d 0.2). People who ate less magnesium at the start seemed to benefit more, but that was an exploratory finding (Schuster et al., Nature and Science of Sleep, 2025).
Magnesium L-threonate. Two trials, two different answers:
- In 80 adults aged 35 to 55 with self-reported sleep problems, 1 g a day of magnesium L-threonate for 21 days improved Oura ring deep sleep and REM sleep scores, and ratings of mood, energy and alertness, compared with placebo. Three of the six authors are affiliated with AIDP, the company that holds the paper’s copyright (Hausenblas et al., Sleep Medicine: X, 2024).
- In 100 adults aged 18 to 45 with dissatisfied sleep, 2 g a day for 6 weeks improved self-reported sleep-related impairment (p = 0.043) but not sleep disturbances or restorative sleep, and the Oura ring showed no group differences in sleep outcomes. The study was funded by the company that supplied the product (Lopresti and Smith, Frontiers in Nutrition, 2026).
Read together: a small benefit is plausible, mostly on falling asleep and on how people rate their sleep. The trials are small, short and largely self-reported, and the wearable results conflict. It will not cover for a bedtime that moves every night.
Which form of magnesium
None of the trials above compared one form with another, so no form has shown it is better for sleep. What is known is about absorption and the gut:
- Better absorbed: small studies find the citrate, aspartate, lactate and chloride forms are absorbed more completely than magnesium oxide and sulfate (NIH ODS).
- Most likely to cause diarrhea: the carbonate, chloride, gluconate and oxide forms (NIH ODS).
- Glycinate and L-threonate are the forms used in the newest sleep trials. Their doses are stated differently: the glycinate trial gave 250 mg of elemental magnesium, while the L-threonate trials gave 1 to 2 g of the whole compound.
How much magnesium for sleep
- Upper limit: 350 mg a day of supplemental magnesium for adults. Magnesium from food does not count toward it, because healthy kidneys clear the excess from food (NIH ODS).
- Total daily need: the recommended intake for men 31 and older is 420 mg a day from all sources (NIH ODS).
- Side effects: high doses from supplements often cause diarrhea, sometimes with nausea and cramping (NIH ODS).
- Trial doses are not instructions. The glycinate trial used 250 mg of elemental magnesium; older trials used more than the upper limit.
Check with your physician first if you have kidney disease or take anything daily.
Magnesium after 40
There is a reason it comes up more with age. Older adults tend to eat less magnesium, and with age the gut absorbs less of it while the kidneys excrete more (NIH ODS). Food is the first place to close the gap: an ounce of pumpkin seeds has about 156 mg, an ounce of almonds about 80 mg, half a cup of cooked spinach about 78 mg and half a cup of black beans about 60 mg (NIH ODS).
The glycinate trial’s hint that low-intake eaters benefit more fits that picture, but it was exploratory. It is a reason to look at your diet before you buy a bottle.
What comes before magnesium
In more than 50,000 hours of WHOOP and Oura data from our clients, the lever that moved recovery, HRV and resting heart rate was a consistent bedtime, not more hours. That is the sleep standard we coach: a set bedtime, in bed within 30 minutes of it at least five nights out of seven. Alcohol close to bed, late meals and caffeine late in the day come next. If you track deep sleep, read how much deep sleep you need before judging a supplement by one night’s number.
If you try magnesium, change one thing at a time and judge it on a two- to four-week trend, not a single night.
Magnesium in the program
Supplements in the Executive Health Edge program are short and boring: creatine, protein, vitamin D, omega-3s and magnesium, adjusted by what the bloodwork shows. Magnesium is on the list as a low-cost support, not as the sleep plan. The sleep plan is the bedtime.
Each client has an 80+ biomarker panel at months 0, 6 and 12 with physician oversight, and a coach who reads the WHOOP or Oura trend daily. Waking unrefreshed despite enough hours, loud snoring or gasping during sleep are reasons to see your own physician, not to add a supplement.
This page is coaching information, not medical advice. Questions about your own health go to your physician.