Supplements for migraine

Magnesium, riboflavin and vitamin D for migraine: what the evidence supports

Dark and reflective portrait of a man wearing eyeglasses in a dimly lit room, capturing thoughtful expression.

Magnesium, riboflavin and coenzyme Q10 have the longest track record in migraine prevention among supplements. Vitamin D is a different case. It is worth measuring and worth correcting if low. It is not worth taking blind.

Graded honestly, because supplement advice in headache is usually handed out as one flat list. Nothing says which items carry weight. That is why people give up on all of them at once.

Does magnesium help migraines?

The clearest evidence is in migraine with aura and in people who are truly deficient. It is inexpensive, widely available and generally well tolerated. For most people, the effect that limits the dose is loose stools. That varies a lot by salt form.

It is also used intravenously (by IV) as part of acute treatment for some attacks — see IV migraine therapy. That is a different use from a daily supplement by mouth.

Does riboflavin (vitamin B2) help migraines?

It has long been used in migraine prevention, at doses well above what food provides. It is cheap and safe. The main visible effect is bright yellow urine, which is harmless. Like the others it takes weeks to months. It is judged against a diary rather than an impression.

Does CoQ10 help migraines?

Also used for prevention, on similar evidence and a similar timescale. Cost is the main practical concern.

Does vitamin D help migraines?

Low vitamin D is consistently associated with migraine across observational studies. Supplement trials paint a weaker and less consistent picture. Several show a drop in headache frequency, and others show little. The clearest benefit tends to appear in people who were truly deficient to begin with.

The sensible reading is to measure it rather than guess, and to correct a real deficiency. That is worth doing for reasons beyond headache anyway. Supplementing an already-normal level in the hope of a headache benefit is not supported by the evidence.

Note the line being drawn here. An association between low levels and a condition does not establish that raising the level treats the condition. That is a common and expensive mistake in supplement marketing.

How do I know if a migraine supplement is working?

  • One at a time. Starting three together means learning nothing about any of them.
  • Give it eight to twelve weeks. None of these acts quickly.
  • Count on paper. Headache days per month before and after, not a general sense of improvement.
  • Expect a reduction, not an end. A meaningful result is fewer days, not zero.

The thing that outweighs all of them

Are you treating headache on more than about ten days a month? Then that is the main thing driving your frequency, and no supplement will outrun it. Address medication-overuse headache first. Then judge whether anything else is working.

Aerobic exercise, by the way, has better trial evidence in migraine prevention than any supplement on this page. Regular and moderate beats occasional and hard. See headache prevention.

Common questions

Which magnesium should I take?

Salt form mainly affects how well you tolerate it, not how well it works. The citrate and glycinate forms are usually better tolerated than oxide. Start low, since loose stools are the common effect that limits the dose. See headache prevention.

Should I just take a high dose of vitamin D to be safe?

No. Vitamin D is fat-soluble, and too much is not harmless. Measure the level, correct a real deficiency, and recheck — see headache prevention.

Can I take these with my prescribed migraine medication?

Usually. But tell us what you are taking so we can check interactions and avoid doubling up on ingredients. Bring the actual bottles — contact us.

How will I know if it’s working or just a good month?

You will not, without a written count. Migraine frequency shifts month to month for reasons unrelated to treatment. That is exactly why a diary matters more here than gut feeling. See headache prevention.

Can low vitamin D cause migraines?

Low vitamin D is consistently associated with migraine in observational studies. But an association does not prove that raising the level treats migraine. Supplement trials are mixed. The clearest benefit shows in people who were truly deficient. Measure your level, correct a real deficiency, and recheck rather than taking vitamin D blind. See headache prevention.

What is the best supplement for migraine prevention?

Magnesium, riboflavin and coenzyme Q10 have the longest track record among supplements. Each takes weeks to months. Two things outrank all of them. The first is stopping medication overuse if you treat headache on more than about ten days a month. The second is regular moderate aerobic exercise, which has better trial evidence in migraine prevention than any supplement. See medication-overuse headache.

Does riboflavin have side effects?

Riboflavin is cheap and safe at the doses used for migraine prevention. The main visible effect is bright yellow urine, which is harmless. Like the other supplements it acts slowly. Give it eight to twelve weeks and judge it against a written headache diary rather than an impression. See chronic vs episodic migraine.

Can magnesium be given by IV for a migraine attack?

Yes. Magnesium is used intravenously as part of acute treatment for some attacks, as one piece of IV migraine therapy. That is a different use from a daily supplement by mouth, which works slowly as prevention. The IV treatment is aimed at an attack that is already underway. See when a migraine will not break.

Magnesium, riboflavin and vitamin D belong to prevention, not to rescuing a migraine already underway. For the attack itself, see migraine care in St. Louis; for the daily plan, headache prevention.

Sources

  1. Chiu HY, Yeh TH, Huang YC, et al. Effects of Intravenous and Oral Magnesium on Reducing Migraine: A Meta-analysis of Randomized Controlled Trials. Pain physician, 2016. PMID 26752497. pubmed.ncbi.nlm.nih.gov
  2. Schoenen J, Jacquy J, Lenaerts M. Effectiveness of high-dose riboflavin in migraine prophylaxis. A randomized controlled trial. Neurology, 1998. PMID 9484373. pubmed.ncbi.nlm.nih.gov
  3. Sándor PS, Di Clemente L, Coppola G, et al. Efficacy of coenzyme Q10 in migraine prophylaxis: a randomized controlled trial. Neurology, 2005. PMID 15728298. pubmed.ncbi.nlm.nih.gov
  4. Hu C, Fan Y, Wu S, et al. Vitamin D supplementation for the treatment of migraine: A meta-analysis of randomized controlled studies. The American journal of emergency medicine, 2021. PMID 34879503. pubmed.ncbi.nlm.nih.gov