Hypomagnesemia and Hypermagnesemia
Magnesium disorders from GI loss, diuretics, alcoholism (low), or renal failure and iatrogenic infusion (high).
Also known as: hypomagnesemia, hypermagnesemia, magnesium deficiency, low magnesium, high magnesium
Overview
Hypomagnesemia is serum magnesium <1.7 mg/dL (severe <1.0 mg/dL). Hypermagnesemia is >2.6 mg/dL (severe >4.0 mg/dL). Magnesium is the second most abundant intracellular cation. Homeostasis depends on intestinal absorption (~30-40% of intake) and renal handling: 70% reabsorbed in the thick ascending limb via paracellular transport (claudin-16/19) and 10% in the distal convoluted tubule (TRPM6).
Epidemiology
Hypomagnesemia is common: present in up to 12% of hospitalized patients and 60% of ICU patients. Hypermagnesemia is rare outside of obstetric magnesium therapy (preeclampsia/eclampsia), renal failure with magnesium-containing laxatives/antacids, or massive overdose.
Keep reading — start your free trial
You've read your 2 free diagnosis previews. Create your free account to unlock the full Hypomagnesemia and Hypermagnesemia outline — plus all 514 diagnoses, 5,500+ board-style questions, flashcards, and an AI tutor. Your 7-day free trial includes everything, and there's no credit card required.
Risk factors
- Hypomagnesemia: alcoholism, chronic diarrhea, malabsorption (celiac, IBD, short bowel, bariatric surgery), proton pump inhibitors (long-term), loop and thiazide diuretics, amphotericin B, aminoglycosides, pentamidine, cisplatin, calcineurin inhibitors (tacrolimus, cyclosporine), cetuximab/panitumumab (EGFR inhibitors), Gitelman and Bartter syndromes, type 2 diabetes
- Hypermagnesemia: CKD/ESKD, magnesium-containing antacids (Maalox, milk of magnesia) and laxatives (especially in CKD), obstetric magnesium sulfate therapy, tumor lysis syndrome, lithium toxicity, hypothyroidism, Addison disease
Pathophysiology
Hypomagnesemia: from decreased intake (alcoholism, parenteral nutrition without Mg), decreased absorption (PPIs reduce TRPM6 expression and intestinal Mg uptake), or increased loss — renal (diuretics, calcineurin inhibitors, hereditary tubulopathies) or GI (diarrhea, vomiting). Magnesium is a cofactor for parathyroid hormone secretion and action — severe hypomagnesemia → functional hypoparathyroidism and refractory hypocalcemia. Hypermagnesemia: almost always from impaired renal excretion combined with an exogenous load (laxative, antacid, infusion). Suppresses neuromuscular transmission, causing weakness and bradyarrhythmias.
Clinical presentation
Symptoms
- Hypomagnesemia: tremor, hyperreflexia, muscle cramps, paresthesias, tetany; seizures and ventricular arrhythmias (torsades de pointes) when severe; nausea, weakness, personality changes
- Hypermagnesemia: nausea, flushing, headache, lethargy → loss of deep tendon reflexes (~5-7 mg/dL) → respiratory depression (>10) → bradyarrhythmias and cardiac arrest (>12 mg/dL)
Signs / physical exam
- Hypomagnesemia: Trousseau and Chvostek signs (from coexisting hypocalcemia), hyperactive reflexes, fasciculations, prolonged QT and U waves on ECG, torsades
- Hypermagnesemia: hyporeflexia (early, sensitive), bradycardia, hypotension, prolonged PR and QRS
Classic findings
Refractory hypokalemia and hypocalcemia in a patient with diuretic, alcohol, or PPI use — always replace magnesium first. Loss of patellar reflex in a preeclamptic patient on magnesium sulfate — first sign of toxicity.
Differential diagnosis
- Hypocalcemia (other causes) — Hypoparathyroidism, vitamin D deficiency, CKD; check Mg in any refractory hypocalcemia
- Hypokalemia (other causes) — Often coexists with hypomagnesemia; cannot fully correct K until Mg replaced (Mg-dependent ROMK channel)
- Gitelman syndrome — Hypokalemia, hypomagnesemia, hypocalciuria, metabolic alkalosis, normotensive — DCT loss-of-function (NCC)
- Bartter syndrome — Similar to loop diuretic — hypokalemia, hypomagnesemia, hypercalciuria, metabolic alkalosis
- Lithium toxicity (mimics hypermagnesemia) — Neuromuscular depression; lithium level diagnostic
- Magnesium therapy for preeclampsia / eclampsia — Therapeutic range 4-7 mg/dL; toxicity at 7-10 (loss of DTRs), >10 (respiratory depression), >12 (cardiac arrest)
Diagnostic workup
Diagnostic criteria
FEMg = (urine Mg × serum Cr × 100) / (0.7 × serum Mg × urine Cr). FEMg >2% with hypomagnesemia indicates inappropriate renal wasting.
Labs
- Serum magnesium (note: reflects only ~1% of total body magnesium; significant deficit may exist with normal levels)
- Concomitant electrolytes: potassium, calcium (ionized), phosphate
- BMP, BUN/Cr (assess renal function)
- 24-hour urine magnesium or fractional excretion of magnesium (FEMg): FEMg <2% suggests extrarenal loss; >2-4% suggests renal wasting
- PTH, 25-hydroxyvitamin D if refractory hypocalcemia
- ECG — QT prolongation (hypoMg), prolonged PR/QRS (hyperMg)
Imaging
- Usually not needed; ECG is the key 'imaging' for arrhythmia risk
Diagnostic algorithm
| Magnesium level (mg/dL) | Clinical findings | Action |
|---|---|---|
| <1.0 (severe low) | Torsades, seizures, tetany | IV MgSO4 1-2 g over 15-60 min; replace before K |
| 1.0-1.7 (mild-mod low) | Cramps, tremor, weakness; refractory hypoK/hypoCa | Oral or IV Mg; identify cause (PPI, diuretic, alcohol) |
| 1.7-2.6 (normal) | — | — |
| 2.6-7.0 (mild-mod high) | Nausea, flushing, lethargy, hyporeflexia | Stop Mg source, IV fluids, loop diuretic |
| >7.0 (severe high) | Respiratory depression, bradycardia, cardiac arrest | IV calcium gluconate, hemodialysis |
Treatment
First-line
- Hypomagnesemia, mild-moderate, asymptomatic: oral magnesium oxide, magnesium chloride, or magnesium lactate 240-1000 mg elemental Mg/day in divided doses (diarrhea is common dose-limiting effect; sustained-release preparations better tolerated)
- Hypomagnesemia, severe or symptomatic (arrhythmia, seizure, tetany): IV magnesium sulfate 1-2 g over 15-60 min (faster if life-threatening), then 4-8 g over 24 hours; for torsades, 2 g IV push
- Replace magnesium BEFORE potassium when both are low (potassium repletion is futile in untreated hypomagnesemia)
- Identify and treat underlying cause — discontinue offending drug, address malabsorption
- Hypermagnesemia, mild-moderate, asymptomatic: discontinue magnesium sources, supportive observation; renal excretion clears Mg if kidney function adequate
- Hypermagnesemia, symptomatic or severe: IV calcium gluconate or calcium chloride for cardioprotection (calcium antagonizes Mg at NMJ); IV fluids and loop diuretic (furosemide) to enhance renal excretion; hemodialysis for severe toxicity or anuric patients
Alcohol withdrawal / chronic alcoholism
- Empiric magnesium replacement is reasonable
- Concurrent thiamine, folate, potassium replacement
- Watch for refeeding syndrome with concurrent phosphate, potassium derangement
PPI-associated hypomagnesemia
- Trial of stopping PPI or switching to H2 blocker
- Oral magnesium replacement; severe cases may need IV courses
- Consider amiloride (potassium-sparing diuretic) to increase distal Mg reabsorption
Magnesium sulfate toxicity in obstetrics
- Discontinue infusion
- IV calcium gluconate 1 g over 5-10 min
- Supportive ventilation if respiratory depression
- Continuous cardiac monitoring; monitor DTRs as bedside marker
Gitelman / Bartter syndromes
- Long-term oral KCl and Mg replacement
- Amiloride or spironolactone for potassium and magnesium retention
- NSAIDs for Bartter (reduce prostaglandin-driven losses) — cautious use
Second-line / adjunct
- Amiloride for chronic refractory renal magnesium wasting
- Inulin or pectin-rich diet to improve magnesium absorption (anecdotal)
- Burosumab is NOT used for Mg disorders — distinguish from phosphate
Complications
- Hypomagnesemia: torsades de pointes and other ventricular arrhythmias, sudden cardiac death, refractory hypokalemia and hypocalcemia, seizures, osteoporosis (long-term), worse outcomes in heart failure and ICU populations
- Hypermagnesemia: respiratory failure, cardiac arrest, profound hypotension, ileus, urinary retention; fetal hypotonia and Apgar reduction in neonates of preeclamptic mothers
PANCE pearls
- Always check and replete magnesium in refractory hypokalemia or hypocalcemia — potassium cannot be retained without adequate magnesium.
- Loss of patellar reflex is the earliest bedside sign of magnesium sulfate toxicity in preeclamptic patients — check reflexes hourly during infusion.
- Long-term PPI use is a frequently overlooked cause of hypomagnesemia; FDA boxed warning since 2011.
- IV magnesium 2 g push is first-line therapy for torsades de pointes regardless of baseline magnesium level.
- FEMg >2% in a hypomagnesemic patient indicates inappropriate renal wasting and points toward diuretics, calcineurin inhibitors, EGFR inhibitors, or a hereditary tubulopathy.
References
- FDA 2011 — FDA Drug Safety Communication: Low magnesium levels can be associated with long-term use of proton pump inhibitor drugs (PPIs) (2011)
- ACOG 2020 — ACOG Practice Bulletin No. 222: Gestational Hypertension and Preeclampsia (Obstet Gynecol 2020;135:e237-e260)
- Ayuk & Gittoes — Ayuk J, Gittoes NJL. Treatment of hypomagnesaemia (Am J Kidney Dis 2014;63:691-695)
- Schlingmann 2007 — Schlingmann KP et al. Genetics of hereditary disorders of magnesium homeostasis (Pediatr Nephrol 2004;19:13-25)
Practice Renal/Urology questions on FirstPassPA
Turn this outline into retention. 5,500+ board-style questions with an AI tutor that explains every answer — free to start, no card required.
Start studying free → Browse all 514 diagnosesEducational use only. This outline is a study aid for PA students and is not medical advice or a substitute for clinical judgment. FirstPassPA is an independent study tool and is not affiliated with, endorsed by, or sponsored by NCCPA or PAEA. PANCE® and PANRE® are registered trademarks of the National Commission on Certification of Physician Assistants; End of Rotation™ is a program of the Physician Assistant Education Association.