Education only, not medical advice. Read our disclaimer

Natural Health · Vitamins and minerals

Magnesium: what it does, how much you need and what the evidence says

An honest guide to magnesium: why your body needs it, the best foods, Australian intake guidelines, where supplements help and where the evidence is thin, and how to use them safely.

Written by , former RN
Medically reviewed by [Reviewer name], [credentials]Last reviewed 3 min read

Magnesium at a glance

What it is
An essential mineral. Your body can't make it, so it must come from food.
Daily need (adults)
Women 310–320 mg · Men 400–420 mg1
Supplement limit
350 mg a day from supplements and medicines (food doesn't count)1
Top foods
Pumpkin seeds, chia seeds, almonds, spinach, cashews, black beans2
Best evidence for
Migraine prevention Moderate
Check first if
You have kidney disease, or take antibiotics, osteoporosis medicine, diuretics or reflux medicine

What magnesium does

Magnesium helps more than 300 enzyme systems do their work.2 Among other things, it helps your body:

  • make protein and produce energy
  • keep muscles and nerves working normally
  • control blood sugar and blood pressure
  • move calcium and potassium in and out of cells, which matters for heart rhythm

How much magnesium you need

These are Australia and New Zealand’s Recommended Dietary Intakes (RDIs), the amount that meets the needs of nearly all healthy people.1

Recommended Dietary Intake of magnesium, mg per day. Source 1 (NHMRC).
AgeWomenMen
19–30 years310 mg400 mg
31 years and over320 mg420 mg
Pregnancy, 19–30350 mg–
Pregnancy, 31–50360 mg–
Breastfeeding, 19–30310 mg–
Breastfeeding, 31–50320 mg–

Best food sources of magnesium

Food is the safest way to get magnesium, and there is no upper limit for magnesium from food.1

Approximate magnesium per serving. Source 2 (US NIH data; Australian foods are similar).
FoodServingMagnesium
Pumpkin seeds, roasted28 g (a small handful)156 mg
Chia seeds28 g (about 2 tbsp)111 mg
Almonds, dry roasted28 g (about 23 nuts)80 mg
Spinach, boiled½ cup78 mg
Cashews, dry roasted28 g74 mg
Black beans, cooked½ cup60 mg
A nurse's tip

A small handful of pumpkin seeds gives about half of a woman's daily magnesium. Add half a cup each of cooked spinach and beans later in the day and you're close to the full amount.

Who may be low in magnesium

Most healthy people get enough from food. These groups are more likely to run low:2

  • People with gut conditions that affect absorption, such as Crohn’s disease, coeliac disease or bowel surgery
  • People with type 2 diabetes or insulin resistance
  • People who drink alcohol heavily over a long time
  • Older adults
  • People on some long-term medicines (see interactions)

What the evidence says

We rate how well research supports each use. How we rate evidence.

StrongModerateLimitedNot enough evidence
UseRatingWhat research shows
Preventing migraineModerateNeurology and headache experts say magnesium is probably effective for preventing migraine. The doses used are above the 350 mg limit, so this should be supervised by a doctor.
Blood pressureLimitedSupplements lower blood pressure only slightly, and results are inconsistent.
Stroke riskLimitedIn observational studies, each extra 100 mg a day from diet was linked to an 8% lower risk of stroke. This shows a link, not that magnesium causes the lower risk.
Type 2 diabetesLimitedHigher intake is linked to lower risk, but there isn't enough evidence to recommend supplements to control blood sugar.
Heart diseaseNot enough evidenceMore research is needed to know whether magnesium helps prevent heart disease.
OsteoporosisNot enough evidenceMore research is needed to know whether supplements help prevent or manage osteoporosis.

Safety and side effects

The upper limit for adults is 350 mg a day from supplements and medicines. Magnesium in food doesn’t count towards it.1

  • Common with high doses: diarrhoea, nausea and stomach cramps.2
  • Rare but serious: very large doses can cause low blood pressure, vomiting, an irregular heartbeat and, in a few reported cases, death.2
Kidney disease

Your kidneys clear extra magnesium. If they don't work well, magnesium can build up to dangerous levels. Don't take magnesium supplements with kidney disease unless your doctor advises it.2

Medicine interactions

Magnesium can change how some medicines work, and some medicines lower your magnesium.2

MedicineWhat happensWhat to do
Osteoporosis medicines (bisphosphonates, e.g. alendronate)Magnesium can reduce how much is absorbedTake at least 2 hours apart
Some antibiotics (tetracyclines, quinolones)Magnesium binds to them so less is absorbedTake the antibiotic at least 2 hours before, or 4–6 hours after, magnesium
Fluid tablets (loop and thiazide diuretics)Increase magnesium lost in urineAsk your doctor whether your levels need checking
Potassium-sparing diureticsReduce magnesium lost in urineAsk before adding a supplement
Reflux medicines (proton pump inhibitors) for over a yearCan lower magnesium levelsYour doctor may check your levels
Before you buy a supplement

Take the bottle to your pharmacist. They can check it against everything else you take, including other supplements that already contain magnesium.

Questions about magnesium

How much magnesium do adults need each day in Australia?

Women need 310–320 mg a day and men need 400–420 mg a day, depending on age. Needs rise slightly in pregnancy, to 350–360 mg for women aged 19–50.

Can you take too much magnesium?

Yes, from supplements. Australian guidelines set an upper limit of 350 mg a day from supplements and medicines for adults. More than this often causes diarrhoea, nausea and cramps. Magnesium from food is not counted in this limit.

What foods are highest in magnesium?

Pumpkin seeds, chia seeds, almonds, cashews, cooked spinach and black beans are among the richest sources. Wholegrains, legumes, nuts and leafy greens are all good everyday sources.

Does magnesium lower blood pressure?

Only slightly, and the evidence is inconsistent. Magnesium supplements are not a treatment for high blood pressure. Talk to your doctor before using them alongside blood pressure medicine.

Sources

  1. National Health and Medical Research Council. Nutrient Reference Values for Australia and New Zealand: Magnesium. Accessed 5 November 2026.
  2. US National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. Accessed 5 November 2026.

About this page. Written by [Founder name], a former registered nurse, and medically reviewed by [Reviewer name], [credentials]. Last reviewed ; next review due November 2027. Read our editorial policy or report an error.

Education only. This page is general information, not medical advice. It does not replace a consultation with your doctor or another qualified health professional. Don't start, stop or change any medicine or supplement without talking to them first.