Supplements · September 30, 2026 · Memios · 16 min read

Magnesium

Correcting a genuine deficiency matters: low magnesium causes loss of appetite, nausea, weakness and, when severe, muscle cramps, abnormal heart rhythms and disturbed calcium and potassium balance.

Magnesiummagnesium oxidemagnesium citratemagnesium glycinatesupplement research
The chemical symbol Mg for Magnesium, drawn on pale linen.

TLDR

  • Disputed. Correcting a genuine deficiency matters: low magnesium causes loss of appetite, nausea, weakness and, when severe, muscle cramps, abnormal heart rhythms and disturbed calcium and potassium balance.
  • What it is: Magnesium is a mineral present in food, added to some foods, sold as a supplement and used in some medicines such as antacids and laxatives.
  • Main use, supported: Pooled double-blind placebo-controlled trials show magnesium supplementation lowers blood pressure by about 2 mmHg systolic and 1.8 mmHg diastolic. (moderate certainty)
  • Other use, supported: Symptomatic magnesium deficiency from diet alone is uncommon in otherwise healthy people because the kidneys conserve magnesium.
  • Claim NOT supported by research: In older adults with idiopathic (typically nocturnal) leg cramps, magnesium did not reduce cramp frequency compared with placebo. (moderate certainty)
  • Another claim NOT supported: The Cochrane review's own conclusion is that clinically meaningful cramp prophylaxis from magnesium in older adults is unlikely, and that the pregnancy literature is conflicting. (moderate certainty)
  • Recommended dose (official position): US Food and Nutrition Board, National Academies of Sciences, Engineering, and Medicine (as published by the NIH Office of Dietary Supplements, fact sheet updated January 6, 2026): RDAs and AIs for magnesium range from 310 to 420 mg for adults, and from 30 to 410 mg for infants.
  • Studied dose (a trial dose, not a recommendation): Blood pressure meta-analysis: median dose 368 mg/day of oral magnesium for a median of 3 months across 34 double-blind placebo-controlled trials. Findings citing that trial: 1 for.
  • Upper limit: US Food and Nutrition Board: the Tolerable Upper Intake Level for supplemental magnesium is 350 mg per day for adults.
  • What goes wrong: 3 findings on harm. Magnesium supplementation caused more minor adverse events than placebo in the pooled cramp trials, mostly gastrointestinal.
  • Common myth: Magnesium is a proven remedy for night cramps and a reliable natural sleep aid, and the only real question is which salt to buy.

What it is

Magnesium is a mineral present in food, added to some foods, sold as a supplement and used in some medicines such as antacids and laxatives. The US Office of Dietary Supplements describes it as a cofactor in more than 300 enzyme systems covering protein synthesis, muscle and nerve function, blood glucose control and blood pressure regulation. Supplements are sold as different salts - oxide, citrate, chloride, aspartate, lactate and others - and the label declares elemental magnesium, not the weight of the whole compound. Roughly 30% to 40% of dietary magnesium is typically absorbed.

What the research says

Correcting a genuine deficiency matters: low magnesium causes loss of appetite, nausea, weakness and, when severe, muscle cramps, abnormal heart rhythms and disturbed calcium and potassium balance. The popular supplement claims are weaker than that. For night cramps in older adults a 2020 Cochrane review found no statistically significant benefit and concluded meaningful cramp prophylaxis is unlikely; a large Swiss cohort found supplement users actually had more cramps. For sleep, the only pooled analysis in older adults with insomnia rests on three small trials that its own authors called substandard. Blood pressure falls by roughly 2 mmHg systolic in pooled trials - real but small. The most reliable effect of a magnesium supplement is a laxative one: diarrhoea, nausea and abdominal cramping are common above the upper intake level, and people with impaired kidneys can accumulate magnesium to dangerous levels.

Evidence grade: Disputed.

What goes wrong

Magnesium supplementation caused more minor adverse events than placebo in the pooled cramp trials, mostly gastrointestinal. (Source 1)

  • Systematic review, Low certainty.
  • Size: 4 studies, 254 participants (adverse events analysis)
  • Who: Participants in magnesium cramp trials across all settings.
  • How long: Trial durations varied.
  • Result: Minor adverse events RR 1.51, 95% CI 0.98 to 2.33; gastrointestinal events experienced by 11% (10% in control) to 37% (14% in control) of participants; major adverse events 2/72 magnesium vs 3/68 placebo, not significantly different.
  • Funding: not stated.

Overall, oral magnesium was associated with mostly gastrointestinal adverse events (e.g. diarrhoea), experienced by 11% (10% in control) to 37% (14% in control) of participants.

