25% off your first order of MightyFree shipping on subscriptions and a 90-day money-back guarantee. Shop Mighty

Vitamin D for migraine: how did 6 headache days a month become 3?

Laila Z.Nov 17, 2026 · 4 min read

So, does vitamin D actually do anything for migraine? My husband and I make a supplement for people with migraine and vitamin D is in it, so I'd better have a real answer. Mine starts with a study where people took vitamin D every day and went from about 6 headache days a month to about 3.

There's something odd, though. In 2012, the American Academy of Neurology and the American Headache Society published a guideline: they read the research on migraine prevention and rated each option by how well it held up. Riboflavin, which is vitamin B2, and magnesium were both rated "probably effective." Vitamin D isn't in their summary of ratings at all. I wanted to know why, and the answer turned out to be a date. I'll get to it right after the study.

On vitamin D3, about 6 headache days a month became about 3

In 2019, a team of researchers ran a trial, the kind of study where one group takes the real thing and another takes a look-alike. They had two groups of 24 adults with migraine. One group took 100 micrograms a day of vitamin D3, the form of vitamin D in supplements like ours (micrograms are the "mcg" you see on a label). The other group took a placebo, a pill with nothing active in it. It ran for 24 weeks, and neither the people taking the pills nor the researchers knew who had which, so nobody's hopes could tilt the results.

The vitamin D3 group started at about 6 headache days a month and finished at about 3. The placebo group started at nearly 6 as well and finished at nearly 5. No side effects were reported, and this is the researchers' own conclusion:

"D3-Vitamin was superior to placebo in reducing migraine days in migraine patients."

That's a clear result. So why didn't the guideline rate it?

The 2012 guideline only read studies up to May 2009

Here's the date. The panel behind that guideline reviewed studies published between June 1999 and May 2009, and the trial I just told you about came out in 2019, a decade after they'd stopped reading. The panel couldn't have read it. And the trials kept coming.

In 2020, a second trial gave 80 people with migraine either vitamin D3 or a placebo for 12 weeks. This one gave 2,000 IU a day. IU means international units, a second way labels write the same amount, and 2,000 IU is 50 mcg. At the end of the 12 weeks, the people on vitamin D3 had:

  • fewer headache days a month, under 5 compared with more than 6 on placebo
  • shorter attacks, about 13 hours each compared with about 18
  • less severe pain during an attack

Two trials pointing the same way is good, and a year later there were enough of them to add together.

Across 5 trials, fewer headache days and fewer attacks

In 2021, researchers combined the results of five trials that tested vitamin D against a placebo in people with migraine. Across the five, vitamin D came with fewer headache days, fewer attacks, less severe pain, and a better score on a questionnaire that measures how much migraine gets in the way of daily life. Their conclusion was one line: "Vitamin D treatment is effective to alleviate migraine." Now for how much, because the two trials I walked you through didn't give the same amount.

Mighty has 63 mcg, between the two trial doses

Mighty is the supplement my husband and I make, and it has 63 mcg of vitamin D3 in its one morning dose, which is 2,500 IU. The 2019 trial gave 100 mcg a day and the 2020 trial gave 50 mcg, so our amount sits between the two, closest to the 2020 one.

So yes, vitamin D has been tested for migraine, and in one of those trials, people taking vitamin D3 went from about 6 headache days a month to about 3.

Do you take vitamin D, and did anyone ever tell you it had anything to do with migraine? Tell us in the comments.

Sources

  1. Gazerani P, Fuglsang R, Pedersen JG, et al. A randomized, double-blinded, placebo-controlled, parallel trial of vitamin D3 supplementation in adult patients with migraine. Current Medical Research and Opinion, 2019 PubMed 30182753
  2. Holland S, Silberstein SD, Freitag F, et al. Evidence-based guideline update: NSAIDs and other complementary treatments for episodic migraine prevention in adults. Neurology, 2012 PubMed 22529203
  3. Ghorbani Z, Togha M, Rafiee P, et al. Vitamin D3 might improve headache characteristics and protect against inflammation in migraine: a randomized clinical trial. Neurological Sciences, 2020 PubMed 31897949
  4. Zhang YF, Xu ZQ, Zhou HJ, et al. The Efficacy of Vitamin D Supplementation for Migraine: A Meta-Analysis of Randomized Controlled Studies. Clinical Neuropharmacology, 2021 PubMed 33449474
A jar of Mighty with its golden capsules
25% off your first order

Try Mighty risk-free for 90 days

The 13-in-1 migraine supplement, in four capsules every morning. If it isn't right for you, you get your money back.

Get 25% off Mighty Free shipping on subscriptions ✦ Cancel anytime

Do you take vitamin D, and did anyone ever tell you it had anything to do with migraine?

Your name shows with your comment. Your email stays private.