Healthdirect Free Australian health advice you can count on.

Medical problem? Call 1800 022 222. If you need urgent medical help, call triple zero immediately

healthdirect Australia is a free service where you can talk to a nurse or doctor who can help you know what to do.

beginning of content

Magnesium deficiency

5-minute read

Key facts

  • Magnesium deficiency is when your body does not get enough magnesium in your diet to function normally.
  • Magnesium is a mineral essential for healthy muscles, nerves, bones and blood sugar levels.
  • Health problems linked to magnesium deficiency are rare, but they can occur if you have low levels of magnesium in your body for a long time.
  • Symptoms of magnesium deficiency include low appetite, nausea or vomiting, muscle spasms or tremors and abnormal heart rhythms.
  • Magnesium deficiency is usually treated with supplements.

What is magnesium?

Magnesium is a mineral that is essential for healthy muscles, nerves, bones and blood sugar levels.

What is magnesium deficiency?

Magnesium deficiency is when your body does not get enough magnesium in your diet to function normally.

Read more on magnesium and your health.

What are the symptoms of magnesium deficiency?

Magnesium deficiency can cause:

What causes magnesium deficiency?

Magnesium deficiency is rare in healthy people.

In some people, it can be caused by:

How is magnesium deficiency diagnosed?

Magnesium deficiency can be diagnosed with a blood test and/or a urine test. If you have symptoms of magnesium deficiency or abnormal calcium or potassium levels, your doctor may refer you for a blood or urine test.

How is magnesium deficiency treated?

Magnesium deficiency is usually treated with magnesium supplements. Sometimes these can give you diarrhoea, so your doctor may need to adjust your dose. If your levels are very low, you may need magnesium through an intravenous (IV) drip in hospital.

If you are considering taking a magnesium supplement, speak to your doctor or pharmacist first, to make sure it's right for you.

Read more on the role of foods high in magnesium and how supplements can prevent magnesium deficiency.

Magnesium poisoning

Rarely, people experience magnesium poisoning, or toxicity, which is when they have too much magnesium. Symptoms of magnesium toxicity include vomiting, diarrhoea and abdominal (stomach) cramps. In extreme cases, too much magnesium can cause an irregular heartbeat and cardiac arrest (when the heart stops beating).

Magnesium toxicity usually only happens if you take large quantities of magnesium in the form of magnesium supplements, antacids or laxatives. You can reduce the chance of this happening by taking medicines exactly as directed by your doctor or pharmacist.

How is magnesium deficiency prevented?

To prevent magnesium deficiency, eat a healthy, balanced diet containing magnesium-rich foods. These include:

  • leafy green vegetables
  • legumes
  • nuts and seeds
  • whole grains

What are the complications of magnesium deficiency?

Health problems linked to magnesium deficiency are rare. If your magnesium levels are low for a long period of time, you may be at greater risk. This could be because of health conditions such as alcoholism or because you are taking certain medicines.

In the short-term, severe magnesium deficiency can lead to:

  • muscle spasms
  • abnormal heart rhythms (arrhythmias)
  • cardiac arrest

Long-term magnesium deficiency can increase your chance of developing health problems, including:

Resources and support

Learn more here about the development and quality assurance of healthdirect content.

Last reviewed: June 2023


Back To Top

Need more information?

These trusted information partners have more on this topic.

Top results

Magnesium | Pathology Tests Explained

This test measures the amount of magnesium in your blood. Normally, only a very small amount (about 1%) of the total magnesium found in the body is present i

Read more on Pathology Tests Explained website

Magnesium, a treatment for leg cramps? - NPS MedicineWise

Quinine was once standard for leg cramps but has proved to have too many adverse effects. Is magnesium an option for patients with leg cramps?

Read more on NPS MedicineWise website

Parathyroid glands - Better Health Channel

The parathyroid glands make hormones that regulate calcium, phosphorus and magnesium in the bones and blood.

Read more on Better Health Channel website

Vegetables and legumes / beans | Eat For Health

Did you know most Australians eat only about half the recommended quantity of vegetables per day?  There is strong evidence that for each serve of vegetables eaten each day the risk of coronary heart disease is reduced even further!  Also, by eating vegetables, especially colourful vegetables, there is a reduced risk of stroke and weight gain. Vegetables, including legumes/beans are nutrient dense, low in kilojoules, and are a good source of minerals and vitamins (such as magnesium, vitamin C and folate), dietary fibre and a range of phytochemicals including carotenoids.

Read more on NHMRC – National Health and Medical Research Council website

Prealbumin | Pathology Tests Explained

The test measures levels of prealbumin, an important protein found in the blood. Prealbumin is produced primarily by the liver. It serves as a source for the

Read more on Pathology Tests Explained website

Calcium | Pathology Tests Explained

Plasma calcium is tested to screen for, diagnosis, and monitor a range of conditions relating to the bones, heart, nerves, kidneys and teeth. Plasma calcium

Read more on Pathology Tests Explained website

Parathyroid Hormone (PTH) | Pathology Tests Explained

Parathyroid hormone (PTH) helps the body maintain stable levels of calcium in the blood. It is part of a ‘feedback loop’ that includes calcium, PTH, vitamin

Read more on Pathology Tests Explained website

Leg cramps during pregnancy

Leg cramps are a normal but sometimes uncomfortable part of your pregnancy. Find out how to treat and help prevent leg cramps.

Read more on Pregnancy, Birth & Baby website

Vitamin D | Pathology Tests Explained

Vitamin D is vital for the growth and health of bone; without it, bones will be soft, malformed, and unable to repair themselves normally, resulting in the d

Read more on Pathology Tests Explained website

Grain ( cereal ) foods, mostly wholegrain and / or high cereal fibre varieties | Eat For Health

Most Australians consume less than half the recommended quantity of wholegrain foods, and too much refined grain (cereal) food.  At least two thirds of grain foods eaten should be wholegrain.

Read more on NHMRC – National Health and Medical Research Council website

Healthdirect 24hr 7 days a week hotline

24 hour health advice you can count on

1800 022 222

Government Accredited with over 140 information partners

We are a government-funded service, providing quality, approved health information and advice

Australian Government, health department logo ACT Government logo New South Wales government, health department logo Northen Territory Government logo Queensland Government logo Government of South Australia, health department logo Tasmanian government logo Victorian government logo Government of Western Australia, health department logo

Healthdirect Australia acknowledges the Traditional Owners of Country throughout Australia and their continuing connection to land, sea and community. We pay our respects to the Traditional Owners and to Elders both past and present.