Can Taking Vitamin B12 Cause Anxiety?

Vitamin B12 supplements cause anxiety in a small number of people, though the vitamin is far more commonly linked to reducing psychiatric symptoms than provoking them. The relationship is genuinely paradoxical: B12 deficiency can trigger anxiety, but emerging genetic evidence and scattered case reports suggest that higher serum B12 levels may also nudge anxiety risk upward in certain individuals. The explanation sits at the intersection of methylation biochemistry, individual genetics, and dose, making a blanket yes-or-no answer misleading.

What a Genetic Study Found About B12 and Anxiety Risk

The strongest hint that B12 itself could contribute to anxiety comes from a 2024 Mendelian randomization study. This type of research uses genetic variants associated with naturally higher or lower levels of a nutrient to estimate whether the nutrient might causally influence a disease, sidestepping the usual problem that observational studies cannot prove cause and effect. The study found a suggestive association between genetically predicted higher serum B12 and increased odds of anxiety disorders, with roughly a 34 percent higher risk in one analysis and about a 50 percent higher risk in a second analytical approach.1PubMed Central. Exploring the Association between Serum B Vitamins, Homocysteine and Mental Disorders: Insights from Mendelian Randomization The same study found an even stronger suggestive link between higher B12 and bipolar disorder.

“Suggestive” is the key qualifier here. These associations cleared statistical thresholds, but the confidence intervals were wide, and the researchers themselves treat the findings as preliminary signals rather than proof. Still, the direction of the signal was consistent across multiple analytical methods, which gives it more weight than a single borderline result typically would. It is one of the only pieces of evidence that points to a direct, potentially causal relationship between higher B12 and anxiety at the population level.

When High-Dose B12 Triggered Anxiety Directly

Case reports provide more visceral, if less generalizable, evidence. A published case described a young woman treated for severe pernicious anemia with multiple daily 1-milligram injections of cyanocobalamin. After accumulating a total dose of 12 milligrams, she developed a cluster of symptoms including anxiety, palpitations, akathisia (an intense inner restlessness that makes it hard to sit still), insomnia, headache, and facial flushing. Her symptoms resolved within two weeks of stopping the injections.2Taylor & Francis Online. Toxicity induced by multiple high doses of vitamin B12 during pernicious anemia treatment: a case report

This was an unusual dosing situation. Most B12 supplements are taken orally at doses between 500 and 2,500 micrograms, far below the milligram-level injections this patient received. But the case matters because it demonstrates that B12 can, at sufficient doses and in certain circumstances, produce neuropsychiatric side effects including anxiety. The mechanism likely involves B12’s role in synthesizing catecholamines, the family of stimulatory neurotransmitters that includes dopamine and norepinephrine. Flooding the methylation pathway with more B12 than the body needs could, in theory, ramp up catecholamine production and tip vulnerable individuals into a state that feels a lot like anxiety.

The Flip Side: B12 Deficiency Causes Anxiety Too

If you are reading about B12 and anxiety, there is a good chance you are also wondering whether your B12 levels are too low. The evidence connecting B12 deficiency to anxiety is actually stronger and more consistent than the evidence connecting supplementation to anxiety. B12 deficiency has been recognized as a potential contributor to a range of neuropsychiatric presentations including depression, anxiety, psychosis, and cognitive decline.3PubMed. Neuropsychiatric manifestations in vitamin B12 deficiency

A cross-sectional study in Lebanon found that participants with B12 deficiency scored significantly higher on standardized anxiety questionnaires compared to those with normal levels.4PLOS One. Vitamin B12 deficiency and neuropsychiatric symptoms in Lebanon: A cross-sectional study of vegans, vegetarians, and omnivores Research among adolescents with anxiety or depressive symptoms found that lower B12 levels correlated with more severe symptoms.5PubMed Central. Vitamin B12, Folate, Homocysteine, Inflammatory Mediators (Interleukin-6, Tumor Necrosis Factor-α and C-Reactive Protein) Levels in Adolescents with Anxiety or Depressive Symptoms And a study in an indigenous population in India found that while B12 and folate were not directly associated with anxiety, the elevated homocysteine caused by B12 deficiency carried a six-fold increased risk for generalized anxiety disorder.6PubMed. Association of vitamin B12 mediated hyperhomocysteinemia with depression and anxiety disorder: A cross-sectional study among Bhil indigenous population of India

This creates the central tension anyone trying to manage their anxiety with supplements needs to understand: too little B12 reliably worsens anxiety through well-understood biochemical pathways, but for a subset of people, pushing B12 levels too high may not feel great either. The sweet spot is adequate levels, not maximal ones.

Pseudo-Hypercobalaminemia and the “High but Not Usable” Trap

