Which medications, such as metformin, omeprazole, amlodipine, and atorvastatin, can affect vitamin B12 levels?

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: October 28, 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.

Medications That Affect Vitamin B12 Deficiency

Metformin and proton pump inhibitors (like omeprazole) are the primary medications that significantly affect vitamin B12 levels, with metformin showing the strongest evidence for causing vitamin B12 deficiency. 1, 2

Metformin

  • Metformin causes vitamin B12 deficiency through malabsorption due to bacterial overgrowth and disruption of calcium-dependent ileal receptors 1

  • In clinical trials, metformin reduced serum vitamin B12 levels by 22-29% in patients with type 2 diabetes 1

  • Approximately 7% of patients on metformin develop subnormal vitamin B12 levels during 29-week clinical trials 2

  • Risk factors for metformin-induced B12 deficiency include:

    • Higher daily doses (≥1500 mg/day shows significantly increased risk) 3
    • Longer duration of therapy (particularly >4-5 years) 4
    • Advanced age 1
    • Vegetarian/vegan diet 1
  • The American Diabetes Association recommends periodic measurement of vitamin B12 levels in patients treated with metformin, especially those with anemia or peripheral neuropathy 4

  • FDA drug labeling acknowledges this drug-nutrient interaction and recommends measuring hematologic parameters annually and vitamin B12 at 2-3 year intervals 2

Proton Pump Inhibitors (PPIs)

  • Omeprazole and other PPIs can reduce vitamin B12 absorption by decreasing gastric acid production necessary for B12 cleavage from dietary proteins 5
  • The FDA label for omeprazole specifically mentions vitamin B12 deficiency as a potential side effect, particularly with long-term use (more than 3 years) 6

Potential Clinical Consequences

  • Vitamin B12 deficiency can lead to:
    • Megaloblastic anemia 1
    • Peripheral neuropathy 1
    • Increased homocysteine and methylmalonic acid levels 1
    • Irreparable neuropathic damage if left undiagnosed 1

Monitoring Recommendations

  • For patients on metformin:

    • Measure vitamin B12 levels every 2-3 years as recommended by FDA labeling 2
    • Consider annual monitoring for patients who have been on metformin for more than 4 years 4
    • Assess multiple biomarkers (serum B12, methylmalonic acid, homocysteine) for more accurate diagnosis 4
  • For patients on both metformin and PPIs:

    • More vigilant monitoring is warranted due to potential synergistic effects 7
    • Consider earlier and more frequent B12 testing 7

Common Pitfalls to Avoid

  • Relying solely on serum B12 levels without considering clinical symptoms can lead to missed diagnoses of functional B12 deficiency 4
  • Waiting for B12 levels to fall below standard cutoffs before treating can allow irreparable neuropathic damage to occur 1
  • Not recognizing that metformin-induced vitamin B12 deficiency can cause or worsen diabetic neuropathy 8

Management Strategies

  • For patients on metformin with B12 deficiency:

    • Vitamin B12 supplementation (oral or parenteral) 1
    • Consider prophylactic calcium supplementation which may help improve B12 absorption 8
    • Regular monitoring of B12 status if continuing metformin therapy 1
  • For patients on PPIs with B12 deficiency:

    • Addition of acidic beverages with meals may help improve B12 absorption 5
    • Consider vitamin B12 supplementation 5

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.