Supplements for chronic headache prevention: riboflavin, magnesium, CoQ10, and vitamin D

The evidence behind the four supplements most commonly recommended for headache prevention by specialist services, and the limits of extrapolating from migraine trials to new daily persistent headache.


When I was referred to a headache clinic, the neurologist listed four supplements alongside the discussion of preventive medication: riboflavin (vitamin B2), magnesium, CoQ10, and vitamin D. These are widely recommended by headache specialist services in the UK and elsewhere, typically as first-line options to try before or alongside prescription preventives.

This post covers what the evidence actually says about each, what doses the trials used, and the significant caveat that most of the trial evidence comes from episodic migraine rather than the new daily persistent headache pattern I have.

New daily persistent headache vs migraine: why the distinction matters for evidence

New daily persistent headache (NDPH) is a relatively unusual headache syndrome: it begins on a specific, often memorable day and is persistent from that point — daily or near-daily headache that never fully resolves. It differs from chronic migraine, which typically evolves from episodic migraine over months to years of increasing frequency.

The mechanistic overlap between NDPH and migraine is real — both involve central sensitisation, trigeminovascular activation, and often share the same symptom features (photophobia, nausea, unilateral throbbing). But the initiating event in NDPH is often a viral illness or other acute trigger, and the persistence from day one suggests a different (possibly inflammatory or autoimmune) perpetuating mechanism.

This matters for supplement evidence because essentially all of the trial evidence discussed below was conducted in people with episodic or chronic migraine, not NDPH specifically. Extrapolation is reasonable given the mechanistic overlaps, but the confidence level is lower. I’m treating these supplements as plausible interventions with an acceptable evidence base, while acknowledging that their specific efficacy in NDPH is unknown.

Riboflavin (vitamin B2)

Riboflavin at 400mg/day is probably the most evidence-backed supplement for migraine prevention. The rationale is mitochondrial: migraine brain appears to have impaired mitochondrial energy metabolism, and riboflavin is a precursor to flavin coenzymes that are essential for the mitochondrial electron transport chain. The idea is that supplementation corrects a subclinical mitochondrial inefficiency that contributes to cortical spreading depression and migraine generation.

The evidence: The landmark trial (Schoenen et al., 1998) found that 400mg riboflavin daily reduced migraine frequency by at least 50% in 59% of patients, compared to 15% on placebo. This was a rigorous double-blind RCT of 55 patients. Subsequent trials have been smaller and more mixed, but meta-analyses consistently find a beneficial effect on attack frequency. A 2017 Cochrane-adjacent systematic review concluded riboflavin was probably effective for migraine prophylaxis in adults.

Dose: 400mg/day. Normal dietary intake of riboflavin is around 1–3mg/day, so this is a pharmacological rather than nutritional dose. It’s safe — riboflavin is water-soluble, excess is excreted, and the only notable side effect is bright yellow urine (harmless).

Timing of effect: 3 months of consistent use is the standard trial duration before judging effect. Some improvement may be seen by 4–6 weeks.

What I take: 400mg daily with food. I’ve been taking this for approximately 18 months. Whether it’s helping is genuinely hard to say in the context of NDPH where frequency is constant rather than episodic — there’s no “attack rate” to monitor, only severity and the character of daily background headache. I’ve continued it because the safety profile is excellent and the evidence is the strongest of the four.

Magnesium

Magnesium is probably the most commonly deficient mineral in people with migraine, and there’s good evidence that serum magnesium is lower during attacks and that intravenous magnesium can abort acute attacks. The preventive rationale is that correcting chronic subclinical deficiency reduces overall excitability of the trigeminovascular system and cortical spreading depression threshold.

The evidence: Multiple small RCTs have found oral magnesium reduces migraine frequency. A 2012 meta-analysis (Sun-Edelstein and Mauskop) found a significant reduction in attack frequency across trials. Effect sizes are modest — roughly a 30–40% reduction in frequency compared to placebo. The evidence is weaker than for riboflavin and more inconsistent across trials, possibly because the effect depends on baseline magnesium status, which varies.

Dose: Trials have used various forms and doses. 400–600mg/day of magnesium oxide or glycinate is commonly recommended. Magnesium oxide is cheap but has poor bioavailability; glycinate, malate, or bisglycinate forms are better absorbed and less likely to cause the main side effect (diarrhoea). The headache clinic I attended recommended 400mg magnesium citrate.

Timing of effect: 3 months.

What I take: 400mg magnesium glycinate daily in the evening. The evening timing helps with sleep (magnesium has a relaxation/muscle-calming effect) and avoids the slight risk of loose stools that some people get from taking it during the day.

Note: If you’re taking magnesium, check for interactions with any medications you’re on — magnesium can affect absorption of certain antibiotics and medications, and at high doses has mild blood pressure-lowering effects.

CoQ10 (coenzyme Q10)

