We’re looking for volunteer reviewers in pharmacy, medicine and pharmacology. How to volunteerWe’re looking for volunteer reviewers.

Why PPIs and metformin can lower vitamin B12

Vitamin B12 is absorbed mainly with intrinsic factor, which the stomach's acid-making cells also make, and the pair is taken up at the end of the small intestine. Taken daily for years, omeprazole and other medicines that suppress stomach acid may lead to poor B12 absorption, from too little acid. The label notes rare reports of B12 deficiency with them. In trials of 29 weeks, B12 levels that had been normal fell below normal in about 7% of people taking metformin, possibly because it gets in the way of the B12-intrinsic factor pair's uptake. B12 is needed for red blood cells and the nerves, so a shortage can cause anemia.

Kind
Side effect
Medicines
Omeprazole, Metformin
Sources
9
Schematic drawing: why PPIs and metformin can lower vitamin B12. 1, B12 needs intrinsic factor; 2, PPIs lower the acid; 3, metformin may hinder the uptake; 4, too little B12 harms blood and nerves.
Schematic, not to scale. License CC BY-NC 4.0.

For teachers: download this drawing.

Step by step

  1. B12 needs intrinsic factor. The stomach's parietal cells make both hydrochloric acid and . Intrinsic factor binds and carries it to the end of the small intestine (the terminal ileum), where the pair is taken up. B12 is absorbed mainly this way, and the uptake also needs calcium; a small amount, about 1% of the B12 taken in, is absorbed by simple diffusion, which is enough only with very large doses.1,2,3,4

    What the source says

    “A large epithelial cell located in the mucous membrane of the stomach that secretes gastric intrinsic factor and hydrochloric acid.”

    Source 1

    “The cobalamin-intrinsic factor complex binds to the ileal receptors in the terminal ileum.”

    Source 2

    “B12-intrinsic factor complex uptake by ileal cell surface receptors is known to be a process dependent on calcium availability”

    Source 3

    “Gastrointestinal absorption of Vitamin B 12 depends on the presence of sufficient intrinsic factor and calcium ions.”

    Source 4

    “A small amount (approximately 1% of the total amount ingested) is absorbed by simple diffusion, but this mechanism is adequate only with very large doses.”

    Source 4
  2. PPIs lower the acid. Omeprazole, a proton pump inhibitor (PPI), lowers stomach acid by blocking the parietal cells' acid pump (). Taken daily for a long time, for example more than 3 years, it and other medicines that suppress acid may lead to poor absorption of vitamin B12, which the label puts down to too little acid. The label adds that there are rare reports in the literature of B12 deficiency with acid-suppressing treatment.5

    What the source says

    “Omeprazole belongs to a class of antisecretory compounds, the substituted benzimidazoles, that suppress gastric acid secretion by specific inhibition of the H + /K + ATPase enzyme system at the secretory surface of the gastric parietal cell.”

    Source 5

    “Daily treatment with any acid-suppressing medications over a long period of time (e.g., longer than 3 years) may lead to malabsorption of cyanocobalamin (vitamin B-12) caused by hypo- or achlorhydria. Rare reports of cyanocobalamin deficiency occurring with acid-suppressing therapy have been reported in the literature.”

    Source 5

    “PRILOSEC is a proton pump inhibitor (PPI)”

    Source 5
  3. Metformin may hinder the uptake. In trials of 29 weeks, B12 levels that had been normal fell below normal in about 7% of people taking metformin, possibly because it gets in the way of the uptake of the B12-intrinsic factor pair. People who take in or absorb too little B12 or calcium appear more prone to it.6

    What the source says

    “In clinical trials of 29-week duration with metformin hydrochloride tablets, a decrease to subnormal levels of previously normal serum vitamin B 12 levels was observed in approximately 7% of patients.”

    Source 6

    “Such decrease, possibly due to interference with B 12 absorption from the B 12 -intrinsic factor complex, may be associated with anemia but appears to be rapidly reversible with discontinuation of metformin or vitamin B 12 supplementation.”

    Source 6

    “Certain individuals (those with inadequate vitamin B 12 or calcium intake or absorption) appear to be predisposed to developing subnormal vitamin B 12 levels.”

    Source 6
  4. Too little B12 harms blood and nerves. Vitamin B12 is needed to make mature red blood cells and for normal nerve function, so a shortage can cause anemia and harm the nerves: without intrinsic factor, the result is pernicious anemia, which may come with damage to the spinal cord. With metformin, the label says the fall may go with anemia.4,6,7

    What the source says

    “Vitamin B12 is an essential water-soluble vitamin required for critical biological processes such as DNA synthesis, erythrocyte maturation, and maintenance of nervous system integrity.”

    Source 7

    “Deficiency of vitamin B12 can lead to serious clinical outcomes, including megaloblastic anemia and potentially irreversible neurological damage.”

    Source 7

    “Intrinsic factor deficiency causes pernicious anemia, which may be associated with subacute combined degeneration of the spinal cord.”

    Source 4

    “Such decrease, possibly due to interference with B 12 absorption from the B 12 -intrinsic factor complex, may be associated with anemia but appears to be rapidly reversible with discontinuation of metformin or vitamin B 12 supplementation.”

    Source 6

