If you live with migraine, someone has probably told you to try magnesium. A friend, a forum, maybe a neurologist. It sounds almost too simple: a mineral that's already in your spinach and almonds, sold for a few pounds, quietly fixing one of the most disabling conditions there is. So is there anything behind it? Some, yes. Less than the internet suggests, and with a few details that change how you'd actually go about it.
First, where magnesium sits in UK guidance
Start with what the NHS itself lists. Its migraine page names preventive medicines (beta blockers, some antidepressants, some epilepsy medicines), acupuncture, relaxation techniques and CBT, and vitamin B2. Magnesium isn't on the list.[1] NICE's patient guidance goes the same way, noting that riboflavin (B2) may help some people reduce how often and how badly migraines hit, without mentioning magnesium.[2]
That doesn't mean magnesium is dismissed. The Migraine Trust names riboflavin, magnesium and co-enzyme Q10 as the most common supplements people use for migraine, and is candid that the evidence is often limited.[3] It lives in a grey zone: tried, talked about, not formally recommended.
The trial everyone quotes
Most of the enthusiasm traces back to one German study published in Cephalalgia in 1996. Eighty-one adults with diagnosed migraine, averaging between three and four attacks a month, took either 600mg of magnesium (as trimagnesium dicitrate, which works out at 24 mmol) or a placebo every day for 12 weeks.[4]
By the final month, attack frequency had fallen by 41.6% in the magnesium group against 15.8% on placebo, and days with migraine and painkiller use dropped too. Attack length and intensity also trended down, but not by enough to count as a real difference.[4]
Two things are easy to skip past. The effect took weeks to show up, with the gap measured in the last month of a three-month course. And nearly one in five people on magnesium (18.6%) got diarrhoea, with a few more reporting stomach irritation.[4] At that dose, the gut notices.
What happens when you pool the studies
One positive trial is a starting point, not a verdict. When researchers have gathered the trials together, the picture softens.
A 2018 systematic review in Headache looked at five randomised, placebo-controlled trials. Of the two highest-quality studies, only one found a significant drop in attacks; two of three lower-quality trials found a benefit. The authors rated magnesium as Grade C, "possibly effective", while calling high-dose magnesium dicitrate a safe and cost-efficient option in clinical use.[5]
A 2019 meta-analysis in the Canadian Journal of Neurological Sciences was cooler still. Pooling three trials and 226 adults, it found magnesium didn't significantly reduce migraine severity, rated the strength of evidence as low, and concluded that it's simply unknown whether magnesium works for migraine prevention in adults.[6]
"It lives in a grey zone: tried, talked about, not formally recommended."
So the honest summary: a plausible, cheap option with one encouraging trial behind it and a body of evidence too small and mixed to call. Worth a conversation. Not a sure thing.
The dose problem nobody mentions
Here's the detail that matters most if you're thinking of trying it. The studies people quote used around 600mg a day. An NHS headache leaflet that covers supplements uses the same figure and says magnesium needs to be taken at that high dose for at least three to four months before you can judge whether it's helping.[7]
Now put that next to the NHS's everyday guidance. Adults need roughly 270–300mg a day, ideally from food. Taking 400mg or less a day from supplements is unlikely to cause harm; more than 400mg can cause diarrhoea, and there isn't enough evidence on what high doses do over the long term.[8]
In other words, the migraine dose sits above the NHS's comfortable ceiling. That's exactly why it's a decision to make with your GP or headache specialist rather than off the back of a blog post, ours included. They can weigh it against your kidneys, your other medicines and the treatments that have stronger evidence. The same leaflet flags that magnesium can blunt some antibiotics, so those need spacing apart, and that anyone on blood pressure medicines or muscle relaxants should check first.[7]
Form matters a little here too. The 1996 trial used a citrate form, which is generally well absorbed. If you're curious how citrate compares with other forms, we've broken that down in magnesium glycinate vs magnesium citrate.
What magnesium is actually authorised to do
Under UK and EU nutrition law, magnesium has a solid list of approved claims, including that it contributes to the normal functioning of the nervous system, normal muscle function, normal psychological function and the reduction of tiredness and fatigue. Vitamin B6 shares the nervous system and tiredness claims.[9] Migraine isn't on that list, and no supplement can say it prevents or treats migraine. That's the right line, and we'll stay on it.
Where a daily magnesium does make sense is the everyday version of the story: topping up a diet that may be running short, for the jobs magnesium is recognised for. If that's what you're after, look for a format that keeps you within the NHS's 400mg line, tells you the elemental magnesium per tablet (not just the compound weight), and includes citrate.
That's the bar our Magnesium Complex is built to. Each tablet carries 150mg of elemental magnesium from citrate and oxide, plus 2.5mg of vitamin B6, so the suggested two a day gives you 300mg. That's a daily-intake dose, not the 600mg used in migraine trials, and we'd rather say so plainly.
If you want to try it, do it properly
Keep a headache diary for a month before you change anything, so you've got a real baseline rather than a vague sense of "worse lately". Talk to your GP about whether a higher dose is right for you. Then give it the full stretch: the Migraine Trust notes it can take up to three months to see the full benefit of a supplement.[3] If nothing has shifted by then, that's useful information too.
And don't let a supplement sit in place of a proper review. The NHS says to see a GP if your attacks are getting worse or lasting longer, or if they're happening more than once a week.[1] The gold standard here isn't a single pill. It's knowing your pattern well enough to judge what's actually changing it.
Frequently asked questions
How long does magnesium take to work for migraine?
In the 1996 trial, the clearest difference showed up in weeks 9 to 12, and NHS clinic guidance suggests three to four months at the trial dose before judging it. If you're splitting your daily magnesium, our guide to the best time to take magnesium covers timing and spreading the dose.
How much magnesium was used in migraine studies?
The most-quoted trial used 600mg a day as trimagnesium dicitrate. That's above the 400mg a day the NHS says is unlikely to cause harm from supplements, so talk to your GP before taking that much.
Does magnesium cause side effects?
The most common is diarrhoea. In the 1996 trial, 18.6% of people taking 600mg a day reported it, and the NHS notes that more than 400mg can cause it. Magnesium can also reduce the absorption of some antibiotics, so a pharmacist can advise on spacing.
Is magnesium or vitamin B2 better for migraine?
Neither has been compared head to head in the sources here. Vitamin B2 is the one the NHS and NICE mention for migraine prevention; magnesium is rated "possibly effective" in a 2018 review, with a 2019 meta-analysis calling its benefit unknown. Your GP can help you decide.
Sources
- NHS — Migraine: prevention options (including vitamin B2), triggers and when to see a GP. https://www.nhs.uk/conditions/migraine/
- NICE CG150 — Headaches in over 12s, patient information: riboflavin for reducing migraine. https://www.nice.org.uk/guidance/cg150/ifp/chapter/treatments-for-migraine
- The Migraine Trust — Non-drug treatments factsheet: common supplements, limited evidence, up to three months to see benefit. https://migrainetrust.org/wp-content/uploads/2025/03/Non-drug-treatments-factsheet.pdf
- Peikert A, Wilimzig C, Köhne-Volland R. Prophylaxis of migraine with oral magnesium. Cephalalgia 1996;16(4):257–63 — 600mg trimagnesium dicitrate, attack frequency and side effects. https://pubmed.ncbi.nlm.nih.gov/8792038/
- von Luckner A, Riederer F. Magnesium in migraine prophylaxis — is there an evidence-based rationale? A systematic review. Headache 2018;58(2):199–209 — Grade C, "possibly effective". https://pubmed.ncbi.nlm.nih.gov/29131326/
- Vitamins and minerals for migraine prophylaxis: a systematic review and meta-analysis. Canadian Journal of Neurological Sciences 2019;46(2):224–233 — magnesium severity result and evidence strength. https://pubmed.ncbi.nlm.nih.gov/30764890/
- Sandwell and West Birmingham NHS Trust — The use of nutriceutical (herbal) treatments in migraine: 600mg dose, 3–4 months, antibiotic and medicine interactions. https://www.swbh.nhs.uk/wp-content/uploads/2022/10/The-use-of-Nutriceuticals-Herbal-ML6783.pdf
- NHS — Vitamins and minerals: others (magnesium daily needs; 400mg or less from supplements; diarrhoea above 400mg). https://www.nhs.uk/conditions/vitamins-and-minerals/others/
- Regulation (EU) No 432/2012 (as retained in UK law) — authorised health claims for magnesium and vitamin B6. https://www.legislation.gov.uk/eur/2012/432/annex
At Oxford Origins, your wellbeing is our priority, and although we pride ourselves on our expertise in nutrition and supplementation, it's important to acknowledge the individuality of each person. Articles published by Oxford Origins are not intended to treat, diagnose, cure or prevent any disease, or replace the advice of your GP. We always recommend consulting with a healthcare provider if you encounter any health concerns, and we'll always be here to support you so you're never alone on your journey.















