U.S. flag

An official website of the United States government

NCBI Bookshelf. A service of the National Library of Medicine, National Institutes of Health.

StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2023 Jan-.

Cover of StatPearls

StatPearls [Internet].

Show details


; ; ; .

Author Information and Affiliations

Last Update: November 4, 2022.

Continuing Education Activity

Magnesium is an important electrolyte. It is a key part of many reactions that occur in the human body, affecting cellular function, nerve conduction, and other needs. Normal serum magnesium levels are between 1.46 and 2.68 mg/dL. Hypomagnesemia is an electrolyte disturbance caused by a low serum magnesium level (less than 1.46 mg/dL) in the blood. Hypomagnesemia can be attributed to chronic disease, alcohol use disorder, gastrointestinal losses, renal losses, and other conditions. Signs and symptoms of hypomagnesemia include mild tremors and generalized weakness to cardiac ischemia and death. This activity reviews the evaluation, treatment, and complications of hypomagnesemia and underscores the importance of an interprofessional team approach to its management.


  • Review the potential etiologies that can lead to hypomagnesemia.
  • Describe the presentation of a patient with hypomagnesemia, including laboratory ranges.
  • Summarize the treatment options for hypomagnesemia.
  • Outline the importance of enhancing care coordination among the interprofessional team to ensure proper evaluation and management of hypomagnesemia.
Access free multiple choice questions on this topic.


Magnesium is an important electrolyte. It is a key part of many reactions that occur in the human body, affecting cellular function, nerve conduction, and other needs. Normal serum magnesium levels are between 1.46 and 2.68 mg/dL. Hypomagnesemia is an electrolyte disturbance caused by a low serum magnesium level (less than 1.46 mg/dL) in the blood. However, it is typically asymptomatic until serum magnesium concentration is less 1.2 mg/dL (0.5 mmol/L).[1]

Hypomagnesemia can be attributed to chronic disease, alcohol use disorder, gastrointestinal losses, renal losses, and other conditions. Signs and symptoms of hypomagnesemia include mild tremors and generalized weakness to cardiac ischemia and death.[2][3][4]


Hypomagnesemia can be secondary to decreased intake, as seen in the following:[5]

  • Starvation
  • Alcohol use disorder (with a reported prevalence of 30%)[6]
  • Anorexia nervosa
  • Terminal cancer
  • Critically ill patients who are receiving total parenteral nutrition

It also can be secondary to the following medications:[1]

  • Loop and thiazide diuretics
  • Proton pump inhibitors
  • Aminoglycoside antibiotics
  • Amphotericin B
  • Pentamidine
  • Digitalis
  • Chemotherapeutic drugs, such as cisplatin, cyclosporine
  • Antibodies that bind to epidermal growth factor (EGF) receptors (cetuximab, matuzumab, panitumumab)
  • Laxative abuse

It can also result from redistribution from the extracellular to the intracellular compartment:[7]

  • Treatment of diabetic ketoacidosis by insulin
  • Refeeding syndrome
  • Correction of metabolic acidosis
  • Acute pancreatitis
  • Ethanol withdrawal syndrome

Lastly, hypomagnesemia can be induced by gastrointestinal and renal losses, including but not limited to the following conditions:[1]

  • Acute diarrhea
  • Chronic diarrhea (Crohn disease, ulcerative colitis)
  • Hungry bone syndrome (an increased magnesium uptake by renewing bone following parathyroidectomy or thyroidectomy, causing a decrease in serum magnesium)
  • Acute pancreatitis
  • Gastric bypass surgery
  • Genetic disorders
    • Gitelman syndrome
    • Bartter syndrome
    • Familial hypomagnesemia with hypercalciuria and nephrocalcinosis
    • Renal malformations and early-onset diabetes mellitus caused by HNF1-beta mutation
    • Autosomal recessive isolated hypomagnesemia caused by EGF mutation
    • Autosomal dominant isolated hypomagnesemia caused by Na-K-ATPase gamma subunit, Kv1.1, and cyclin M2 mutations.
    • Intestinal hypomagnesemia with secondary hypocalcemia
  • Acquired tubular dysfunction
    • Post-kidney transplant
    • Recovery from acute tubular necrosis
    • Postobstructive diuresis


