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.
Treatment of almost all medical conditions has been affected by the COVID-19 pandemic. NICE has issued rapid update guidelines in relation to many of these. This guidance is changing frequently. Please visit https://www.nice.org.uk/covid-19 to see if there is temporary guidance issued by NICE in relation to the management of this condition, which may vary from the information given below.
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 nuts.
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 dysmenorrhoea.
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 stroke. Trials suggest it may have a use in the management of chronic pain conditions such as migraine, but further research is needed. It must be used with caution due to the risk of excess, especially in those with poor renal function.
This is variably defined, but usually taken as a level less than 0.7 mmol/L.
It may be caused by:
- Malabsorption syndromes, including:
- Coeliac disease.
- Crohn's disease and ulcerative colitis.
- Chronic diarrhoea.
- 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 liver.
- 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 levels. 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 effect.
- Other medications. 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 syndrome.
- Genetic causes. Inherited forms exist.
- 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.
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.
- Muscle fasciculations.
- Seizures, drowsiness, confusion and coma when very low levels of Mg are reached.
- Cardiovascular features:
- 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 hypomagnesaemia
- 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.
- 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.
- 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 children[14, 15]. Oral magnesium glycerophosphate is also licensed for the prevention of hypomagnesaemia. 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 effects.
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
- Nausea and vomiting.
- Facial flushing.
- Paralytic ileus (due to smooth muscle paralysis).
- Weakness, followed by flaccid muscle paralysis.
- Disappearance of deep tendon reflexes.
- Respiratory depression.
- 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.
- 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
Rodriguez-Moran M, Simental Mendia LE, Zambrano Galvan G, et al; The role of magnesium in type 2 diabetes: a brief based-clinical review. Magnes Res. 2011 Dec24(4):156-62. doi: 10.1684/mrh.2011.0299.
Pickering G, Mazur A, Trousselard M, et al; Magnesium Status and Stress: The Vicious Circle Concept Revisited. Nutrients. 2020 Nov 2812(12). pii: nu12123672. doi: 10.3390/nu12123672.
Ferioli S, Zierler S, Zaisserer J, et al; TRPM6 and TRPM7 differentially contribute to the relief of heteromeric TRPM6/7 channels from inhibition by cytosolic Mg(2+) and Mg.ATP. Sci Rep. 2017 Aug 187(1):8806. doi: 10.1038/s41598-017-08144-1.
Jin F, Sun M, Fujii T, et al; The structure of MgtE in the absence of magnesium provides new insights into channel gating. PLoS Biol. 2021 Apr 2719(4):e3001231. doi: 10.1371/journal.pbio.3001231. eCollection 2021 Apr.
Volpe SL; Magnesium in disease prevention and overall health. Adv Nutr. 2013 May 14(3):378S-83S. doi: 10.3945/an.112.003483.
Guerrera MP, Volpe SL, Mao JJ; Therapeutic uses of magnesium. Am Fam Physician. 2009 Jul 1580(2):157-62.
Urits I, Jung JW, Amgalan A, et al; Utilization of Magnesium for the Treatment of Chronic Pain. Anesth Pain Med. 2021 Feb 611(1):e112348. doi: 10.5812/aapm.112348. eCollection 2021 Feb.
Hypomagnesaemia.; Hypomagnesaemia. Drug Ther Bull. 2013 Mar51(3):33-6. doi: 10.1136/dtb.2013.1.0169.
Pham PC, Pham PA, Pham SV, et al; Hypomagnesemia: a clinical perspective. Int J Nephrol Renovasc Dis. 2014 Jun 97:219-30. doi: 10.2147/IJNRD.S42054. eCollection 2014.
Caruso R, Pallone F, Stasi E, et al; Appropriate nutrient supplementation in celiac disease. Ann Med. 2013 Dec45(8):522-31. doi: 10.3109/07853890.2013.849383. Epub 2013 Nov 7.
Turecky L, Kupcova V, Szantova M, et al; Serum magnesium levels in patients with alcoholic and non-alcoholic fatty liver. Bratisl Lek Listy. 2006107(3):58-61.
Luk CP, Parsons R, Lee YP, et al; Proton pump inhibitor-associated hypomagnesemia: what do FDA data tell us? Ann Pharmacother. 2013 Jun47(6):773-80. doi: 10.1345/aph.1R556. Epub 2013 Apr 30.
Lameris AL, Monnens LA, Bindels RJ, et al; Drug-induced alterations in Mg2+ homoeostasis. Clin Sci (Lond). 2012 Jul123(1):1-14. doi: 10.1042/CS20120045.
Weiselberg EC, Gonzalez M, Fisher M; Eating disorders in the twenty-first century. Minerva Ginecol. 2011 Dec63(6):531-45.
Hypomagnesemia 3, Renal, HOMG3 (Familial Hypomagnesemia); Online Mendelian Inheritance in Man (OMIM)
Ayuk J, Gittoes NJ; How should hypomagnesaemia be investigated and treated? Clin Endocrinol (Oxf). 2011 Dec75(6):743-6. doi: 10.1111/j.1365-2265.2011.04092.x.
Ayuk J, Gittoes NJ; Contemporary view of the clinical relevance of magnesium homeostasis. Ann Clin Biochem. 2014 Mar51(Pt 2):179-88. doi: 10.1177/0004563213517628. Epub 2014 Jan 8.
Magnaspartate 243 mg Powder for Oral Solution; Kora Healthcare, authorised November 2014, latest text update July 2020.
British National Formulary (BNF); NICE Evidence Services (UK access only)
Magnesium sulfate: risk of skeletal adverse effects in the neonate following prolonged or repeated use in pregnancy; Medicines and Healthcare products Regulatory Agency, 2019
Cascella M, Vaqar S; Hypermagnesemia