Skip to main content

Magnesium disorders

Medical Professionals

Professional Reference articles are designed for health professionals to use. They are written by UK doctors and based on research evidence, UK and European Guidelines. You may find one of our health articles more useful.

Magnesium (Mg) is involved in a wide range of functions in human physiology. It is essential for all enzyme processes involving adenosine triphosphate (ATP) and many enzymes involved in nucleic acid metabolism. It is a cofactor for DNA, RNA and protein synthesis. It is involved in neuromuscular excitability, cell permeability, regulation of calcium and potassium ion channels, mitochondrial function, cellular proliferation, apoptosis, regulation of parathyroid hormone secretion, muscle contraction, vasomotor tone, blood pressure, cardiac excitability, glucose metabolism and a host of other physiological functions. Changes in normal levels can thus have sweeping effects on body function.

Mg is the fourth most abundant extracellular cation found in the body, and the second most abundant intracellular cation. Most is sequestered in bone and soft tissue cells, with only about 1% in the extracellular fluid. Normal plasma Mg concentration ranges from 0.70 to 1.05 mmol/L.

Plasma concentration is a reflection of the dietary intake of Mg and of the ability of the kidneys and gastrointestinal tract to retain it. Because most Mg is found intracellularly, the relationship between total body deficiency and plasma concentration is poor. However, in cases of severe deficiency, a reduction in plasma concentration can be seen.

Dietary sources of Mg include whole grains, legumes, spinach, potatoes and nuts1 .

Because of the widespread role of Mg in the body, it has been extensively investigated with regard to therapeutic use. It is an ingredient in a number of laxatives and antacids. There is evidence for its efficacy in eclampsia, pre-eclampsia, asthma, migraine and arrhythmia, and possible efficacy for lowering the risk of metabolic syndrome, improving glucose and insulin metabolism, prevention and management of osteoporosis, alleviating leg cramps in pregnant women, and relieving symptoms of dysmenorrhoea2 .

Studies have been done to consider its potential use in disease prevention; reducing atherosclerosis and blood pressure, and in reducing the risk of dementia and stroke1 . Trials suggest it may have a use in the management of chronic pain conditions such as migraine, but further research is needed3 . It must be used with caution due to the risk of excess, especially in those with poor renal function.

Continue reading below


This is variably defined, but usually taken as a level less than 0.7 mmol/L4 .


It may be caused by:

  • Malabsorption syndromes, including:

    • Coeliac disease6 .

    • Crohn's disease and ulcerative colitis.

    • Chronic diarrhoea.

    • Steatorrhoea.

    • Short bowel syndrome.

    • Prolonged nasogastric suction.

  • Protein-calorie malnutrition. Dietary deficiency causing symptomatic hypomagnesaemia in otherwise healthy individuals is uncommon. Anorexia nervosa may be a cause.

  • Disorders of the parathyroid gland.

  • Chronic alcoholism - Mg depletion occurs via a number of mechanisms in this condition. It has also been found in those with non-alcoholic fatty liver7 .

  • Patients on long-term proton pump inhibitors (PPIs). There is emerging recognition that long-term PPIs can cause hypomagnesaemia, but debate about how to monitor or prevent this. It is a rare side-effect, is associated with all PPIs, and is often accompanied by low potassium and calcium levels8 . Levels recover quickly when medication is stopped, but drop again when restarted, even with a different PPI. The effect appears to be dose-related. H2 receptor antagonists do not have the same effect4 .

  • Other medications9 . These include diuretics, digoxin, calcineurin inhibitors, theophylline, cisplatin and some aminoglycosides. These mostly have the result of reducing reabsorption of Mg within the kidney via a variety of mechanisms.

  • Renal disorders causing reduced Mg resorption - acute tubular necrosis, post-obstructive diuresis, renal tubular acidosis, post-kidney transplantation.

  • Diabetes (due to glucose-induced diuresis secondary to poor glucose control).

  • Acute pancreatitis.

  • Re-feeding syndrome10 .

  • Genetic causes. Inherited forms exist11 .

  • Severe burns.


Hypomagnesaemia is thought to have a prevalence of around 2.5-15% in the general population. Symptomatic hypomagnesaemia is less common, as symptoms and signs do not usually present until the level drops below 0.5 mmol/L. Prevalence increases in diabetes clinics, and in hospital patients, and is significantly higher in those who are critically ill or on intensive care units.

Presentation of hypomagnesaemia12 13