The risk of hypomagnesemia depends on multiple characteristics in various healthcare settings. The reported prevalence in the general population is  2.5% to 15%. In hospitalized patients, it ranges from 12 to 20%.[8][9] The prevalence is even higher in critically ill patients, estimated to be 65% in a study.[1] In a study of 100 critically ill children (mean age 4.9 years) admitted to a pediatric intensive care unit in India, the prevalence was about 55%. A study revealed a 30% prevalence in patients with chronic alcohol use disorder.[10] 

No recent studies have identified which age groups are at higher risk of hypomagnesemia.


An adult human body contains 25 g or 1,000 mmol of magnesium.[11] Magnesium is the second most abundant intracellular cation after potassium and a co-factor in many biochemical reactions. About 99% is located in bone (60%) and soft tissues (40%).[11] Magnesium directly affects various other electrolytes, including sodium, calcium, and potassium. As described above, low magnesium levels can occur secondary to renal and gastrointestinal losses.[12][13]

Magnesium homeostasis involves the kidney (primarily through the proximal tubule, the thick ascending loop of Henle, and the distal tubule), small bowel (primarily through the jejunum and ileum), and bone. Hypomagnesemia occurs when something, whether a drug or a disease condition, alters the homeostasis of magnesium.

Magnesium is important for many functions, including the following:

  • Cofactor activity for > 300 enzymatic reactions
  • Platelet function (clotting and/or thrombus formation)
  • Maintenance of vascular tone
  • Platelet-activated thrombosis
  • Muscle contraction/relaxation
  • Insulin regulation
  • Neurotransmission
  • Cardiac conduction
  • Bone formation

Acquired Hypomagnesemia

Magnesium deficiency also can cause hypocalcemia, as the two are interrelated. Decreased magnesium causes impaired magnesium-dependent adenyl cyclase generation of cyclic adenosine monophosphate (cAMP), decreasing parathyroid hormone (PTH) release. In turn, calcium levels are decreased as well, as PTH regulates calcium levels.

Magnesium also affects the electrical activity of the myocardium and vascular tone, which is why patients with hypomagnesemia are at risk for cardiac arrhythmias. In addition, when magnesium is low, there is inhibition of renal outer medullary potassium channels, leading to increased urinary excretion and depletion of intracellular potassium levels. This reduces the threshold required for generating an action potential in the cardiac myocyte. Moreover, reduced intracellular potassium levels also prolong the time to repolarize the cell membrane, increasing the risk of arrhythmias.

Inherited Hypomagnesemias [14]

Gitelman syndrome: It is caused by recessive mutations in the gene that codes for the thiazide-sensitive sodium chloride cotransporter (SLC12A3) in the distal convoluted tubule (DCT). Transcellular reabsorption of magnesium in the DCT is impaired, leading to increased calcium reabsorption and the subsequent hypocalciuria and fluid loss have the tendency to lower blood pressure. In addition, fluid loss activates the renin-angiotensin-aldosterone system, and increased aldosterone causes increased potassium secretion in exchange for sodium and subsequent hypokalemia.

Hypercalciuric hypomagnesemias: Mutations affect the reabsorption of magnesium and calcium ions in the thick ascending limb of Henle (TAL), leading to hypercalciuric hypomagnesemia that ultimately results in nephrocalcinosis or chronic kidney disease.

EAST (SeSAME) syndrome: It is caused by loss-of-function mutations in the gene encoding the potassium channel, KCNJ10 (Kir4.1), on the basolateral membrane of the DCT. It results in hypomagnesemia, salt wasting, metabolic alkalosis, and hypokalemia. The mechanism, however, is poorly understood.[15]

History and Physical

