Skip to main content

Riboflavin (B2) for Migraine Prevention

· 4 min read
Pressure Pal Team
Health & Weather Insights Team

Riboflavin — vitamin B2 — is one of the quietest success stories in migraine prevention. It costs a few cents a day, has almost no side effects beyond turning your urine a vivid yellow, and has enough evidence behind it that headache specialists routinely suggest it. It will not work for everyone, but the risk-to-reward ratio is about as favorable as anything you will find.

This piece covers how it works, the dose that has actually been studied, and why patience is the whole game.

The mitochondrial theory

The leading explanation for why riboflavin helps comes down to energy. Several lines of research suggest that the migraine brain has a subtle deficit in mitochondrial energy metabolism — the cells' power plants run a little inefficiently, leaving neurons more vulnerable to the kind of metabolic stress that can tip into an attack.

Riboflavin is a precursor to two coenzymes (FMN and FAD) that sit right in the middle of the mitochondrial energy-production chain. The idea is that supplying extra riboflavin helps those pathways run more smoothly, raising the threshold at which an attack gets triggered. It is a different mechanism from most prescription preventives, which is part of why it can be combined with them.

What the evidence says

The pivotal trial, published in 1998, tested 400 mg of riboflavin daily against placebo over three months and found a meaningful reduction in attack frequency. Later studies and reviews have generally supported a preventive benefit, and the American Academy of Neurology and American Headache Society rated high-dose riboflavin as probably effective — the same Level B rating they give magnesium.

The effect tends to show up as fewer attacks per month rather than shorter or milder individual attacks, which is the expected signature of a true preventive.

The dose and the timeline

The studied dose is 400 mg per day, which is far above the amount you get from food or a standard multivitamin. It is usually taken as a single daily dose, ideally with a meal.

The catch — and it is the same catch as with magnesium — is that riboflavin works slowly. The 1998 trial saw the benefit emerge over the second and third months. If you take it for three weeks and give up, you have not actually tested it. Commit to a full three months before deciding whether it is doing anything.

What to expect

The most noticeable effect for almost everyone is harmless: riboflavin is bright yellow-orange, and your body excretes what it does not use, so your urine will turn a striking fluorescent yellow within a day or two. This is not a problem — it is simply visible proof you are absorbing it.

Beyond that, side effects are rare. Occasionally people report mild digestive upset, which usually resolves by taking it with food. There is no established toxicity at the 400 mg dose because excess riboflavin is water-soluble and flushed out rather than stored.

Who it suits

Riboflavin is a particularly good option for people who want a low-risk preventive and cannot tolerate, or would prefer to avoid, prescription medications — and for those who like the idea of stacking a couple of gentle approaches. Because its mechanism differs from magnesium and from standard preventives, some clinicians suggest trying riboflavin and magnesium together, sometimes alongside coenzyme Q10, as a low-side-effect prevention bundle.

As always, loop in your doctor if you are pregnant, taking other medications, or managing another health condition, simply so the full picture is on record.

Where pressure tracking fits

Because riboflavin is a slow-acting preventive, the only honest way to know if it is working is to compare your attack rate before and after — and to do that you need a clear baseline. Pressure Pal works as a migraine tracker app that logs your attacks and lines them up against barometric pressure changes, so you can see whether your monthly count is genuinely dropping or just feeling better in memory. That distinction matters when you are deciding whether to keep a preventive going past the three-month mark.