Magnesium

Magnesium is needed for energy metabolism and muscles. What studies show for blood pressure, sleep, migraine and cramps, plus doses and the risk of diarrhea.

Magnesium
Photo: Couleur, Pixabay License, Pixabay

In brief

Magnesium helps turn food into energy and is needed for muscles to work. Supplements lower blood pressure slightly, but in trials they do almost nothing for night-time leg cramps in older adults. More than 400 mg a day from supplements can cause diarrhea.

Evidence at a glance The level for each use, one by one
  • Needed in the diet (energy metabolism, muscles) A strong evidence
  • A small fall in blood pressure B moderate evidence
  • Lower risk of type 2 diabetes with more magnesium in the diet (observational) B moderate evidence
  • Preventing migraine C weak or conflicting evidence
  • Falling asleep faster and sleeping better C weak or conflicting evidence
  • Magnesium L-threonate for memory and thinking C weak or conflicting evidence
  • Night-time leg cramps in older adults ✕ tested, benefit not confirmed

In numbers

  • 300 / 270 mg recommended a day for men and for women source
  • 3–4 mm Hg average fall in systolic blood pressure in randomized trials source
  • −22% risk of type 2 diabetes with more magnesium in the diet (observational) source

What it is

A mineral found in a wide variety of foods, including spinach, nuts and whole wheat bread (NHS).

What the research shows

  • In a CochraneCochrane. An international network of researchers that produces independent systematic reviews of treatments. review (11 trials, 735 participants), magnesium made small, statistically non-significant differences to cramp frequency in older adults with night-time leg cramps compared with placeboPlacebo. An inactive substance or procedure that looks like the real one. It is used for comparison, to separate a real effect from the effect of expectations.. For cramps in pregnancy the evidence is conflicting (Garrison et al., 2020).
  • Blood pressure. In a meta-analysisMeta-analysis. A study that statistically pools the results of several similar studies to get a more precise overall answer. combining randomizedRandomized trial. A study in which participants are split into groups at random. The groups are then alike, so a difference between them can be put down to the intervention itself. trials, magnesium supplements lowered systolic blood pressure by 3–4 mm Hg and diastolic by 2–3 mm Hg, with larger effects at higher doses (Kass et al., 2012). In a meta-analysis of double-blindDouble-blind trial. A trial in which neither participants nor researchers know who gets the real product and who gets placebo. placebo-controlled trials, 300 mg a day for a month was enough to raise blood magnesium and lower blood pressure (Zhang et al., 2016).
  • Type 2 diabetes. In a meta-analysis of 13 cohortCohort study. An observational study that follows a large group of people over time and compares who develops disease. studies with 536,318 participants, higher magnesium intake was associated with a 22% lower risk of type 2 diabetes (Dong et al., 2011). These are observationalObservational study. A study that only observes people’s habits rather than changing them. It shows an association but does not prove cause. data and do not prove cause.
  • Migraine. A systematic reviewSystematic review. A review that uses a method set out in advance to find and assess all the studies on one question. rates magnesium for migraine prevention as Grade C, “possibly effective”; trials used 600 mg of magnesium dicitrate a day (von Luckner and Riederer, 2018).
  • Sleep. In three small randomized trials with 151 older adults, magnesium helped people fall asleep about 17 minutes faster, but the evidence was of low quality (Mah and Pitre, 2021). A more recent review concludes that current evidence does not support magnesium as a routine treatment for insomnia (Lopresti et al., 2026).
  • Authorized EU health claims: magnesium contributes to a reduction of tiredness and fatigue and to normal muscle function (Regulation (EU) No 432/2012). These claims describe what magnesium does in the body; they do not promise an effect in someone who is not short of it.
  • Magnesium L-threonate. In a randomized trial of 44 people aged 50–70 with cognitive impairmentCognitive impairment. Decline in memory, attention or thinking; mild impairment does not yet disrupt daily life., a magnesium L-threonate product (MMFS-01) improved an overall cognitive score more than placebo over 12 weeks. Effects on sleep and anxiety could not be judged because the placebo effect was large (Liu et al., 2016). The maker of the product funded the trial, and we found no other placebo-controlled human trials.

Do you need it?

  • Most people get enough magnesium from food such as spinach, nuts and whole wheat bread (NHS).
  • For night-time leg cramps in older adults, magnesium is unlikely to help (Garrison et al., 2020).
  • For blood pressure, supplements had a small effect, lowering systolic pressure by 3–4 mm Hg (Kass et al., 2012); they do not replace treatment.
  • Do not take more than 400 mg a day in supplements: it can cause diarrhea (NHS).

Best food sources

Eight foods with the most of this nutrient per 100 g edible portion, ranked by amount. We chose a range of foods you can buy in Northern Europe: similar foods appear once, and fortified products, spices, dried fruit and dry pulses are left out. The table shows where the nutrient is concentrated, not how much of each food to eat.

Magnesium, mg per 100 g
  1. Wheat bran 822 mg
  2. Hemp seeds 700 mg
  3. Pumpkin seeds 592 mg
  4. Brazil nuts 400 mg
  5. Linseeds 392 mg
  6. Sesame seeds 335 mg
  7. Chia seeds 320 mg
  8. Sunflower seeds 320 mg

Source: Swedish Food Agency food composition database (Livsmedelsverket)

How to use it

How much you need a day

Magnesium

Men300 mg
Women270 mg
  1. Recommended270–300 mg
  2. From supplements, no more than400 mg
  3. Too muchdiarrhea

Sources: NHS

UK guidance is 300 mg a day for men and 270 mg for women, which a varied diet provides (NHS).

Safety

High doses (more than 400 mg) for a short time can cause diarrhea; there is not enough evidence on high doses over a long time. 400 mg or less a day from supplements is unlikely to cause harm (NHS). People with kidney disease should check with a doctor before taking magnesium.

Products

From the best-selling products on iHerb, we picked those whose ingredients and dose match what this entry describes.

  • NOW Foods

    Magnesium Glycinate, 180 tablets

    What’s in it
    200 mg of magnesium (bisglycinate) per 2 tablets.
    Why this one
    Do not take more than 400 mg a day from supplements — that is 4 tablets.
    View on iHerb (opens in a new tab)
  • Doctor's Best

    High Absorption Magnesium, 120 tablets

    What’s in it
    200 mg of magnesium (lysinate glycinate) per 2 tablets.
    Why this one
    The 4 tablets on the label give 400 mg — the most you should take from supplements.
    View on iHerb (opens in a new tab)

We checked the ingredients on iHerb product pages on 2026-11-29; manufacturers can change them, so check the label before you buy. We have not tested the products in a lab. We do not show images because they belong to the manufacturers and iHerb.

Sources

Minerals
  • Zinc

    Zinc

    Zinc probably does not prevent colds but may shorten them slightly. Doses, and why high doses block copper absorption.

    Minerals Astrong evidence
  • Electrolytes

    Electrolytes

    Electrolytes regulate fluid, nerve and muscle function. When they really need replacing and when water and food are enough.

    Minerals Astrong evidence
  • Sleep

    Sleep

    Adults need at least 7 hours of sleep. What sleep deficiency is linked to, and what is known about the brain clearing waste during sleep.

    Biohacking practices Astrong evidence
  • Vitamin D

    Vitamin D

    In autumn and winter the sun is not enough for vitamin D. How much to take, what trials show for respiratory infections, and the safe upper limit.

    Vitamins Astrong evidence