Patients with symptomatic magnesium depletion can present in many ways. The major clinical manifestations include neuromuscular and cardiovascular manifestations and other electrolyte abnormalities. Specific signs and symptoms are outlined below.

Early presentation of hypomagnesemia includes nausea, vomiting, loss of appetite, fatigue, and weakness.[5] Patients may complain of dysphagia, muscular weakness, and other symptoms as described below:[7]

Neuromuscular Manifestations

  • Neuromuscular hyperexcitability (often the first clinical manifestation)[11]
  • Tremors
  • Tetany, including positive Trousseau and Chvostek signs, muscle spasms, and muscle cramps. It may occur in the absence of hypocalcemia and alkalosis and is thought to be due to the lowering of the threshold for nerve stimulation.[16]
  • Choreoathetosis[17]
  • Seizures
  • Vertical nystagmus
  • Apathy
  • Delirium
  • Depression
  • Agitation
  • Psychosis
  • Delirium
  • Coma

Cardiovascular Manifestations

  • Electrocardiogram changes, including widening of the QRS complex, peaked T waves (with mild to moderate deficiency), prolongation of the PR interval, and diminution of the T wave (with severe deficiency).[18]
  • Atrial and ventricular premature systoles
  • Atrial fibrillation
  • Ventricular arrhythmias, including torsades de pointes
  • Cardiac ischemia
  • Increased risk of digoxin toxicity by inhibiting Na-K-ATPase and depleting intracellular potassium.[19]

Other Electrolyte and Hormone Abnormalities

  • Hypocalcemia
    • Symptoms typically occur at magnesium levels below 1 mEq/L (0.5 mmol/L or 1.2 mg/dL).
    • Milder hypomagnesemia (between 1.1 and 1.3 mEq/L) lowers the plasma calcium concentration only slightly (0.2 mg/dL or 0.05 mmol/L).[20]
  • Hypoparathyroidism
  • Hypokalemia (about 60% of cases)

A case report describes symptoms of cerebellar ataxia, generalized convulsions, intermittent downbeat nystagmus, and supraventricular tachycardia in a 59-year-old man with severe hypomagnesemia.[21]


It is recommended to check the following in a patient suspected of having hypomagnesemia:

  • Serum magnesium, phosphate, and calcium level
  • Basic metabolic panel, including serum creatinine/kidney function, glucose levels
  • Electrocardiogram to rule out arrhythmias

Please note that there is no clinically available "ionized" magnesium test.

If unsure, the distinction between gastrointestinal and renal losses can be made by measuring the 24-hour urinary magnesium excretion. In addition, one can calculate the fractional excretion of magnesium (on a random urine specimen) with the following formula, where U and P refer to the urine and plasma concentrations of magnesium (Mg) and creatinine (Cr).

  • FEMg = [(UMg x PCr) / (PMg x UCr x 0.7)] x 100

Once hypomagnesemia is confirmed, the etiology can usually be obtained from the history. History may include the causes mentioned above.

On examination, vertical nystagmus and tetany may be observed. The following signs can be checked:

  • Chvostek sign: Tapping on facial nerve leads to twitching of facial muscles
  • Trousseau sign: Carpopedal spasm induced by inflated blood pressure cuff

If the fractional excretion of magnesium is above 2% in someone with normal renal function, the hypomagnesemia is likely secondary to renal magnesium wasting from drugs such as diuretics, aminoglycosides, or cisplatin.

Genetic testing may be considered if there is positive family history, unexplained hypomagnesemia, or if discovered early in infancy.



Gene mutation SLC12A3

Table 1. Some genetic disorders causing hypomagnesemia [22]

Treatment / Management

The treatment of patients with hypomagnesemia is based on a patient’s kidney function, the severity of their symptoms, and hemodynamic stability. If a patient is hemodynamically unstable in an acute hospital setting, 1 to 2 grams of magnesium sulfate can be given in about 15 minutes. For symptomatic, severe hypomagnesemia in a stable patient, 1 to 2 grams of magnesium sulfate can be given over one hour. Non-emergent repletion of the adult patient is generally 4 to 8 grams of magnesium sulfate given slowly over 12 to 24 hours. In pediatric patients, the dose is 25 to 50 mg/kg (with a maximum of 2 grams).[11][23]

