Magnesium
Nutrient profile · Last reviewed Dec 2026 · 8 sources
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.
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
| Age | Male | Female | Upper limit (supplements) |
|---|---|---|---|
| 0–6 months | 30 | 30 | Not set |
| 7–12 months | 75 | 75 | Not set |
| 1–3 years | 80 | 80 | 65 |
| 4–8 years | 130 | 130 | 110 |
| 9–13 years | 240 | 240 | 350 |
| 14–18 years | 410 | 360 | 350 |
| 19–30 years | 400 | 310 | 350 |
| 31–50 years | 420 | 320 | 350 |
| 51–70 years | 420 | 320 | 350 |
| 71+ years | 420 | 320 | 350 |
| Pregnancy, 14–18 years | — | 400 | 350 |
| Pregnancy, 19–30 years | — | 350 | 350 |
| Pregnancy, 31–50 years | — | 360 | 350 |
| Lactation, 14–18 years | — | 360 | 350 |
| Lactation, 19–30 years | — | 310 | 350 |
| Lactation, 31–50 years | — | 320 | 350 |
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 Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov
3. FoodFood sources
| Food | Serving | mg per serving |
|---|---|---|
| Pumpkin seeds, roasted | 1 oz | 156 |
| Chia seeds | 1 oz | 111 |
| Almonds, dry roasted | 1 oz | 80 |
| Spinach, boiled | ½ cup | 78 |
| Cashews, dry roasted | 1 oz | 74 |
| Peanuts, oil roasted | ¼ cup | 63 |
Show all 15 foods
| Food | Serving | mg per serving |
|---|---|---|
| Soymilk | 1 cup | 61 |
| Black beans, cooked | ½ cup | 60 |
| Edamame, shelled, cooked | ½ cup | 50 |
| Peanut butter, smooth | 2 tablespoons | 49 |
| Potato, baked with skin | 3.5 oz | 43 |
| Brown rice, cooked | ½ cup | 42 |
| Yogurt, plain, low-fat | 8 oz | 42 |
| Banana | 1 medium | 32 |
| Salmon, Atlantic, farmed, cooked | 3 oz | 26 |
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)
| mmol/L | mg/dL | Status | Meaning |
|---|---|---|---|
| <0.75 | <1.82 | Deficient | Hypomagnesemia |
| 0.75–0.95 | 1.82–2.31 | Adequate | Normal range |
| >1.74–2.61 | >4.2–6.3 | Toxic | Toxicity symptoms usually develop |
Serum levels don't accurately reflect total body magnesium; no single assessment method is fully satisfactory.
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
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
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.
| Outcome | Population | What the evidence shows | Evidence |
|---|---|---|---|
| Muscle cramps | Older adults with idiopathic (nocturnal leg) cramps | A 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 pressure | Adults with and without hypertension | A 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 prevention | Adults with episodic migraine | The 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 / insomnia | Older adults (≥55) with insomnia | A 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
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.
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.
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.
11. PatientsFor patients
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.
12. SourcesSources on this page
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.