Digestry
Early access. Content is cited but still under clinician review. Education for clinicians; not a diagnostic or prescribing tool.Cited, under clinician review. Education only.
← Nutrients / Minerals / Magnesium

Magnesium

Nutrient profile · Last reviewed Dec 2026 · 8 sources

Search this nutrient →
On this page

1. OverviewWhat it is and what it does

Magnesium is a cofactor in hundreds of enzyme reactions and is needed for muscle and nerve function, blood pressure and glucose regulation, and bone. Many US adults take in less than recommended. Supplement evidence is strongest for small blood pressure reductions and migraine prevention, weak for sleep, and unfavorable for idiopathic leg cramps in older adults.

Clinical points

  • The supplemental UL for adults is 350 mg/day; it doesn't apply to magnesium in food.
  • Diarrhea is the most common side effect, especially with magnesium oxide, carbonate, chloride and gluconate at higher doses.
  • People with impaired kidney function are at higher risk of magnesium accumulation from supplements and magnesium-containing laxatives or antacids.
  • Serum magnesium is a poor marker of total body stores, since most magnesium is in bone and cells.

Summarized from the NIH ODS fact sheet. Decisions about supplementation rest with the treating clinician.

NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov

2. IntakeReference intakes across the lifespan

The UL applies to supplements and medications only, not to magnesium in food and water.

Adults 19–50
Men 400, women 310 mg/day
Adults 71+
Men 420, women 320 mg/day
Pregnancy
350–400 mg/day
Lactation
310–360 mg/day
Full table by age and life stage
Reference intakes for Magnesium by age, in mg per day
AgeMaleFemaleUpper limit (supplements)
0–6 months3030Not set
7–12 months7575Not set
1–3 years808065
4–8 years130130110
9–13 years240240350
14–18 years410360350
19–30 years400310350
31–50 years420320350
51–70 years420320350
71+ years420320350
Pregnancy, 14–18 years—400350
Pregnancy, 19–30 years—350350
Pregnancy, 31–50 years—360350
Lactation, 14–18 years—360350
Lactation, 19–30 years—310350
Lactation, 31–50 years—320350

Special considerations

Pregnancy & lactation: The RDA is 350–400 mg/day in pregnancy and 310–360 mg/day during lactation, depending on age (NIH ODS). Cochrane found conflicting evidence for pregnancy-associated leg cramps.

Pediatrics: RDAs range from 80 mg/day (ages 1–3) to 410 mg/day (boys 14–18). The supplemental UL is 65 mg/day for ages 1–3 and 110 mg/day for ages 4–8 (NIH ODS).

Adults: RDA: men 400–420 mg/day, women 310–320 mg/day. Supplemental UL: 350 mg/day (NIH ODS).

Older adults: Older adults may absorb less magnesium and lose more in urine, and are more likely to take medications that deplete it (e.g. PPIs, diuretics). Cochrane evidence does not support magnesium for idiopathic leg cramps in this group.

Athletes: No athlete-specific summary has been added for this topic yet. Use Powered Search to search the sports-nutrition journals.

NIH ODS: Magnesium fact sheet ods.od.nih.gov
NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov

3. FoodFood sources

Top food sources of Magnesium
FoodServingmg per serving
Pumpkin seeds, roastedVegetarian · Vegan · Dairy-free1 oz156
Chia seedsVegetarian · Vegan · Dairy-free1 oz111
Almonds, dry roastedVegetarian · Vegan · Dairy-free1 oz80
Spinach, boiledVegetarian · Vegan · Dairy-free½ cup78
Cashews, dry roastedVegetarian · Vegan · Dairy-free1 oz74
Peanuts, oil roastedVegetarian · Vegan · Dairy-free¼ cup63
Show all 15 foods
More food sources of Magnesium
FoodServingmg per serving
SoymilkVegetarian · Vegan · Dairy-free1 cup61
Black beans, cookedVegetarian · Vegan · Dairy-free½ cup60
Edamame, shelled, cookedVegetarian · Vegan · Dairy-free½ cup50
Peanut butter, smoothVegetarian · Vegan · Dairy-free2 tablespoons49
Potato, baked with skinVegetarian · Vegan · Dairy-free3.5 oz43
Brown rice, cookedVegetarian · Vegan · Dairy-free½ cup42
Yogurt, plain, low-fatVegetarian8 oz42
BananaVegetarian · Vegan · Dairy-free1 medium32
Salmon, Atlantic, farmed, cookedDairy-free3 oz26
NIH ODS: Magnesium fact sheet ods.od.nih.gov

4. LaboratoryLab values and ranges

Ranges restate the cited source. Labs differ in methods and units; check the reporting lab's reference interval.

Serum magnesium

Specimen
Serum
Units
mmol/L or mg/dL (1 mmol/L = 2.43 mg/dL (converted values rounded))
Population
Adults
Interpretation ranges (3)
Interpretation ranges for Serum magnesium
mmol/Lmg/dLStatusMeaning
<0.75<1.82DeficientHypomagnesemia
0.75–0.951.82–2.31AdequateNormal range
>1.74–2.61>4.2–6.3ToxicToxicity symptoms usually develop