For an asymptomatic patient who is not hospitalized and can tolerate medications by mouth, sustained-release oral replacement should be tried first.

Asymptomatic patients can benefit from oral sustained-release magnesium preparations (magnesium chloride containing 64-71.5 mg or magnesium L-lactate containing 84 mg elemental magnesium).

After repletion, serum electrolyte levels must be rechecked (whether in an inpatient or outpatient setting) to ensure effective treatment. Although serum magnesium levels rise quickly with treatment, intracellular magnesium takes longer to replete. Thus, patients with normal renal function should try to continue magnesium repletion for two days after the level normalizes.

Use caution in repleting magnesium in patients with abnormal kidney function (defined as creatinine clearance less than 30 mL/min/1.73 m2). These patients are at risk of hypermagnesemia. Studies recommend reducing the magnesium dose by 50% and closely monitoring magnesium levels in these patients.

Selected food sources should also be kept in mind while giving supplements to patients with adequate intake.

Table 2. Foods sources of magnesium [24]

The underlying cause of persistent hypomagnesemia should be addressed and treated. For example, if a patient is consistently having low levels of the electrolyte due to renal losses, they may benefit from amiloride, a potassium- and magnesium-sparing diuretic.

In patients with concurrent hypocalcemia, calcium should be replaced before initiating magnesium replacement. This is to avoid increased urinary excretion of calcium caused by sulfate from magnesium sulfate, making complex with ionized calcium.[25]

Potassium-sparing diuretics (amiloride or triamterene) should be considered in patients with diuretic-induced hypomagnesemia (when diuretic therapy cannot be discontinued) or chronic renal magnesium wasting.[1]

Differential Diagnosis

Always check for other electrolyte abnormalities when suspecting or treating hypomagnesemia. Low magnesium levels can, in turn, cause low levels of potassium and/or calcium. Furthermore, many other electrolyte and hormonal abnormalities can present with similar symptoms. Hypomagnesemia may need to be distinguished from the following:

  • Hypoparathyroidism (genetic and idiopathic)
  • Acrodysostosis
  • Pseudohypoparathyroidism[26]
  • Blomstrand chondrodysplasia


The prognosis depends on the underlying cause of hypomagnesemia. Patients with hypomagnesemia from an identifiable cause have a good prognosis for complete recovery. However, in critically ill patients, it is associated with increased length of ICU stay, mortality, and need for mechanical ventilation.[27]


It is important to treat hypomagnesemia. Dangerously low levels of magnesium have the potential to cause fatal cardiac arrhythmias, such as torsades de pointes (polymorphous ventricular tachycardia with marked QT prolongation). Moreover, hypomagnesemia in patients with acute myocardial infarction puts them at a higher risk of ventricular arrhythmias within the first 24 hours. Moreover, it may also cause chondrocalcinosis.[14]


Consider consulting a nephrologist if suspecting an inherited tubular disorder or in a patient in which magnesium levels are difficult to regulate. If a patient has a cardiac arrhythmia from magnesium deficiency, cardiology can be consulted, and the patient should be monitored closely on a telemetry floor or critical care unit.

Deterrence and Patient Education

Patients with recurrent hypomagnesemia should be encouraged to eat a modest amount of magnesium-containing foods as described above. They should be advised to seek help from specialists for their chronic medical illnesses that may be causing hypomagnesemia. Moreover, patients with chronic alcohol use should be advised to restrict alcohol as it is associated with hypomagnesemia.

Enhancing Healthcare Team Outcomes

Magnesium deficiency is commonly encountered in clinical practice. The key is to find the primary cause. Asymptomatic patients can be managed with supplements prescribed as outpatients. Symptomatic patients need admission and parenteral magnesium. The prognosis for most patients with a reversible cause is excellent.

