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.
- 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
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.
- Wheat bran 822 mg
- Hemp seeds 700 mg
- Pumpkin seeds 592 mg
- Brazil nuts 400 mg
- Linseeds 392 mg
- Sesame seeds 335 mg
- Chia seeds 320 mg
- Sunflower seeds 320 mg
Source: Swedish Food Agency food composition database (Livsmedelsverket)
How to use it
How much you need a day
Magnesium
- Recommended270–300 mg
- From supplements, no more than400 mg
- 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.
-
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.
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
- Effect of magnesium supplementation on blood pressure: a meta-analysis — European Journal of Clinical Nutrition, 2012
- Effects of Magnesium Supplementation on Blood Pressure: A Meta-Analysis of Randomized Double-Blind Placebo-Controlled Trials — Hypertension, 2016
- Magnesium intake and risk of type 2 diabetes: meta-analysis of prospective cohort studies — Diabetes Care, 2011
- Magnesium in Migraine Prophylaxis — Is There an Evidence-Based Rationale? A Systematic Review — Headache, 2018
- Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis — BMC Complementary Medicine and Therapies, 2021
- Magnesium Supplementation for Sleep in Adults: A Systematic Review of Randomized Controlled Trials — Journal of Dietary Supplements, 2026
- Magnesium for skeletal muscle cramps — Cochrane Database of Systematic Reviews, 2020
- Vitamins and minerals: Others — NHS
- Commission Regulation (EU) No 432/2012 — list of permitted health claims
- Efficacy and Safety of MMFS-01, a Synapse Density Enhancer, for Treating Cognitive Impairment in Older Adults: A Randomized, Double-Blind, Placebo-Controlled Trial — Journal of Alzheimer’s Disease, 2016 — industry ties: funded and co-designed by Neurocentria, the maker of the product