Serum levels don't accurately reflect total body magnesium; no single assessment method is fully satisfactory.

National Institutes of Health Office of Dietary Supplements. Magnesium: Fact sheet for health professionals. NIH ODS

5. DeficiencyDeficiency signs, symptoms and conditions

Magnesium deficiency (hypomagnesemia)

All ages

Signs and symptoms

  • Abnormal heart rhythms (severe)
  • Coronary spasms (severe)
  • Fatigue
  • Hypocalcemia or hypokalemia (severe)
  • Loss of appetite
  • Muscle cramps (severe)
  • Nausea
  • Numbness (severe)
  • Seizures (severe)
  • Vomiting
  • Weakness
Who is at risk (4)
  • Alcohol dependence
  • Gastrointestinal diseases
  • Older adults
  • Type 2 diabetes
National Institutes of Health Office of Dietary Supplements. Magnesium: Fact sheet for health professionals. NIH ODS

6. ToxicityToxicity signs, symptoms and conditions

Excess magnesium (hypermagnesemia)

High-dose supplements or medications

Signs and symptoms

  • Abdominal cramping
  • Cardiac arrest (very high doses)
  • Diarrhea
  • Difficulty breathing (very high doses)
  • Hypotension (very high doses)
  • Irregular heartbeat (very high doses)
  • Nausea
  • Vomiting (very high doses)

Threshold: Upper limit for supplemental magnesium: 65 mg (ages 1–3), 110 mg (4–8), 350 mg (9 and older); serum >1.74–2.61 mmol/L

National Institutes of Health Office of Dietary Supplements. Magnesium: Fact sheet for health professionals. NIH ODS

7. RadiologyImaging findings

Deficiency

No characteristic imaging findings available for this nutrient.

Toxicity or overload

No characteristic imaging findings available for this nutrient.

8. ResearchCurrent research

Labels describe how strong and consistent the evidence is for each outcome, including when it shows no benefit.

OutcomePopulationWhat the evidence showsEvidence
Muscle crampsOlder adults with idiopathic (nocturnal leg) crampsA 2020 Cochrane review concluded, with moderate certainty, that magnesium is unlikely to reduce the frequency or severity of muscle cramps in older adults. Evidence in pregnancy-associated cramps was conflicting.
Garrison SR, et al. Magnesium for skeletal muscle cramps. Cochrane Database Syst Rev. 2020;(9):CD009402. doi:10.1002/14651858.CD009402.pub3
No benefit shown
Blood pressureAdults with and without hypertensionA 2016 meta-analysis of 34 double-blind RCTs (2,028 participants) found small but significant reductions in systolic and diastolic blood pressure. A 2025 meta-analysis of 38 RCTs (2,709 participants) also found significant lowering, with subgroup analyses by hypertension status and serum magnesium.
Zhang X, et al. Effects of magnesium supplementation on blood pressure: meta-analysis of randomized double-blind placebo-controlled trials. Hypertension. 2016;68(2):324-333. PubMed 27402922
Magnesium supplementation and blood pressure: a systematic review and meta-analysis of randomized controlled trials. Hypertension. 2025. doi:10.1161/HYPERTENSIONAHA.125.25129
Moderate: small benefit
Migraine preventionAdults with episodic migraineThe 2012 AAN/AHS guideline rated magnesium 'probably effective' (Level B) for migraine prevention. A 2018 systematic review rated it 'possibly effective' (Grade C), with high-dose magnesium dicitrate studied most. AAN/AHS issued an updated prevention guideline in 2026; check it for any change to complementary-treatment ratings.
Evidence-based guideline update: NSAIDs and other complementary treatments for episodic migraine prevention in adults (AAN/AHS). Neurology. 2012;78(17):1346-1353. PMC3335449
Magnesium in migraine prophylaxis: is there an evidence-based rationale? A systematic review. Headache. 2018;58(2):199-209. PubMed 29131326
Moderate: possible benefit
Sleep / insomniaOlder adults (≥55) with insomniaA meta-analysis of 3 small RCTs (151 participants) found sleep onset about 17 minutes faster with magnesium; total sleep time did not change significantly. All trials had moderate-to-high risk of bias, and evidence quality was low to very low.
Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: systematic review and meta-analysis. BMC Complement Med Ther. 2021;21(1):125. PubMed 33865376
Emerging: low-quality evidence

9. SupplementsSupplementation guide

A cofactor in more than 300 enzyme systems, including those for protein synthesis, muscle and nerve function, blood sugar control and blood pressure. It's needed for energy production and bone structure. An adult body holds about 25 g, half or more of it in bone.

Forms

  • Citrate, aspartate, lactate, chloride: Absorbed more completely in small studies
  • Oxide, sulfate: Less bioavailable
  • Hydroxide: Laxatives and antacids; doses can exceed the upper limit
  • Glycinate: Not covered by the NIH fact sheet

What the evidence shows

