Skip to main content

Vitamins, minerals and blood tests

Magnesium deficiency: symptoms, causes, tests and treatment

Magnesium deficiency, or hypomagnesaemia, means a low magnesium level in the blood. Most people with it have no symptoms, and when symptoms occur they are non-specific, such as nausea, weakness, muscle cramps, twitching or tingling. A blood test confirms it. Causes include medicines, diarrhoea and kidney losses, and treatment depends on the cause and the level.

Last checked: 2026-10-11

Key facts

At a glance.

  • Defined by a blood level

    NHS clinical guidance defines hypomagnesaemia as a serum magnesium below 0.7 mmol/L.

  • Often no symptoms

    The BNSSG ICB guidance says most patients with hypomagnesaemia are asymptomatic and symptoms usually do not appear until the level is below 0.4 mmol/L.

  • Medicines are a common cause

    The Specialist Pharmacy Service lists aminoglycosides, loop diuretics, proton pump inhibitors, tacrolimus and thiazide diuretics among medicines that can cause it.

  • Diet usually provides enough

    The NHS says you should be able to get all the magnesium you need by eating a varied and balanced diet.

  • Supplement ceiling

    The NHS says taking 400mg or less a day of magnesium from supplements is unlikely to cause harm, and more than 400mg for a short time can cause diarrhoea.

  • Treatment depends on the cause

    Management is based on treating the underlying cause and supplementation according to the magnesium level and symptoms, the BNSSG guidance says.

What are the symptoms of magnesium deficiency?

The BNSSG guidance says most patients with hypomagnesaemia have no symptoms, and that symptoms usually do not appear until the serum magnesium is below 0.4 mmol/L. How a person feels may depend more on how fast the deficiency developed or on the total body deficit than on the blood level alone.

When symptoms occur the guidance lists anorexia, nausea, confusion, weakness, ataxia (unsteadiness), paraesthesia (pins and needles), tetany (muscle spasm), tremor and muscle fasciculations (twitching). Cardiac arrhythmias may occur, and with very low levels seizures, drowsiness and coma. The Specialist Pharmacy Service classes a level of 0.5 to 0.7 mmol/L as mild, with no symptoms or non-specific ones such as lethargy, muscle cramps or weakness, and below 0.5 mmol/L as severe, with neurological symptoms such as nystagmus, tetany, seizures and arrhythmias.

Because these symptoms are non-specific, they cannot on their own tell you that your magnesium is low.

Severity of low magnesium as described by the NHS Specialist Pharmacy Service and BNSSG ICB guidance
Level (serum magnesium)What may be seenSource
0.5 to 0.7 mmol/L (mild)No symptoms, or non-specific symptoms such as lethargy, muscle cramps or weaknessSpecialist Pharmacy Service
Below 0.5 mmol/L (severe)Severe neurological symptoms such as nystagmus, tetany and seizures, and heart rhythm problemsSpecialist Pharmacy Service
Below 0.4 mmol/LThe level at which symptoms usually begin to appear; most people with low magnesium have noneBNSSG ICB guidance

What causes low magnesium?

According to the Specialist Pharmacy Service, hypomagnesaemia can occur through decreased intake, intestinal losses such as diarrhoea, medication side effects and renal (kidney) losses. The BNSSG guidance lists malnutrition or diarrhoea, certain medicines, certain inherited kidney conditions such as Gitelman's syndrome, and having had part of the small intestine removed or bypassed.

The medicines named are proton pump inhibitors, diuretics, antibiotics (aminoglycosides), some chemotherapy drugs and immunosuppressants such as tacrolimus. If you take one of these and develop symptoms, it is worth telling your GP rather than stopping the medicine yourself.

How is magnesium deficiency treated?

The BNSSG guidance says management should be based on treating the underlying cause and supplementation according to magnesium level and the presence of symptoms. Oral supplements are usually sufficient for levels between 0.4 and 0.7 mmol/L, whereas a level below 0.4 mmol/L, or symptoms, may require admission for initial treatment through a drip.

Oral magnesium salts cause diarrhoea, so should be given with food if possible. Normalisation of magnesium may take 6 to 8 weeks, with weekly monitoring, and long-term maintenance treatment may be required if a reversible cause is not identified. The Specialist Pharmacy Service adds that untreated hypomagnesaemia can lead to life-threatening arrhythmias, which is why it is treated and monitored by clinicians rather than self-managed.

What is magnesium deficiency?

Magnesium is a mineral that, according to the NHS, helps turn the food we eat into energy and makes sure the parathyroid glands, which produce hormones important for bone health, work normally. The BNSSG ICB guidance for GPs describes it as an essential constituent of many enzyme systems, particularly those involved in energy generation, with the largest stores in the skeleton.

Magnesium deficiency in a clinical sense is hypomagnesaemia: a low level of magnesium in the blood. It is usually defined as a level below 0.7 mmol/L. It may also cause secondary low calcium and low potassium, which is why those are checked at the same time.

