Magnesium: The Underestimated Mineral
Level 2, Intermediate
In brief
Magnesium is involved in hundreds of enzymatic reactions, energy metabolism, nerve and muscle function and the regulation of calcium and potassium. Because almost all body magnesium is inside cells and bone, serum levels can be normal despite depletion. Common causes of deficiency include diuretics, proton pump inhibitors, alcohol, diarrhoea and poorly controlled diabetes. Magnesium has evidence in migraine prevention, eclampsia and constipation; evidence for many popular uses is weaker.
Magnesium is sometimes called the forgotten electrolyte. It is not included in many routine blood panels, its blood level reflects only a tiny fraction of body stores, and its deficiency produces symptoms easily attributed to other causes. At the same time, magnesium has become one of the most popular supplements, recommended for sleep, anxiety, cramps, energy and much else. Both the neglect and the enthusiasm deserve scrutiny.
Where magnesium is and what it does
An adult body contains roughly 25 grams of magnesium. About half to two thirds is in bone, most of the rest is inside cells, particularly muscle, and less than one percent is in the blood. This distribution has important consequences for testing.
Magnesium participates in several hundred enzymatic reactions. Among its most important roles:
- Energy metabolism. ATP, the cell’s energy currency, functions largely as a complex with magnesium.
- Nucleic acid and protein synthesis.
- Nerve and muscle function. Magnesium regulates ion channels and acts as a natural calcium antagonist, influencing muscle contraction and nerve excitability.
- Cardiac rhythm. Low magnesium predisposes to arrhythmias.
- Calcium and potassium balance. Magnesium is needed for parathyroid hormone secretion and action, and for renal potassium handling. Severe magnesium deficiency causes low calcium and low potassium that do not correct until magnesium is replaced.
- Glucose metabolism. Magnesium is involved in insulin signalling, and low magnesium is associated with insulin resistance and type 2 diabetes.
Who becomes deficient
| Cause | Examples |
|---|---|
| Medicines | Loop and thiazide diuretics; long term proton pump inhibitors; some chemotherapy agents; calcineurin inhibitors; certain antibiotics |
| Gastrointestinal loss | Chronic diarrhoea, malabsorption, inflammatory bowel disease, short bowel |
| Renal loss | Poorly controlled diabetes with high urinary glucose; some kidney disorders |
| Alcohol | Reduced intake, increased urinary loss and gut losses |
| Low intake | Diets low in whole grains, legumes, nuts, seeds and leafy greens; older adults with poor intake |
| Refeeding | Rapid nutritional repletion after starvation can precipitate low magnesium, phosphate and potassium |
The link with proton pump inhibitors is worth emphasising. Regulators have warned that long term use, generally more than a year, can cause low magnesium, sometimes severe, and that it may not correct with supplements until the medicine is stopped.
Signs of deficiency
Mild deficiency may cause no clear symptoms, or nonspecific ones such as fatigue, weakness and reduced appetite. More significant deficiency can cause muscle cramps, tremor, twitching, tetany, palpitations and arrhythmias, and in severe cases seizures. Laboratory clues include low potassium or low calcium that are difficult to correct.
Why testing is difficult
Serum magnesium is the standard test, but because so little magnesium is in the blood, and because the body tightly regulates serum levels, a normal result does not exclude depletion of body stores. A low serum magnesium, however, reliably indicates deficiency.
Other tests have been proposed. Red blood cell magnesium is offered by some laboratories but is not well standardised and its clinical value is uncertain. A 24 hour urine magnesium can help distinguish renal loss from other causes. Specialised loading tests are used mainly in research. In practice, assessment combines the serum level with the clinical picture, dietary intake and risk factors.
Where magnesium therapy has evidence
| Use | Evidence picture |
|---|---|
| Treating confirmed deficiency | Established |
| Preventing and treating eclampsia | Established; intravenous magnesium sulphate substantially reduced eclampsia in a large international trial |
| Constipation | Established as an osmotic laxative |
| Migraine prevention | Moderate evidence; included as an option in some headache guidelines |
| Blood pressure | Modest reductions in meta analyses, larger in people with low magnesium or insulin resistance |
| Glucose control | Some improvements in people with low magnesium or diabetes; evidence moderate |
| Sleep and anxiety | Limited and mixed evidence; small studies, often in older or deficient populations |
| Nocturnal leg cramps in older adults | A systematic review found magnesium unlikely to help idiopathic cramps |
The pattern is familiar from other nutrients: clear benefit where there is deficiency or a specific pharmacological use, and weaker evidence for broad supplementation in people who are not deficient.
Food first
Good dietary sources include pumpkin and other seeds, nuts such as almonds and cashews, legumes, whole grains, dark leafy greens, dark chocolate and some mineral waters. Diets based on refined grains and processed foods tend to be low in magnesium. For many people, improving diet quality addresses marginal intake more comprehensively than a supplement.
Supplements: forms and cautions
- Forms differ in absorption and tolerability. Magnesium oxide contains a high proportion of magnesium but is less well absorbed and more laxative. Citrate, glycinate and some other organic forms are often better absorbed. Evidence comparing forms is limited, and differences may be modest.
- Diarrhoea is the most common side effect, particularly with higher doses and oxide or citrate forms.
- Kidney impairment is the key safety concern. The kidneys excrete excess magnesium, so people with reduced kidney function can accumulate it and develop toxicity, causing weakness, low blood pressure and, in severe cases, cardiac effects. Magnesium containing laxatives and antacids need particular caution in older adults and people with kidney disease.
- Interactions: magnesium can reduce absorption of some antibiotics, bisphosphonates and levothyroxine, so separating doses is recommended.
An illustrative case
A 69 year old woman with hypertension, treated with a thiazide diuretic, and reflux, treated with a proton pump inhibitor for 6 years, reports muscle cramps, fatigue and palpitations. Her potassium is persistently low despite supplements. Her doctor checks magnesium, which is low. Magnesium replacement is started, after which her potassium corrects. Her doctor reviews whether the proton pump inhibitor is still needed and considers alternatives for her blood pressure. Her cramps and palpitations settle. 2 routine medicines had combined to produce a deficiency that explained all 3 problems.
Neither forgotten nor a cure all
Magnesium deserves more attention than it usually receives: its deficiency is common in people taking certain medicines, misses easily on routine tests, and has real consequences. It deserves less attention as a general remedy for sleep, stress and wellbeing, where evidence is thin. The practitioner’s task is to find the patients who are genuinely deficient and to use magnesium where it is known to help.
Questions about magnesium
Why can serum magnesium be normal in deficiency?
Which medicines lower magnesium?
Is magnesium safe to supplement?
References
- de Baaij JHF, Hoenderop JGJ, Bindels RJM. Magnesium in man: implications for health and disease. Physiological Reviews. 2015;95(1).
- The Magpie Trial Collaborative Group. Do women with pre eclampsia, and their babies, benefit from magnesium sulphate? The Magpie Trial: a randomised placebo controlled trial. The Lancet. 2002;359(9321).
- Zhang X, Li Y, Del Gobbo LC, et al. Effects of magnesium supplementation on blood pressure: a meta analysis of randomized double blind placebo controlled trials. Hypertension. 2016;68(2).
- Holland S, Silberstein SD, Freitag F, et al. Evidence based guideline update: NSAIDs and other complementary treatments for episodic migraine prevention in adults. Neurology. 2012;78(17).
- Garrison SR, Korownyk CS, Kolber MR, et al. Magnesium for skeletal muscle cramps. Cochrane Database of Systematic Reviews. 2020;9:CD009402.
- United States Food and Drug Administration. Low magnesium levels can be associated with long term use of proton pump inhibitor drugs: drug safety communication. 2011.
Continue your learning
Assessing mineral status in clinical context
Identifying mineral deficiencies, including those caused by medicines, is part of the Applied Clinical Nutrition module in IIFM’s 6 month Functional Medicine and Clinical Nutrition program.
This article is for the education of healthcare professionals. It is not a substitute for individual medical advice, diagnosis or treatment, and does not change any practitioner’s scope of practice. Regulation and guidelines differ between countries.

