Why magnesium gets mentioned
ADHD and magnesium come up together a lot. You're lying awake at 1am with your legs twitching and your head still going, you search for something to help, and ten minutes later there's a tub of magnesium glycinate in your basket. Magnesium is cheap, it's sold everywhere and it sounds harmless, so it's an easy thing to try. The question is whether there's anything behind it, and what to check before you buy.
What magnesium actually does
Magnesium is a mineral your body uses all day, every day. The NHS says it helps turn the food you eat into energy and supports bone health. The US Office of Dietary Supplements (ODS) says it's involved in more than 300 processes in the body, including muscle and nerve function. That's where the ADHD interest comes from: if something plays a part in how nerves work, people wonder whether topping it up could help with focus, sleep or feeling wired.
How much you need
The NHS guide to magnesium and other minerals says men aged 19 to 64 need 300mg a day and women 270mg, and that most people should get this from a varied, balanced diet. For supplements, it says 400mg or less a day is unlikely to cause harm. That 400mg is supplement magnesium on top of what you eat, so check every product you take, including multivitamins, "sleep" blends and indigestion remedies, because they can all contain it.
Real foods that contain it
You might be getting more than you think. Figures from the ODS give roughly 156mg in a 28g handful of roasted pumpkin seeds, 80mg in the same amount of almonds, 78mg in half a cup of boiled spinach, 60mg in half a cup of cooked black beans, 32mg in a banana and 23mg in a slice of wholemeal bread. Refined grains lose a lot of it, so white bread and white rice give you much less than wholemeal and brown.
The different forms
Walk down the supplement aisle and you'll see citrate, glycinate, oxide, malate, bisglycinate and more. They aren't all the same, and the price doesn't tell you which is which. According to the ODS, forms that dissolve well in liquid are generally absorbed better.
Citrate, chloride, lactate and aspartate
Small studies have found these forms are absorbed more completely than magnesium oxide and magnesium sulfate. That doesn't make them better for ADHD, as nobody has tested that. It just means more of what you swallow is likely to get into your body rather than straight through it.
Oxide, carbonate and the "upset stomach" forms
Oxide was one of the less well absorbed forms in those studies. The ODS also says carbonate, chloride, gluconate and oxide are the forms most often linked to diarrhoea. That happens because magnesium that isn't absorbed pulls water into the gut, which is the same reason magnesium is used in some laxatives.
Glycinate and the bedtime promise
Glycinate is often sold as the calm, gentle, bedtime option. It might suit you, but be aware that it isn't one of the forms covered in the small absorption studies the ODS summarises, so most of what you read about it comes from marketing, not good comparison research.
Read the label properly
The number that matters is the magnesium itself, sometimes called elemental magnesium, not the weight of the whole compound. The ODS gives an example where 500mg of magnesium oxide provided 300mg of actual magnesium. If a label just says "magnesium citrate 1,000mg", you don't know how much magnesium you're getting.
What ADHD studies found
There are two main threads in the research: studies that compare magnesium levels in people with and without ADHD, and a handful of small trials that give supplements.
Lower levels in blood tests
A 2019 meta-analysis pulled together seven studies and found people with ADHD had serum magnesium about 0.105 mmol/L lower than people without ADHD. For context, the ODS gives a normal range of 0.75 to 0.95 mmol/L, so it's a small gap, and the results varied hugely between studies. A separate review of studies in children found lower magnesium in both blood and hair samples. Neither shows that low magnesium causes ADHD, or that ADHD causes low magnesium.
There's another catch. The ODS points out that blood levels don't reflect how much magnesium is stored in the body very well, as most of it sits in bones and cells. The authors of the children's review also suggested looking at whether diet, or the appetite-suppressing effect of ADHD medication, plays a part.
The magnesium and vitamin D trial
The trial that gets quoted most was done in Iran in 2016. The trial of vitamin D and magnesium in 66 children with ADHD gave them either both supplements or a placebo for eight weeks. The children, aged 6 to 12, were chosen because their vitamin D and magnesium were on the low side, although the magnesium cut-off (below 2.3 mg/dL, roughly 0.95 mmol/L) sits right at the top of the normal range. Parents reported fewer emotional, behaviour and friendship problems in the supplement group. A second paper from the same trial found similar improvements in conduct, social problems and anxiety.
It's a useful study, but it's small, short and relied on questionnaires filled in by parents. Because everyone took both supplements together, the researchers themselves said they couldn't tell what magnesium did on its own. It also tells you nothing about adults.
What's still missing
There are no large, long-term trials of magnesium for ADHD, and almost nothing in adults. Even the researchers behind the positive results say bigger, better-designed studies are needed. Magnesium isn't part of the NICE guideline on ADHD, which instead stresses the value of a balanced diet, good nutrition and regular exercise.
Sleep, restlessness and calm
Most people aren't hoping magnesium will fix their attention. They want to fall asleep quicker, stop their legs going at night or feel less on edge. The sleep evidence is thin. A 2021 review found only three small trials, all in older adults with insomnia, totalling 151 people. Those taking magnesium fell asleep about 17 minutes faster than those on placebo, but the reviewers rated the evidence low to very low quality and said it wasn't good enough for doctors to make clear recommendations.
None of those studies involved ADHD. So if you take magnesium at bedtime and sleep better, that's great, but it's hard to know whether it's the magnesium, the new routine of winding down, or simply expecting it to work. If restlessness or poor sleep is a big problem, it's worth raising with your GP or ADHD team, as there may be other causes worth looking at.
Side effects and interactions
For most healthy adults, magnesium from food isn't a worry because the kidneys get rid of what you don't need. Supplements are a different matter. The NHS says more than 400mg in a short time can cause diarrhoea, and the ODS adds nausea and stomach cramps. If your kidneys don't work properly, magnesium can build up in your blood, so supplements need a doctor's go-ahead first.
Medicines it can clash with
- Some antibiotics: magnesium can stop tetracyclines (such as doxycycline) and quinolones (such as ciprofloxacin) being absorbed properly. The ODS says take them at least 2 hours before or 4 to 6 hours after magnesium.
- Osteoporosis tablets: it can reduce absorption of bisphosphonates such as alendronate.
- Indigestion medicines: long-term use of proton pump inhibitors, such as lansoprazole and esomeprazole, can lower your magnesium levels.
- Water tablets: some diuretics make you lose more magnesium in your urine.
Before you buy any
Start with what you already eat and take, as you might be covered already. If you do want to try a supplement, speak to a pharmacist or GP first, especially if you take ADHD medication or anything else regularly, and show them the label. Keep within the NHS limit, note down when you started and what you hoped would change, and don't stop or change any prescribed ADHD treatment because of something you've read about magnesium.
This information is for general education and is not personalised medical advice. Treatment and prescribing decisions belong to qualified healthcare professionals.
