Skip to main content

Test guide

Magnesium test: why it is checked, what affects it and what results mean

A magnesium test measures the level of magnesium in a blood sample. It is checked when symptoms such as muscle weakness, cramps, twitching or an irregular heartbeat suggest a problem, when calcium or potassium are persistently low, or to monitor medicines and conditions that affect magnesium. Low magnesium is usually defined as below 0.7 mmol/L, and most people with mild deficiency have no symptoms.

Last checked: 2026-11-22

Key facts

At a glance.

  • Definition of low

    Bristol, North Somerset and South Gloucestershire ICB guidance says hypomagnesaemia is usually defined as a magnesium level below 0.7 mmol/L.

  • Often silent

    The same guidance says most people with low magnesium have no symptoms, which usually only appear below 0.4 mmol/L.

  • Linked minerals

    Low magnesium can cause low calcium and low potassium, so these are often checked together, Lab Tests Online UK says.

  • Medicines matter

    Proton pump inhibitors, diuretics, some antibiotics, chemotherapy and immunosuppressants can lower magnesium.

  • No preparation

    Lab Tests Online UK says no test preparation is needed.

What does a magnesium test measure?

Magnesium is a mineral. The NHS says it helps turn the food we eat into energy and helps the parathyroid glands, which produce hormones important for bone health, work normally. BNSSG ICB guidance adds that magnesium is part of many enzyme systems, particularly those involved in energy generation, and that the largest stores are in the skeleton.

A blood magnesium test measures the concentration in the liquid part of a blood sample taken from a vein in your arm. Lab Tests Online UK says magnesium is often requested alongside other electrolytes, such as sodium, potassium, chloride, bicarbonate, calcium and phosphate, to look at overall electrolyte balance.

Why would a doctor order a magnesium test?

Lab Tests Online UK lists several reasons:

  • Symptoms that may come from low magnesium, such as muscle weakness, twitching, cramping, confusion, an irregular heartbeat or seizures.

  • Persistently low calcium or potassium, as low magnesium can keep these low.

  • Conditions that affect absorption or loss of magnesium, such as malabsorption, prolonged diarrhoea, malnutrition or alcohol dependence.

  • Kidney disease or uncontrolled diabetes, to check whether too much magnesium is being lost or retained.

  • Taking medicines that make the kidneys excrete magnesium.

  • Monitoring oral or intravenous magnesium supplements, and magnesium treatment for pre-eclampsia in pregnancy.

What magnesium level is normal, low or high?

Your laboratory report shows its own reference range. BNSSG ICB guidance gives the thresholds used in primary care to decide what to do when magnesium is low, shown below.

Low magnesium thresholds in BNSSG ICB primary care guidance
Serum magnesiumMeaning in the guidanceTypical approach
Below 0.7 mmol/LHypomagnesaemia (low magnesium)Find and treat the cause
0.4 to 0.7 mmol/LMild to moderate deficiency; most people have no symptomsOral supplements are usually enough
Below 0.4 mmol/L, or any symptomsSevere or symptomatic deficiencyConsider emergency admission for intravenous magnesium

What causes a low magnesium level?

Lab Tests Online UK says low magnesium means you are not getting enough in your diet, your gut is not absorbing enough, or your kidneys are losing too much. It notes that dietary deficiency is rare. Causes listed by Lab Tests Online UK and BNSSG ICB include:

  • Long-term use of proton pump inhibitors (such as omeprazole) or diuretics.

  • Some antibiotics, chemotherapy drugs and immunosuppressants.

  • Prolonged diarrhoea, gut disorders such as Crohn's disease, and surgery that removes or bypasses part of the small intestine.

  • Alcohol dependence, through low intake and increased loss.

  • Uncontrolled diabetes, and an underactive parathyroid gland.

  • Malnutrition, especially in older people.

  • Inherited kidney conditions such as Gitelman syndrome.

  • Severe burns, surgery and pre-eclampsia.

What symptoms can low magnesium cause?

BNSSG ICB guidance says most people with hypomagnesaemia have no symptoms, and that symptoms usually do not appear until magnesium is below 0.4 mmol/L. When they do, they may include loss of appetite, nausea, confusion, weakness, unsteadiness, pins and needles, muscle spasms, tremor and muscle twitching. Heart rhythm problems may occur, and very low levels can cause seizures, drowsiness and coma.

Because low magnesium can cause low calcium and low potassium, some symptoms may come from those as well. Lab Tests Online UK explains that low magnesium makes low calcium more resistant to treatment, which is why magnesium is checked when calcium will not correct.