High doses of supplemental or medicinal magnesium commonly cause diarrhoea, nausea and abdominal cramping, and the effect differs by salt. (Source 2)

  • Official position, Certainty not rated.
  • Size: Not applicable - agency review of the literature.
  • Who: General population taking magnesium supplements or magnesium-containing medicines.
  • How long: Not applicable.
  • Result: Diarrhoea reported most often with magnesium carbonate, chloride, gluconate and oxide; mechanism is osmotic activity of unabsorbed salts plus stimulation of gastric motility.
  • Funding: independent (US government agency)

The forms of magnesium that are most commonly reported to cause diarrhea include magnesium carbonate, chloride, gluconate, and oxide.

Very large magnesium doses from laxatives and antacids have caused fatal hypermagnesemia, and the risk rises when kidney function is impaired. (Source 2)

  • Official position, Certainty not rated.
  • Size: Includes reported fatal cases in a 28-month-old boy and an elderly man.
  • Who: People taking magnesium-containing laxatives and antacids, and people with reduced kidney function.
  • How long: Not applicable.
  • Result: Toxicity usually appears above serum concentrations of 1.74 to 2.61 mmol/L, progressing from hypotension, nausea and lethargy to muscle weakness, difficulty breathing, irregular heartbeat and cardiac arrest.
  • Funding: independent (US government agency)

Very large doses of magnesium-containing laxatives and antacids (typically those that provide >5,000 mg/day magnesium) have been associated with magnesium toxicity, including fatal hypermagnesemia in a 28-month-old boy and an elderly man.

What the evidence supports

Pooled double-blind placebo-controlled trials show magnesium supplementation lowers blood pressure by about 2 mmHg systolic and 1.8 mmHg diastolic. (Source 3)

  • Meta-analysis, Moderate certainty.
  • Size: 34 trials, 2,028 participants.
  • Who: Normotensive and hypertensive adults.
  • How long: Median 3 months.
  • Result: Systolic BP −2.00 mmHg (95% CI: 0.43, 3.58); diastolic BP −1.78 mmHg (95% CI: 0.73, 2.82); serum Mg +0.05 mmol/L (95% CI: 0.03, 0.07) at a median dose of 368 mg/day; the authors note residual heterogeneity and call for further trials.
  • Funding: not stated.

Mg supplementation at a median dose of 368 mg/day for a median duration of 3 months significantly reduced systolic BP by 2.00 mmHg (95% CI: 0.43, 3.58) and diastolic BP by 1.78 mmHg (95% CI: 0.73, 2.82)

Symptomatic magnesium deficiency from diet alone is uncommon in otherwise healthy people because the kidneys conserve magnesium. (Source 4)

  • Official position, Certainty not rated.
  • Size: Not applicable.
  • Who: Otherwise healthy people; risk is higher with chronic alcohol use, certain illnesses and certain medicines.
  • How long: Not applicable.
  • Result: Early signs are loss of appetite, nausea, vomiting, fatigue and weakness; worsening deficiency brings numbness, muscle contractions and cramps, seizures, abnormal heart rhythms and coronary spasms.
  • Funding: independent (US government agency)

Symptomatic magnesium deficiency due to low dietary intake in otherwise healthy people is uncommon because the kidneys limit urinary excretion of this mineral.

The American Academy of Neurology and American Headache Society concluded magnesium is probably effective for migraine prevention, at doses above the upper intake level. (Source 5)

  • Official position, Certainty not rated.
  • Size: Not applicable - guideline judgement.
  • Who: People with migraine.
  • How long: Not applicable.
  • Result: Graded as probably effective for prevention; the doses used exceed the UL for supplemental magnesium.
  • Funding: independent (professional bodies, reported by a US government agency)

In their evidence-based guideline update, the American Academy of Neurology and the American Headache Society concluded that magnesium therapy is probably effective for migraine prevention.

What the evidence does not support

In older adults with idiopathic (typically nocturnal) leg cramps, magnesium did not reduce cramp frequency compared with placebo. (Source 6)

  • Systematic review, Moderate certainty.
  • Size: 3 studies, 177 participants for the primary endpoint; 5 studies, 307 participants for cramps per week (within a review of 11 trials, 735 individuals)
  • Who: Adults with idiopathic rest cramps, mean age 61.6 to 69.3 years.
  • How long: Four weeks for the primary endpoint.
  • Result: Percentage change from baseline in cramps per week at four weeks MD −9.59%, 95% CI −23.14% to 3.97%; cramps per week MD −0.18, 95% CI −0.84 to 0.49; proportion with a 25% or better reduction RR 1.04, 95% CI 0.84 to 1.29 (high-certainty evidence)
  • Funding: not stated.

