Magnesium Disorders: The Forgotten Electrolyte

Comprehensive Assessment and Management in Contemporary Practice

Clinical Mastery Series Urine Nephrology Now

Andrew Bland, MD, MBA, MS

Executive Summary

Magnesium disorders are frequently underrecognized. Hypomagnesemia affects 2–15% of hospitalized patients and up to 65% of ICU patients. Magnesium serves as cofactor for over 300 enzymatic reactions and plays crucial roles in cellular energy metabolism, protein synthesis, and ion channel function. Understanding its relationships with potassium and the PTH-calcium axis proves essential for managing complex electrolyte disorders.

Physiologic Role and Homeostasis

Fourth most abundant cation in the body, second most prevalent intracellular cation (after potassium). Total body Mg: ~25 g (1,000 mmol) — 99% intracellular (60% bone, 39% soft tissues, only 1% in ECF). This distribution explains why serum levels may not reflect total body stores.

Normal serum Mg: 1.8–2.4 mg/dL (0.75–1.0 mmol/L). Kidneys filter ~2,400 mg daily with 95% reabsorbed:

The Mg-ATP complex is the physiologically active form of ATP. Magnesium modulates Na-K-ATPase, calcium channels, cardiac conduction, neuromuscular function, and vascular tone.

Hypomagnesemia: Pathophysiology, Diagnosis, and Management

Nutritional and Absorptive Disorders

Chronic Alcohol Use Disorder

One of the most common causes, affecting an estimated 30% of hospitalized alcoholic patients. Multiple mechanisms:

Clinical Pearl: Adequate magnesium stores may reduce the likelihood of withdrawal-related seizures. Aggressive replacement during detoxification is warranted — often requiring substantially higher doses than predicted by serum levels alone.

Malabsorption Syndromes

Chronic diarrhea (secretory > osmotic), inflammatory bowel disease, short bowel syndrome, chronic pancreatitis. Post-surgical states: extensive small bowel resection, bariatric surgery (Roux-en-Y, biliopancreatic diversion).

Protein-Energy Malnutrition

Refeeding syndrome risk: rapid carbohydrate administration increases cellular Mg demands while depleted stores cannot meet requirements, potentially precipitating severe hypomagnesemia.

Renal Magnesium Wasting

Endocrine and Metabolic Causes

Table 1: Causes of Hypomagnesemia by Category

CategorySpecific CausesKey Clinical Features
Nutritional/GIChronic alcohol use disorderMultiple nutrient deficiencies, withdrawal risk
Protein-energy malnutritionRefeeding syndrome risk, cachexia
Inflammatory bowel diseaseActive inflammation, diarrhea
Short bowel syndromePost-surgical, malabsorption
Chronic diarrheaVolume losses, secretory vs osmotic
Bariatric surgeryRYGB, biliopancreatic diversion
Renal LossesLoop diureticsDose-dependent, concurrent hypokalemia
Thiazide/thiazide-like diureticsGitelman-like syndrome
AminoglycosidesNephrotoxicity, duration-dependent
Calcineurin inhibitorsTransplant patients, vasoconstriction
Proton pump inhibitorsLong-term use, intestinal transport inhibition
Gitelman syndromeGenetic, hypocalciuria
Primary aldosteronismHypertension, hypokalemia
EndocrineDiabetes mellitusOsmotic diuresis, poor glycemic control
HyperthyroidismIncreased clearance, hypermetabolism
Primary hyperparathyroidismHypercalciuria, bone turnover
MedicationsCisplatin, cetuximabCumulative dose-dependent
Foscarnet, pentamidineAntiviral/anti-pneumocystis, tubular toxicity

Clinical Manifestations and Diagnostic Approach

Clinical Manifestations

Often asymptomatic until Mg <1.2 mg/dL (0.5 mmol/L). Early: fatigue, weakness, irritability, muscle cramps. Progressive: Chvostek and Trousseau signs, muscle fasciculations (facial muscles are early/specific). Severe: tetany, seizures, altered mental status.

Cardiovascular Complications

Laboratory Assessment

Serum Mg limitations: Up to 30% of total body Mg may be lost before serum levels decrease.

Magnesium tolerance test: 0.2 mmol/kg IV MgSO4, measure 24h urine. Retention >50% indicates deficiency (gold standard but limited clinical utility).

Fractional excretion of Mg: FEMg = (UMg × SCr) / (0.7 × SMg × UCr) × 100. In hypomagnesemia: >2% = renal wasting; <2% = extrarenal losses or inadequate intake.

