Supplements / Magnesium

Magnesium: Evidence, Doses and Which Experts Take It

Magnesium is an essential mineral, and small trials suggest it may modestly help sleep, but the evidence is low quality and partly contradictory. Magnesium L-threonate has recent small trials with mixed objective results, while glycinate is popular without randomized sleep data in the sources reviewed. Supplemental intake above 350 mg per day can cause diarrhea and needs caution in kidney disease.

Last reviewed:

Which experts take Magnesium?

9 of the 32 experts we track list Magnesium in their publicly shared protocol:

ExpertProduct or formDoseTiming
Andrew HubermanMagnesium L-Threonate145 mg30-60 min before bed
Dave AspreyMagnesium GlycinateNot publicly disclosedEvening
Dr. Mark HymanMagnesiumNot publicly disclosedNight
Dr. Mindy PelzMagnesiumNot publicly disclosedNot specified
Dr. Peter AttiaMagnesium Chloride (SlowMag)2-3 tabletsNot specified
Dr. Peter AttiaMagnesium Oxide400-500 mgNot specified
Dr. Peter AttiaMagnesium L-Threonate2 capsulesNot specified
Dr. Rhonda PatrickMagnesium250mgNot publicly disclosed
Gary BreckaSleep Blend (Magnesium, L-Tryptophan, Ashwagandha, L-Theanine)Not publicly disclosed30 to 60 minutes before bed
Thomas DeLauerMagnesium Glycinate400-600 mgThroughout the day
Tim FerrissMagnesium L-ThreonateNot disclosedNot specified

Doses are what each expert reports taking, not a recommendation.

What magnesium is and why it is linked to sleep

Magnesium is an abundant mineral that acts as a cofactor in more than 300 enzyme systems. Symptomatic deficiency from low dietary intake in otherwise healthy people is uncommon, because the kidneys limit urinary losses, but low intake, some diseases and some medicines can lead to depletion.

The sleep rationale is that magnesium acts as a natural NMDA antagonist and GABA agonist in the brain, which researchers think may help regulate sleep. This mechanism is a hypothesis; it does not by itself show that supplements improve sleep.[1],[3]

What the human evidence shows for sleep

A 2021 systematic review and meta-analysis of three randomized trials in 151 older adults with insomnia found that oral magnesium reduced sleep onset latency by about 17 minutes compared with placebo. Total sleep time improved by about 16 minutes, which was not statistically significant. All trials had moderate to high risk of bias and the evidence was rated low to very low quality.

One of those trials randomized 46 older adults to 500 mg of magnesium or placebo for 8 weeks and found improved insomnia severity, sleep efficiency and sleep onset latency, with changes in melatonin and cortisol.

A broader 2023 systematic review of nine studies found that observational studies linked magnesium status with sleep quality, while randomized trials gave contradictory results, so the effect of supplementation is uncertain.

In summary, magnesium may help some people fall asleep a bit faster, particularly older adults with insomnia, but the data are small, short and low in quality.[2],[3],[4]

Forms: glycinate, L-threonate, citrate

Magnesium citrate, aspartate, lactate and chloride were absorbed more completely than magnesium oxide and sulfate in small studies summarized by the NIH. Forms that dissolve well in liquid are more completely absorbed. Carbonate, chloride, gluconate and oxide are the forms most often reported to cause diarrhea.

Magnesium L-threonate has the most recent sleep trials. In 80 adults aged 35 to 55 with self-assessed sleep problems, 1 g per day for 21 days improved Oura ring deep sleep and REM scores and several questionnaires versus placebo (the paper carries a copyright line of AIDP, Inc., a supplement ingredient company). In a separate 6-week trial of 100 adults, 2 g per day of L-threonate improved some subjective sleep measures, but the sleep-tracking ring showed no group differences in sleep outcomes.

The sources reviewed for this guide include no randomized sleep trial of magnesium glycinate, so its reputation as the best form for sleep rests on theory and anecdote, not on evidence found here. Doses quoted for compounds such as L-threonate refer to the weight of the compound, not elemental magnesium; the Supplement Facts panel declares the elemental amount.[1],[5],[6]

Doses used in studies

The older-adult trial used 500 mg of magnesium daily for 8 weeks. The L-threonate trials used 1 g and 2 g per day of the compound for 21 days and 6 weeks. The NIH sets the Tolerable Upper Intake Level for adults at 350 mg per day of magnesium from supplements and medicines (food excluded), and notes that doses above this should be used only under the direction of a health care provider.

No optimal dose or form for sleep has been established.[1],[3],[5],[6]

Safety and interactions

High doses of magnesium from supplements or medicines often cause diarrhea, nausea and abdominal cramping. Very high intakes, such as from some laxatives and antacids, have been linked to magnesium toxicity. The risk increases with impaired kidney function because excess magnesium is not cleared effectively.

Magnesium can reduce the absorption of oral bisphosphonates (taken for osteoporosis) and form insoluble complexes with tetracycline and quinolone antibiotics, so timing relative to these medicines matters. Loop and thiazide diuretics can deplete magnesium.

People with kidney disease, those taking these medicines, and women who are pregnant or breastfeeding should consult a doctor before supplementing. Persistent insomnia should also be evaluated by a clinician, since supplements do not address underlying causes.[1]

Frequently asked questions

Does magnesium help you sleep?

Possibly a little. A 2021 meta-analysis of three small trials in older adults found about 17 minutes shorter time to fall asleep, but the evidence was low to very low quality. A broader review found contradictory randomized results.[2],[4]

Which form of magnesium is best for sleep?

No form has been shown to be best. L-threonate has recent small trials with mixed objective results, citrate is better absorbed than oxide, and the sources reviewed contain no randomized sleep trial of glycinate.[1],[5],[6]

How much magnesium have sleep studies used?

One trial in older adults used 500 mg of magnesium per day for 8 weeks, and L-threonate trials used 1 to 2 g of the compound per day. The NIH upper limit for supplemental magnesium in adults is 350 mg per day, and higher amounts should be medically supervised.[1],[3],[5],[6]

What are the side effects of magnesium supplements?

Diarrhea, nausea and abdominal cramping are the most common, especially with oxide, carbonate, chloride and gluconate forms. People with kidney problems are at higher risk of toxicity.[1]

Does magnesium interact with medicines?

Yes. It can reduce absorption of oral bisphosphonates and of tetracycline and quinolone antibiotics, and diuretics can lower magnesium levels. A pharmacist or doctor can advise on timing.[1]

Sources

  1. [1] Magnesium: Fact Sheet for Health Professionals. NIH Office of Dietary Supplements. https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
  2. [2] Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complementary Medicine and Therapies, 2021. https://pubmed.ncbi.nlm.nih.gov/33865376/
  3. [3] The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial. Journal of Research in Medical Sciences, 2012. https://pubmed.ncbi.nlm.nih.gov/23853635/
  4. [4] The Role of Magnesium in Sleep Health: a Systematic Review of Available Literature. Biological Trace Element Research, 2023. https://pubmed.ncbi.nlm.nih.gov/35184264/
  5. [5] Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: A randomized controlled trial. Sleep Medicine: X, 2024. https://pubmed.ncbi.nlm.nih.gov/39252819/
  6. [6] 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, 2025. https://pubmed.ncbi.nlm.nih.gov/41601871/

This page documents publicly shared protocols and summarizes published research for educational purposes. It is not medical advice. Talk to a qualified healthcare professional before starting a supplement, especially if you are pregnant, take medication or have a medical condition.