Is there a relationship between vitamin B12 (cobalamin) deficiency and anxiety/depression?

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: November 12, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Vitamin B12 Deficiency Is Directly Linked to Depression and Anxiety

Yes, vitamin B12 deficiency has a well-established relationship with both depression and anxiety, and correcting this deficiency can improve psychiatric symptoms and treatment outcomes. 1, 2

The Evidence for B12's Role in Mood Disorders

Vitamin B12 deficiency can present with a wide range of neuropsychiatric manifestations including depression, anxiety, psychosis, dementia, and delirium. 1 The psychiatric symptoms may appear before hematological abnormalities like anemia develop, sometimes by months or years, making early recognition critical. 3

Key Clinical Findings:

  • Depression is one of the most common psychiatric manifestations of B12 deficiency, along with anxiety, cognitive impairment, and psychotic symptoms. 1

  • In children and adolescents with depression, low vitamin B12 levels correlate negatively with depression severity—meaning lower B12 levels are associated with more severe depression. 4

  • A dramatic case report documented a 64-year-old woman with severe depression, delusions, and Capgras syndrome who showed complete resolution of psychiatric symptoms within 9 days of starting B12 replacement therapy. 3

Mechanisms Linking B12 to Mood Disorders

The neuropsychiatric effects occur through several pathways:

  • One-carbon metabolism disruption: B12 is essential for forming S-adenosylmethionine (SAM), which donates methyl groups crucial for neurological function. 2

  • Elevated homocysteine: B12 deficiency leads to increased plasma homocysteine, which is consistently found in depressive patients and associated with increased risk of depression. 2, 4

  • Neurological damage: B12 deficiency causes extensive demyelination in the central nervous system and peripheral neuropathy, which can manifest as mood disturbances before physical symptoms appear. 5

Treatment Implications

B12 supplementation improves depression outcomes in two critical ways:

  1. Prevention: Early supplementation can delay the onset of depression in at-risk populations. 6

  2. Enhanced treatment response: Low folate and B12 levels are linked to poor response to antidepressants, and treatment with B12 (1 mg daily) and folic acid (800 mcg daily) improves antidepressant response. 2

Who Should Be Screened:

The 2024 NICE guideline emphasizes testing when patients present with: 5

  • Cognitive difficulties including concentration problems, short-term memory loss, or "brain fog"
  • Unexplained fatigue
  • Treatment-resistant depression or atypical psychiatric symptoms 3
  • Risk factors including vegan/vegetarian diet, age ≥60 years, autoimmune conditions, or medications like metformin, H2 blockers, or colchicine 5, 7

Diagnostic Approach

Do not rely solely on serum B12 levels, as they may miss functional deficiencies. 8

  • Initial testing should use either total B12 (deficiency <180 ng/L or <133 pmol/L) or active B12 (deficiency <25 pmol/L). 9

  • For indeterminate results (total B12: 180-350 ng/L), measure methylmalonic acid (MMA), which is a more sensitive functional marker of B12 status. 9, 8

  • Up to 50% of patients with "normal" serum B12 may have metabolic deficiency when measured by MMA. 8

Common Pitfalls to Avoid

  • Missing early psychiatric presentations: Neuropsychiatric symptoms often precede anemia and can be the only manifestation of deficiency. 3, 1

  • Overlooking medication effects: Metformin (especially >4 months use), H2 blockers, and other medications impair B12 absorption despite adequate dietary intake. 7, 8

  • Inadequate testing in elderly: 10-40% of elderly Europeans have B12 deficiency, with higher rates than the 5.9% suggested by UK data using lower cutoff points. 5, 9

Treatment Recommendation

For confirmed B12 deficiency with depression or anxiety:

  • Oral B12 1000-2000 mcg daily is as effective as intramuscular administration for most patients and should be first-line. 8

  • Consider intramuscular administration only if severe neurologic symptoms are present, malabsorption is confirmed, or oral therapy fails. 8

  • Combine with folic acid 800 mcg daily to optimize one-carbon metabolism and antidepressant response. 2

The relationship between mood disturbances and B12 deficiency requires further investigation regarding long-term outcomes, but the existing evidence strongly supports screening and treatment in patients with depression or anxiety, particularly those with risk factors. 5

References

Research

Treatment of depression: time to consider folic acid and vitamin B12.

Journal of psychopharmacology (Oxford, England), 2005

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Differentiating Rifampicin-Induced Pancytopenia from Vitamin B12 Deficiency

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Vitamin B12 and Magnesium Deficiency Diagnosis

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Vitamin B12 Testing Age Threshold

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

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.

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.