This includes the primary endpoint, percentage change from baseline in the number of cramps per week at four weeks (mean difference (MD) −9.59%, 95% confidence interval (CI) −23.14% to 3.97%; 3 studies, 177 participants; moderate-certainty evidence)

The Cochrane review's own conclusion is that clinically meaningful cramp prophylaxis from magnesium in older adults is unlikely, and that the pregnancy literature is conflicting. (Source 7)

  • Systematic review, Moderate certainty.
  • Size: 11 trials, 735 individuals.
  • Who: People with idiopathic, pregnancy-associated or cirrhosis-associated cramps.
  • How long: Trial durations varied; primary endpoint at four weeks.
  • Result: No pooled benefit in idiopathic cramps; meta-analysis not possible for pregnancy trials.
  • Funding: not stated.

It is unlikely that magnesium supplementation provides clinically meaningful cramp prophylaxis to older adults experiencing skeletal muscle cramps. In contrast, for those experiencing pregnancy-associated rest cramps the literature is conflicting and further research in this population is needed.

In a population cohort followed over three waves, magnesium supplement users had more night cramps, not fewer, and no consistent association with sleep measures was found. (Source 8)

  • Cohort study, Low certainty.
  • Size: 3,887 participants at first follow-up; 1,916 at second; 1,561 at third (4.5% to 7.9% magnesium users)
  • Who: Community-dwelling adults in the CoLaus|PsyColaus cohort, Lausanne, mean ages 57.2 to 63.1 years.
  • How long: Three follow-ups: 2009-12, 2014-17, 2018-21.
  • Result: Users had a higher likelihood of night cramps or restless leg syndrome and a higher prospective incidence of night cramps; no significant differences in polysomnography or magnesium polygenic risk score; this is observational and users may have started magnesium because they already had cramps (confounding by indication)
  • Funding: not stated.

We found no consistent association between magnesium supplementation and subjective or objective sleep parameters or restless leg syndrome. Magnesium supplementation did not prevent night cramps.

The same review states the literature is not good enough to support recommendations on magnesium for insomnia in older adults. (Source 9)

  • Meta-analysis, Very low certainty.
  • Size: 3 randomised controlled trials, 151 older adults.
  • Who: Older adults with insomnia.
  • How long: Not stated.
  • Result: Qualitative judgement of the evidence base.
  • Funding: not stated.

This review confirms that the quality of literature is substandard for physicians to make well-informed recommendations on usage of oral magnesium for older adults with insomnia.

The American Diabetes Association holds that evidence does not support routine magnesium use to improve glycaemic control. (Source 10)

  • Official position, Certainty not rated.
  • Size: Not applicable.
  • Who: People with diabetes.
  • How long: Not applicable.
  • Result: Position statement, reported by the US Office of Dietary Supplements.
  • Funding: independent (professional body, reported by a US government agency)

The American Diabetes Association states that there is insufficient evidence to support the routine use of magnesium to improve glycemic control in people with diabetes.

Where the evidence is mixed

A pooled analysis of three small trials in older adults with insomnia found shorter time to fall asleep with oral magnesium, but the authors rated the evidence low to very low quality. (Source 11)

  • Meta-analysis, Very low certainty.
  • Size: 3 randomised controlled trials, 151 older adults in three countries.
  • Who: Older adults with insomnia.
  • How long: Not stated in the abstract; trials were short.
  • Result: Sleep onset latency 17.36 minutes less than placebo (95% CI −27.27 to −7.44, p = 0.0006); total sleep time 16.06 minutes longer but not statistically significant.
  • Funding: not stated.

All trials were at moderate-to-high risk of bias and outcomes were supported by low to very low quality of evidence.

Magnesium salts differ in how well they are absorbed, with oxide and sulfate less bioavailable than aspartate, citrate, lactate and chloride, though this rests on small studies. (Source 12)

  • Official position, Low certainty.
  • Size: Not stated - the agency describes them as small studies.
  • Who: Human absorption studies.
  • How long: Not stated.
  • Result: Solubility predicts absorption; aspartate, citrate, lactate and chloride absorbed more completely than oxide and sulfate in small studies. (Separately, in its section on food, the fact sheet states that about 30% to 40% of dietary magnesium is typically absorbed.)
  • Funding: independent (US government agency)

Small studies have found that magnesium in the aspartate, citrate, lactate, and chloride forms is absorbed more completely and is more bioavailable than magnesium oxide and magnesium sulfate.

Where the research disagrees

