Vitamin B2 (riboflavin) does appear to help prevent migraines, and it’s one of the better-studied supplements for that purpose. In the most cited clinical trial, 400 mg of riboflavin daily for three months reduced migraine frequency significantly, with 59% of participants experiencing at least a 50% drop in attacks, compared to just 15% on placebo. The Canadian Headache Society recommends it as a preventive option, and its safety profile is excellent. That said, the evidence is stronger for adults than for children, and it takes patience to see results.
How Riboflavin Works Against Migraines
Migraine brains appear to have a problem with energy production. Specifically, the mitochondria, the structures inside cells that generate energy, don’t function as efficiently in people who get migraines. This creates a buildup of oxidative stress and triggers inflammatory pathways that can set off an attack.
Riboflavin plays a direct role in mitochondrial energy production. It helps stabilize mitochondria so they produce less of the damaging molecules (called reactive oxygen species) that fuel inflammation. It also supports the body’s own antioxidant defenses, particularly by helping recycle glutathione, one of the most important protective molecules in cells. In animal studies, riboflavin deficiency raises markers of oxidative damage, and supplementation brings them back down. The net effect is that riboflavin calms two of the key drivers behind migraine attacks: mitochondrial dysfunction and neuroinflammation.
What the Clinical Evidence Shows in Adults
The landmark trial enrolled 55 migraine patients and randomized them to either 400 mg of riboflavin daily or a placebo for three months. Riboflavin significantly reduced both attack frequency and the total number of headache days. The “responder” rate tells the clearest story: 59% of people taking riboflavin saw their migraine frequency cut in half or more, versus 15% on placebo. The number needed to treat was 2.3, meaning for roughly every two or three people who try it, one will get a meaningful benefit. That’s a strong result for a supplement with virtually no side effects.
These findings have been supported by subsequent studies and reviews, though the overall body of evidence is considered moderate rather than robust. Most trials have been small. Still, the consistency of the signal, combined with the favorable safety profile, is why major headache organizations include riboflavin in their prevention guidelines.
Dosage and How Long to Wait
The standard dose used in adult migraine prevention is 400 mg per day, taken as a single dose. This is far above the recommended daily allowance for riboflavin (which is only about 1.1 to 1.3 mg), but it’s considered safe even at this level. No upper limit has been established because no adverse effects from 400 mg daily for three months or longer have been reported.
The most important thing to know about timing: riboflavin is not a fast fix. You need to take it consistently for at least three months before judging whether it’s working. Most prevention trials use a three-month minimum, and some experts suggest waiting even longer. If you stop after a few weeks because nothing has changed, you haven’t given it a fair trial.
One quirk of riboflavin is that your body can only absorb a limited amount at once. The intestinal transport system for riboflavin gets saturated, which is part of why high doses are so safe: the excess simply isn’t absorbed. Some people split the dose into two servings (200 mg twice a day), though the major trials used a single daily dose of 400 mg.
Side Effects Are Minimal
Riboflavin has an unusually clean safety profile. The most noticeable effect is bright yellow or orange urine, which is harmless and simply reflects the excess water-soluble vitamin being excreted. Some people also report mild digestive discomfort, but this is uncommon. No clinically relevant drug interactions have been identified, so it’s generally safe alongside other medications. Because the body doesn’t store excess riboflavin in meaningful amounts, toxicity is essentially a non-issue.
The Evidence Is Weaker for Children
If you’re looking into riboflavin for a child with migraines, the picture is less encouraging. One retrospective study of 41 Italian children (ages 8 to 18) given 200 to 400 mg daily did show reduced migraine frequency, particularly in children under 12. However, two randomized, placebo-controlled trials found no significant benefit.
In one, 48 Australian children ages 5 to 15 took 200 mg daily for 12 weeks with no difference in attack frequency or severity compared to placebo. In another, 42 Dutch children ages 6 to 13 took just 50 mg daily for 16 weeks, and again there was no meaningful difference in frequency, duration, or severity. The lower dose in the Dutch study may partly explain the null result, but overall, the controlled evidence doesn’t support the same confidence as in adults. Doses studied in children range from 50 to 400 mg per day, and if it’s tried, a minimum of four months is recommended before evaluating results.
Combining B2 With Other Supplements
You’ll often see riboflavin bundled with magnesium and coenzyme Q10 (CoQ10) in migraine supplement formulas. All three target mitochondrial function or energy metabolism, so the logic behind combining them makes sense biologically. Some open-label trials have shown promising results with these combinations. However, no large, well-designed studies have directly compared riboflavin alone versus riboflavin combined with magnesium or CoQ10. The evidence supporting these combinations is still preliminary, and it’s difficult to separate the individual contribution of each ingredient.
That said, both magnesium and CoQ10 have their own independent (if modest) evidence bases for migraine prevention. If you’re building a supplement strategy, starting with riboflavin at 400 mg is reasonable as a first step, then adding other supplements if needed. This makes it easier to identify what’s actually helping.
What to Realistically Expect
Riboflavin is a preventive tool, not an acute treatment. It won’t stop a migraine that’s already happening. Its role is to reduce how often attacks occur over time. Based on the best available data, roughly six out of ten adults who take 400 mg daily will see their migraine frequency drop by at least half after three months. That’s a genuine benefit, but it also means about four out of ten won’t respond. Riboflavin works best as part of a broader prevention approach rather than a standalone solution, and its low cost and excellent safety make it a reasonable first option to try before or alongside other preventive strategies.

