Vitamins and Supplements for Migraine Prevention: What a 20-Trial Network Meta-Analysis Found
A new network meta-analysis of 20 double-blind trials ranks vitamins and supplements for migraine prevention. Riboflavin 400 mg had the most reliable evidence, and magnesium showed no benefit.
On this page · 7 sections
Why This Review Matters
Riboflavin, magnesium, coenzyme Q10 (CoQ10), and vitamin D are some of the most common things people with migraine try for prevention. They are inexpensive, sold without a prescription, and often suggested by doctors for people who cannot take or do not want prescription preventives. The problem has been that each supplement was usually tested against placebo on its own, so there was no clean way to compare them with each other.
A new review in Headache tried to fix that. The authors pulled together only double-blind randomized trials and used a network meta-analysis, a method that lets treatments be compared indirectly even when no trial tested them head to head. They also graded how much confidence to place in each result.
If you want background on the individual products first, our evidence-based guide to migraine nutraceuticals and herbal options covers each one in more detail.
How the Study Was Done
The team searched six databases, including PubMed, Embase, and the Cochrane trial register, for double-blind randomized trials of vitamins or nutraceuticals used to prevent migraine in adults or children. The review was registered in advance on PROSPERO.
The main outcome was the number of migraine attacks per month. Secondary outcomes included the share of people whose attacks dropped by at least half (the 50% responder rate), attack length, pain severity, and migraine days. Adult and pediatric trials were kept apart so that results in children would not be mixed into the adult estimates.
Each result was rated with CINeMA, a version of the GRADE system built for network meta-analyses. A "moderate" rating means the true effect is probably close to the estimate. "Low" or "very low" means the true effect could be very different, usually because the estimate rests on one or two small trials.
What They Found
All results below are compared with placebo. A mean difference of -1.95 means about two fewer attacks per month than people taking placebo, not two fewer than before treatment.
| Supplement and Dose | Main Finding (Adults) | Certainty | What It Rests On |
|---|---|---|---|
| Riboflavin (vitamin B2) 400 mg | About 1.95 fewer attacks per month | Moderate | The most consistent result in the review |
| Vitamin B12 500 µg | About 2.50 fewer attacks per month | Low to very low | A single small trial |
| Vitamin B6 80 mg | About 2.33 fewer attacks per month | Low to very low | A single small trial |
| Vitamin D3 | About 2.29 fewer attacks per month | Low to very low | Two small trials |
| CoQ10 300 mg | Higher odds of a 50% response (odds ratio 4.83) | Very low | Wide uncertainty; the only significant responder result in adults |
| CoQ10 400 mg | Attacks about 3.3 hours shorter, with lower pain severity | Low | Downgraded for imprecision |
| Magnesium | No benefit detected on any outcome | Not applicable | Had the highest share of side effects, reported descriptively only |
Riboflavin had the most reliable result
Riboflavin at 400 mg a day was the only supplement with a frequency benefit backed by moderate-certainty evidence. The 400 mg dose is the one used in a 1998 Belgian randomized trial that helped establish riboflavin for migraine prevention. Lower doses of 100 mg and 200 mg did not contribute any adult attack-frequency data, and an earlier signal for 200 mg came from a trial in children.
Vitamins B12, B6, and D3
Vitamins B12, B6, and D3 had larger point estimates than riboflavin. Those numbers come from one or two small trials each, so the confidence intervals are wide and the certainty is low. Small trials tend to overestimate benefit, and these results need larger studies before anyone can rank them above riboflavin.
CoQ10 may help attacks more than frequency
CoQ10 did not show a clear effect on how often attacks happen. At 400 mg it was linked to shorter and less painful attacks, and at 300 mg it was the only supplement that raised the odds of a 50% response in adults. Both findings carry low or very low certainty. A 2005 trial in Neurology had earlier reported benefit from CoQ10 at 100 mg three times a day, so this review fits with that work while leaving the size of the effect uncertain.
Magnesium did not show a benefit
Magnesium is often the first supplement people are told to try, and this review found no detectable benefit for prevention. The review included three trials of magnesium on its own, all small and all at least 20 years old, and each used a different form. A 1996 German trial in 81 adults gave 600 mg a day of trimagnesium dicitrate and found fewer attacks than placebo. A second 1996 trial in 69 adults used magnesium aspartate and was stopped early because it showed no benefit. A 2003 trial in children used magnesium oxide. None of the trials tested magnesium glycinate, a form many people take today, so this review cannot say whether one form works better than another.
Magnesium also had the highest proportion of side effects, mostly loose stools and diarrhea in the original trials, though the authors note those numbers are descriptive and should not be read as a direct comparison. This finding is about oral magnesium for prevention. It says nothing about intravenous magnesium, which is used in emergency settings for some migraine attacks.
How This Fits With Other Preventives
Two fewer attacks a month relative to placebo is a meaningful change for many people. It is in a similar range to some prescription preventives, but the supplement trials were much smaller and shorter, so the comparison is rough. Our overview of which migraine preventive medications work best and the summary of the new AAN and AHS prevention guideline show where supplements sit next to drugs with much larger trial programs.
Supplement trials are also prone to a strong placebo effect, as our article on placebo response in migraine trials explains. That is why the review only included double-blind, placebo-controlled studies.
- If you want to try one supplement, riboflavin 400 mg daily has the best support in this review.
- Give any preventive about three months before judging it. The preventive response calculator can help you track whether it is working.
- Riboflavin can turn urine bright yellow, which is harmless.
- Supplements can interact with medications and are not all safe in pregnancy at high doses, so check with your doctor or pharmacist first.
- Supplement quality varies. Third-party tested products are more likely to contain the labeled dose.
Limitations
- Several supplements were represented by only one or two small trials, which makes their estimates unstable.
- The network was sparse for the responder outcome, so those results are imprecise.
- Trials differed in length, population, and how attacks were counted.
- Side effect data were too limited for formal comparison between supplements.
- Few trials tested combinations, even though many people take several supplements together.
Key Takeaways
If you are discussing supplements with your doctor, bring a record of your monthly migraine days. Our printable migraine appointment summary sheet makes that easier.
This article is for educational purposes only and does not replace medical advice, diagnosis, or treatment. Talk with your doctor before starting, stopping, or changing any treatment, including vitamins and supplements.
References
- Ahmed M, Aiman U, Kukreja N, et al. Comparative efficacy of vitamins and nutraceuticals for migraine prevention: A systematic review and network meta-analysis of randomized controlled trials. Headache: The Journal of Head and Face Pain. 2026. doi:10.1111/head.70268.
- Schoenen J, Jacquy J, Lenaerts M. Effectiveness of high-dose riboflavin in migraine prophylaxis. A randomized controlled trial. Neurology. 1998;50(2):466-470. doi:10.1212/wnl.50.2.466.
- Sándor PS, Di Clemente L, Coppola G, et al. Efficacy of coenzyme Q10 in migraine prophylaxis: a randomized controlled trial. Neurology. 2005;64(4):713-715. doi:10.1212/01.WNL.0000151975.03598.ED.
- Peikert A, Wilimzig C, Köhne-Volland R. Prophylaxis of migraine with oral magnesium: results from a prospective, multi-center, placebo-controlled and double-blind randomized study. Cephalalgia. 1996;16(4):257-263. doi:10.1046/j.1468-2982.1996.1604257.x.
- Pfaffenrath V, Wessely P, Meyer C, et al. Magnesium in the prophylaxis of migraine: a double-blind placebo-controlled study. Cephalalgia. 1996;16(6):436-440. doi:10.1046/j.1468-2982.1996.1606436.x.
- Wang F, Van Den Eeden SK, Ackerson LM, et al. Oral magnesium oxide prophylaxis of frequent migrainous headache in children: a randomized, double-blind, placebo-controlled trial. Headache: The Journal of Head and Face Pain. 2003;43(6):601-610. doi:10.1046/j.1526-4610.2003.03102.x.





