VitMode

Riboflavin (Vitamin B2) and Migraine — What Does the Meta-Analysis Show?

Magnesium isn't the only supplement with meaningful scientific backing for migraine prevention. Riboflavin, vitamin B2, works through a completely different mechanism — not neurotransmission and vascular tone, but supporting the energy metabolism of nerve cells. A 2022 meta-analysis of nine studies and 673 participants shows that supplementing 400 mg of riboflavin daily for three months significantly reduced the number of migraine days, attack duration, frequency, and pain intensity. In this article we examine exactly what these results mean, how strong the evidence is, and why riboflavin is a separate, complementary option to magnesium rather than a substitute for it.

AKdr Anna KowalczykAugust 27, 202611 min read
Table of contents

Migraine is more than a bad headache

Migraine is a neurological disease that can knock someone out of daily functioning for hours at a time, and with chronic migraine, for many days a month. Recurring attacks, often accompanied by heightened sensitivity to light and sound, nausea, or visual aura, have a real impact on work, relationships, and quality of life, not just on how someone feels on a given day. This is exactly why, alongside acute treatment of a single attack, so much weight is placed on prevention — interventions meant to reduce the frequency and severity of attacks over the long term, rather than relieve them once they've already started.

This distinction is crucial and easy to confuse. Acute treatment (e.g., triptans, nonsteroidal anti-inflammatory drugs) works during an ongoing attack and aims to relieve pain as quickly as possible. Prevention works quite differently — it's taken regularly, for weeks or months, regardless of whether an attack is currently happening, and its goal is to reduce the number of future episodes. Riboflavin, like magnesium, which we cover in a separate article on magnesium and migraine, belongs to this second category — it won't help during an ongoing attack, but with regular use it may reduce how often and how severely migraine returns at all.

This is a separate topic from magnesium and migraine

Our article on magnesium and migraine discusses a different supplement working through a different mechanism — magnesium affects nerve transmission and blood vessel tone. Riboflavin works at the level of nerve cell energy metabolism. These aren't competing, mutually exclusive options, but two independently studied preventive interventions worth knowing about separately.

Why vitamin B2 specifically — the mitochondrial mechanism

Riboflavin (vitamin B2) is a precursor of two key coenzymes — FAD (flavin adenine dinucleotide) and FMN (flavin mononucleotide) — essential in the mitochondrial respiratory chain, the process by which cells produce energy in the form of ATP. The hypothesis behind using riboflavin in migraine assumes that some migraine patients experience transient dysfunction of energy metabolism in the mitochondria of brain neurons — nerve cells at certain moments have a reduced ability to efficiently produce energy, which may lower the excitability threshold and favor triggering a migraine attack.

This is a completely different point of intervention than magnesium, which affects nerve transmission, blood vessel function, and inflammatory processes instead. Riboflavin, by supplying substrate for FAD and FMN production, is theorized to improve the energy capacity of neuronal mitochondria and thereby reduce the frequency of situations that trigger an attack. This is still a mechanistic hypothesis, supported indirectly by imaging studies suggesting disturbances in brain energy metabolism in some migraine patients, rather than a fully proven, unambiguous cause-and-effect chain.

A different mechanism than magnesium — not competition, just a different route

Magnesium works mainly at the level of nerve transmission and vascular tone. Riboflavin works at the level of mitochondrial energy metabolism. Someone looking for migraine prevention doesn't have to choose between them as competing options — they're rather two independent interventions, working through different routes, each with its own documented scientific support.

What the 2022 meta-analysis shows

The paper by Chen and colleagues, published in 2022 in the journal Nutritional Neuroscience, is a systematic review and meta-analysis evaluating the effect of riboflavin supplementation on migraine prevention.

Effect of Vitamin B2 supplementation on migraine prophylaxis: a systematic review and meta-analysis

Moderate evidence

Chen YS, Lee HF, Tsai CH, Hsu YY, Fang CJ, Chen CJ, Hung YH, Hu FW · Nutritional Neuroscience · 2022

The meta-analysis covered nine studies (eight randomized controlled trials and one controlled clinical trial) with a combined total of 673 participants. Vitamin B2 supplementation significantly reduced the number of migraine days (p=0.005; I²=89%), attack duration (p=0.003; I²=0%), attack frequency (p=0.001; I²=65%), and pain intensity (p=0.015; I²=84%) compared with the control group. A dose of 400 mg of riboflavin daily taken for three months was associated with significant improvement across all four evaluated parameters.

View study

An effect seen across four different dimensions at once

Moderate evidence