There is a third scenario that confuses matters further. Some people show very high B12 on blood tests yet still have functional B12 deficiency. This condition, called pseudo-hypercobalaminemia, occurs when B12 circulates in the blood in an unusable form, bound to proteins that prevent it from entering cells where it is needed. The result is a paradox: lab results that look fine or even elevated, but tissues that are starved of the vitamin. This state can produce the same neuropsychiatric symptoms as straightforward deficiency, including mood disturbances and anxiety.7Journal of Neurology, Neurosurgery & Psychiatry. Elevated B12: disease associations and attitudes of general practitioners and medical students

This matters for anyone who has been supplementing B12 and feels worse. The instinct is often to assume the supplement caused the problem. But if blood levels are high while cellular levels remain low, the anxiety could be from deficiency masquerading as excess. A standard serum B12 test alone cannot distinguish between usable and unusable B12. More targeted markers like methylmalonic acid or holotranscobalamin give a clearer picture of whether your cells are actually getting enough.

The Methylation Connection and Why Genetics Matter

B12 does not work alone. It is a cofactor in the methylation cycle, a fundamental biochemical process that feeds into neurotransmitter production, DNA repair, and detoxification. One of the cycle’s key outputs is S-adenosyl-L-methionine (SAMe), which acts as a methyl donor with dopamine-, norepinephrine-, and serotonin-elevating properties.8PubMed Central. The effects of S-adenosyl-L-methionine-vitamin B complex on mild and moderate depressive symptoms For most people, boosting methylation with B12 improves mood. For some, it overshoots.

Genetic variants in the MTHFR gene, which affect how efficiently a person processes folate and feeds into the same methylation cycle B12 supports, complicate the picture. A published case report described the clinical challenges of managing anxiety in a patient with an MTHFR mutation who was prescribed methylated B vitamins. The report emphasized that precise dosage mattered enormously and that ongoing objective anxiety assessments were necessary to gauge response, because the same supplements that corrected methylation deficiencies could also overshoot and worsen symptoms.9PubMed Central. Anxiety and Methylenetetrahydrofolate Reductase Mutation Treated With S-Adenosyl Methionine and Methylated B Vitamins

The practical implication is that people with MTHFR variants or related genetic differences may be more sensitive to the methylated forms of B12 (methylcobalamin) and folate (methylfolate). Online wellness communities have latched onto this idea with varying degrees of accuracy, but the underlying biochemistry is real. If you carry certain variants and flood the methylation pathway with active-form B vitamins, you can overproduce stimulatory neurotransmitters. The resulting symptoms, anxiety, irritability, insomnia, and restlessness, look a lot like what the pernicious anemia patient in the case report experienced.

Effects in Children with Autism Spectrum Disorder

Research on methylcobalamin injections in children with autism spectrum disorder provides another window into B12’s stimulatory potential. A systematic review and meta-analysis looking at the effectiveness of B12 treatment in this population found a low overall incidence of adverse effects, but the ones that did reach statistical significance were telling: increased hyperactivity at about 12 percent, trouble sleeping at roughly 8 percent, and increased irritability at about 3 percent.10PubMed Central. The Effectiveness of Cobalamin (B12) Treatment for Autism Spectrum Disorder: A Systematic Review and Meta-Analysis – Section: Adverse Effects of B12

An earlier clinical trial of methylcobalamin with folinic acid in children with autism reported that two participants dropped out because of hyperactivity and reduced sleep, and about 10 percent of parents reported moderate hyperactivity that improved when the folinic acid dose was lowered. Individual children also experienced sleep disruption, difficulty falling asleep, increased impulsiveness, and irritability.11The American Journal of Clinical Nutrition. Efficacy of methylcobalamin and folinic acid treatment on glutathione redox status in children with autism While anxiety was not the specific symptom tracked, the constellation of hyperactivity, sleep disruption, and irritability shares significant overlap with anxiety-like arousal states, and the pattern reinforces the idea that B12 in its methylated form can be overstimulating for some individuals.

How B12 Fits into the Gut-Brain Axis

A less obvious but increasingly studied pathway connects B12, gut bacteria, and mood. B12 from both dietary and supplemental sources plays a role in stabilizing gut microbial communities, promoting the production of short-chain fatty acids, and supporting neurotransmitter metabolism in the gut. These processes feed into the gut-brain axis, a bidirectional communication network linking intestinal health with brain function through immune signaling, vagal nerve activity, and metabolite exchange.12PubMed Central. Vitamin B12 and Affective Disorders: A Focus on the Gut-Brain Axis

The relevance to anxiety is indirect but meaningful. When B12 status is adequate, it supports a gut environment that suppresses inflammatory cascades and maintains barrier integrity, both of which are linked to lower anxiety. When B12 is deficient, the gut microbiome shifts in ways that promote inflammation and may increase susceptibility to affective disorders. This pathway helps explain why correcting a deficiency often improves anxiety, and it also raises the theoretical possibility that abruptly changing B12 intake could temporarily disrupt gut microbial balance before a new equilibrium is reached. That disruption phase could plausibly feel uncomfortable, though direct evidence for supplement-induced gut-mediated anxiety is still thin.

