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: June 21, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

From the Guidelines

Hypomagnesemia is primarily caused by decreased absorption or increased loss of magnesium from the kidneys or intestines, with contributing factors including alterations in thyroid hormone function, certain medications, and malnourishment. The causes of hypomagnesemia can be broken down into several key categories:

  • Inadequate dietary intake, which can occur due to malnutrition, alcoholism, or diets low in magnesium-rich foods like nuts, legumes, and green leafy vegetables 1
  • Increased gastrointestinal losses, such as chronic diarrhea, malabsorption syndromes, inflammatory bowel disease, celiac disease, short bowel syndrome, and pancreatitis 1
  • Increased renal losses, often resulting from medications like diuretics, proton pump inhibitors, certain antibiotics, calcineurin inhibitors, and platinum-based chemotherapeutics, as well as conditions such as diabetic ketoacidosis, hypercalcemia, hyperaldosteronism, and genetic disorders like Gitelman and Bartter syndromes 1
  • Redistribution within the body, which can occur during refeeding syndrome, insulin administration, or acute pancreatitis 1 Other factors that can contribute to magnesium depletion include certain endocrine disorders like hyperparathyroidism, hyperthyroidism, and hyperaldosteronism, as well as severe burns, excessive sweating, and pregnancy 1. Treatment should focus on addressing the underlying cause while supplementing magnesium, typically with oral magnesium oxide, citrate, or glycinate for mild cases, or intravenous magnesium sulfate for severe deficiency or when oral supplementation isn't feasible 1.

From the Research

Causes of Hypomagnesemia

The causes of hypomagnesemia can be categorized into several groups, including:

  • Inadequate magnesium intake, which can occur due to starvation, increased requirement during early childhood, pregnancy, or lactation 2
  • Increased gastrointestinal losses, such as malabsorption from the gastrointestinal tract 2
  • Increased renal losses, which can result from genetic or acquired renal disorders, or the use of certain drugs like loop diuretics, thiazide diuretics, and proton pump inhibitors (PPIs) 3, 4, 5, 6
  • Redistribution from extracellular to intracellular space, which can occur due to various factors, including stress, injury, or surgery 2

Drug-Induced Hypomagnesemia

Several drugs have been associated with hypomagnesemia, including:

  • Proton pump inhibitors (PPIs), which can increase the risk of hypomagnesemia, particularly with prolonged use 4, 5, 6
  • Loop diuretics, which can inhibit sodium chloride transport in the ascending loop of Henle, leading to renal magnesium wasting and hypomagnesemia 3
  • Thiazide diuretics, which can inhibit sodium chloride cotransporter in the distal convoluted tubule, leading to renal magnesium wasting and hypomagnesemia 3

Other Causes

Other causes of hypomagnesemia include:

  • Genetic disorders, such as Barter syndrome and Gitelman syndrome, which can lead to renal magnesium wasting and hypomagnesemia 3
  • Familial renal magnesium wasting, which can be associated with hypercalciuria, nephrocalcinosis, and nephrolithiasis 3
  • Alcoholism, which can lead to inadequate magnesium intake and increased renal losses 2

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Magnesium deficiency. Etiology and clinical spectrum.

Acta medica Scandinavica. Supplementum, 1981

Research

Hypomagnesemia: an evidence-based approach to clinical cases.

Iranian journal of kidney diseases, 2010

Research

Treatment of hypomagnesemia.

American journal of kidney diseases : the official journal of the National Kidney Foundation, 2014

Research

Hypomagnesaemia.

Drug and therapeutics bulletin, 2013

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.

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.