Table 3: Diagnostic Workup for Hypomagnesemia

CategoryTestsInterpretation
Initial LabsFasting serum Mg, BMP, albumin, ionized Ca<1.8 mg/dL diagnostic; check concurrent electrolytes
ConcurrentK, PO4, 25-OH Vit D, intact PTH60% have concurrent hypoK; PTH suppressed in severe deficiency
Renal24h urine Mg, FEMg, spot urine Mg/Cr ratio, Cr/eGFRFEMg >2% = renal wasting; 24h <120 mg/day appropriate in deficiency
SpecializedMg tolerance test, genetic testingGold standard for body stores; suspected inherited disorders
HistoryMedications (diuretics, PPIs, antibiotics), alcohol, nutrition, family hxIdentify modifiable causes
ExamReflexes, Chvostek/Trousseau, CV evaluation, malabsorption signsNeuromuscular hyperexcitability, arrhythmias

Treatment Strategies

Oral Magnesium Supplementation

FormulationElemental Mg ContentAbsorptionNotes
Mg oxide60%Poor (4%)Frequently causes diarrhea; not recommended
Mg citrate16%GoodWidely available; osmotic laxative effect
Mg gluconate5%GoodWell tolerated, low elemental content
Mg glycinate/bisglycinateVariableExcellentOptimal absorption with minimal GI side effects

Dosing: 400–800 mg elemental Mg daily, divided into 2–3 doses. Treatment duration: weeks to months depending on etiology.

Parenteral Magnesium Therapy

Acute Severe Hypomagnesemia

1–2 g (4–8 mmol) MgSO4 in 50–100 mL NS IV over 1–2 hours, then 6 g (24 mmol) over 24 hours by continuous infusion. Monitor serum levels every 6–8 hours.

Chronic Parenteral Therapy

Weekly or twice-weekly infusions of 2–4 g MgSO4 for patients with ongoing losses or malabsorption.

Warning — Torsades de Pointes: Life-threatening arrhythmias require immediate IV Mg regardless of serum levels. Standard protocol: 2 g MgSO4 IV push over 1–2 minutes, then reassess.

Hypermagnesemia: Recognition and Management

Etiology

Rarely occurs with normal renal function. CKD stages 4–5 (eGFR <30) significantly impairs Mg elimination. Common sources: excessive IV MgSO4 (eclampsia treatment), Mg-containing antacids/laxatives in renal impairment, Epsom salt ingestion.

Table 2: Causes of Hypermagnesemia

CategorySpecific CausesRisk Factors
RenalCKD stages 4–5eGFR <30 mL/min/1.73m²
AKIOliguria, volume overload
ESRDDialysis patients between sessions
ExogenousIV MgSO4 overdoseEclampsia treatment, cardiac arrest
Mg-containing antacidsChronic use in renal dysfunction
Mg-containing laxativesCathartic abuse, renal impairment
Epsom salt ingestionTherapeutic or intentional overdose
EndocrinePrimary hyperparathyroidismBone resorption, hypercalcemia
Hypothyroidism, Addison’s diseaseReduced clearance

Threshold Effects and Clinical Correlation

Serum Mg (mg/dL)Serum Mg (mmol/L)Clinical Manifestations
4.8–6.02.0–2.5Generally asymptomatic; mild sedation possible
6.0–10.82.5–4.5Absent DTRs, weakness, confusion
10.8–15.64.5–6.5Respiratory depression, complete heart block
>15.6>6.5Cardiac arrest, coma
Clinical Pearl: Deep tendon reflexes disappear at Mg 7–10 mg/dL — a reliable early indicator of toxicity. Monitor DTRs in any patient receiving IV Mg.

Management of Hypermagnesemia

Severe Symptomatic

  1. IV calcium: 1–2 g calcium chloride or 2–3 g calcium gluconate for functional antagonism. Effects appear within minutes but are temporary.
  2. Enhanced elimination: NS + furosemide 40–80 mg IV (adequate renal function). Promotes Mg excretion.
  3. Hemodialysis: For severe hyperMg with renal failure. Clearance rates approach 100 mL/min. CRRT for hemodynamically unstable patients.
  4. Supportive care: Mechanical ventilation if respiratory depression; vasopressors for severe hypotension.

Special Clinical Considerations

Mg-Containing Laxatives in CKD

