What are the causes of hypomagnesemia?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: September 22, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

Causes of Hypomagnesemia

Hypomagnesemia results from decreased absorption or increased loss of magnesium from either the kidneys or gastrointestinal tract, with medications being the most common iatrogenic cause in clinical practice. 1

Primary Mechanisms

The causes can be systematically categorized by pathophysiologic mechanism:

Gastrointestinal Losses

  • Diarrhea and malabsorption - The most common GI cause 1
  • Short bowel syndrome - Particularly with jejunostomy, where water, sodium, and magnesium depletion is common 2
  • Decreased absorption in any malabsorptive state 1

Renal Losses

Medication-induced (most common):

  • Diuretics - A leading cause of renal magnesium wasting 1, 3
  • Proton pump inhibitors (PPIs) - Associated with 71% higher risk of hypomagnesemia, particularly with long-term use (≥1 year) 4, 5
  • Calcineurin inhibitors - Cause direct renal magnesium wasting 6, 3
  • Chemotherapy agents:
    • Platinum-based chemotherapy (cisplatin) 6, 3
    • Anti-EGFR receptor monoclonal antibodies (cetuximab) 6
    • HER2-targeted inhibitors 6
  • Antibiotics:
    • Aminoglycosides 3
    • Amphotericin B 3
    • Pentamidine 1

Endocrine causes:

  • Secondary hyperaldosteronism - From water and sodium depletion, particularly important in short bowel patients 2
  • Thyroid hormone alterations 1

Decreased Intake

  • Malnourishment 1
  • Alcohol use - Both decreases intake and increases losses 1

Associated Conditions

  • Hypoparathyroidism - Hypomagnesemia may be an associated finding, particularly in 22q11.2 deletion syndrome 7, 8
  • Hypocalcemia - Inadequate intracellular magnesium causes PTH resistance, as magnesium is a cofactor for adenylate cyclase 9

Clinical Pitfalls

Critical point: High serum magnesium can paradoxically lower PTH synthesis and secretion by binding to the calcium-sensing receptor 9. This means both low AND high magnesium can cause hypocalcemia through different mechanisms.

Secondary hyperaldosteronism is often overlooked - In patients with short bowel or chronic diarrhea, correcting water and sodium depletion is the most important first step before magnesium supplementation 2.

PPI-associated hypomagnesemia requires ≥1 year of continuous use and shows dose-dependent associations 4. The FDA includes precautionary notices about hypomagnesemia risk on PPI drug labels 4.

Diagnostic Approach

Measure urinary magnesium excretion - The fractional excretion of magnesium differentiates renal from extra-renal causes 10, 6. Renal magnesium wasting indicates tubular dysfunction or medication effect, while low urinary magnesium suggests GI losses or decreased intake.

Check for associated electrolyte abnormalities:

  • Hypocalcemia (magnesium deficiency causes PTH resistance) 9
  • Hypokalemia (commonly coexists) 1

Recognize intracellular deficiency - Serum magnesium may not reflect total body stores. Intracellular magnesium deficiency is significant when serum levels are low and requires replacement 9.

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.