Whether magnesium supplements do anything useful for muscle cramps

  • Cochrane review authors (Garrison and colleagues, 2020), Systematic review and meta-analysis of 11 trials, 735 individuals, moderate-to-high certainty for the main outcomes: It is unlikely that magnesium supplementation provides clinically meaningful cramp prophylaxis to older adults experiencing skeletal muscle cramps. (Source 7)
  • CoLaus|PsyColaus cohort investigators (2026), Population-based cross-sectional and prospective cohort analyses, up to 3,887 participants, with polysomnography and a genetic risk score: Magnesium supplementation did not prevent night cramps. (Source 8)

Whether magnesium helps sleep

  • Mah and Pitre (2021) meta-analysis authors, Meta-analysis of 3 small RCTs, 151 older adults, rated low to very low quality: Pooled analysis showed that post-intervention sleep onset latency time was 17.36 min less after magnesium supplementation compared to placebo (95% CI − 27.27 to − 7.44, p = 0.0006). (Source 11)
  • CoLaus|PsyColaus cohort investigators (2026), Observational cohort with self-reported sleep questionnaires and objective polysomnography: We found no consistent association between magnesium supplementation and subjective or objective sleep parameters or restless leg syndrome. (Source 8)

How much

  • Reference intake: US Food and Nutrition Board, National Academies of Sciences, Engineering, and Medicine (as published by the NIH Office of Dietary Supplements, fact sheet updated January 6, 2026): RDAs and AIs for magnesium range from 310 to 420 mg for adults, and from 30 to 410 mg for infants, children and adolescents, depending on age, sex and life stage. The fact sheet's table gives 400 mg for men and 310 mg for women aged 19-30, and 420 mg for men and 320 mg for women aged 31 and over. (Source 13)
  • Upper limit: US Food and Nutrition Board: the Tolerable Upper Intake Level for supplemental magnesium is 350 mg per day for adults. The UL counts only magnesium from dietary supplements and medications, not magnesium naturally present in food and beverages, which is why it is lower than the RDA. (Source 14)
  • Studied: Blood pressure meta-analysis: median dose 368 mg/day of oral magnesium for a median of 3 months across 34 double-blind placebo-controlled trials. (Source 3)
  • Studied: Insomnia meta-analysis: oral magnesium in quantities described by the authors as less than 1 g given up to three times a day, in three trials in 151 older adults. (Source 9)
  • Studied: Cramp trials: all but one gave magnesium orally, with the primary endpoint assessed at four weeks in older adults with idiopathic cramps. (Source 6)

A common belief, and what the research shows

The belief: Magnesium is a proven remedy for night cramps and a reliable natural sleep aid, and the only real question is which salt to buy.

What the research shows: The best-designed pooled evidence on cramps is null: the 2020 Cochrane review reported the primary endpoint as a mean difference of −9.59% in cramps per week with a confidence interval crossing zero, and concluded "It is unlikely that magnesium supplementation provides clinically meaningful cramp prophylaxis to older adults experiencing skeletal muscle cramps." A large population cohort found the opposite of the claim, reporting that "Magnesium supplementation did not prevent night cramps." The sleep evidence is three small trials whose own authors wrote that "All trials were at moderate-to-high risk of bias and outcomes were supported by low to very low quality of evidence." The salt does matter for absorption and for bowel effects - "The forms of magnesium that are most commonly reported to cause diarrhea include magnesium carbonate, chloride, gluconate, and oxide." - but a better-absorbed salt does not turn a null result into a positive one.

Questions and answers

What is it?

Magnesium is an essential mineral. It works as a helper (cofactor) for many enzymes inside cells. (Source 15)

What does it do in the body?

A 2018 review describes magnesium as involved in about 80% of known metabolic functions. The same review also notes that the body absorbs and stores it in ways that make a person's magnesium status hard to measure. (Source 16)

Is it good or bad for you?

Magnesium is essential, and supplements have shown some benefits in trials. A 2021 meta-analysis of double-blind randomised trials found that oral magnesium lowered fasting blood glucose compared with placebo in people with diabetes, and improved glucose and insulin-sensitivity measures in people at high risk of diabetes. The harms of too much are covered under 'what reduces it'. (Source 17)

How do you get more of it?

The main source is food: green vegetables (because chlorophyll contains magnesium), nuts, seeds and unprocessed cereals. A 2012 review estimates that drinking water supplies about 10% of daily intake. (Source 15)

If it is harmful, what reduces it?