Warning: CKD stages 4–5 patients face substantial hyperMg risk from Mg-containing laxatives. A single dose of magnesium citrate contains ~1.75 g elemental Mg — equivalent to normal daily renal filtration load. Renal Mg elimination may be reduced by 75% or more in advanced CKD.

Preferred laxatives in CKD: PEG-based (MiraLAX), docusate sodium, senna/bisacodyl cautiously, lubiprostone, linaclotide. Avoid all Mg-containing products (milk of magnesia, Mg citrate, Epsom salts).

Proton Pump Inhibitors and Hypomagnesemia

Incidence: 5–10% of long-term users. Mechanism: impaired intestinal Mg absorption via TRPM6/TRPM7 channel inhibition + altered gastric pH affecting Mg solubility. Dose-dependent and duration-related (typically months to years before manifestation).

Suspect in long-term PPI users with neuromuscular symptoms, especially with concurrent hypoK and hypoCa resistant to replacement. Consider H2 receptor antagonists as alternatives.

Diuretics and Magnesium Homeostasis

Loop Diuretics

Inhibit NKCC2 in the thick ascending limb (where 60% of Mg is reabsorbed). Furosemide has greatest Mg-wasting potential. Losses increase proportionally with dose; patients on >80 mg daily furosemide equivalent are at particular risk.

Thiazide Diuretics

Affect NCCT in the DCT. Chlorthalidone and indapamide (longer half-lives) may produce more sustained Mg losses. Chronic use produces a “Gitelman syndrome phenocopy”: hypoMg, hypoK, hypocalciuria.

Monitoring: Baseline Mg, then at 1–2 weeks, then every 3–6 months. More frequent with dose changes or addition of other Mg-depleting drugs.

Potassium-sparing diuretics (amiloride, spironolactone) may partially mitigate Mg losses but do not completely prevent depletion.

Electrolyte Interrelationships: Mg, K, and the Ca-PTH Axis

Magnesium-Potassium Interactions

One of the most clinically significant electrolyte interactions. Approximately 60% of hypoMg patients have concurrent hypoK.

Clinical Pearl: Hypokalemia is refractory to potassium supplementation when significant hypomagnesemia coexists. Successful K repletion requires concurrent Mg correction. Always check Mg when treating resistant hypoK. Optimal management involves simultaneous correction of both deficits. Standard protocol: 2–4 g IV MgSO4 with 40–80 mEq KCl, monitoring every 6–8 hours.

Magnesium-Calcium-PTH Relationships

Warning: Hypocalcemia in the setting of magnesium deficiency is typically refractory to calcium supplementation until magnesium stores are repleted. Prioritize Mg replacement. Vitamin D supplementation may also be necessary.

References and Suggested Reading

  1. de Baaij JH, Hoenderop JG, Bindels RJ. Magnesium in man: implications for health and disease. Physiol Rev. 2015;95(1):1-46. PMID: 25540137
  2. Cheungpasitporn W, Thongprayoon C, Qian Q. Dysmagnesemia in hospitalized patients: prevalence and prognostic importance. Mayo Clin Proc. 2015;90(9):1202-1213. PMID: 26250725
  3. Whang R, Ryder KW. Frequency of hypomagnesemia and hypermagnesemia. JAMA. 1990;263(22):3063-3064. PMID: 2342219
  4. Huang CL, Kuo E. Mechanism of hypokalemia in magnesium deficiency. J Am Soc Nephrol. 2007;18(10):2649-2652. PMID: 17804670
  5. Hoorn EJ, Zietse R. Disorders of calcium and magnesium balance: a physiology-based approach. Pediatr Nephrol. 2013;28(8):1195-1206. PMID: 22825361
  6. Agus ZS. Hypomagnesemia. J Am Soc Nephrol. 1999;10(7):1616-1622. PMID: 10405219
  7. Hess MW, Hoenderop JG, Bindels RJ, Drenth JP. Systematic review: hypomagnesaemia induced by proton pump inhibition. Aliment Pharmacol Ther. 2012;36(5):405-413. PMID: 22762246
  8. Saris NE, Mervaala E, Karppanen H, et al. Magnesium: an update on physiological, clinical and analytical aspects. Clin Chim Acta. 2000;294(1-2):1-26. PMID: 10727669
  9. Van Laecke S. Hypomagnesemia and hypermagnesemia. Acta Clin Belg. 2019;74(1):41-47. PMID: 30220246
  10. Topf JM, Murray PT. Hypomagnesemia and hypermagnesemia. Rev Endocr Metab Disord. 2003;4(2):195-206. PMID: 12766547