Drug-induced hypokalemia, hypomagnesemia and hypocalcemia
Medications are a leading cause of low potassium, magnesium and calcium. Diuretics, beta-2 agonists, insulin, amphotericin B and aminoglycosides deplete potassium; PPIs, cisplatin, calcineurin inhibitors and anti-EGFR antibodies deplete magnesium; and bisphosphonates, denosumab, cinacalcet and foscarnet lower calcium. Magnesium must be corrected first, because hypomagnesemia makes both hypokalemia and hypocalcemia refractory.
Overview
Drugs cause electrolyte depletion by increasing renal or gut losses or by shifting ions into cells. Low potassium, magnesium and calcium travel together, and the clinical danger is arrhythmia, weakness and seizures.
- Reference ranges: potassium 3.5–5.0 mEq/L; magnesium 1.7–2.2 mg/dL (0.7–0.9 mmol/L); total calcium 8.5–10.2 mg/dL (ionized 4.6–5.3 mg/dL).
- Severity triggers: potassium <3.0 mEq/L (or any level with arrhythmia, digoxin use, or paralysis); magnesium <1.2 mg/dL; corrected calcium <7.5 mg/dL or any symptomatic hypocalcemia.
- Correct total calcium for albumin: add 0.8 mg/dL per 1 g/dL that albumin is below 4 g/dL; use ionized calcium in critical illness.
- Diuretics are the single most common drug cause of hypokalemia; proton pump inhibitors are the drug cause of hypomagnesemia to remember, with risk increased by concurrent diuretics.
Mechanisms & culprit drugs
| Electrolyte | Drug | Mechanism |
|---|---|---|
| Potassium ↓ | Loop and thiazide diuretics, acetazolamide | Increased distal sodium delivery and aldosterone → renal K⁺ secretion; metabolic alkalosis |
| K ↓ | Beta-2 agonists (albuterol, terbutaline), insulin, theophylline, caffeine, epinephrine | Na⁺/K⁺-ATPase stimulation → intracellular shift (transient, no total-body deficit) |
| K ↓ | Amphotericin B | Distal tubular membrane pores → K⁺ and Mg²⁺ wasting plus distal (type 1) RTA |
| K ↓ | Aminoglycosides, cisplatin, foscarnet | Tubular injury with K⁺ and Mg²⁺ wasting |
| K ↓ | High-dose penicillins (nafcillin, penicillin G), mineralocorticoid excess (fludrocortisone, licorice, high-dose steroids) | Nonreabsorbable anion delivery; mineralocorticoid effect (11β-HSD2 inhibition by licorice) |
| K ↓ | Laxative abuse, sodium polystyrene/patiromer/SZC | GI loss or binding |
| Magnesium ↓ | Proton pump inhibitors (long-term) | Reduced intestinal TRPM6-mediated absorption; recurs on rechallenge, does not recur with H2 blockers |
| Mg ↓ | Cisplatin, amphotericin B, aminoglycosides, foscarnet, pentamidine | Tubular magnesium wasting |
| Mg ↓ | Calcineurin inhibitors (cyclosporine, tacrolimus) | Downregulated TRPM6 in the distal convoluted tubule |
| Mg ↓ | Anti-EGFR antibodies (cetuximab, panitumumab) | EGFR is needed for TRPM6 activity; hypomagnesemia in a large share of treated patients |
| Mg ↓ | Loop and thiazide diuretics, alcohol | Renal loss, poor intake, refeeding |
| Calcium ↓ | Bisphosphonates, denosumab | Potent antiresorption, especially with vitamin D deficiency or CKD |
| Ca ↓ | Cinacalcet, etelcalcetide | Calcimimetic suppression of PTH |
| Ca ↓ | Foscarnet, citrate (massive transfusion, regional anticoagulation during CRRT), EDTA, phosphate enemas | Chelation or phosphate load |
| Ca ↓ | Phenytoin, phenobarbital, rifampin | Induced vitamin D catabolism → osteomalacia |
| Ca ↓ | Any cause of severe hypomagnesemia | Impaired PTH secretion and end-organ PTH resistance |
Clinical presentation
- Hypokalemia: weakness, cramps, constipation or ileus, rhabdomyolysis, polyuria (nephrogenic diabetes insipidus); ECG shows flattened T waves, ST depression, prominent U waves, and eventually ventricular arrhythmia (risk magnified by digoxin and by QT-prolonging drugs).
- Hypomagnesemia: tremor, tetany, hyperreflexia, vertical nystagmus, apathy, seizures, atrial and ventricular arrhythmias including torsades de pointes, and refractory hypokalemia/hypocalcemia.
- Hypocalcemia: perioral and digital paresthesias, muscle cramps, carpopedal spasm, Chvostek and Trousseau signs, laryngospasm, seizures, prolonged QT; chronic cases cause cataracts and basal ganglia calcification.
- Many drug-induced cases are discovered on routine labs in asymptomatic patients.
Diagnosis
- Check potassium, magnesium, calcium (with albumin or ionized), phosphate, creatinine, bicarbonate and an ECG together — never one in isolation.
- Hypokalemia: acid–base status and urine studies separate causes: urine K⁺ <15 mEq/L (or urine K/creatinine <13 mEq/g) suggests GI or transcellular shift; higher values suggest renal loss. Metabolic alkalosis with hypertension suggests mineralocorticoid excess; with normal BP, diuretics or vomiting; metabolic acidosis suggests RTA or amphotericin.
- Hypomagnesemia: fractional excretion of magnesium (FEMg) >2–4% indicates renal wasting (diuretics, cisplatin, CNIs); low excretion indicates GI loss or reduced intake (PPI, alcohol, diarrhea, short bowel).
- Hypocalcemia: measure PTH, 25-hydroxyvitamin D, magnesium, phosphate and creatinine. Low/normal PTH with low calcium = hypoparathyroidism or hypomagnesemia; high PTH = vitamin D deficiency, CKD or antiresorptive effect.
- Correlate with the medication list and start dates; review a drug-level where relevant (tacrolimus, digoxin).
| Pattern | Likely culprit |
|---|---|
| Hypokalemia + hypomagnesemia + distal RTA | Amphotericin B |
| Hypomagnesemia + hypocalcemia + long-term heartburn therapy | Proton pump inhibitor |
| Hypomagnesemia + rash on the face and trunk during colorectal cancer therapy | Cetuximab/panitumumab |
| Hypocalcemia days after an antiresorptive in a patient with low vitamin D | Denosumab or zoledronic acid |
| Hypokalemia + metabolic alkalosis + hypertension | Licorice, fludrocortisone, mineralocorticoid excess |
Management
- Replace magnesium first. Potassium and calcium cannot be corrected while magnesium is low. Oral magnesium oxide or magnesium chloride (240–500 mg elemental daily in divided doses; diarrhea limits the dose), or IV magnesium sulfate 1–2 g over 1–2 h (4–8 g over 12–24 h for severe deficiency; slower in CKD).
- Potassium: oral potassium chloride 40–100 mEq/day in divided doses for mild deficiency; IV at ≤10 mEq/h peripherally (up to 20 mEq/h via central line with cardiac monitoring) for severe or symptomatic hypokalemia. A 10 mEq dose raises serum K⁺ about 0.1 mEq/L. Use chloride salt with alkalosis, bicarbonate/citrate with acidosis (RTA).
- Calcium: symptomatic hypocalcemia → IV calcium gluconate 1–2 g (10–20 mL of 10%) over 10–20 min, then an infusion; maintenance with oral calcium carbonate/citrate plus vitamin D (calcitriol if hypoparathyroid or CKD). Check and replace magnesium and vitamin D.
- Treat the drug cause:
- Diuretic hypokalemia: add a potassium-sparing diuretic (spironolactone, eplerenone, amiloride) or an ACE inhibitor/ARB rather than escalating oral potassium indefinitely; reduce the diuretic dose.
- PPI hypomagnesemia: stop the PPI if possible or switch to an H2 blocker; magnesium usually recovers, and hypomagnesemia recurs on PPI rechallenge.
- Amphotericin B: use a liposomal formulation, hydrate with saline, and replace K⁺ and Mg²⁺ proactively.
- Cisplatin: pre- and post-hydration with magnesium supplementation; monitor each cycle.
- Antiresorptives: check and correct 25-OH vitamin D and calcium before giving denosumab or zoledronic acid, and avoid denosumab in advanced CKD without specialist input.
- Monitoring: recheck labs within 1–3 days after replacement; continuous ECG monitoring for severe hypokalemia or torsades; watch for rebound hyperkalemia in CKD.
- Special populations: halve replacement rates and recheck frequently in CKD; in pregnancy, magnesium and potassium needs rise with hyperemesis; frail older adults need lower oral doses because of GI intolerance.
Complications & prognosis
- Ventricular arrhythmia and torsades (especially combined hypokalemia, hypomagnesemia and a QT-prolonging drug), digoxin toxicity, ileus, rhabdomyolysis, seizures, laryngospasm.
- Chronic hypokalemia causes hypokalemic nephropathy and worsens hypertension; chronic hypomagnesemia is linked to arrhythmia and, in observational studies, cardiovascular events.
- Denosumab-associated hypocalcemia can be severe and prolonged in CKD.
- Most drug-induced depletion resolves once the drug is stopped and replacement given; recurrence is expected if the drug continues.
🩺 Next best step: classic exam scenarios
- Patient on long-term omeprazole with magnesium 0.9 mg/dL, calcium 7.4 mg/dL, potassium 3.1 mEq/L and tetany → IV magnesium first, then calcium and potassium; stop the PPI or switch to an H2 blocker.
- Hypokalemia 2.7 mEq/L that will not correct despite 120 mEq of potassium chloride → check and replace magnesium.
- Patient on amphotericin B with potassium 2.9 mEq/L, magnesium 1.3 mg/dL and non-gap acidosis → replace both, give saline hydration, consider a liposomal formulation.
- Woman with osteoporosis and vitamin D 12 ng/mL given denosumab, now with perioral numbness and a positive Trousseau sign → IV calcium gluconate; repair vitamin D before further antiresorptives.
- Asthma exacerbation after repeated nebulized albuterol with potassium 3.2 mEq/L and no symptoms → transcellular shift: observe, avoid aggressive repletion.
- Hypertensive patient on HCTZ with recurrent hypokalemia → add spironolactone or an ACE inhibitor / reduce the thiazide rather than lifelong potassium tablets.
🔥 Exam pearls
- Fix magnesium first: it is the classic reason potassium and calcium stay low.
- PPIs cause hypomagnesemia; H2 blockers do not.
- Amphotericin B: hypokalemia + hypomagnesemia + distal RTA.
- Cetuximab/panitumumab: hypomagnesemia (EGFR–TRPM6 link) plus acneiform rash.
- Albuterol and insulin cause shift hypokalemia, not true depletion.
- Check vitamin D and calcium before denosumab or IV bisphosphonates.
- Hypomagnesemia causes torsades; give magnesium even when the level is borderline.