Clinicians, nurses, and pharmacists must coordinate care to resolve magnesium deficiency rapidly. This often involves the education of the patient and family and a team approach from the health practitioners.

Review Questions


Ayuk J, Gittoes NJ. How should hypomagnesaemia be investigated and treated? Clin Endocrinol (Oxf). 2011 Dec;75(6):743-6. [PubMed: 21569071]
Andreozzi F, Cuminetti G, Karmali R, Kamgang P. Electrolyte Disorders as Triggers for Takotsubo Cardiomyopathy. Eur J Case Rep Intern Med. 2018;5(4):000760. [PMC free article: PMC6346755] [PubMed: 30756021]
Kurstjens S, Bouras H, Overmars-Bos C, Kebieche M, Bindels RJM, Hoenderop JGJ, de Baaij JHF. Diabetes-induced hypomagnesemia is not modulated by metformin treatment in mice. Sci Rep. 2019 Feb 11;9(1):1770. [PMC free article: PMC6370757] [PubMed: 30742025]
Brophy C, Woods R, Murphy MS, Sheahan P. Perioperative magnesium levels in total thyroidectomy and relationship to hypocalcemia. Head Neck. 2019 Jun;41(6):1713-1718. [PubMed: 30628752]
Jahnen-Dechent W, Ketteler M. Magnesium basics. Clin Kidney J. 2012 Feb;5(Suppl 1):i3-i14. [PMC free article: PMC4455825] [PubMed: 26069819]
Koulouridis I, Alfayez M, Tighiouart H, Madias NE, Kent DM, Paulus JK, Jaber BL. Out-of-hospital use of proton pump inhibitors and hypomagnesemia at hospital admission: a nested case-control study. Am J Kidney Dis. 2013 Oct;62(4):730-7. [PMC free article: PMC4518855] [PubMed: 23664547]
Moe SM. Disorders involving calcium, phosphorus, and magnesium. Prim Care. 2008 Jun;35(2):215-37, v-vi. [PMC free article: PMC2486454] [PubMed: 18486714]
Agus ZS. Mechanisms and causes of hypomagnesemia. Curr Opin Nephrol Hypertens. 2016 Jul;25(4):301-7. [PubMed: 27219040]
Cheungpasitporn W, Thongprayoon C, Qian Q. Dysmagnesemia in Hospitalized Patients: Prevalence and Prognostic Importance. Mayo Clin Proc. 2015 Aug;90(8):1001-10. [PubMed: 26250725]
De Marchi S, Cecchin E, Basile A, Bertotti A, Nardini R, Bartoli E. Renal tubular dysfunction in chronic alcohol abuse--effects of abstinence. N Engl J Med. 1993 Dec 23;329(26):1927-34. [PubMed: 8247056]
Hansen BA, Bruserud Ø. Hypomagnesemia in critically ill patients. J Intensive Care. 2018;6:21. [PMC free article: PMC5872533] [PubMed: 29610664]
Kim E. Pathogenesis and treatment of electrolyte problems post transplant. Curr Opin Pediatr. 2019 Apr;31(2):213-218. [PubMed: 30585865]
Fulchiero R, Seo-Mayer P. Bartter Syndrome and Gitelman Syndrome. Pediatr Clin North Am. 2019 Feb;66(1):121-134. [PubMed: 30454738]
Viering DHHM, de Baaij JHF, Walsh SB, Kleta R, Bockenhauer D. Genetic causes of hypomagnesemia, a clinical overview. Pediatr Nephrol. 2017 Jul;32(7):1123-1135. [PMC free article: PMC5440500] [PubMed: 27234911]
Zhang C, Wang L, Zhang J, Su XT, Lin DH, Scholl UI, Giebisch G, Lifton RP, Wang WH. KCNJ10 determines the expression of the apical Na-Cl cotransporter (NCC) in the early distal convoluted tubule (DCT1). Proc Natl Acad Sci U S A. 2014 Aug 12;111(32):11864-9. [PMC free article: PMC4136599] [PubMed: 25071208]
Tong GM, Rude RK. Magnesium deficiency in critical illness. J Intensive Care Med. 2005 Jan-Feb;20(1):3-17. [PubMed: 15665255]
Cohen L, Kitzes R. Clinical clues to magnesium deficiency. Isr J Med Sci. 1987 Dec;23(12):1238-41. [PubMed: 3440747]
An G, Du Z, Meng X, Guo T, Shang R, Li J, An F, Li W, Zhang C. Association between low serum magnesium level and major adverse cardiac events in patients treated with drug-eluting stents for acute myocardial infarction. PLoS One. 2014;9(6):e98971. [PMC free article: PMC4047047] [PubMed: 24901943]
Seller RH, Cangiano J, Kim KE, Mendelssohn S, Brest AN, Swartz C. Digitalis toxicity and hypomagnesemia. Am Heart J. 1970 Jan;79(1):57-68. [PubMed: 5410283]
Fatemi S, Ryzen E, Flores J, Endres DB, Rude RK. Effect of experimental human magnesium depletion on parathyroid hormone secretion and 1,25-dihydroxyvitamin D metabolism. J Clin Endocrinol Metab. 1991 Nov;73(5):1067-72. [PubMed: 1939521]
Sedehizadeh S, Keogh M, Wills AJ. Reversible hypomagnesaemia-induced subacute cerebellar syndrome. Biol Trace Elem Res. 2011 Aug;142(2):127-9. [PubMed: 20607440]
de Baaij JH, Dorresteijn EM, Hennekam EA, Kamsteeg EJ, Meijer R, Dahan K, Muller M, van den Dorpel MA, Bindels RJ, Hoenderop JG, Devuyst O, Knoers NV. Recurrent FXYD2 p.Gly41Arg mutation in patients with isolated dominant hypomagnesaemia. Nephrol Dial Transplant. 2015 Jun;30(6):952-7. [PubMed: 25765846]
Greco DS. Endocrine causes of calcium disorders. Top Companion Anim Med. 2012 Nov;27(4):150-5. [PubMed: 23415381]
Guerrera MP, Volpe SL, Mao JJ. Therapeutic uses of magnesium. Am Fam Physician. 2009 Jul 15;80(2):157-62. [PubMed: 19621856]
Chang WT, Radin B, McCurdy MT. Calcium, magnesium, and phosphate abnormalities in the emergency department. Emerg Med Clin North Am. 2014 May;32(2):349-66. [PubMed: 24766937]
Levine MA. An update on the clinical and molecular characteristics of pseudohypoparathyroidism. Curr Opin Endocrinol Diabetes Obes. 2012 Dec;19(6):443-51. [PMC free article: PMC3679535] [PubMed: 23076042]
Upala S, Jaruvongvanich V, Wijarnpreecha K, Sanguankeo A. Hypomagnesemia and mortality in patients admitted to intensive care unit: a systematic review and meta-analysis. QJM. 2016 Jul;109(7):453-459. [PubMed: 27016536]

Disclosure: Alin Gragossian declares no relevant financial relationships with ineligible companies.

Disclosure: Khalid Bashir declares no relevant financial relationships with ineligible companies.

Disclosure: Beenish Bhutta declares no relevant financial relationships with ineligible companies.

Disclosure: Rotem Friede declares no relevant financial relationships with ineligible companies.

Copyright © 2023, StatPearls Publishing LLC.

This book is distributed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) ( http://creativecommons.org/licenses/by-nc-nd/4.0/ ), which permits others to distribute the work, provided that the article is not altered or used commercially. You are not required to obtain permission to distribute this article, provided that you credit the author and journal.

Bookshelf ID: NBK500003PMID: 29763179


  • PubReader
  • Print View
  • Cite this Page

Related information

  • PMC
    PubMed Central citations
  • PubMed
    Links to PubMed

Similar articles in PubMed

See reviews...See all...

Recent Activity

Your browsing activity is empty.

Activity recording is turned off.

Turn recording back on

See more...