What happens when you take omeprazole with vitamin b12?
Omeprazole is a proton pump inhibitor (PPI) that blocks the H+/K+ ATPase pump in the parietal cells of the stomach. This dramatically lowers gastric acid secretion, which is precisely the therapeutic effect that makes it so useful for reflux, ulcers, and Zollinger-Ellison syndrome. But that same acid suppression has a downstream cost: vitamin B12 (cobalamin) absorption depends on gastric acid.
The vitamin B12 in food is bound to animal proteins. Before it can be absorbed, hydrochloric acid and pepsin in the stomach must cleave it free so it can bind to intrinsic factor and be absorbed in the terminal ileum. When omeprazole reduces acid output by 90% or more, this protein cleavage step is impaired, and a fraction of dietary B12 simply passes through unabsorbed.
Importantly, this mechanism does not apply to crystalline (supplemental) B12. Cyanocobalamin and methylcobalamin in pills, sublingual tablets, and injections are already free of food protein and absorb largely independently of stomach acid. The interaction is specifically with food-bound B12.
Why is this important?
B12 deficiency is sneaky. The body stores 2-5 years of B12 in the liver, so a developing deficiency takes years to manifest. By the time symptoms appear (fatigue, tingling in hands and feet, balance problems, memory issues, megaloblastic anemia, glossitis), nerve damage can already be partially irreversible. Older adults are at higher risk because age also reduces stomach acid output (atrophic gastritis), compounding the PPI effect.
A 2013 case-control study in JAMA found that 2 or more years of PPI use was associated with a 65% increased risk of a new B12 deficiency diagnosis. A 2022 cohort study found serum B12 was significantly lower in omeprazole users compared to pantoprazole users, with a dose- and duration-dependent pattern. The Zollinger-Ellison literature, where patients take PPIs at high doses for decades, shows 21% prevalence of B12 deficiency after a mean 5.6 years of PPI therapy.
The risk is highest in patients who are: over 65, on PPIs for more than 2 years, vegetarian or vegan, taking metformin (which independently lowers B12), have had bariatric surgery, or have underlying atrophic gastritis or H. pylori infection.
What should you do?
If you take omeprazole, especially long-term, here is the practical playbook:
- Annual B12 check after 2 years. Ask your prescriber for a serum B12 level. If it is below 300 pg/mL or you have symptoms, request a methylmalonic acid (MMA) test which is more sensitive.
- Supplement if needed. A standard 500-1000 mcg oral or sublingual cyanocobalamin or methylcobalamin tablet daily bypasses the absorption issue, because supplemental B12 does not need stomach acid.
- Do not stop omeprazole on your own. Abrupt PPI discontinuation causes rebound acid hypersecretion. If you no longer need the PPI, taper down with your doctor's guidance over 2-4 weeks.
- Consider the lowest effective PPI dose. Many people on PPIs are taking more than they need or have never had their indication reviewed. Step-down therapy or on-demand use may reduce the absorption burden.
- Watch for early symptoms. Unexplained fatigue, peripheral neuropathy (numbness/tingling), or cognitive fog warrant prompt B12 testing.
Which specific products are affected?
All proton pump inhibitors share this effect to some degree. Brand names include Prilosec (omeprazole), Nexium (esomeprazole), Prevacid (lansoprazole), Protonix (pantoprazole), AcipHex (rabeprazole), Dexilant (dexlansoprazole), and Zegerid (omeprazole/sodium bicarbonate). H2 blockers like famotidine (Pepcid) and cimetidine (Tagamet) reduce acid less dramatically but can also impair food-bound B12 absorption with chronic use.
On the supplement side, the form of B12 matters. Cyanocobalamin and methylcobalamin tablets, sublingual lozenges, and intramuscular injections all bypass the gastric acid step. Whole-food sources (meat, fish, eggs, dairy) and B12 bound to dietary protein are the forms affected by PPI suppression. Fortified foods (cereals, nutritional yeast, plant milks) usually contain crystalline B12 and absorb similarly to supplements.
The bottom line
Omeprazole and other PPIs reduce absorption of dietary (food-bound) vitamin B12 because they block the acid needed to free B12 from food proteins. Over 2 or more years, this can cause measurable B12 deficiency, with the highest risk in older adults and those on high-dose or combination therapy. The fix is simple: get B12 levels checked periodically once you have been on a PPI for 2+ years, and supplement with oral or sublingual B12 if levels are low. Supplemental B12 does not depend on stomach acid, so the interaction does not affect it. Do not stop the PPI on your own; instead, work with your doctor to use the lowest effective dose and consider periodic reassessment of whether you still need it.