Most cases are asymptomatic until levels of Mg drop below 0.5 mmol/L. It is commonly associated with other metabolic abnormalities such as hypokalaemia, hypocalcaemia and metabolic acidosis, making it difficult to distinguish the symptoms of hypomagnesaemia itself. Features may include:

  • Neuromuscular symptoms:

    • Weakness and apathy.

    • Tremor.

    • Paraesthesia.

    • Tetany.

    • Muscle fasciculations.

    • Seizures, drowsiness, confusion and coma when very low levels of Mg are reached.

  • Cardiovascular features:

    • Arrhythmias.

    • ECG signs may include wide QRS complexes, a prolonged QT interval, flattened T waves and the presence of U waves.

  • Associated metabolic abnormalities as above.

Investigations for hypomagnesaemia12

  • Serum Mg level should be tested. It should be borne in mind, however, that the level may be normal in early mild deficiency because only a small amount of total body Mg is extracellular. An ionised Mg level may give a more accurate picture.

  • Protein loss may affect the reading, as the majority of extracellular Mg is protein-bound.

  • Mg deficiency may be associated with hypocalcaemia, hypophosphataemia and hypokalaemia, so calcium, phosphate and potassium levels should all be checked.

  • Glucose level should be checked due to the association with diabetes.

  • ECG.

  • In determining the cause, the following tests are sometimes used:

    • 24-hour Mg excretion. High levels in the urine indicate renal wasting.

    • Fractional excretion of Mg. This is a ratio used to help determine if the cause is renal or extra-renal.

    • Mg infusion test. Mg retention is measured after acute loading. There are often false positives, so may not be reliable.

Hypomagnesaemia management12

  • Identify the cause and treat where possible. Stop causative medication where possible to do so.

  • Oral replacement therapy may be used for asymptomatic people with biochemical hypomagnesaemia, or for prevention of recurrence. Absorption is poor compared to parenteral administration. Magnesium aspartate dihydrate has been licensed for the treatment and prevention of hypomagnesaemia in adults and children14 15 . Oral magnesium glycerophosphate is also licensed for the prevention of hypomagnesaemia16 . The most frequent side-effect is diarrhoea.

  • Severe depletion will require intravenous (IV) replacement, usually with magnesium sulfate, Magnesium sulfate injection is available as 10%, 20% and 50% preparations; for IV use, it should be diluted with 0·9% sodium chloride or 5% glucose to a concentration of 20% Mg or less. No trials have been carried out to determine the optimal regimen for Mg replacement, but it is usually recommended for adults that 8-12 g of magnesium sulfate be given in the first 24 hours, followed by 4-6 g per day for three or four days. Maximum infusion rate should not exceed 2 g/hour. Local guidelines should be followed.

  • 24-hour urinary Mg excretion may be monitored to ensure response to treatment.

  • The Medicines and Healthcare products Regulatory Agency (MHRA) issued a warning in 2019 concerning the maternal administration of magnesium sulfate for longer than 5-7 days in pregnancy as it has been associated with skeletal adverse effects and hypocalcaemia and hypermagnesaemia in neonates. If use of magnesium sulfate in pregnancy is prolonged or repeated, consider monitoring of neonates for abnormal calcium and magnesium levels and skeletal adverse effects17 .


This is much less common than hypomagnesaemia. It is most frequently encountered in patients with end-stage kidney disease, those taking medication containing Mg (particularly laxatives, antacids and rectal enemas) and those on parenteral nutrition. In healthy individuals, excess intake is excreted by the kidneys. Other causes of mildly raised Mg levels include lithium therapy, dialysis, hypercalcaemia, hypothyroidism and Addison's disease. It may also occur in neonates born to mothers receiving IV Mg therapy for pre-eclampsia.


Hypermagnesaemia occurs in approximately 10-15% of hospitalised patients with renal failure. There is a significant prevalence of hypermagnesaemia in selected healthy populations. An Iranian study reported an overall prevalence of hypermagnesaemia of 3.0%, especially in males. Links between hypermagnesaemia and cardiovascular disease have been postulated but further research is required.

Presentation of hypermagnesaemia

Features include:

  • Nausea and vomiting.

  • Facial flushing.

  • Hypotension..

  • Paralytic ileus (due to smooth muscle paralysis).

  • Weakness, followed by flaccid muscle paralysis.

  • Disappearance of deep tendon reflexes.

  • Respiratory depression.

  • Bradycardia

  • Complete heart block or cardiac arrest (at levels >6.0-7.5 mmol/L).