What the Clinical Trial Evidence Actually Shows

Despite the plausible mechanisms and individual case reports, the clinical trial literature on B12 supplementation and anxiety is limited. A 2022 systematic review of randomized controlled trials examining B vitamins and vitamin D for anxiety and depression found that B12 and methylcobalamin supplementation significantly decreased depression scores, either as add-on therapy to antidepressants or as standalone treatment. For anxiety specifically, however, the review noted that the availability of results was limited, with most positive findings restricted to adjuvant vitamin D therapy rather than B12.13Taylor & Francis Online. Efficacy of B-vitamins and vitamin D therapy in improving depressive and anxiety disorders: a systematic review of randomized controlled trials

This gap is worth sitting with. The trials that exist are mostly focused on depression, where B12’s benefits are better documented. Anxiety outcomes are rarely the primary endpoint, which means we cannot say with confidence that B12 supplementation reliably treats anxiety at a population level, nor can we say it reliably worsens it. The evidence for both directions is suggestive and mechanistically plausible, but not yet definitive. If the clinical trial literature had a clear signal that B12 routinely caused anxiety, it would have surfaced by now given how widely the vitamin is prescribed and studied.

Practical Considerations If You Are Experiencing Anxiety

If you have started taking B12 and feel more anxious, several factors are worth evaluating before concluding the supplement is to blame.

  • Form matters: Methylcobalamin is the active, methylated form and feeds directly into the methylation cycle. Cyanocobalamin, the most common supplemental form, must be converted before it becomes active. People who report feeling “wired” on B12 often respond better to cyanocobalamin at moderate doses, or to hydroxocobalamin, which the body converts more gradually.
  • Dose matters: Many over-the-counter B12 supplements contain 1,000 to 5,000 micrograms, which is hundreds of times the daily requirement. While B12 is water-soluble and generally considered safe even at high doses, the case reports and the Mendelian randomization data suggest a dose-response relationship for neuropsychiatric effects in susceptible people.
  • Cofactor balance matters: B12 does not act in isolation. Taking high-dose B12 without adequate folate, B6, or other methyl cycle cofactors can create biochemical imbalances. Conversely, taking a B-complex that includes both methylfolate and methylcobalamin can be overstimulating for people sensitive to methylation support.
  • Timing matters: B12 supports catecholamine synthesis, which has a stimulatory effect. Taking it in the evening may contribute to insomnia, which compounds anxiety. Morning dosing is generally better tolerated.

It is also worth distinguishing between true supplement-induced anxiety and the temporary worsening that some clinicians describe during early treatment of a deficiency. When B12 levels are repleted after a prolonged deficit, neurological recovery can involve a period of heightened nerve sensitivity and increased arousal before the system stabilizes. This is different from a toxic or overstimulation reaction and typically resolves with continued treatment, though it can be unsettling.

Heart Rate Variability and the Autonomic Angle

One hypothesis for how B12 might influence anxiety involves the autonomic nervous system, the branch that controls your heart rate, breathing, and fight-or-flight response. Heart rate variability, a marker of autonomic flexibility and stress resilience, has been proposed as a link between nutrient status and mood. A 2025 study examining this relationship found that while folate was an independent predictor of heart rate variability, vitamin B12 was not. In adjusted models, B12 had no significant independent association with autonomic function as measured by heart rate variability.14PubMed Central. Sex-Specific Heart Rate Variability Associations With Vitamin B12, Folate, and Iron Status This suggests that whatever mechanism links B12 to anxiety, it probably is not operating primarily through autonomic tone, at least not in the way that folate and iron appear to.

When to Bring It Up with a Doctor

If you have developed new or worsening anxiety after starting B12 supplementation, the evidence reviewed here suggests a few scenarios worth discussing with a healthcare provider. The first is overstimulation from methylation support, especially if you are taking methylcobalamin or a B-complex with methylfolate and your symptoms include insomnia, restlessness, or racing thoughts alongside the anxiety. A trial of dose reduction or switching to a non-methylated form is a reasonable first step. The second scenario is pseudo-hypercobalaminemia, where blood levels of B12 look normal or high but the vitamin is not being used effectively. Testing methylmalonic acid levels can help clarify this. The third is that the anxiety is unrelated to B12 entirely and the timing was coincidental, which in a large population is probably the most common explanation.

The distinction between these scenarios matters because the clinical response is different for each. The first calls for adjusting the supplement. The second may call for continuing supplementation while addressing the underlying cause of poor B12 utilization. The third means looking elsewhere entirely. What unites them is that no one should stay on a supplement that consistently makes them feel worse without investigating why.