Causes of Hypomagnesemia
Hypomagnesemia results primarily from three mechanisms: decreased gastrointestinal absorption, increased renal losses, and medication-induced depletion—with drugs (particularly diuretics and proton pump inhibitors) and gastrointestinal disorders being the most common culprits in clinical practice.
Primary Mechanisms and Causes
Gastrointestinal Causes
The gastrointestinal tract is a major site of magnesium loss and malabsorption:
- Chronic diarrhea - Direct magnesium loss through intestinal fluid 1
- Intestinal malabsorption syndromes 1
- Short bowel syndrome - Particularly with jejunostomy or bowel resections; prevalence increases with shorter remaining bowel length 2, 3, 4
- Stoma losses - High-output stomas cause significant magnesium depletion 3, 4
- Edematous states involving intestinal mucosa that interfere with microelement absorption 5
In patients with short bowel, hypomagnesemia is common and often refractory, requiring correction of water/sodium depletion first (to address secondary hyperaldosteronism) before magnesium levels will normalize 3.
Renal Losses
Increased urinary magnesium excretion occurs through multiple pathways:
- Diuretic therapy - Loop diuretics and thiazides are major contributors, producing most renal magnesium loss especially in volume-expanded states like heart failure 5, 6, 7
- Hyperaldosteronism - Both primary and secondary (from sodium depletion) increases renal magnesium wasting 5
- Potassium depletion - Hypokalemia inhibits renal magnesium reabsorption, leading to hypermagnesiuria 5
- Acute tubular necrosis 7
- Volume expansion states 7
Medication-Induced Hypomagnesemia
This is an increasingly recognized and often overlooked cause:
- Proton pump inhibitors (PPIs) - Chronic use has a prevalence of approximately 27% for causing hypomagnesemia; mechanism remains incompletely understood but likely involves impaired intestinal absorption 8, 6, 9, 10
- Diuretics - Both loop and thiazide diuretics 1, 6, 7
- Immunosuppressive agents - Including calcineurin inhibitors 6
- Platinum-based chemotherapy 6
- Aminoglycosides 7
- Pentamidine 1
Critical clinical pearl: In the study of 119 patients with extreme hypomagnesemia, drugs accounted for 46% of cases (with PPIs alone responsible for 19%), and chronic gastrointestinal disorders for 37% 6. Most patients (80%) had multiple contributing factors 7.
Metabolic and Endocrine Causes
- Diabetes mellitus - Both through osmotic diuresis and altered renal handling 7, 10, 11
- Thyroid hormone dysfunction 1
- Respiratory alkalosis - Causes transcellular shifts 2, 7
- Excessive catecholamine release 5
Nutritional Causes
- Malnutrition and reduced dietary intake 5, 7
- Alcohol consumption - Both acute and chronic 1, 7
- Modern dietary patterns - Food processing and mineral-depleted drinking water contribute to widespread subclinical deficiency 10
Special Populations
Heart failure patients: Prevalence ranges from 7% in well-compensated ambulatory patients to 52% in advanced heart failure patients aggressively treated with diuretics 5. Multiple mechanisms contribute including reduced intake, altered distribution, renal losses, intestinal edema, respiratory alkalosis, and catecholamine excess.
Critically ill patients: Hypomagnesemia is common with coexisting electrolyte abnormalities, mainly caused by gastrointestinal and/or renal disorders 12.
Parenteral nutrition patients: Risk factors include inadequate supplementation in formulas and ongoing losses 2, 4, 2.
Associated Electrolyte Disturbances
Hypomagnesemia rarely occurs in isolation and frequently causes or coexists with:
- Hypocalcemia (77% of cases with extreme hypomagnesemia) - Magnesium deficiency impairs parathyroid hormone release 2, 3, 4, 2, 6
- Hypokalemia (51% of cases) - Magnesium must be corrected before potassium levels will normalize 2, 3, 4, 2, 6, 7
- Hypophosphatemia (31% of cases) 7
Diagnostic Approach Algorithm
When evaluating hypomagnesemia, systematically assess:
- Medication review - Specifically PPIs, diuretics, chemotherapy, immunosuppressants, aminoglycosides
- Gastrointestinal history - Diarrhea, malabsorption, short bowel, stoma output volume
- Renal function - Assess for tubular dysfunction, volume status
- Nutritional status - Dietary intake, alcohol use, malnutrition
- Concurrent electrolytes - Always check calcium and potassium
- Underlying conditions - Diabetes, heart failure, thyroid disease
Important caveat: Serum magnesium reflects less than 1% of total body stores and is an insensitive biomarker 13, 12, 10, 11. Patients at risk with typical symptoms should be considered for treatment even with serum magnesium in the normal range 12.
In patients with refractory hypomagnesemia despite supplementation, always reconsider PPI use and discontinue if possible, as this is an increasingly common and reversible cause 8, 9.