Can a lack of B vitamins make migraines more frequent? The honest answer is: possibly, for some people, but the evidence is modest. A small 2009 Australian trial found that a daily mix of folic acid, vitamin B6 and vitamin B12 halved the share of people with migraine-related disability over six months. Riboflavin (vitamin B2) has better backing and is listed in US guidelines as "probably effective" for prevention. The popular claim that missing one vitamin raises your migraine risk by "300%" does not come from any of these studies.

Migraine pain often centres on the temple, behind the eye or at the back of the head, and can spread across one side.
Migraine in brief
Migraine is far more than a bad headache. According to the World Health Organization, attacks usually last between 4 and 72 hours and come back again and again, often over a lifetime. They tend to begin around puberty and hit hardest between the ages of 35 and 45. Typical features are throbbing pain, often on one side, together with nausea and sensitivity to light and sound. Some people first notice an aura, a temporary disturbance of vision or sensation that comes before the pain.
Headache disorders as a whole affect around 40% of the world's population, and migraine is more common in women than in men, probably in part because of hormones. In WHO's 2021 estimates migraine ranked third among neurological conditions for the overall burden of disability, behind only stroke and brain injury in newborns.
What causes a migraine attack
The exact cause is still not fully known. Older theories blamed blood vessels in the head that narrowed and then widened too much. That idea has largely given way to a picture in which the brain and the trigeminal nerve, which carries sensation from the face and head, become overactive and release inflammatory chemicals around nerves and blood vessels. A slow wave of altered nerve activity spreading across the brain's surface is thought to underlie the aura. Serotonin is involved too, which is why triptan drugs, which act on serotonin receptors, can stop many attacks.
Genes make some people more prone to migraine, and attacks are often set off by triggers such as alcohol, disrupted sleep, skipped meals, stress, hormonal changes or certain foods. Keeping a headache diary is one of the simplest ways to spot personal patterns.
The 2009 B-vitamin trial in detail
The study behind most "vitamin deficiency and migraine" headlines was run by Professor Lyn Griffiths and colleagues at Griffith University's Genomics Research Centre in Brisbane, and published in Pharmacogenetics and Genomics. Fifty-two people with migraine with aura were randomly assigned to a daily supplement or a placebo for six months. The supplement contained 2 mg of folic acid, 25 mg of vitamin B6 and 400 micrograms of vitamin B12.
The idea was to lower homocysteine, an amino acid in the blood that these three vitamins help the body break down. High homocysteine has been linked to migraine with aura. In the vitamin group homocysteine fell by about 39%, and the proportion of people with significant migraine disability dropped from 60% to 30%. Headache frequency and pain severity also fell, while the placebo group saw no such change.
Why genes mattered
The team also looked at a common variant in the MTHFR gene, which affects how efficiently people process folate and homocysteine. People carrying at least one C version of the gene responded better than those with two T copies (the TT genotype). The researchers suggested that TT carriers might simply need higher doses for the same effect, and they were clear that much larger trials were needed to test that idea.
What the trial does and does not show
Fifty-two participants is a small study, and it included only people with aura. It did not measure whether participants were deficient to begin with, so it cannot show that "missing" these vitamins causes migraines. It suggests that supplements may help a subgroup, which is useful but a long way from the "300%" headline.
Riboflavin: the best-supported vitamin
Riboflavin plays a central role in how cells produce energy, and one theory of migraine involves faulty energy metabolism in brain cells. As Harvard's Nutrition Source summarises, a randomised trial in 55 adults found that 400 mg of riboflavin a day for four months cut attacks by about two a month, with the benefit starting after the first month and peaking around three months. A review of 11 trials found mixed results, with the positive ones showing a modest drop in frequency.
On that basis the American Academy of Neurology and the American Headache Society rated riboflavin as probably effective for preventing migraine. The doses used are far above normal dietary needs: adults need only about 1.1 to 1.3 mg a day, easily supplied by milk, yogurt, eggs, meat, fish, almonds and fortified cereals. Large doses appear safe, and the main side effect is bright yellow urine. Real riboflavin deficiency is rare in wealthy countries, so any benefit is probably not about correcting a shortage.
Vitamin D and other nutrients
Vitamin D is often mentioned alongside migraine. An observational study presented at the American Headache Society's 2008 meeting reportedly found that around 42% of patients with chronic migraine had low vitamin D levels, with lower levels more common the longer they had been ill. Observational links of this kind cannot show cause and effect: people with frequent migraines may spend less time outdoors, for instance. Low vitamin D is worth checking and treating for its own sake, but it is not an established migraine treatment.
Magnesium and coenzyme Q10 are other supplements that have been studied for migraine prevention, with mixed but sometimes encouraging results. None of them works as quickly or reliably as modern preventive medicines for people with frequent attacks.
Practical takeaways
- A balanced diet with dairy or fortified foods, eggs, leafy greens, legumes and some meat or fish supplies the B vitamins most people need.
- Regular sleep, regular meals, enough fluids, exercise and limiting alcohol are the everyday measures WHO lists for reducing headaches.
- Painkillers work best when taken early in an attack, but using them on many days a month can cause medication-overuse headache.
- If you are thinking about high-dose riboflavin or B-vitamin supplements, or you have migraines more than a few days a month, talk to a doctor. Several effective preventive treatments exist.
- Seek urgent care for a sudden, severe "worst ever" headache or one with weakness, confusion or fever.
Common myths
"One missing vitamin triples your risk." No study cited for this claim measured a 300% increase in risk. The 2009 trial measured how many people with aura had disabling migraines before and after supplements.
"Migraine is just a vascular headache." Blood vessels play a part, but migraine is now understood mainly as a disorder of brain and nerve signalling.
"Natural means no need for a doctor." Supplements can be a reasonable add-on, but frequent migraine deserves a proper diagnosis.
Sources: World Health Organization: Headache disorders fact sheet; NutraIngredients, 2 April 2009: B vitamins may offer migraine relief (Lea et al., Pharmacogenetics and Genomics); Harvard T.H. Chan School of Public Health, The Nutrition Source: Riboflavin.
Related:- 16 Of Nature’s Best Natural Pain Killers
- An NSAID Painkiller-Risk Infographic and Its Limits
- How To Stop A Migraine Instantly
- Hydration and Dehydration: Correcting Common Claims About Water
- A Sciatica Exercise Video: Movement and Its Limits
- Top 10 Exercises to Strengthen Your Back and Reduce Back Pain
- Ten Tips From A Shaolin Monk On How To Stay Young
- This 122 Year Old Woman Has The Most Important Secret To A Life Of Longevity
- One Injection Reverses Diabetes Symptoms Without Side Effect
- How To Clean Your Arteries With One Simple Fruit
- Tooth Decay: Early Remineralisation Versus an Established Cavity
- Five Foods and Common Liver-Cleansing Claims
- Garlic on an Empty Stomach: Traditional Claims and Clinical Evidence
- Garlic Soup Made With 52 Cloves of Garlic Can Defeat Colds, Flu and Even Norovirus
- Foods Promoted as Medicines
- 19 Foods and the Limits of Liver-Detox Claims
- Turmeric and Drug Comparisons: What the Cited Studies Can Establish
- Black Seed and the Limits of Cure-All Claims
- 11 Ways to Naturally Boost Your Metabolism for Weight Loss
- 15 Herbs Discussed for Respiratory Health: Evidence and Safety Questions
- Food Matters: Questions for Reading a Nutrition Documentary

COMMENTS