See also

Sources

  1. 1
    Parietal cell: NCI Thesaurus definitionNCI definition, concept C12594. Saved copy
  2. 2
    Intrinsic factor secretion and cobalamin absorption. Physiology and pathophysiology in the gastrointestinal tractFesten HP. Scand J Gastroenterol Suppl 1991 (abstract). Saved copy
  3. 3
    Increased intake of calcium reverses vitamin B12 malabsorption induced by metforminBauman WA et al. Diabetes Care 2000 (abstract). Saved copy
  4. 4
    Cyanocobalamin injection: FDA labelClinical Pharmacology. Saved copy
  5. 5
    Prilosec (omeprazole magnesium) for delayed-release oral suspension: FDA label1 Indications and Usage; 5.8 Cyanocobalamin (Vitamin B-12) Deficiency; 12.1 Mechanism of Action. Saved copy
  6. 6
    Metformin hydrochloride extended-release tablets: FDA label5.2 Vitamin B12 Deficiency. Saved copy
  7. 7
    Holotranscobalamin vs total vitamin B12: current evidence and laboratory challengesMarandola M et al. J Appl Lab Med 2026 (abstract). Saved copy
  8. 8
    Vitamin B12 deficiency and use of proton pump inhibitors: a systematic review and meta-analysisChoudhury A et al. Expert Rev Gastroenterol Hepatol 2023 (abstract). Saved copy
  9. 9
    Concomitant use of metformin and proton pump inhibitors increases vitamin B12 deficiency risk in type 2 diabetesJung C et al. J Diabetes Investig 2025 (abstract). Saved copy
Notes and limits
  • The Prilosec and metformin labels both list B12 deficiency among their warnings and precautions; their advice on checking B12 and treating a shortage is left out: this page explains the mechanism, not what to do.5,6
  • A 2023 review of 25 studies comparing people taking proton pump inhibitors with people not taking them found B12 deficiency slightly more common in those taking them; its authors say the studies differed significantly and the increase was too small to show a link clearly.8
  • In a 2025 study of health insurance records of adults newly diagnosed with type 2 diabetes who started metformin and took it for at least 4 months, those also taking a PPI had a somewhat higher risk of B12 deficiency, counted from diagnosis codes or B12 prescriptions (adjusted hazard ratio 1.18); a study like this shows an association, not a cause.9
  • The metformin label says the fall appears to reverse quickly when metformin is stopped or vitamin B12 is given.6
  • A 1991 paper on intrinsic factor and B12 absorption says B12 in food is bound to animal protein and is freed from it in the stomach by peptic digestion, and that too little or no stomach acid, whether caused by medical treatment or not, may impair B12 uptake. The same paper says omeprazole has no effect on intrinsic factor while substantially reducing acid secretion.2
  • The 1991 paper also says that in the stomach B12 freed from food protein is bound to R-proteins, and that pancreatic enzymes split that complex in the duodenum, where B12 is bound to intrinsic factor; the cyanocobalamin label says B12 is bound to intrinsic factor during transit through the stomach, as the drawing shows it.2,4

Notes that apply to every page are on How to read a page.

Spotted a mistake? Report an error (hello@openmechanism.com). Since launch, every published error we fix is listed on the corrections page.

Medical review

Medically reviewed by Daniel Tran, PharmD, on 13 November 2026.

Reviewer
Daniel Tran, PharmD, ORCID
Date
13 November 2026
Decision
Approved
What was checked
Science, teaching, drawing
Version reviewed
text 192cafe8cd15…; drawings 0bd13660ba14…; notes c00b3b143bbf…
AI source check
Claude Opus 5.5 (AI source check), 13 November 2026: 38 statements compared with their sources, 5 flagged for the reviewer. An automated check, not a medical review.
Next review due
14 May 2028

Cite this page

Tran D. Why PPIs and metformin can lower vitamin B12 [Internet]. OpenMechanism; 2026 [updated 2026 Nov 13; cited 2026 Nov 13]. Available from: https://openmechanism.com/explained/ppis-metformin-and-vitamin-b12