Investigations for hypermagnesaemia

  • Serum magnesium level.

  • Hypocalcaemia is often present and these levels should also be checked.

  • TFTs and an early morning cortisol test should be performed if hypermagnesaemia is unexplained, recalcitrant or recurrent.

  • ECG.

Hypermagnesaemia management

  • Usually withdrawal of the cause, if excessive intake, will solve the problem.

  • It should be preventable by monitoring if Mg-containing medication is being used, especially in those with poor renal function.

  • Hypermagnesaemia can be corrected using IV calcium. The patient should be treated in an intensive care unit with regular ECG and serum monitoring.

  • If the patient has a normal urine output and renal function, Mg loss can be enhanced using IV saline infusions and furosemide diuresis.

  • Dialysis may occasionally be required for patients with:

    • Renal insufficiency.

    • Severe hypermagnesaemia (>4 mmol/L).

    • Serious cardiovascular or neuromuscular symptoms irrespective of serum Mg level.

  • On discharge, the patient's ongoing medication regime should be reviewed to ensure that it does not include Mg-containing laxatives or antacids.

Further reading and references

  1. Volpe SL; Magnesium in disease prevention and overall health. Adv Nutr. 2013 May 1;4(3):378S-83S. doi: 10.3945/an.112.003483.
  2. Guerrera MP, Volpe SL, Mao JJ; Therapeutic uses of magnesium. Am Fam Physician. 2009 Jul 15;80(2):157-62.
  3. Urits I, Jung JW, Amgalan A, et al; Utilization of Magnesium for the Treatment of Chronic Pain. Anesth Pain Med. 2021 Feb 6;11(1):e112348. doi: 10.5812/aapm.112348. eCollection 2021 Feb.
  4. Hypomagnesaemia.; Hypomagnesaemia. Drug Ther Bull. 2013 Mar;51(3):33-6. doi: 10.1136/dtb.2013.1.0169.
  5. Pham PC, Pham PA, Pham SV, et al; Hypomagnesemia: a clinical perspective. Int J Nephrol Renovasc Dis. 2014 Jun 9;7:219-30. doi: 10.2147/IJNRD.S42054. eCollection 2014.
  6. Caruso R, Pallone F, Stasi E, et al; Appropriate nutrient supplementation in celiac disease. Ann Med. 2013 Dec;45(8):522-31. doi: 10.3109/07853890.2013.849383. Epub 2013 Nov 7.
  7. Turecky L, Kupcova V, Szantova M, et al; Serum magnesium levels in patients with alcoholic and non-alcoholic fatty liver. Bratisl Lek Listy. 2006;107(3):58-61.
  8. Luk CP, Parsons R, Lee YP, et al; Proton pump inhibitor-associated hypomagnesemia: what do FDA data tell us? Ann Pharmacother. 2013 Jun;47(6):773-80. doi: 10.1345/aph.1R556. Epub 2013 Apr 30.
  9. Lameris AL, Monnens LA, Bindels RJ, et al; Drug-induced alterations in Mg2+ homoeostasis. Clin Sci (Lond). 2012 Jul;123(1):1-14. doi: 10.1042/CS20120045.
  10. Weiselberg EC, Gonzalez M, Fisher M; Eating disorders in the twenty-first century. Minerva Ginecol. 2011 Dec;63(6):531-45.
  11. Hypomagnesemia 3, Renal, HOMG3 (Familial Hypomagnesemia); Online Mendelian Inheritance in Man (OMIM)
  12. Ayuk J, Gittoes NJ; How should hypomagnesaemia be investigated and treated? Clin Endocrinol (Oxf). 2011 Dec;75(6):743-6. doi: 10.1111/j.1365-2265.2011.04092.x.
  13. Ayuk J, Gittoes NJ; Contemporary view of the clinical relevance of magnesium homeostasis. Ann Clin Biochem. 2014 Mar;51(Pt 2):179-88. doi: 10.1177/0004563213517628. Epub 2014 Jan 8.
  14. Preventing recurrent hypomagnesaemia: oral magnesium glycerophosphate, NICE advice, January 2013
  15. Magnaspartate 243 mg Powder for Oral Solution; Kora Healthcare, authorised November 2014, latest text update July 2020.
  16. British National Formulary (BNF); NICE Evidence Services (UK access only)
  17. Magnesium sulfate: risk of skeletal adverse effects in the neonate following prolonged or repeated use in pregnancy; Medicines and Healthcare products Regulatory Agency, 2019
  18. Cascella M, Vaqar S; Hypermagnesemia

Article history

The information on this page is written and peer reviewed by qualified clinicians.

symptom checker

Feeling unwell?

Assess your symptoms online for free