Can vitamin B12 deficiency cause anxiety?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: September 17, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

Can B12 Deficiency Cause Anxiety?

While the most recent 2024 NICE guidelines do not list anxiety as a recognized symptom of vitamin B12 deficiency, emerging research evidence suggests a potential association between B12 deficiency and anxiety symptoms, though the relationship appears indirect and mediated through mechanisms like elevated homocysteine.

What the Guidelines Say

The 2024 NICE guidelines on vitamin B12 deficiency provide a comprehensive list of common symptoms and signs, which notably does not include anxiety 1. The guideline-recognized neuropsychiatric manifestations include:

  • Cognitive difficulties (difficulty concentrating, short-term memory loss, "brain fog")
  • Unexplained fatigue
  • Neurological problems (peripheral neuropathy, balance issues, gait impairment, paresthesias)
  • Visual disturbances

This absence from official guidelines is significant—it suggests that anxiety is not considered a cardinal or common presentation of B12 deficiency by expert consensus.

What the Research Evidence Shows

Despite the guideline omission, research literature presents a more nuanced picture:

The strongest recent evidence comes from a 2023 study showing that lower vitamin B12 levels were correlated with a higher risk of severe anxiety and depressive symptoms in adolescents 2. This study found 8.6% prevalence of B12 deficiency among those with anxiety or depressive symptoms, and demonstrated weak correlations between B12 levels and symptom severity.

A 2022 review explicitly states that B12 deficiency "can have an etiological role in clinical presentations like depression, anxiety, psychosis, dementia, and delirium" 3. The proposed mechanisms include:

  • Alterations in one-carbon metabolism
  • Changes in neurotransmitter synthesis
  • Genetic vulnerability factors
  • Disruption of folate metabolism

The homocysteine connection appears critical: A 2019 study found that hyperhomocysteinemia (elevated homocysteine due to B12 deficiency) posed six-fold increased risk for generalized anxiety disorder, even when B12 levels themselves weren't directly associated 4. This suggests the relationship is mediated through metabolic consequences rather than direct B12 effects.

The Contradictory Evidence

A 2017 Mendelian randomization study found no causal effect of circulating B12 on depression or anxiety risk 5. This type of genetic study design is less susceptible to confounding and reverse causation, which weakens the case for a direct causal relationship.

Clinical Implications and Recommendations

When to suspect B12 deficiency in anxious patients:

  • Presence of other recognized B12 deficiency symptoms (cognitive difficulties, fatigue, neurological signs, macrocytic anemia)
  • Risk factors present: vegan/vegetarian diet, malabsorption conditions, medications (metformin, PPIs, H2 blockers), older age, autoimmune conditions 1
  • Anxiety accompanied by elevated homocysteine levels
  • Atypical or severe psychiatric presentations 6

Testing approach:

  • First-line: Total B12 (serum cobalamin) or active B12 (holotranscobalamin) 1
  • Confirmatory if indeterminate (180-350 ng/L for total B12): methylmalonic acid (MMA) 1
  • Consider homocysteine levels given the anxiety association 4

Treatment considerations:

  • No high-quality evidence supports routine B12 supplementation specifically for anxiety 6
  • If B12 deficiency is confirmed with other symptoms present, treat the deficiency per standard protocols
  • Do not use B12 supplementation as primary anxiety treatment
  • Address anxiety through evidence-based psychiatric interventions while correcting any identified deficiency

Important Caveats

  • The association between B12 deficiency and anxiety is not well-established enough to be included in clinical guidelines
  • Anxiety is extremely common and has multiple etiologies; B12 deficiency is a rare cause
  • Avoid over-testing: Don't routinely check B12 in every anxious patient without risk factors or other suggestive symptoms
  • The relationship may be bidirectional—anxiety and depression can affect diet and absorption
  • Most evidence is observational and subject to confounding

Bottom line: While B12 deficiency may contribute to anxiety symptoms, particularly through elevated homocysteine, it should not be considered a primary or common cause. Test for B12 deficiency when risk factors or other characteristic symptoms are present, but do not rely on B12 supplementation as an anxiety treatment strategy.

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.