It is worth separating this from the everyday use of the phrase. Feeling tired, having cramps or sleeping badly are common and have many causes; a magnesium level is only low when a blood test shows it.

How is magnesium deficiency diagnosed?

It is diagnosed by a blood test. In most cases, the BNSSG guidance says, the cause can be obtained from the history, and if no cause is apparent further tests may be required. Because low magnesium can cause low potassium and low calcium, urea and electrolytes and calcium are checked. A 24-hour urine collection for magnesium may be used if the cause is not clear, to distinguish kidney losses from other causes.

The Specialist Pharmacy Service notes that the reference range for serum magnesium and dosing recommendations may vary locally.

Magnesium in food and supplements: how much is safe?

The NHS lists spinach, nuts and wholemeal bread among the good sources of magnesium, and gives the amount needed as 300mg a day for men and 270mg a day for women aged 19 to 64. It says you should be able to get all you need from a varied, balanced diet.

Taking high doses (more than 400mg) for a short time can cause diarrhoea, and there is not enough evidence to say what the effects of long-term high doses are. The Department of Health and Social Care advice quoted by the NHS is that taking 400mg or less a day of magnesium from supplements is unlikely to cause harm. If you have kidney disease or take regular medicines, check with a pharmacist or GP before starting a magnesium supplement.

When to see a doctor

Many everyday problems, such as tiredness, muscle cramps or poor sleep, have other causes, and low magnesium can only be confirmed by a blood test. If you have persistent muscle cramps, twitching, tremor, weakness or tingling, particularly if you take a medicine linked to low magnesium (see the causes above) or have long-term diarrhoea, speak to your GP.

The BNSSG ICB guidance for GPs advises considering emergency admission for a level below 0.4 mmol/L or if the person is symptomatic, and the Specialist Pharmacy Service lists seizures and heart rhythm problems as features of severe low magnesium. If someone has a seizure, collapses, or has chest pain with an irregular or very slow heartbeat, call 999.

Do not stop a prescribed medicine without advice. If you think a medicine may be lowering your magnesium, ask your GP or pharmacist to review it.

NHS and private pathways

On the NHS a GP orders a magnesium level when there is a clinical reason, such as a relevant medicine, symptoms or abnormal potassium or calcium. Private blood testing services can measure magnesium on request, but a single result needs interpreting alongside symptoms, medicines and kidney function, and a low result still needs a cause to be sought. Red blood cell or hair magnesium tests are not described in the guidance used here.

Frequently asked

Questions people ask.

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

  • What is magnesium deficiency?

    A low level of magnesium in the blood, called hypomagnesaemia, usually defined as below 0.7 mmol/L in NHS clinical guidance. Many people with it have no symptoms.

  • What are the symptoms of low magnesium?

    The BNSSG ICB guidance lists loss of appetite, nausea, confusion, weakness, unsteadiness, pins and needles, muscle spasm, tremor and twitching, with heart rhythm problems and seizures at very low levels.

  • What causes low magnesium?

    Poor intake, diarrhoea or malabsorption, kidney losses, and medicines such as proton pump inhibitors, diuretics and some antibiotics, according to NHS guidance. Diet alone is rarely the whole explanation.

  • How much magnesium do I need?

    The NHS says 300mg a day for men and 270mg a day for women aged 19 to 64, which should be obtainable from a varied diet.

  • Is it safe to take magnesium supplements?

    The NHS says 400mg or less a day from supplements is unlikely to cause harm. Higher amounts for a short time can cause diarrhoea. People with kidney problems should ask a clinician first.

  • How is magnesium deficiency treated?

    By treating the cause and giving magnesium according to the level and symptoms, the BNSSG guidance says. Oral supplements are usually enough for mild cases; low levels with symptoms may need hospital treatment.

  • How long does it take to correct?

    The BNSSG guidance says normalisation may take 6 to 8 weeks, with weekly monitoring of the level.

  • Can magnesium deficiency cause leg cramps?

    Muscle cramps are listed among non-specific symptoms of mild hypomagnesaemia by the Specialist Pharmacy Service, but cramps are common and have many other causes. A blood test can show whether magnesium is low.

  • Could my medicine be lowering my magnesium?

    It is possible. The Specialist Pharmacy Service lists proton pump inhibitors, loop and thiazide diuretics, aminoglycosides and tacrolimus. Ask your GP to review it rather than stopping it yourself.

  • How do I know if I am low in magnesium?

    Only a blood test can show it. The BNSSG ICB guidance says most people with low magnesium have no symptoms and that symptoms usually do not appear until the level is below 0.4 mmol/L, so how you feel is not a reliable guide. Your GP can arrange a test if there is a reason, such as a relevant medicine or abnormal potassium or calcium.

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-10-11, next review 2027-10-11.