Which vitamin deficiencies are associated with depression and 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 12, 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.

Vitamin B12, Folate (B9), and Vitamin D Deficiencies Are Most Strongly Associated with Depression and Anxiety

Vitamin B12 deficiency is particularly important because it can manifest with psychological symptoms including depression, and vitamin D deficiency shows consistent associations with both depression and anxiety in multiple studies. 1, 2, 3

Key Vitamin Deficiencies to Consider

Vitamin B12 (Cobalamin)

  • Psychological manifestations are well-documented, with deficiency causing neurologic and psychologic symptoms even at low-normal serum levels 1
  • Deficiency is present in 10-20% of older adults and is more prevalent in vegetarians/vegans, those on metformin, and individuals with malabsorption 1
  • The guideline evidence specifically notes that persons with low-normal vitamin B12 levels may manifest "psychologic symptoms or disease" 1

Folate (Vitamin B9)

  • Lower folate status is associated with increased risk of depression in older adults 2
  • Deficiency commonly co-occurs with other B vitamin deficiencies 2
  • Must always check B12 before treating folate deficiency to avoid masking B12 deficiency and precipitating neurological complications 4

Vitamin B6

  • Deficient vitamin B6 status is associated with both increased depression AND increased anxiety 2
  • Often overlooked but important in the B-vitamin complex affecting mood 5

Vitamin D

  • Strong research evidence shows lower vitamin D levels in people with depression compared to controls, with a meta-analysis demonstrating increased odds of depression (OR = 1.31) and hazard ratio (HR = 2.21) for lowest versus highest vitamin D categories 6
  • Recent studies confirm associations with both depression and anxiety, though the causal relationship requires further investigation 7
  • Adolescents with major depressive disorder show significantly lower vitamin D levels (median 15.0 vs 18.0 ng/mL in controls) 8

Riboflavin (Vitamin B2)

  • Lower riboflavin status is associated with increased depression risk in older adults 2
  • Over 50% of older adults have suboptimal riboflavin status 2

Clinical Approach Algorithm

Step 1: Screen high-risk populations

  • Older adults (>65 years)
  • Vegetarians/vegans
  • Patients on metformin
  • Those with malabsorption conditions
  • Individuals with inadequate sun exposure (for vitamin D)
  • Patients with cognitive impairment or unexplained mood symptoms

Step 2: Order appropriate testing

  • Vitamin B12 - but recognize that low-normal levels may still represent deficiency; if suspected, confirm with methylmalonic acid 1
  • Folate
  • Vitamin D (25-hydroxyvitamin D)
  • Consider vitamin B6 and riboflavin in refractory cases

Step 3: Treatment priorities

  • Always check and treat B12 deficiency BEFORE giving folic acid to prevent subacute combined degeneration of the spinal cord 4
  • Vitamin B12: 1,000 μg/day oral crystalline cobalamin (or parenteral if malabsorption/pernicious anemia) 1, 9
  • Folate: 5 mg daily for minimum 4 months if deficient 4
  • Vitamin D: 800-1,000 IU daily for older adults and at-risk populations 1

Important Caveats

The evidence shows associations, not necessarily causation. The most recent adolescent study 8 found that while vitamin D and folate were lower in depressed patients, three-month symptom improvement occurred without antidepressants and was not explained by biomarker changes—suggesting multiple factors including natural symptom fluctuation.

Supplementation evidence is mixed. While deficiency correction is clearly indicated, whether supplementation in non-deficient individuals prevents or treats depression/anxiety remains uncertain 7. The biological plausibility is strong (B vitamins affect neurotransmitter synthesis and homocysteine metabolism; vitamin D affects mood regulation), but clinical trial results are inconsistent.

Don't over-interpret screening results. Routine screening of asymptomatic, low-risk individuals is not recommended 10. Focus on those with symptoms or risk factors.

The strongest guideline-based recommendation is to maintain adequate intake through diet (lean meat, dairy, fortified cereals for B vitamins; sun exposure and fortified foods for vitamin D) and supplement when deficiency is documented or high risk exists 1, 2, 1.

References

Research

Vitamin D deficiency and depression in adults: systematic review and meta-analysis.

The British journal of psychiatry : the journal of mental science, 2013

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.