Excess magnesium, mostly from magnesium-containing medicines such as magnesium oxide laxatives, can be harmful. In a single-hospital Japanese cohort of patients prescribed magnesium oxide, 23% developed high blood magnesium; risk was higher with reduced kidney function, higher blood urea nitrogen, doses of 1650 mg a day or more and use for 36 days or more. The authors recommended regular blood magnesium checks for people prescribed it. (Source 18)

Why might someone be low in it or missing it?

A 2012 review lists poor diet and intravenous feeding without magnesium as causes of low intake. It also lists poor absorption and losses through the gut, such as chronic diarrhoea, malabsorption and bowel resection or bypass surgery. (Source 15)

Which whole foods contain it or feed it?

Green vegetables are the main source, because chlorophyll contains magnesium. Nuts, seeds and unprocessed cereals are also rich in it. (Source 15)

What happens if you do not have it?

Early signs of deficiency include loss of appetite, nausea, vomiting, tiredness and weakness. As it gets worse, it can cause numbness, tingling, cramps, seizures, personality changes, abnormal heart rhythms and spasms of the heart's arteries. (Source 15)

How can you test for it?

The usual test is serum (blood) magnesium, but only about 0.3% of the body's magnesium is in serum and about 1% is outside cells. A 2012 review says serum levels are poor predictors of the magnesium inside cells and in the body overall, so a normal result may not reflect body stores. (Source 15)

References

  1. Cochrane Database of Systematic Reviews 2020, CD009402.pub3 (scientific abstract, as rendered on cochrane.org; not the plain language summary). Magnesium for skeletal muscle cramps. 2020. PMID 32956536, DOI 10.1002/14651858.CD009402.pub3. Read the source
  2. NIH Office of Dietary Supplements. Magnesium - Health Professional Fact Sheet. 2026. Read the source
  3. Hypertension (American Heart Association); author accepted manuscript hosted by Indiana University ScholarWorks. Effects of Magnesium Supplementation on Blood Pressure: A Meta-Analysis of Randomized Double-Blind Placebo-Controlled Trials. 2016. PMID 27402922, DOI 10.1161/HYPERTENSIONAHA.116.07664. Read the source
  4. NIH Office of Dietary Supplements. Magnesium - Health Professional Fact Sheet. 2026. Read the source
  5. NIH Office of Dietary Supplements. Magnesium - Health Professional Fact Sheet. 2026. Read the source
  6. Cochrane Database of Systematic Reviews 2020, CD009402.pub3 (scientific abstract, as rendered on cochrane.org; not the plain language summary). Magnesium for skeletal muscle cramps. 2020. PMID 32956536, DOI 10.1002/14651858.CD009402.pub3. Read the source
  7. Cochrane Database of Systematic Reviews 2020, CD009402.pub3 (scientific abstract, as rendered on cochrane.org; not the plain language summary). Magnesium for skeletal muscle cramps. 2020. PMID 32956536, DOI 10.1002/14651858.CD009402.pub3. Read the source
  8. European Journal of Nutrition. Magnesium supplements, sleep quality, and nocturnal leg cramps: a combination of cross-sectional and prospective studies. 2026. DOI 10.1007/s00394-026-03910-2. Read the source
  9. BMC Complementary Medicine and Therapies. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. 2021. PMID 33865376, DOI 10.1186/s12906-021-03297-z. Read the source
  10. NIH Office of Dietary Supplements. Magnesium - Health Professional Fact Sheet. 2026. Read the source
  11. BMC Complementary Medicine and Therapies. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. 2021. PMID 33865376, DOI 10.1186/s12906-021-03297-z. Read the source
  12. NIH Office of Dietary Supplements. Magnesium - Health Professional Fact Sheet. 2026. Read the source
  13. NIH Office of Dietary Supplements. Magnesium - Health Professional Fact Sheet. 2026. Read the source
  14. NIH Office of Dietary Supplements. Magnesium - Health Professional Fact Sheet. 2026. Read the source
  15. Clinical Kidney Journal. Magnesium basics. 2012. DOI 10.1093/ndtplus/sfr163. Read the source
  16. Nutrients. Challenges in the Diagnosis of Magnesium Status. 2018. DOI 10.3390/nu10091202. Read the source
  17. Nutrients. Oral Magnesium Supplementation for Treating Glucose Metabolism Parameters in People with or at Risk of Diabetes: A Systematic Review and Meta-Analysis of Double-Blind Randomized Controlled Trials. 2021. PMID 34836329, DOI 10.3390/nu13114074. Read the source
  18. Journal of Pharmaceutical Health Care and Sciences. Risk factors for the development of hypermagnesemia in patients prescribed magnesium oxide: a retrospective cohort study. 2019. DOI 10.1186/s40780-019-0133-7. Read the source
Share

0:00/0:00