People with migraine tend to have lower vitamin B12 levels than people without migraine, and a growing body of research suggests that supplementing B12, especially alongside other B vitamins, can reduce attack frequency and severity. The evidence is encouraging but still early-stage, and B12 is not yet part of any standard migraine treatment guideline. What makes the story interesting is that the benefit appears to depend heavily on individual factors like genetics, whether your migraines come with aura, and whether you are actually deficient in B12 to begin with.
Migraine Patients Tend to Have Lower B12
The most consistent finding in this area is not from treatment trials but from studies measuring blood levels. A 2025 meta-analysis pooling data from 16 studies found that migraine patients had meaningfully lower B12 levels than healthy controls, with over 1,300 migraine patients and more than 1,500 controls included.1PubMed Central. Association Between Homocysteine, Vitamin B12, Folate and Migraine: An Updated Systematic Review and Meta-Analysis – Section: 3.4. Vitamin B12 Meta-Analysis Results The same analysis found that folate levels were also lower in people with migraine, while homocysteine levels were higher. Those three findings are connected, since B12 and folate help the body break down homocysteine. When B12 is low, homocysteine accumulates.
A case-control study put more concrete numbers on this: people with migraine had average B12 levels of about 512 pg/mL compared to roughly 667 pg/mL in controls. Those in the highest quarter of B12 levels had about an 80% lower chance of being in the migraine group, while those with the highest levels of methylmalonic acid, a marker that rises when B12 is functionally deficient, had over five times the odds of migraine.2PubMed. Serum Vitamin B12 and Methylmalonic Acid Status in Migraineurs: A Case-Control Study That dose-response pattern is one of the stronger pieces of evidence linking B12 status to migraine risk. Still, lower B12 in migraine patients doesn’t automatically mean raising it will fix anything. Observational associations can point researchers in the right direction, but they can’t prove that a supplement helps. That’s what trials are for.
Why B12 Might Affect Migraine
Two biological pathways connect B12 to migraine, and both are reasonably well understood even though neither has been proven as a definitive treatment target.
The first involves homocysteine. Elevated homocysteine is thought to damage blood vessel linings, promote inflammation, and interfere with how blood vessels dilate and constrict, all of which are relevant to the vascular changes that occur during a migraine attack. B12 is a key player in the chemical reaction that converts homocysteine into methionine, a harmless amino acid. Without enough B12 (or folate), homocysteine builds up. That buildup has been linked to migraine with aura in particular, possibly because aura involves cortical spreading depression, a wave of electrical activity across the brain’s surface that is sensitive to vascular and inflammatory changes.
The second pathway involves nitric oxide. Nitric oxide is a signaling molecule that plays a role in pain transmission, blood vessel dilation, and inflammation. People who get migraines often show signs of excess nitric oxide activity. One form of B12, hydroxocobalamin, can scavenge nitric oxide, essentially mopping up some of the excess.3Biomedicine & Pharmacotherapy. The role of nutrients in the pathogenesis and treatment of migraine headaches: Review – Section: Vitamine B12 A review paper on B12 for chronic migraine highlighted both the homocysteine and nitric oxide pathways as reasons the vitamin deserves further investigation as a preventive treatment.4PubMed. Utilization of B12 for the treatment of chronic migraine
These two mechanisms are plausible and each has supporting laboratory and observational data. But having a plausible mechanism is not the same as having proof of clinical benefit. The question is whether supplementation trials back up what the biology suggests.
What Supplementation Trials Have Found
A randomized, double-blind, placebo-controlled trial in women with episodic migraine tested several B vitamins head-to-head against placebo over 16 weeks. The groups received either B12 alone (500 micrograms), folate alone, B1 alone, B6 alone, a B-complex combining all of them, or placebo. Every vitamin group showed a significant reduction in headache frequency compared to placebo, along with meaningful improvement in migraine disability scores. After 12 weeks, the supplement groups also used fewer acute migraine medications.5PubMed Central. B vitamins and their combination could reduce migraine headaches: A randomized double-blind controlled trial – Section: Results The B12 dose used in this study was modest, just 500 micrograms daily, which is within the range of a typical over-the-counter supplement.
That trial is one of the better-designed studies on the topic, but it has limitations. It enrolled only women, so the findings may not generalize directly to men. And because the trial compared each vitamin to placebo separately rather than comparing them to each other in a statistically powered way, it’s hard to say whether B12 alone is better, worse, or equivalent to the other B vitamins tested.
A systematic review looking across multiple trials of B6, folate, and B12 for migraine prevention found a consistent pattern: these vitamins appeared to help prevent migraine with aura in adults. Five randomized controlled trials were included, and all but one reported significant benefits when these vitamins were used alone or in combination for migraine with aura.6PubMed. Pyridoxine, folate and cobalamin for migraine: A systematic review The evidence was weaker or absent for migraine without aura, which is an important distinction that gets lost when people hear “B12 helps migraines” without context.
Migraine With Aura vs. Without Aura
This is one of the most important nuances in the B12-migraine conversation, and it’s worth spelling out clearly. Migraine with aura and migraine without aura are closely related conditions, but they have different underlying characteristics. Aura involves visual disturbances, numbness, or other neurological symptoms that precede the headache. The cortical spreading depression behind aura is thought to be more susceptible to vascular and inflammatory triggers, which is exactly where the homocysteine and nitric oxide pathways are relevant.
The systematic review mentioned above found that the clearest evidence of benefit was specifically in migraine with aura, not in migraine more broadly.6PubMed. Pyridoxine, folate and cobalamin for migraine: A systematic review If you experience migraine without aura, the evidence that B12 will help you is thinner. That doesn’t mean it won’t help, since individual biochemistry varies, but the research isn’t there yet to say it reliably does. If you experience migraine with aura, the case for trying B vitamin supplementation is stronger.
The Genetic Wrinkle
Your response to B12 supplementation for migraine may depend on a common genetic variation called MTHFR C677T. The MTHFR gene provides instructions for an enzyme that processes folate and helps regulate homocysteine levels. People who carry two copies of the T variant (the TT genotype) have a less efficient version of this enzyme, leading to higher homocysteine levels. Roughly 10-15% of people of European ancestry carry this genotype, and it’s more common in some other populations.
A study specifically designed to test whether MTHFR genotype influenced response to vitamin supplementation in migraine patients found something counterintuitive. The researchers expected TT carriers to benefit the most, since they have the highest homocysteine levels. Instead, people who carried at least one C allele (CT or CC genotypes) experienced a greater reduction in both homocysteine levels and migraine disability than TT carriers did.7PubMed. The effects of vitamin supplementation and MTHFR (C677T) genotype on homocysteine-lowering and migraine disability The TT group did still benefit, just less so. One possible explanation is that the TT enzyme is so impaired that standard vitamin doses only partially compensate, while the CT and CC enzymes respond more robustly to the additional substrate.
This finding complicates the “just take B12” narrative. If you’ve had your MTHFR genotype tested, and many people have through consumer genetic testing, it could inform your expectations. But a single study isn’t enough to build firm guidelines on. The broader takeaway is that individual variation in response to B vitamins is real and at least partly genetic.
Menstrual Migraine
Menstrual migraine is a recognized subtype that strikes in the days just before or after the onset of a period, driven in part by hormonal shifts in estrogen. These attacks tend to be more severe and harder to treat than migraines occurring at other times in the cycle.
A study of nearly 400 women with menstrual-related migraine tested a combination of vitamins B1, B6, and B12. The average severity of migraine attacks dropped from about 6.7 out of 10 on a pain scale to roughly 3.2 in women with chronic migraine. Women with episodic migraine saw a similar drop, from about 7.2 to 3.7. The treatment had a 97% compliance rate and no reported side effects.8Archives of Neuroscience. Suppression of Menstrual-Related Migraine Attack Severity Using Pyridoxine, Thiamine, and Cyanocobalamin: A Quasi-Experimental Within-Subject Design – Section: Results Those are large effect sizes, but the study used a before-and-after design without a placebo control group, which means some of the improvement could be due to the placebo effect, regression to the mean, or natural fluctuation over time. The results are promising enough to warrant a proper controlled trial, but they should be taken with that methodological caveat.
Because this was a combination therapy (B1, B6, and B12 together), it’s impossible to isolate B12’s individual contribution. That’s a recurring theme across this research area: B12 rarely gets tested in isolation, making it difficult to separate its effects from those of the other B vitamins it’s usually paired with.
Children and Adolescents
Most migraine research focuses on adults, so evidence in younger populations is especially thin. One study looked specifically at children who had both migraine and confirmed B12 deficiency. Their average B12 level was about 176 pg/mL, well below the normal range. After three months of hydroxocobalamin treatment, the injectable form of B12, their migraine disability scores dropped significantly.9Journal of Pediatric Neurology. Hydroxocobalamin Treatment and Pediatric Migraine Disability Assessment Scale Scores – Section: Abstract
The key detail here is that these were children who were B12-deficient to begin with. The study doesn’t tell us much about whether B12 supplementation helps children whose levels are already normal. This is an important distinction that applies to adults too: correcting a deficiency is different from supplementing on top of adequate levels. The strongest case for B12 in migraine is when someone is actually low, and the evidence gets hazier when levels are in the normal range.
Forms, Doses, and Delivery
B12 comes in several chemical forms, and the differences matter more than you might expect. The three most common are cyanocobalamin (the synthetic form found in most supplements and fortified foods), methylcobalamin (a naturally occurring active form), and hydroxocobalamin (another natural form, typically given by injection). Hydroxocobalamin is the form with the strongest theoretical link to migraine because of its ability to scavenge nitric oxide. It’s also the form used in the pediatric study above and in some older clinical work on migraine.
Cyanocobalamin is the cheapest and most widely available. Most oral supplements and fortified foods use it. Your body converts it into the active forms, though the conversion efficiency varies between people. Methylcobalamin is increasingly popular in supplements marketed for neurological health, though head-to-head trials comparing these forms specifically for migraine outcomes essentially don’t exist yet.
If you’re concerned about absorption, the delivery method may matter as much as the form. A large study comparing sublingual (under the tongue) tablets to intramuscular injections for B12 deficiency found that the sublingual route raised B12 levels as effectively as shots, and in some measures slightly outperformed them.10PubMed. Comparison of sublingual vs. intramuscular administration of vitamin B12 for the treatment of patients with vitamin B12 deficiency This is relevant for people who assume they need injections. For most people, a sublingual or high-dose oral supplement will get enough B12 into the bloodstream. Injections make sense for people with absorption issues, such as those with pernicious anemia, inflammatory bowel disease, or prior gastric surgery.
As for dose, the controlled trial in women with episodic migraine used 500 micrograms of B12 daily.11PubMed Central. B vitamins and their combination could reduce migraine headaches: A randomized double-blind controlled trial – Section: Materials and Methods B12 is water-soluble and has no established upper intake limit because toxicity is essentially unheard of; excess is excreted in urine. That said, “not toxic” and “proven effective at any dose” are different claims. Most supplement bottles contain anywhere from 500 to 5,000 micrograms, and there’s no migraine-specific dosing guideline to point to. The 500-microgram dose from the trial is a reasonable starting point.
B12 Alone vs. B-Vitamin Combinations
One frustration with the current evidence is that B12 is almost always tested as part of a package. The trial in episodic migraine had a B12-only arm, but the systematic review evidence leans heavily on combinations of B6, folate, and B12 together. This isn’t a coincidence: because all three vitamins work together in the homocysteine-processing pathway, researchers tend to study them as a unit.
Practically, this means that if you’re interested in trying B vitamins for migraine, a B-complex supplement that includes B12, B6, and folate is arguably better supported by the literature than B12 alone. It’s also worth noting that folate deficiency can mask B12 deficiency and vice versa, so supplementing one without the other can occasionally obscure a problem. A B-complex that covers both sidesteps this issue.
The flip side is that taking multiple vitamins at once makes it impossible to know which one is doing the heavy lifting. For research purposes that’s a problem; for someone who just wants fewer migraines and is willing to take a multi-B supplement, it’s less of a concern.
Who Is Most Likely to Benefit
Pulling together the available evidence, B12 supplementation for migraine has the strongest case in a few specific situations:
- Documented B12 deficiency: If your blood B12 is low, correcting the deficiency can reduce migraine disability, as shown in both adult and pediatric data.
- Migraine with aura: The systematic review evidence points most clearly to benefits for this subtype, possibly because of the stronger homocysteine-aura connection.
- Elevated homocysteine: If you’ve had blood work showing high homocysteine, B12 (alongside folate and B6) can bring it down, and the observational data link lower homocysteine to fewer migraines.
- Diets low in B12: People following strictly plant-based diets, those with absorption issues, and older adults who absorb less B12 from food are more likely to be low and therefore more likely to benefit from supplementation.
For someone with normal B12 levels and migraine without aura, the evidence is weaker. That person might still benefit, since the controlled trial found effects across the whole group, not just deficient participants, but the odds of a dramatic improvement are lower.
Where the Evidence Falls Short
The research on B12 and migraine is genuinely promising, but it also has real gaps. Most trials are small, often enrolling fewer than 100 people per group. Almost all of them have been conducted in specific populations, particularly women, and most tested B12 as part of a combination rather than in isolation. There’s no large-scale, multicenter randomized trial specifically testing B12 alone against placebo for migraine prevention in a general population. Until that kind of trial happens, B12 will remain in the “reasonable to try, not yet proven” category for migraine.
The high heterogeneity in the meta-analysis of B12 levels in migraine patients is also worth acknowledging. The statistical measure of between-study variation was over 90%, meaning the individual studies included in the analysis varied widely in their findings.1PubMed Central. Association Between Homocysteine, Vitamin B12, Folate and Migraine: An Updated Systematic Review and Meta-Analysis – Section: 3.4. Vitamin B12 Meta-Analysis Results When heterogeneity is that high, the pooled result is still informative about the general direction (lower B12 in migraine patients), but the size of the effect could differ a lot depending on the population, the way B12 was measured, and other factors. In plain terms: the link is real, but messy.
B12 is unlikely to replace established migraine medications like triptans, beta-blockers, or the newer CGRP-targeting drugs. It’s more realistically positioned as a low-risk addition to someone’s migraine management plan, particularly for people who are deficient, have aura, or want to try a non-pharmaceutical option before or alongside prescription treatments. At the cost and safety profile of a standard supplement, the bar for “worth trying” is lower than it would be for an expensive or risky medication, even if the evidence isn’t yet airtight.