The fact that the effect was statistically significant simultaneously for the number of migraine days, duration, attack frequency, and pain intensity — not just one selected parameter — increases confidence in the conclusion. At the same time, the high heterogeneity (I²) in some of the analyses — especially for migraine days (89%) and pain intensity (84%) — means the component studies differed enough that the pooled result should be treated as an averaged signal, not a precise, uniform measure of effect.

What high heterogeneity (I²) means in this meta-analysis

The I² statistic tells you how much of the variability in results across component studies comes from genuine methodological differences (dose, duration, patient population, measurement method) rather than random chance. Values above 75% are generally considered high heterogeneity. In this meta-analysis, migraine days (I²=89%) and pain intensity (I²=84%) showed exactly that kind of high heterogeneity, while attack duration (I²=0%) was very consistent across studies on that measure.

In practice, this means the effect of riboflavin isn't uniform across all component studies — some may have shown a stronger effect, others a weaker one, depending on differences in study design. This doesn't undermine the direction of the conclusion (improvement compared with the control group), but it warns against treating the reported p-values as a precise, unambiguous measure of exactly how many attacks or migraine days a given person will lose.

Myth

Riboflavin for migraine is an obscure, poorly studied supplement without real scientific support.

Fact

The 2022 meta-analysis, covering nine studies (including eight RCTs) and 673 participants, shows statistically significant improvement across four different migraine parameters at a dose of 400 mg daily for three months. This doesn't prove riboflavin will help every person with migraine, but it moves the topic from the level of a single anecdote to the level of a pooled, repeatedly observed clinical finding.

Limitations worth keeping in mind

What this meta-analysis doesn't prove

Nine studies and 673 participants is a solid but still limited evidence base — smaller than for some other preventive interventions in migraine. High heterogeneity in some of the analyzed parameters (I²=89% for migraine days, I²=84% for pain intensity) means the component studies differed methodologically enough that the pooled result is an average, not a precise measure of effect. The meta-analysis covered mainly a dose of 400 mg daily for three months — there's no solid data comparing other doses or shorter treatment periods within this same body of work. The results also reflect a group-level effect, not a guarantee of response in every individual patient — some people with migraine may not respond to supplementation at all.

What this means in practice

Practical takeaways from the Chen et al. meta-analysis

  • The studied dose is 400 mg of riboflavin daily taken for at least three months — shorter periods weren't the subject of this meta-analysis
  • Riboflavin is a preventive intervention, not an acute one — it won't relieve an ongoing migraine attack, it works only with regular, long-term use
  • Don't expect an immediate effect — improvement in the component studies was typically assessed after several weeks to three months of supplementation, not after a few days
  • This is a separate intervention from magnesium — both have independent scientific support and different mechanisms, so choosing one doesn't rule out considering the other
  • The decision to supplement, especially with chronic migraine or frequent, severe attacks, is worth discussing with a neurologist, including in the context of possibly combining it with other preventive medications or supplements

In practice, this means someone dealing with recurring migraine, looking for a preventive option with a well-documented, mild safety profile, has in riboflavin another path independent of magnesium, backed by repeated clinical trial results — not a miracle cure, but a real option worth considering together with a doctor.

Practical summary

QuestionShort answer
Does riboflavin reduce migraine symptoms?Yes, according to a meta-analysis of 9 studies (673 people) — significant improvement in migraine days, attack duration, frequency, and pain intensity
What dose was studied?400 mg daily for three months in most component studies
Will it help during an ongoing attack?No — it's a preventive intervention, working only with regular, long-term use
Is it a substitute for magnesium in migraine prevention?No — it's a separate intervention with a different mechanism (mitochondrial energy metabolism, not neurotransmission)
How strong is the evidence?Moderate — a consistent direction of effect across four parameters, but limited by the number of studies and high heterogeneity in some results

Riboflavin and migraine at a glance

Our editorial recommendation

Riboflavin isn't as widely known in the migraine context as magnesium, but the evidence behind it is concrete and repeatable — nine clinical studies showing a consistent direction of effect across four different migraine parameters is more than a single, isolated observation. This is still moderate-strength evidence, limited by the size of the study base and heterogeneity in some results, but sufficient to treat riboflavin as a real, worthwhile preventive option, not a curiosity on the supplement shelf.

If you're dealing with recurring migraine and looking for a preventive option with a well-documented, mild safety profile, riboflavin — alongside magnesium — is one of the few supplemental interventions backed by a meta-analysis rather than a single, small study. The decision on dosing and possibly combining it with other prevention methods is worth discussing with a neurologist, especially if the migraine is chronic or the attacks are frequent and severe.

