Magnesium (Serum) Test
The serum magnesium test measures circulating magnesium, the standard index of magnesium status and an essential cofactor in neuromuscular, cardiac, and metabolic function. It detects hypomagnesaemia and hypermagnesaemia and investigates refractory hypokalaemia and hypocalcaemia, which often fail to correct until magnesium is repleted.
1
Biomarkers
Blood (serum)
Sample
1–3 business days
Turnaround
No — however, recent magnesium supplementation, antacids, or laxatives should be documented as they transiently raise levels
Fasting
What is the Magnesium test?
The Magnesium Test measures serum magnesium, the standard index of magnesium status and an essential cofactor in neuromuscular, cardiac, and metabolic function. It is ordered to detect and monitor hypomagnesaemia and hypermagnesaemia and to investigate electrolyte disturbances that magnesium deficiency commonly underlies. Within electrolyte and mineral assessment, serum magnesium is the routine first-line measure, although it reflects only the small circulating fraction rather than total body stores. It is particularly relevant in refractory hypokalaemia and hypocalcaemia, which often fail to correct until magnesium is repleted, and in patients on magnesium-wasting drugs, with gastrointestinal losses, or with renal impairment that risks accumulation. More specialised measures such as red-cell or ionised magnesium and the magnesium loading test are reserved for cases where deficiency is suspected despite normal serum values, but serum remains the clinical standard.
What does the Magnesium test measure?
Magnesium is the second most abundant intracellular cation and an essential cofactor for over 300 enzymatic reactions, including ATP-dependent processes, neuromuscular conduction, and the maintenance of potassium and calcium homeostasis. The overwhelming majority of body magnesium resides in bone and soft tissue, with less than 1% in serum, so the circulating concentration is tightly regulated by renal handling but is an insensitive index of total body stores. Serum magnesium exists in protein-bound, complexed, and free ionised fractions, the last being the physiologically active form.
Serum magnesium is the standard, widely available measure of magnesium status and is used to detect and monitor hypomagnesaemia and hypermagnesaemia. Because most magnesium is intracellular, a normal serum value does not exclude tissue depletion, and clinically significant deficiency can exist with borderline-normal serum levels. It is most useful in patients with relevant symptoms, electrolyte disturbances (especially refractory hypokalaemia or hypocalcaemia), or conditions and drugs that deplete magnesium.
Why is the Magnesium test ordered?
- Investigation of suspected hypomagnesaemia — neuromuscular irritability, tremor, tetany, or unexplained arrhythmia
- Evaluation of refractory hypokalaemia or hypocalcaemia, which frequently fail to correct until magnesium is repleted
- Assessment of patients on magnesium-wasting medications — loop or thiazide diuretics, proton-pump inhibitors, aminoglycosides, or cisplatin
- Monitoring of patients with gastrointestinal losses — chronic diarrhoea, malabsorption, or short bowel syndrome — at risk of depletion
- Surveillance for hypermagnesaemia in renal impairment or in patients receiving magnesium-containing preparations
- Evaluation of arrhythmia or QT prolongation where magnesium status is clinically relevant
- Comprehensive micronutrient and metabolic assessment alongside calcium, potassium, and vitamin D
Sample collection and turnaround
Sample type
Blood (serum)
Fasting required
No — however, recent magnesium supplementation, antacids, or laxatives should be documented as they transiently raise levels
Collection method
Venipuncture at patient service centre
Turnaround
1–3 business days
Collection notes
Handle the specimen carefully to avoid haemolysis, which spuriously raises magnesium. Document magnesium supplementation, magnesium-containing antacids or laxatives, and relevant medications.
Specimen requirements
Minimum 0.5 mL serum, non-haemolysed. Separate serum from cells per Access Medical Laboratories protocol. Specimen stable refrigerated; follow Access Medical Laboratories transport guidelines.
What can affect Magnesium results?
Magnesium is concentrated within red cells, so haemolysis releases intracellular magnesium and spuriously raises the serum result. Specimens should be handled to avoid haemolysis.
The kidneys are the principal route of magnesium excretion, so reduced renal function raises serum magnesium and predisposes to hypermagnesaemia, particularly with magnesium-containing medications.
These drugs increase renal or gastrointestinal magnesium loss, lowering serum magnesium over time. Medication history should be documented when interpreting a low result.
Because under 1% of body magnesium is in serum, total-body depletion can coexist with a normal or borderline serum value, so a normal result does not exclude deficiency.
Oral or intravenous magnesium and magnesium-containing antacids or laxatives transiently raise serum levels and may mask an underlying deficit. Recent intake should be recorded.
Shifts of magnesium between intracellular and extracellular compartments, as with insulin administration or correction of acidosis, can transiently alter serum magnesium independent of total stores.
What do Magnesium results mean?
Elevated
Hypermagnesaemia is most often iatrogenic or due to renal impairment, arising from magnesium-containing medications in the setting of reduced clearance. Significant elevations can cause neuromuscular and cardiac depression and warrant review of magnesium intake and renal function.
Normal
A normal serum magnesium does not exclude total-body depletion, because the circulating fraction is small and tightly regulated. Where deficiency is strongly suspected despite a normal value, red-cell or ionised magnesium or a magnesium loading test may be considered.
Reduced
Hypomagnesaemia commonly results from gastrointestinal or renal losses, drugs, or malnutrition. It frequently accompanies and perpetuates refractory hypokalaemia and hypocalcaemia, so magnesium should be checked and repleted when these fail to correct.
Note: Serum magnesium is an insensitive marker of total body stores, so clinically significant deficiency can exist with borderline-normal levels. Haemolysis falsely elevates results, recent supplementation can mask depletion, and renal function strongly influences levels. Interpret alongside potassium, calcium, renal function, and the medication history.
Frequently asked questions
No. Under 1% of body magnesium is in serum and the level is tightly regulated, so total-body depletion can coexist with a normal or borderline-normal serum value. Red-cell or ionised magnesium may be considered when deficiency is strongly suspected.
How to access the Magnesium test
The Magnesium reference page is free and open to all practitioners. Create a free practitioner account to see pricing, save tests to your list, and generate requisition forms. Verification takes 1–2 business days.
Create Free AccountAbout this page
Published: June 2, 2026
Last reviewed: June 2, 2026
- Ayuk J, Gittoes NJ. Contemporary view of the clinical relevance of magnesium homeostasis. Ann Clin Biochem. (2014)
- Whang R, Ryder KW. Frequency of hypomagnesemia and hypermagnesemia: requested vs routine. JAMA. (1990)
- Workinger JL, et al. Challenges in the Diagnosis of Magnesium Status. Nutrients. (2018)
- Martin KJ, et al. Clinical consequences and management of hypomagnesemia. J Am Soc Nephrol. (2009)
This content is for licensed healthcare practitioners only and does not constitute medical advice. Clinical decisions should be based on the full clinical picture and not on any single test result.
Related tests
vitamins minerals
Calcium
The calcium test measures total serum calcium, the sum of protein-bound, complexed, and ionised fractions. Because roughly 40 per cent is albumin-bound, total calcium must be corrected for albumin or complemented with ionised calcium when equivocal.
metabolic diabetes
CMP
The Comprehensive Metabolic Panel measures 14 serum analytes surveying renal function (BUN, creatinine, eGFR), electrolytes and acid–base balance (sodium, potassium, chloride, CO₂), glucose, calcium, hepatic enzymes (AST, ALT, ALP, bilirubin), and proteins (total protein, albumin, globulin).
vitamins minerals
Vitamin D, 25-OH
The Vitamin D, 25-Hydroxy, Total test measures circulating 25-hydroxyvitamin D (D2 and D3 combined) in serum, the recommended marker of vitamin D status. It is used to diagnose deficiency and insufficiency, guide and monitor supplementation, and assess bone and mineral disorders.