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
| Age | Women | Men |
|---|---|---|
| 19–30 years | 310 mg | 400 mg |
| 31 years and over | 320 mg | 420 mg |
| Pregnancy, 19–30 | 350 mg | – |
| Pregnancy, 31–50 | 360 mg | – |
| Breastfeeding, 19–30 | 310 mg | – |
| Breastfeeding, 31–50 | 320 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
| Food | Serving | Magnesium |
|---|---|---|
| Pumpkin seeds, roasted | 28 g (a small handful) | 156 mg |
| Chia seeds | 28 g (about 2 tbsp) | 111 mg |
| Almonds, dry roasted | 28 g (about 23 nuts) | 80 mg |
| Spinach, boiled | ½ cup | 78 mg |
| Cashews, dry roasted | 28 g | 74 mg |
| Black beans, cooked | ½ cup | 60 mg |
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.
| Use | Rating | What research shows |
|---|---|---|
| Preventing migraine | Moderate | Neurology 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 pressure | Limited | Supplements lower blood pressure only slightly, and results are inconsistent. |
| Stroke risk | Limited | In 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 diabetes | Limited | Higher intake is linked to lower risk, but there isn't enough evidence to recommend supplements to control blood sugar. |
| Heart disease | Not enough evidence | More research is needed to know whether magnesium helps prevent heart disease. |
| Osteoporosis | Not enough evidence | More 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
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
| Medicine | What happens | What to do |
|---|---|---|
| Osteoporosis medicines (bisphosphonates, e.g. alendronate) | Magnesium can reduce how much is absorbed | Take at least 2 hours apart |
| Some antibiotics (tetracyclines, quinolones) | Magnesium binds to them so less is absorbed | Take the antibiotic at least 2 hours before, or 4–6 hours after, magnesium |
| Fluid tablets (loop and thiazide diuretics) | Increase magnesium lost in urine | Ask your doctor whether your levels need checking |
| Potassium-sparing diuretics | Reduce magnesium lost in urine | Ask before adding a supplement |
| Reflux medicines (proton pump inhibitors) for over a year | Can lower magnesium levels | Your doctor may check your levels |
Take the bottle to your pharmacist. They can check it against everything else you take, including other supplements that already contain magnesium.
Related guides
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
- National Health and Medical Research Council. Nutrient Reference Values for Australia and New Zealand: Magnesium. Accessed 5 November 2026.
- 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.