You may have magnesium in your cabinet for migraines. A new network meta-analysis suggests it may not be the supplement to count on. The same analysis found a much humbler vitamin, riboflavin (B2), with the most dependable evidence for cutting attacks.
The paper, published in Headache (DOI: 10.1111/head.70268), ranked vitamins and nutraceuticals head-to-head for migraine prevention. The results are more nuanced than a simple "supplement X works" story.
What the Researchers Actually Did
The team pooled 20 double‑blind randomized controlled trials (1,829 participants randomized, 1,600 analyzed) in a PROSPERO‑registered network meta‑analysis. A network meta‑analysis lets researchers compare treatments that were never tested directly against each other, by linking them through shared placebo arms.
The main question was monthly migraine attack frequency in adults, which was informed by 10 adult trials. Secondary outcomes included the share of people who cut attacks by at least 50 % ("responders"), attack duration, pain severity, and migraine days. The authors also graded how much confidence to place in each result using the CINeMA framework.
The Headline Finding: Riboflavin 400 mg
In adults, riboflavin 400 mg showed the most reliable reduction in attack frequency. It cut attacks by about 1.95 per month (95 % CI −2.42 to −1.49). The certainty of evidence was moderate, the best rating of any option in the analysis.
Other supplements had bigger point estimates, but they come with major caveats (see below). Riboflavin 400 mg stood out for the consistency and quality of its evidence. The lower riboflavin doses, 100 mg and 200 mg, contributed no adult attack‑frequency data. A previously reported 200 mg signal came from a pediatric trial.
The Bigger Numbers That Deserve Skepticism
Some nutrients looked even stronger on paper:
- Vitamin B12 500 µg: −2.50 attacks per month (95 % CI −4.35 to −0.65)
- Vitamin B6 80 mg: −2.33 attacks per month (95 % CI −4.19 to −0.48)
- Vitamin D3: −2.29 attacks per month (95 % CI −3.03 to −1.54)
Before getting excited, note where these numbers came from. The B12 and B6 estimates each rest on a single small trial. The vitamin D3 estimate comes from two small trials. All three were rated low to very low certainty, and the wide confidence intervals for B12 and B6 show how imprecise they are. A larger effect from a tiny dataset is not the same as a stronger treatment. These are leads for future research, not proven winners.
CoQ10: Interesting, but Handle With Care
Coenzyme Q10 told a different story, with benefits on other outcomes:
- CoQ10 300 mg was the only intervention with a statistically significant advantage for reaching ≥50 % responder status in adults (odds ratio 4.83, 95 % CI 1.17–19.89). The certainty was very low, and the wide interval reflects a sparse, imprecise network.
- CoQ10 400 mg shortened attack duration by about 3.3 hours (95 % CI −5.72 to −0.88; low certainty, downgraded for imprecision).
- CoQ10 400 mg also reduced pain severity (standardized mean difference −0.70, 95 % CI −1.12 to −0.27; low certainty).
CoQ10 may therefore help make attacks shorter and less painful, rather than less frequent. That would be useful, but the evidence is thin. The authors say responder findings in particular should be interpreted cautiously.
The Magnesium Surprise
Magnesium is one of the best‑known supplements for migraine, so this result is the one that may surprise readers most. In this analysis, magnesium showed no detected benefit across outcomes.
The authors also reported that adverse‑event proportions were highest for magnesium. They stress that these figures are descriptive only and not comparative evidence, so they should not be read as proof that magnesium is less safe. "No detected benefit" also doesn't prove magnesium can never help any individual. It means the pooled trials didn't show an effect.
Evidence Ranking at a Glance
Ranked by confidence in the evidence, not by size of effect:
- Riboflavin 400 mg: fewer attacks per month; moderate certainty.
- CoQ10 400 mg: shorter attacks and lower pain severity; low certainty.
- Vitamin D3, B12 500 µg, B6 80 mg: larger frequency reductions, but low to very low certainty from very few small trials.
- CoQ10 300 mg: more responders; very low certainty.
- Magnesium: no detected benefit.
Practical Takeaways
- Doses tested: The strongest evidence is for riboflavin at 400 mg. CoQ10 was examined at 300 mg (responders) and 400 mg (duration and pain severity).
- Know the certainty: Only riboflavin 400 mg reached moderate certainty. Treat the B12, B6, D3 and CoQ10 findings as preliminary.
- Be patient: Preventive approaches generally take weeks to months to show effects, so don't judge a supplement after a few days.
- Expect bright‑yellow urine: Riboflavin commonly turns urine a vivid yellow. This is harmless.
- Keep a diary: Track attack frequency, duration, and severity so you can see whether anything is working.
- Talk to a doctor: If you have frequent migraines, discuss prevention options with a clinician before starting supplements, especially if you already take other medications, are pregnant, or have other health conditions.
The Fine Print
The authors say their conclusions must be interpreted cautiously. Several comparisons were informed by only a few studies, and responder estimates were imprecise. Pediatric trials were summarized separately from the adult network. The authors call for larger, standardized, adequately powered trials to confirm which options truly work best and how safe they are.
For now, the takeaway is measured: among the supplements tested, riboflavin 400 mg has the most reliable evidence for fewer migraine attacks in adults, CoQ10 may help with attack length and pain, and magnesium did not show a detectable benefit in this analysis.