What causes a high magnesium level?

High magnesium is less common. Lab Tests Online UK says it is rarely due to diet and is usually the result of an excretion problem or excessive supplementation. It lists kidney failure, an overactive parathyroid gland, an underactive thyroid, dehydration, diabetic acidosis when first seen, Addison's disease, and use of magnesium-containing antacids or laxatives.

On supplements, the NHS says having 400 mg or less a day of magnesium from supplements is unlikely to cause harm, that higher doses for a short time can cause diarrhoea, and that you should be able to get all the magnesium you need from a varied and balanced diet. It gives the daily need as 300 mg for men and 270 mg for women aged 19 to 64.

What happens after a low magnesium result?

BNSSG ICB guidance says the cause can usually be found from the history, and that urea and electrolytes and calcium should be checked because low magnesium can cause low potassium and calcium. If the cause is unclear, a 24-hour urine collection can show whether the kidneys are losing magnesium.

Management is based on treating the cause and replacing magnesium according to the level and symptoms. The guidance says oral supplements are usually enough between 0.4 and 0.7 mmol/L, can cause diarrhoea and are best taken with food, and that normalising magnesium may take 6 to 8 weeks with weekly monitoring. It advises considering emergency admission for intravenous magnesium if the level is below 0.4 mmol/L or the person has symptoms. Do not start or stop medicines such as proton pump inhibitors without talking to your prescriber.

Can I have a magnesium test on the NHS or privately?

On the NHS, magnesium is usually requested by a GP or hospital team for the reasons above, often with kidney function, calcium and potassium. It is not part of every routine blood test. Private panels sometimes include serum magnesium. A normal serum level in someone without symptoms rarely needs action, and a low result should be reviewed by a clinician who can look for a cause. We have not found a UK source giving private prices, so none is quoted.

Frequently asked

Questions people ask.

Quick, plain-English answers to the questions we hear most.

  • Do I need to fast for a magnesium test?

    No. Lab Tests Online UK says no test preparation is needed. If magnesium is taken with other tests that need fasting, such as glucose or lipids, follow the instructions for those. Tell the person taking the sample about any supplements, antacids or laxatives you use.

  • What is a low magnesium level?

    BNSSG ICB primary care guidance defines hypomagnesaemia as below 0.7 mmol/L. It says most people have no symptoms, which usually appear only below 0.4 mmol/L. Your laboratory report will show its own reference range.

  • Can omeprazole lower magnesium?

    Yes. Lab Tests Online UK lists long-term use of proton pump inhibitors, such as omeprazole, as a cause of low magnesium, and BNSSG ICB guidance includes proton pump inhibitors and diuretics among the medicines responsible. Do not stop a prescribed medicine without advice from your prescriber.

  • Why is magnesium checked with calcium and potassium?

    Lab Tests Online UK says low magnesium can, over time, cause persistently low calcium and potassium, and makes low calcium more resistant to treatment. BNSSG ICB guidance advises checking urea and electrolytes and calcium whenever magnesium is low.

  • What are the symptoms of low magnesium?

    Often none. When present, BNSSG ICB guidance lists loss of appetite, nausea, confusion, weakness, unsteadiness, pins and needles, muscle spasms, tremor and twitching, with heart rhythm problems possible. Very low levels can cause seizures and drowsiness.

  • How is low magnesium treated?

    By treating the cause and replacing magnesium. BNSSG ICB guidance says oral supplements are usually enough between 0.4 and 0.7 mmol/L, best taken with food because they can cause diarrhoea, with emergency admission considered below 0.4 mmol/L or with symptoms.

  • How long does it take to correct low magnesium?

    BNSSG ICB guidance says normalising magnesium may take 6 to 8 weeks and that levels should be monitored weekly during treatment. Long-term treatment may be needed if no reversible cause is found.

  • Can I take magnesium supplements without a test?

    The NHS says most people should get enough magnesium from a varied, balanced diet, and that 400 mg or less a day from supplements is unlikely to cause harm. Higher doses can cause diarrhoea. If you have kidney disease or take regular medicines, ask a pharmacist or GP first.

  • What does a high magnesium result mean?

    Lab Tests Online UK says high magnesium is rarely due to diet and usually reflects kidney failure, dehydration, some hormone conditions or excess magnesium from supplements, antacids or laxatives. Your doctor will look at kidney function and your medicines.

Where this comes from

Sources and checking.

This guide is for information, not medical advice.

Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.

Published 2026-11-22, next review 2027-11-22.