Not supportedMuscle cramps No benefit shown
May helpBlood pressure Moderate: small benefit
May helpMigraine prevention Moderate: possible benefit
PreliminarySleep / insomnia Emerging: low-quality evidence

Side effects

  • Magnesium from food doesn't pose a risk of toxicity. High doses from supplements or medications commonly cause diarrhea, nausea and abdominal cramping.
  • Very large doses (often from laxatives or antacids, typically above 5,000 mg/day) can cause magnesium toxicity, with low blood pressure, muscle weakness and irregular heartbeat; the risk is highest with impaired kidney function.
Garrison SR, et al. Magnesium for skeletal muscle cramps. Cochrane Database Syst Rev. 2020;(9):CD009402. doi:10.1002/14651858.CD009402.pub3
Zhang X, et al. Effects of magnesium supplementation on blood pressure: meta-analysis of randomized double-blind placebo-controlled trials. Hypertension. 2016;68(2):324-333. PubMed 27402922

Magnesium supplementation and blood pressure: a systematic review and meta-analysis of randomized controlled trials. Hypertension. 2025. doi:10.1161/HYPERTENSIONAHA.125.25129

Evidence-based guideline update: NSAIDs and other complementary treatments for episodic migraine prevention in adults (AAN/AHS). Neurology. 2012;78(17):1346-1353. PMC3335449

Magnesium in migraine prophylaxis: is there an evidence-based rationale? A systematic review. Headache. 2018;58(2):199-209. PubMed 29131326

Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: systematic review and meta-analysis. BMC Complement Med Ther. 2021;21(1):125. PubMed 33865376

NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov

National Center for Complementary and Integrative Health (NIH). Using Dietary Supplements Wisely. nccih.nih.gov

Safety

  • Magnesium from food doesn't pose a risk of toxicity. High doses from supplements or medications commonly cause diarrhea, nausea and abdominal cramping.
  • Very large doses (often from laxatives or antacids, typically above 5,000 mg/day) can cause magnesium toxicity, with low blood pressure, muscle weakness and irregular heartbeat; the risk is highest with impaired kidney function.
NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov

Supplements aren't reviewed by the FDA for safety or effectiveness before sale, and contents can differ from the label. Disclose all supplements to every clinician, especially before surgery, and stop with any side effect.

10. MedicationsNutrient–drug interactions

  • Bisphosphonates (Reduced drug absorption): Calcium- or magnesium-containing supplements and antacids can reduce bisphosphonate absorption if taken too close together.
  • Loop diuretics (Depletion): Loop diuretics increase magnesium loss in urine; long-term use can lower magnesium levels.
  • Proton pump inhibitors (Depletion): Long-term use (often more than a year) has been linked to low blood magnesium.
  • Tetracycline & quinolone antibiotics (Reduced drug absorption): These minerals can bind the antibiotic in the gut and reduce its absorption when taken close together.
More from the supplement entry (1)
  • Use the Nutrient–Drug Interactions tool (Tools) to check specific medicines.
NIH ODS: Magnesium fact sheet ods.od.nih.gov

Open the interaction checker →

11. PatientsFor patients

Your Clinic Name

Magnesium: What You Should Know

What does it do?

Magnesium helps your muscles and nerves work, keeps your heartbeat steady and supports strong bones. It also helps control blood sugar and blood pressure.

How much do I need?

Adult men need about 400–420 mg a day and adult women about 310–320 mg a day. Nuts, seeds, beans and leafy greens are good sources.

Can I get too much?

Magnesium from food isn't a concern. Supplements above 350 mg a day can cause diarrhea, nausea and cramping. If you have kidney disease, talk with your clinician before taking magnesium.

Source: NIH Office of Dietary Supplements, Magnesium fact sheet. This handout is for education and does not replace advice from your clinician.

12. SourcesSources on this page

Evidence-based guideline update: NSAIDs and other complementary treatments for episodic migraine prevention in adults (AAN/AHS). Neurology. 2012;78(17):1346-1353. PMC3335449
Garrison SR, et al. Magnesium for skeletal muscle cramps. Cochrane Database Syst Rev. 2020;(9):CD009402. doi:10.1002/14651858.CD009402.pub3

Magnesium in migraine prophylaxis: is there an evidence-based rationale? A systematic review. Headache. 2018;58(2):199-209. PubMed 29131326

Magnesium supplementation and blood pressure: a systematic review and meta-analysis of randomized controlled trials. Hypertension. 2025. doi:10.1161/HYPERTENSIONAHA.125.25129

Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: systematic review and meta-analysis. BMC Complement Med Ther. 2021;21(1):125. PubMed 33865376

National Center for Complementary and Integrative Health (NIH). Using Dietary Supplements Wisely. nccih.nih.gov

NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov

Zhang X, et al. Effects of magnesium supplementation on blood pressure: meta-analysis of randomized double-blind placebo-controlled trials. Hypertension. 2016;68(2):324-333. PubMed 27402922

Educational summary for licensed clinicians. Not medical advice; decisions rest with the treating clinician.