Riboflavin rarely makes the front page of the migraine conversation, and yet it has nine clinical studies behind it showing the same direction of effect. This is exactly the kind of quiet, well-documented option worth asking about before reaching for another supplement without that kind of backing.

Dr. Anna Kowalczyk, VitMode editorial team

Frequently asked questions

Most of the studies covered by the Chen et al. meta-analysis assessed a dose of 400 mg daily taken for at least three months. There's no solid data from this meta-analysis comparing the effectiveness of lower doses or shorter supplementation periods.

No — riboflavin is a preventive intervention, not an acute one. It works with regular, long-term use, reducing the frequency and severity of future attacks, rather than relieving pain during an episode already underway.

No — these are two separate interventions with different mechanisms of action. Magnesium affects nerve transmission and blood vessel tone, while riboflavin affects the energy metabolism of neuronal mitochondria. We write more about magnesium in our article on magnesium and migraine — these are complementary, not competing, options.

The component studies in the meta-analysis typically assessed the effect after up to three months of regular supplementation, not after a few days. Patience is key here — lack of immediate improvement after a week doesn't yet mean the intervention isn't working.

High heterogeneity, seen especially for the number of migraine days (I²=89%) and pain intensity (I²=84%), means the nine component studies differed methodologically — in patient population, exact protocol, or how symptoms were measured. This doesn't undermine the direction of the conclusion, but it suggests caution about treating the result as a single, precise number.

Riboflavin is a water-soluble vitamin, generally considered safe even at the doses used in studies (400 mg daily), with excess typically excreted in urine. The Chen et al. meta-analysis focused on effectiveness rather than a detailed safety analysis, so with coexisting conditions or other medications it's worth discussing supplementation with a doctor.

Both supplements have independent scientific support and work through different mechanisms, so in theory combining them isn't contradictory. The Chen et al. meta-analysis, however, didn't directly evaluate such a combination, so it's best to discuss combining both interventions with a neurologist rather than assuming the effects will simply add up.

Sources

AK

dr Anna Kowalczyk

PhD in Molecular Biology (University of Warsaw), 8 years researching cellular aging

Anna oversees the editorial process and scientific review of every publication in the knowledge base. She previously researched autophagy and mitochondrial biology.

Related articles

Kobieta trzymająca się za skronie, objawy silnego bólu głowy

Migraine and Magnesium: Does Supplementation Really Prevent Attacks?

Magnesium for migraine gets recommended almost reflexively, somewhere between grandma's advice and "just in case" supplementation — but this time there's more behind the recommendation than tradition. A fresh 2025 dose-response meta-analysis, covering 22 randomized trials, shows that magnesium supplementation reduced migraine attack frequency by an average of 2.51 episodes per month versus placebo, while also reducing pain severity and the number of migraine days per month. That result is comparable to, and in some respects better than, other well-known preventive interventions like CoQ10 or vitamin D. In this article, we look closely at what these numbers show, how they stack up against other supplements tested in the same study, and why this is a different topic from our article on magnesium and sleep quality — despite sharing the same mineral, the mechanism and clinical context are entirely separate.

12 min

August 24, 2026

Lekarz notujący szczegóły podczas konsultacji pacjenta w gabinecie

TRT or Lifestyle Change? What Actually Raises Testosterone Before You Consider Therapy

Before considering testosterone replacement therapy, it's worth checking how much sleep, training, and fat loss can realistically achieve — and when these interventions genuinely aren't enough.

7 min

July 29, 2026

Bogaty wybór świeżych składników na stole — różnorodność zdrowych opcji żywieniowych

Keto, DASH, or Mediterranean? Which Approach Has the Strongest Evidence for Weight Loss

We compare three popular eating patterns based on real scientific evidence — not social media popularity — to help you choose the approach that fits your goal.

8 min

July 31, 2026

Rzędy probówek z próbkami krwi w stojaku laboratoryjnym

5 Biomarkers Worth Knowing Before 40 — Signals Before Symptoms Appear

A standard "once-a-year blood count" often misses early signs of metabolic and hormonal issues. Here are five markers worth asking your doctor about, before anything starts to hurt.

7 min

August 1, 2026

Comments (2)

  • KW

    Kasia W. 2 weeks ago

    Very clearly explained, especially the interactions section — I hadn't seen it laid out this well anywhere else.

  • MT

    Marek T. a month ago

    Are you planning to update this with the newest study from this year? I saw an interesting meta-analysis.