Like riboflavin, CoQ10’s theoretical mechanism is mitochondrial. CoQ10 is a central component of the electron transport chain and a lipid-soluble antioxidant. Low CoQ10 levels have been documented in some migraine populations, and supplementation is thought to improve mitochondrial function.

The evidence: Thinner than riboflavin or magnesium. The most-cited trial (Sándor et al., 2005) found that 300mg/day CoQ10 reduced migraine frequency by at least 50% in 47.6% of patients vs 14.4% on placebo — a significant result, but the trial had only 42 patients. A 2015 systematic review found the evidence promising but insufficient to draw strong conclusions. The American Headache Society guidelines list CoQ10 as “probably effective” based on limited evidence.

Dose: 300mg/day in divided doses (100mg three times daily with food, as it’s fat-soluble). Some sources suggest 100–200mg once daily is also used.

Side effects: Generally well tolerated. Can cause mild GI symptoms in some people. Interacts with warfarin (can reduce anticoagulant effect) — relevant if you’re anticoagulated.

What I take: 100mg daily with a fatty meal (fat aids absorption). I’ve not pushed to the full 300mg primarily because of cost — CoQ10 is expensive, especially the ubiquinol form which some claim has better bioavailability. The evidence for the full 300mg three times daily is better than for a lower dose; my current approach is a compromise.

Vitamin D

Vitamin D is different in character from the other three: it’s not primarily being given for a mitochondrial or neurological reason but to correct what is very likely to be a deficiency. UK adults are commonly deficient in vitamin D, particularly in winter and particularly those who spend limited time outside (which includes most people with significant fatigue conditions).

The evidence for migraine: More limited than the others. Several observational studies have found correlations between low vitamin D status and higher migraine frequency. A 2021 meta-analysis found that vitamin D supplementation was associated with reduced migraine frequency in deficient individuals. The effect appears to be largely or entirely in people who are actually deficient — vitamin D supplementation doesn’t seem to help headache in people who are already replete.

Dose: For deficiency correction, NICE recommends 400–1000 IU/day for maintenance or 800–3000 IU/day to treat deficiency. Headache clinics often recommend 2000 IU/day in the autumn/winter, stepping down in summer. If you’re significantly deficient (below 25 nmol/L), a loading dose protocol under GP supervision is more efficient.

Testing: Worth getting a blood test before committing to a specific dose. Vitamin D toxicity (from chronically excessive doses) is rare but real. Most people with unexplained fatigue are low; many are significantly deficient.

What I take: 2000 IU daily September through April, 1000 IU May through August. My serum level sits in the 60–80 nmol/L range on this regime, which is adequate without being excessive.

How to think about these together

These four supplements are often recommended as a package rather than individually, partly because of the low individual risk profile and partly because they may have additive effects through different mechanisms. Riboflavin and CoQ10 both target mitochondrial function from different angles; magnesium addresses neuronal excitability; vitamin D addresses systemic inflammation and deficiency.

The downside is that if you take all four simultaneously, you can’t isolate which one is helping if things improve. My approach has been to start them sequentially and give each at least 8 weeks before adding the next, while accepting that the evidence for all four is relatively modest and none is going to transform the situation on its own.

The supplements are not a substitute for prescription preventive medication where that’s indicated. For moderate-to-severe headache burden, the evidence for medications like amitriptyline, topiramate, and propranolol is substantially stronger than for any supplement. But supplements are useful as first-line options because of the safety profile, and some people find they provide enough benefit that they don’t need to move to prescription preventives.

The honest bottom line

After 18 months taking these four supplements consistently, I genuinely don’t know how much they’re helping. My NDPH hasn’t remitted, the daily background headache continues, and the severity has varied in ways that correlate more obviously with other factors (viral illnesses, autonomic state, sleep) than with anything I’ve changed about supplements.

What I can say is that I’ve had no side effects, the cost is manageable, and the evidence base — while modest — is sufficient that I’m not convinced I should stop. They may be providing a floor that limits severity without changing the pattern. Or they may be doing nothing and I’m maintaining them out of inertia. That’s an honest appraisal.

References

Schoenen J, Jacquy J, Lenaerts M. Effectiveness of high-dose riboflavin in migraine prophylaxis. A randomized controlled trial. Neurology. 1998;50(2):466–470.

Sun-Edelstein C, Mauskop A. Role of magnesium in the pathogenesis and treatment of migraine. Expert Rev Neurother. 2009;9(3):369–379.

Sándor PS, Di Clemente L, Coppola G, et al. Efficacy of coenzyme Q10 in migraine prophylaxis: a randomized controlled trial. Neurology. 2005;64(4):713–715.

Ghorbani Z, Togha M, Rafiee P, et al. Vitamin D in migraine headache: a comprehensive review on literature. Neurol Sci. 2019;40(12):2459–2477.

Liampas I, Siokas V, Brotis A, Vikelis M, Dardiotis E. Endogenous melatonin levels and therapeutic use of exogenous melatonin in migraine: Systematic review and meta-analysis. Headache. 2020;60(7):1273–1299.


Further reading