Treatment of Hypomagnesemia, Hypokalemia, and Hypocalcemia
Correct the hypomagnesemia first—this is the critical step that allows correction of both hypokalemia and hypocalcemia, as magnesium deficiency blocks PTH secretion and increases renal potassium wasting.
The Fundamental Principle: Magnesium First
The triad of hypomagnesemia, hypokalemia, and hypocalcemia represents a specific pathophysiologic cascade where magnesium deficiency is the root cause that must be addressed before the other electrolytes can be effectively corrected 1, 2, 3. Attempting to replace potassium and calcium without correcting magnesium will result in refractory electrolyte abnormalities that persist despite aggressive supplementation 4.
Why Magnesium Deficiency Causes This Triad
- Hypocalcemia mechanism: Hypomagnesemia inhibits PTH secretion from the parathyroid glands and causes end-organ resistance to PTH, preventing calcium mobilization 5, 1
- Hypokalemia mechanism: Magnesium deficiency increases renal potassium channel activity, leading to excessive urinary potassium wasting that cannot be corrected until magnesium is repleted 4, 1
Treatment Algorithm
Step 1: Assess Severity and Clinical Context
Check for life-threatening manifestations requiring immediate intervention:
- Cardiac arrhythmias (prolonged QT interval, torsades de pointes, ventricular arrhythmias)
- Seizures or tetany
- Severe muscle weakness or paralysis
- Altered consciousness
For cardiac arrest with known/suspected severe hypomagnesemia: Administer IV magnesium 1-2 g MgSO₄ bolus IV push in addition to standard ACLS 6, 7.
For cardiac arrest with hypocalcemia/hyperkalemia: Consider empirical IV calcium (calcium chloride 10% 5-10 mL OR calcium gluconate 10% 15-30 mL IV over 2-5 minutes) 6, 7.
Step 2: Magnesium Repletion (PRIMARY INTERVENTION)
Severe symptomatic hypomagnesemia (Mg <0.4-0.6 mmol/L with symptoms):
- Intravenous magnesium sulfate 2.5 g (approximately 20 mEq) IV twice daily until symptoms resolve and serum magnesium normalizes 5
- For life-threatening arrhythmias: 1-2 g MgSO₄ IV push 6
Moderate hypomagnesemia or maintenance after IV correction:
- Oral magnesium 250-500 mg elemental magnesium daily (as magnesium aspartate or other well-absorbed salt) 4, 5
- Divided doses improve tolerance and absorption
Step 3: Concurrent Calcium Replacement
Only after initiating magnesium replacement, address hypocalcemia:
Symptomatic hypocalcemia or calcium <1.9 mmol/L (7.6 mg/dL):
- Oral calcium carbonate 1-3 g elemental calcium daily in divided doses 8, 9
- Calcitriol 0.25-0.5 μg twice daily for severe cases or when PTH is suppressed 9, 5
- For acute severe symptoms: IV calcium gluconate 10% 15-30 mL over 2-5 minutes 10, 7
Maintenance therapy:
- Calcium carbonate 0.5-1 g elemental calcium daily 8
- Ensure vitamin D sufficiency (>30 ng/mL or 75 nmol/L) 8
Step 4: Potassium Replacement
After magnesium correction is underway, address hypokalemia:
Hypokalemia in stable patients:
- Oral potassium supplements 40-80 mEq daily in divided doses (slowly absorbed formulations to minimize GI upset) 4
- Potassium chloride sustained-release tablets are standard 5
Critical warning: IV bolus potassium for cardiac arrest in suspected hypokalemia is NOT recommended (Class 3: Harm) 6.
Step 5: Address Underlying Causes
Common causes requiring intervention:
- Discontinue proton pump inhibitors if possible—these cause magnesium malabsorption and can lead to severe, life-threatening electrolyte disturbances 2, 11, 12
- Stop or reduce loop diuretics temporarily if causing excessive losses 4
- Minimize thiazide diuretics (note: thiazides can mask hypocalcemia by causing hypercalcemia, delaying diagnosis) 12
- Treat diarrhea or malabsorption syndromes
- Correct volume depletion
Monitoring Strategy
During acute correction (first 3-7 days):
- Measure serum magnesium, calcium (ionized preferred), potassium, and phosphate daily
- Check 24-hour urine calcium if hypercalciuria suspected 9
- Monitor for signs of overcorrection (hypercalcemia, hypermagnesemia)
After stabilization:
- Recheck electrolytes weekly during dose adjustments
- Once stable on maintenance therapy: measure every 1-3 months 4
- Monitor renal function (creatinine) concurrently
Critical Pitfalls to Avoid
Never attempt to correct hypokalemia or hypocalcemia without first addressing hypomagnesemia—this is the most common error and leads to refractory electrolyte abnormalities 4, 1, 2
Do not overlook hypomagnesemia in patients with refractory hypokalemia—always check magnesium levels when potassium remains low despite supplementation 4
Beware of PPI-induced hypomagnesemia—this can develop after years of therapy and cause severe, symptomatic electrolyte derangements including rhabdomyolysis and cardiac arrhythmias 2, 11, 12
Thiazide diuretics can mask hypocalcemia by causing hypercalcemia, delaying recognition of the underlying problem 12
In patients on continuous renal replacement therapy (CRRT), use dialysis solutions containing potassium, phosphate, and magnesium to prevent electrolyte disorders rather than relying on IV supplementation 13
Avoid IV potassium boluses in cardiac arrest—this is associated with harm 6
Special Populations
Critically ill patients on CRRT:
- Prevention is superior to treatment: use electrolyte-enriched dialysis/replacement fluids containing magnesium, potassium, and phosphate 13
- Standard phosphate-free solutions can cause severe hypomagnesemia in up to 80% of patients 13
Post-thyroidectomy patients:
- Measure calcium and magnesium postoperatively
- "Hungry bone syndrome" presents with hypocalcemia, hypophosphatemia, and hypomagnesemia with normal/elevated PTH 8
- Requires high-dose calcitriol, IV calcium gluconate, and oral calcium carbonate 8
Patients with short bowel syndrome: