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

2-minute read

What is magnesium deficiency?

Magnesium deficiency is when the body does not get all the magnesium it needs for health.

Health problems linked to magnesium deficiency are rare, but if your magnesium levels are low long-term due to other health conditions like alcoholism or taking some medications, you may be at greater risk.

Magnesium deficiency can lead to health problems including:

What are the symptoms of magnesium deficiency symptoms?

Magnesium deficiency can cause:

  • loss of appetite
  • nausea and vomiting
  • fatigue and weakness
  • shaking
  • pins and needles
  • muscle spasms
  • hyperexcitability
  • sleepiness
  • abnormal heart rhythms

What causes magnesium deficiency?

Magnesium deficiency in healthy people is rare but it can be caused by:

  • a poor diet (especially in elderly people or those who don’t have enough to eat)
  • type 2 diabetes
  • digestive problems such as Crohn’s disease
  • long-term vomiting or diarrhoea
  • kidney problems
  • long-term use of diuretics
  • some medicines (for example, fluid tablets and medicines for ulcers or reflux) can cause low magnesium levels if taken for long periods
  • alcoholism

Sometimes, people can take in too much magnesium in antacids or laxatives, but this is rare. If you have concerns about this, check with your pharmacist or doctor.

How is magnesium deficiency diagnosed?

Magnesium deficiency is diagnosed via a blood test and sometimes a urine test. Your doctor may order the blood test if you have symptoms such as weakness, irritability, abnormal heart rhythm, nausea and/or diarrhoea, or if you have abnormal calcium or potassium levels.

How is magnesium deficiency treated?

If you have magnesium deficiency, your doctor will prescribe a magnesium supplement. Sometimes these can give you diarrhoea, so your doctor may need to experiment with the dose. In severe cases, intravenous magnesium may be needed.

Make sure you consult with your doctor if you are thinking of taking a magnesium supplement, as it’s possible to take too much magnesium. Taking more than the recommended dose can cause vomiting, diarrhoea, abdominal cramps and, in extreme cases, irregular heartbeat and cardiac arrest.

How do you prevent magnesium deficiency?

To prevent magnesium deficiency, it is important to eat a healthy, balanced diet containing magnesium-rich foods such as leafy green vegetables, legumes, nuts, seeds and whole grains.

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

Last reviewed: March 2021


Back To Top

Need more information?

These trusted information partners have more on this topic.

Top results

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

Vitamin D 25 OH - Pathology Tests Explained

Your doctor may request a vitamin D 25 OH measurement as part of a general check-up because vitamin D deficiency appears to be very common in Australia

Read more on Pathology Tests Explained 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

Short bowel syndrome - Better Health Channel

A person with short bowel syndrome is likely to be deficient in a range of important nutrients.

Read more on Better Health Channel website

Health Conditions Related to Nutrition | myVMC

Many health conditions are associated with food, either effecting the diet or resulting from the diet. These health conditions range from food allergies, to malnutrition or obesity, to anorexia and bulimia.

Read more on myVMC – Virtual Medical Centre website

Malnutrition | Dietitians Australia

Malnutrition is a major public health issue in Australia, particularly for older Australians. Prevention is key. Here we explore its symptoms and treatment.

Read more on Dietitians Australia website

Cancer and malnutrition - Better Health Channel

It is important for the health of people with cancer to eat well before, during and after cancer treatment.

Read more on Better Health Channel website

Vitamin and mineral supplements: when are they needed? - MyDr.com.au

Vitamin and mineral supplements won't convert poor food choices into a healthy diet, but relevant quantities can address deficiencies at certain life stages.

Read more on myDr website

Parathyroid hormone - Pathology Tests Explained

Why and when to get tested for PTH

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

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 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.