What are the causes of vitamin B12 deficiency?

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 2, 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.

Causes of Vitamin B12 Deficiency

Vitamin B12 deficiency results from three main mechanisms: inadequate dietary intake, malabsorption (most commonly from atrophic gastritis and pernicious anemia), and medication-induced depletion. 1

Dietary Causes

Insufficient B12 intake occurs in:

  • Vegan or strict vegetarian diets that exclude animal-source foods (meat, dairy, eggs, fish)
  • Diets excluding meat for religious reasons without B12-fortified alternatives
  • Food allergies limiting access to B12-rich foods (eggs, milk, fish)
  • Socioeconomic barriers: inability to afford or access B12-rich foods
  • Eating disorders or other restrictive eating patterns
  • Cognitive impairment (dementia, frailty) affecting ability to prepare adequate meals 1

Malabsorption Disorders

Gastrointestinal conditions that impair B12 absorption:

  • Atrophic gastritis affecting the gastric body (the most common non-dietary cause, often associated with pernicious anemia) 1, 2
  • Pernicious anemia (autoimmune destruction of parietal cells)
  • Gastric or small intestine resections (bariatric surgery, gastrectomy) 3
  • Coeliac disease 1
  • Inflammatory bowel disease (Crohn's disease affecting terminal ileum) 3
  • Pancreatic insufficiency
  • Small intestinal bacterial overgrowth 4, 5

Medication-Induced Deficiency

Common medications that reduce B12 levels:

  • Metformin (use >4 months increases risk) 1, 3
  • Proton pump inhibitors (use >12 months) 3
  • H2 receptor antagonists (use >12 months) 1
  • Colchicine 1
  • Phenobarbital 1
  • Pregabalin 1
  • Primidone 1

These medications interfere with B12 absorption through various mechanisms including reduced gastric acid production (PPIs, H2 blockers) or direct interference with B12-intrinsic factor complex absorption.

Autoimmune and Genetic Factors

  • Family history of B12 deficiency or autoimmune conditions increases risk 1
  • Coexisting autoimmune diseases: thyroid disease, Sjögren syndrome, type 1 diabetes 1
  • Inherited disorders of B12 transport or absorption (rare) 4

Age-Related Risk

Older adults (>75 years) have increased risk due to:

  • Higher prevalence of atrophic gastritis
  • Reduced gastric acid production
  • Multiple medication use
  • Dietary limitations 3

Special Circumstances

  • Nitrous oxide exposure (recreational use) can cause acute B12 inactivation 1
  • Pregnancy and breastfeeding increase physiological B12 demands 6
  • Preterm infants and exclusively breastfed infants of B12-deficient mothers 6

Clinical Pitfall

The most commonly missed cause is medication-induced deficiency, particularly with metformin and PPIs, as these are widely prescribed but their B12-depleting effects are often overlooked in routine practice. Always review medication lists when evaluating B12 deficiency, especially in patients on long-term therapy with these agents.

Related Questions

Is a serum vitamin B12 level of 359 pg/mL considered insufficient?
Should a bariatric patient discontinue vitamin B12 supplementation when serum B12 level exceeds 2000 pg/mL?
What is the optimal treatment strategy for a 24-year-old female with a serum vitamin B12 level of 218 pg/mL?
What is the appropriate workup for an 83‑year‑old woman with unintentional 20‑lb weight loss, a history of smoking, no prior colonoscopy or mammogram, and chronic vitamin B12 deficiency treated with monthly injections?
I have been taking 5,000 µg oral vitamin B12 daily for about a year, and my last serum vitamin B12 level measured 16 months ago was 278 pg/mL; what should I do regarding further supplementation and monitoring?
What is the appropriate dosing regimen of labetalol for a hypertensive emergency, including initial intravenous bolus, repeat dosing, continuous infusion rates, and adjustments for hepatic impairment, elderly patients, and contraindications?
What is the recommended evaluation and treatment for an adolescent with depression who has a mother with bipolar disorder?
What are the estimated costs for diagnosing and managing vitamin B12 deficiency in a typical adult patient?
Is intralesional bleomycin safe and appropriate for treating lesions on the nose?
What is the appropriate intermittent fasting protocol for a 62-year-old male patient, including safety considerations and medication adjustments?
What is the recommended management for an 80-year-old female with an ST‑segment elevation myocardial infarction (STEMI) involving the inferior wall?

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.