Magnesium

A practical guide to magnesium forms, dosing by goal, food sources, and the research on common under-consumption.

Quick answer

Magnesium is an essential mineral, and low intake is common enough that food-first improvement can matter. Supplements may help some people meet intake targets or address clinician-identified needs, but different forms behave differently. It is not a universal sleep cure, and higher doses can cause digestive side effects or interact with medications.

  1. 1

    Choose your form based on your goal

    Before purchasing

    Threonate (Magtein) for brain/sleep — crosses the blood-brain barrier. Glycinate for sleep/anxiety — calming, no GI issues. Citrate for general repletion — good bioavailability. Malate for muscle recovery — used peripherally. Avoid oxide — only ~4% bioavailable.

  2. 2

    Start with 200–400 mg elemental magnesium daily

    Evening for sleep forms, any time for general

    RDA is ~400 mg/day for adult men, ~310 mg/day for women. If you eat magnesium-rich foods (dark greens, nuts, seeds), you may need less supplementally.

  3. 3

    For sleep: take magnesium threonate (145 mg) or glycinate (200 mg) 30–60 min before bed

    30–60 minutes before sleep

    This is part of Huberman's sleep stack. Can combine with 50 mg apigenin and 100–400 mg theanine. Start with magnesium alone first.

  4. 4

    Split doses throughout the day for higher amounts

    Morning and evening

    Dr. Rhonda Patrick recommends dividing doses rather than taking all at once. She takes 120 mg glycinate in the evening plus a magnesium blend. Absorption is better in smaller doses.

  5. 5

    Don't count threonate toward your daily magnesium RDA

    Ongoing

    Per Dr. Patrick: threonate contains very little elemental magnesium and most is excreted. Use glycinate or citrate to meet your RDA, and add threonate separately for cognitive/sleep benefits.

  6. 6

    Watch for the #1 sign of excess: loose stools

    Ongoing — adjust as needed

    The upper tolerable limit for supplemental magnesium is ~350 mg/day (not including food). GI distress (diarrhea) is the first sign you've taken too much. About 5% of people get stomach upset — discontinue if so.

Synthesized from Huberman Lab (Toolkit for Sleep, Ep. 84), Dr. Rhonda Patrick (FoundMyFitness magnesium episode), and NIH Office of Dietary Supplements

This is educational content, not medical advice. Consult your healthcare provider before starting supplementation, especially if you have kidney disease or take heart/blood pressure medications.

Body of Evidence

4 studies

Peer-reviewed research, summarized and rated for confidence.

50%

of Americans

Subclinical Magnesium Deficiency: A Public Health Crisis

Up to 50% of Americans consume less than the recommended amount of magnesium, and subclinical deficiency is a principal driver of cardiovascular disease including hypertension, arrhythmias, and sudden cardiac death.

Review2018
high
Discussed byDr. Rhonda Patrick
Open Heart, 2018

Incremental serum magnesium area under curve (higher = more absorbed)

Organic mix+6.87 mM·min AUC
Mg Oxide+0.31 mM·min AUC

Predicting and Testing Bioavailability of Magnesium Supplements

Organic magnesium forms (citrate, glycinate, malate) are dramatically more bioavailable than inorganic forms — mixed organic supplements showed 22x higher absorption (AUC 6.87 vs 0.31 mM·min) compared to magnesium oxide alone.

RCT2019n=40
moderate
Discussed byDr. Rhonda Patrick
Nutrients, 2019
ControlTreatment
Insomnia SeveritySignificant
No change
Improved
Serum MelatoninIncreased
No change
Increased

Magnesium Supplementation Improves Primary Insomnia in Elderly

500 mg magnesium daily for 8 weeks significantly improved sleep quality in elderly subjects — increased sleep time, reduced sleep onset latency, and improved ISI scores and serum melatonin vs. placebo.

RCT2012n=46
moderate
Discussed byAndrew Huberman
J Res Med Sci, 2012

Approximate improvements with magnesium supplementation vs. placebo

Soreness+30 % reduction
Recovery+25 % improvement
Muscle damage+20 % protection

Magnesium Supplementation Reduces Muscle Soreness Across Exercise Types

Systematic review of 4 RCTs found magnesium supplementation reduced muscle soreness, improved perceived recovery, and provided a protective effect on muscle damage. Athletes need 10–20% more magnesium than sedentary people.

Review2024
moderate
Discussed byAndrew Huberman
J Transl Med, 2024

Frequently Asked Questions

What is magnesium good for?

Magnesium supports normal muscle, nerve, energy, and electrolyte function. Treat it as a basic nutrient, not a miracle supplement. The first question is whether intake is low from diet patterns, heavy sweating, medications, or clinician-identified need.

Which magnesium form should I choose?

Different forms have different tradeoffs. Glycinate is often chosen for gentleness, citrate is common but can loosen stool, oxide is inexpensive but less appealing for many users, and threonate is marketed for brain benefits with more cautious evidence. The best form depends on goal, tolerance, price, and clinician advice.

Does magnesium help sleep?

Magnesium may help some people sleep better if low intake, muscle tension, or nighttime discomfort is part of the problem, but it is not a guaranteed sedative. Sleep timing, light, caffeine, stress, and bedroom conditions usually deserve attention first.

Who should be careful with magnesium supplements?

People with kidney disease, complex medical conditions, or medications that interact with minerals should ask a clinician before supplementing. Magnesium can also interfere with absorption of some medications if taken too close together, and higher doses commonly cause loose stool.