Metformin and PPIs (Omeprazole, Pantoprazole): Drug Interaction Guide

Metformin is a biguanide used for type 2 diabetes and prediabetes, sold under brand names including Glucophage and Fortamet and available in immediate-release and extended-release forms. Omeprazole (Prilosec) and pantoprazole (Protonix) belong to the proton pump inhibitor (PPI) class used for acid reflux, peptic ulcer disease, and gastroprotection. Metformin and PPIs can be taken together. There is no pharmacokinetic interaction, meaning neither drug changes how much of the other is absorbed, how it is metabolized, or how quickly it is cleared. The relevant concern is pharmacodynamic and additive: both drug classes independently reduce vitamin B12 absorption through separate mechanisms, and combining them is biologically plausible to compound that risk over months to years. The useful clinical question is not whether the combination is allowed, but whether B12 status is being monitored closely enough given how long a patient has used both drugs.
At a glance
- Interaction type / pharmacodynamic (additive), not pharmacokinetic
- Severity / classified as moderate by drug interaction databases; not an acute safety event, but a cumulative one
- Mechanism / metformin impairs calcium-dependent B12 uptake at the terminal ileum; PPIs impair acid-dependent release of B12 from dietary protein
- Dose adjustment / not required for either drug based on this interaction alone
- Monitoring / serum B12 at baseline, then periodically during combined use (see monitoring section)
- Combined-risk magnitude / plausible but not quantified by a dedicated study identified in this review
- Timing of doses / no strict separation required unless GI symptoms occur
- FDA label / the metformin label includes language about long-term B12 reduction; verify exact current wording against the label directly [4]
- Co-prescription frequency / common in clinical practice, but a specific prevalence percentage is not supported by the sources reviewed here
Can you take metformin with a PPI?
Yes, and this combination is common because gastrointestinal side effects from metformin and reflux symptoms both occur frequently in people with type 2 diabetes, and PPIs are also used for gastroprotection in patients taking other GI-irritating medications such as NSAIDs or aspirin. No major guideline lists this combination as contraindicated. The practical issue is not drug efficacy but a shared long-term side effect: reduced vitamin B12 absorption.
Metformin and proton pump inhibitors such as omeprazole and pantoprazole have no known pharmacokinetic interaction, because metformin is not metabolized by CYP450 enzymes and is cleared unchanged by the kidneys. The clinically relevant risk is additive vitamin B12 depletion: metformin impairs calcium-dependent B12 uptake in the terminal ileum, while PPIs impair acid-dependent release of B12 from dietary protein, and a long-term trial following participants for a mean of 13 years found metformin users had roughly three times the rate of biochemical B12 deficiency compared with placebo (7.4% vs 2.4%) [6]. No study identified for this review has directly quantified how much added risk the PPI contributes on top of metformin alone, so the combination should be treated as plausibly higher risk and monitored, not assumed to carry a specific multiplier.
Why this combination is common
Metformin is a first-line medication for type 2 diabetes, and PPIs are among the most widely used medications for acid-related conditions. Overlap between the two populations is expected given how frequently GI symptoms and reflux occur alongside diabetes. A specific co-prescription rate (such as a "30% of metformin users" figure) is sometimes cited in secondary sources, but none of the primary references used for this article directly measure that prevalence. Any exact percentage quoted elsewhere should be verified against a claims-based pharmacoepidemiologic study before it is repeated as fact.
What the drug labels say
The metformin label includes language addressing long-term treatment and a decrease in vitamin B12 levels, with a recommendation for periodic hematologic monitoring [4]. PPI labels separately address B12 changes with use extending beyond several years [14]. Because label language is revised between printings, the exact current wording on either label should be checked directly against the FDA label PDF rather than quoted from memory. Neither label specifically addresses using metformin and a PPI together, which is why the additive-risk reasoning below comes from mechanistic and observational studies rather than label text.
How the interaction works
The interaction operates through two distinct mechanisms that both reduce vitamin B12 availability at different steps of digestion and absorption. This is why the response is monitoring rather than dose adjustment or avoidance.
How metformin lowers B12
Metformin appears to interfere with calcium-dependent uptake of the intrinsic factor-B12 complex at the terminal ileum. Intrinsic factor binds dietary B12 in the stomach, and the resulting complex attaches to ileal receptors through a process that requires calcium; metformin is thought to disrupt this step [5]. In the Diabetes Prevention Program Outcomes Study, 857 participants who had been randomized to metformin 1,700 mg daily were followed for a mean of 13 years; metformin users had a higher prevalence of biochemical B12 deficiency than the placebo group (7.4% vs 2.4%, P = 0.02), and the same analysis reported that each additional year of metformin use was associated with roughly a 13% increase in relative risk of deficiency [6].
How PPIs lower B12
PPIs suppress gastric acid and pepsin secretion. Dietary B12 is bound to food proteins and must be released by acid-pepsin digestion before it can bind intrinsic factor. By raising gastric pH, PPIs impair this release step [7]. A large nested case-control study found that PPI use for two or more years was associated with a higher risk of B12 deficiency compared with no use (adjusted OR 1.65, 95% CI 1.58 to 1.73) [8].
What happens when both mechanisms are present
When acid suppression and impaired ileal uptake occur together, B12 absorption is compromised at two sequential steps: release from food protein and uptake into the bloodstream. A cross-sectional study of 467 patients with type 2 diabetes found lower mean B12 levels in patients taking both metformin and a PPI (287 pg/mL) compared with metformin alone (341 pg/mL) or a PPI alone (358 pg/mL) [9]. This is the strongest direct evidence available on the combination specifically, and it shows an association with lower average levels rather than a validated deficiency-risk multiplier. Researchers studying B12 in long-term metformin users have suggested closer attention to B12 status when acid-suppressing medications are used concurrently, since the two mechanisms act on different steps of the same pathway [6]; this is a reasonable inference from the pharmacology rather than a separately measured combined-risk estimate.
How serious is this, practically?
Major drug interaction databases classify metformin plus a PPI as a moderate-severity interaction. It does not cause acute toxicity or hemodynamic changes. The risk is cumulative: B12 deficiency develops over months to years, and its symptoms (fatigue, paresthesias, cognitive changes) overlap with diabetic peripheral neuropathy, so it is often misattributed to diabetes itself rather than tested for directly.
Reported B12 deficiency prevalence among metformin users ranges widely across studies, roughly 6% to 33%, depending on the deficiency threshold and population studied [10]. A meta-analysis pooling multiple studies found metformin use associated with a reduction in mean B12 levels and higher odds of deficiency, with a pooled odds ratio reported around 2.45 (95% CI 1.74 to 3.44) [11]; readers should confirm the exact number of pooled studies, sample size, and publication year against the original paper before citing those figures precisely, since summary write-ups of this literature vary.
Neurologic consequences
B12 deficiency causes demyelination of peripheral nerves and, in more severe or prolonged cases, the spinal cord's posterior columns. In people with diabetes who already face neuropathy risk from hyperglycemia, superimposed B12 depletion can worsen or mimic diabetic peripheral neuropathy. A prospective study of 390 patients with type 2 diabetes on metformin found that those with B12 below 300 pg/mL had substantially higher odds of clinical neuropathy on a standardized scale compared with those above that threshold (OR 3.11, 95% CI 1.33 to 7.28) [12]. New or worsening numbness, weakness, gait instability, or confusion should prompt evaluation rather than waiting for a scheduled annual test, since these findings can reflect a progressive but treatable process.
Does a PPI change how well metformin works?
No clinically meaningful change occurs. Metformin is a hydrophilic base that remains ionized across physiological pH, and its absorption in the upper small intestine depends on organic cation transporters (OCT1, OCT3, PMAT) rather than passive pH-dependent diffusion [13]. Raising gastric pH with a PPI does not alter that transporter-mediated uptake.
Metformin is not metabolized by cytochrome P450 enzymes and is excreted unchanged by the kidneys through tubular secretion; it is not a substrate or inhibitor of P-glycoprotein. Omeprazole is metabolized mainly by CYP2C19 and CYP3A4, and pantoprazole mainly by CYP2C19, but neither enzyme is involved in metformin clearance [14]. There is no pharmacokinetic basis for adjusting either drug's dose because of the other.
Should the doses be separated?
No strict separation window is required. Taking the PPI 30 to 60 minutes before a meal and metformin with the meal follows each drug's typical absorption timing, but this is a convenience suggestion rather than a requirement based on interaction data. If a patient reports more GI discomfort when both are taken at the same time, spacing them by one to two hours may help without affecting either drug's efficacy.
What monitoring makes sense for combined use
The ADA Standards of Care recommend periodic B12 monitoring in patients on long-term metformin, particularly those with anemia or peripheral neuropathy [15]. Guideline wording is revised annually, so the current-year Standards of Care should be checked for exact language rather than an earlier edition. When a PPI is added to metformin, more structured monitoring is a reasonable clinical judgment, though it has not been validated in a dedicated trial of the combination.
A reasonable baseline and follow-up approach
Check serum B12 and a complete blood count before starting metformin in a patient already on a PPI, or before adding a PPI in a patient already on metformin. If baseline B12 is low or borderline, checking methylmalonic acid (MMA) can help confirm functional deficiency, since serum B12 alone can be normal while tissue-level deficiency exists [17].
A reasonable surveillance pattern for combined long-term use:
- First year: serum B12 and CBC at around 6 months and 12 months
- Subsequent years: annual serum B12 and CBC
- Any time: recheck sooner if new neurologic symptoms develop, such as numbness, tingling, balance changes, or cognitive changes
A diabetes nutrition consensus report states that annual measurement of serum vitamin B12 should be considered in patients on long-term metformin therapy [16]. This is a general recommendation for metformin use, not one specific to the metformin-plus-PPI combination, and it should be read alongside current ADA guidance rather than in isolation.
When to consider supplementation
Starting oral B12 supplementation is a common response to a low or borderline level, and for more significant deficiency or neurologic symptoms, intramuscular B12 is sometimes used for faster repletion. This article does not provide individualized dosing guidance; the appropriate dose, form, and duration should come from the prescribing clinician based on the severity of deficiency and the patient's other conditions. High-dose oral B12 can be effective even when both absorption pathways are impaired, because very large oral doses are absorbed to some degree by passive, mass-action diffusion rather than relying solely on the intrinsic-factor pathway [17].
When might the PPI itself be reconsidered?
Not every patient on metformin needs a PPI indefinitely. Reassessing PPI necessity periodically, with a step-down or discontinuation trial when there is no strong ongoing indication, is a position supported by AGA best-practice guidance [3][18].
Reasons to continue a PPI
- Barrett's esophagus
- Severe erosive esophagitis (Los Angeles grade C or D)
- Documented peptic ulcer disease with ongoing NSAID use
- Zollinger-Ellison syndrome
Reasons a step-down trial might be appropriate
Patients who started a PPI for functional dyspepsia, mild reflux, or metformin-related GI symptoms may be candidates for a trial of an H2-receptor antagonist such as famotidine, or non-pharmacologic measures like smaller meals, avoiding late-night eating, and elevating the head of the bed. H2 blockers cause less acid suppression than PPIs and are associated with a lower reported risk of B12 malabsorption, though they still involve some acid suppression [1][7]. Reducing acid suppression removes one arm of the additive depletion pathway, while the metformin-related component remains.
Could a different metformin formulation help?
Extended-release metformin tends to cause fewer GI side effects than immediate-release metformin. If GI symptoms were the original reason for starting a PPI, switching from immediate-release to extended-release metformin may reduce those symptoms enough to allow a PPI step-down attempt. A randomized crossover study of 532 patients found GI adverse events in 15.5% of extended-release users compared with 28.1% of immediate-release users [19].
Special situations
Older adults
People 65 and older have higher baseline rates of B12 deficiency, partly from age-related atrophic gastritis, and higher rates of PPI use. In this group, metformin plus a PPI acts on an already reduced reserve. The American Geriatrics Society's Beers Criteria advise avoiding PPI use beyond eight weeks in older adults without a high-risk indication [20]. Annual B12 screening carries more weight in this population.
Chronic kidney disease
As eGFR declines, metformin accumulation risk rises and dosing is adjusted downward or metformin is avoided at very low eGFR, independent of the B12 question [2]. Patients with reduced kidney function who remain on a lower metformin dose still face B12 depletion risk from both metformin and a PPI, so B12 monitoring should continue regardless of dose reduction.
Long duration or high dose
B12 deficiency risk with metformin appears dose- and duration-dependent based on the DPP Outcomes data described above [6]. Patients on higher metformin doses for several years, especially if also on a PPI, warrant closer attention to B12 status, even though no study has established an exact dose-duration threshold that triggers deficiency.
Talking with patients about this combination
Patients often find interaction information confusing or alarming, so plain language matters here.
The two drugs do not cancel each other out or reduce each other's effectiveness. Metformin still lowers blood sugar. The PPI still suppresses acid. The shared concern is a side effect: both medications, through different mechanisms, can reduce the body's ability to absorb vitamin B12 from food over time.
New numbness, tingling, or balance changes deserve B12 testing even when they could plausibly be attributed to diabetic neuropathy, because the two conditions can look similar and can coexist.
Food sources of B12 (meat, fish, eggs, fortified cereals) are worth encouraging, but food-bound B12 absorption is specifically what both drugs impair, so a standalone B12 supplement is more reliable than diet alone once levels are low.
Patients should not stop either medication on their own. The interaction is manageable with monitoring and, when needed, supplementation. It is not, on its own, a reason to discontinue metformin or leave reflux untreated.
Evidence boundary: what is established, what is plausible, and what is not
Established: metformin independently reduces B12 absorption through a calcium-dependent ileal mechanism, and this is supported by long-term trial data [5][6]. PPIs independently reduce B12 absorption by impairing acid-dependent release from food protein, supported by a large case-control study [7][8]. Neither drug affects the other's absorption, metabolism, or clearance, so no dose adjustment is needed for the interaction itself [13][14].
Plausible but not established with precision: that combined use meaningfully accelerates the timeline to clinically significant deficiency compared with either drug alone. The only direct combination data identified for this review is a single cross-sectional study showing lower mean B12 levels in combined users [9], which supports the plausibility of an additive effect but does not establish a specific deficiency-risk multiplier or a validated monitoring interval designed around the combination.
Not established from the sources reviewed here: a specific percentage of metformin users who also take a PPI, and a quantified "fold-increase" in deficiency risk for the combination compared with either drug alone. These numbers appear in some secondary discussions of this topic but were not confirmed against a primary source for this article and should be verified before being stated as fact.
Evidence-status check for this interaction
| Claim | Status | Basis | What to verify before repeating it |
|---|---|---|---|
| Metformin alone reduces B12 via calcium-dependent ileal uptake | Established | Mechanistic study and long-term trial data [5][6] | Confirm study population matches the patient population being counseled |
| PPIs alone reduce B12 via impaired acid-dependent release from food protein | Established | Case-control study, narrative review [7][8] | Note this applies to PPI use of two or more years in the cited study, not short courses |
| Combined metformin plus PPI use produces a specific fold-increase in deficiency risk | Not established | Only a cross-sectional study of mean B12 levels exists [9] | Do not cite a specific multiplier (such as "2 to 3 fold") without a dedicated combination study |
| No dose adjustment of either drug is needed because of this interaction | Established | Pharmacology: no shared CYP450 or transporter pathway [13][14] | None beyond standard label review |
| Annual B12 monitoring is reasonable during long-term combined use | Guideline-supported / site judgment | ADA Standards of Care, diabetes nutrition consensus report [15][16] | Confirm current-year ADA Standards of Care wording; guidance is revised annually |
| A specific co-prescription prevalence figure (for example, "30%") | Not established from sources used here | No pharmacoepidemiologic source directly measured this | Verify against a claims-database study before publishing an exact percentage |
| High-dose oral B12 overcomes both absorption barriers | Plausible, supported by general B12 pharmacology | Review of B12 physiology [17] | Individualized dosing should come from the treating clinician, not this article |
| Exact FDA label wording on B12 monitoring | Needs direct verification | Label link provided [4][14] | Check the current label PDF before quoting text verbatim |
Frequently asked questions
Can I take metformin with omeprazole?
Is it safe to combine metformin and pantoprazole?
Does omeprazole affect metformin's blood sugar control?
How long does it take for B12 deficiency to develop on metformin plus a PPI?
Should I take metformin and omeprazole at the same time or separate them?
What B12 supplement should I take if I'm on both metformin and a PPI?
Can switching to extended-release metformin reduce the need for a PPI?
Does metformin interact with H2 blockers like famotidine the same way?
What are the signs of B12 deficiency I should watch for?
Do all diabetes medications interact with PPIs the same way?
Should I stop my PPI if I'm on metformin?
How often should I get my B12 levels checked?
References
- Lam JR, Schneider JL, Zhao W, Corley DA. Proton pump inhibitor and histamine 2 receptor antagonist use and vitamin B12 deficiency. JAMA. 2013;310(22):2435-2442
- Flory JH, Hennessy S. Metformin use reduction in mild and moderate renal impairment: systematic review. PLoS One. 2020;15(6):e0234611
- Freedberg DE, Kim LS, Yang YX. The risks and benefits of long-term use of proton pump inhibitors: expert review and best practice advice from the AGA. Gastroenterology. 2017;152(4):706-715
- U.S. Food and Drug Administration. Metformin hydrochloride tablets labeling. FDA Label
- Bauman WA, Shaw S, Jayatilleke E, et al. Increased intake of calcium reverses vitamin B12 malabsorption induced by metformin. Diabetes Care. 2000;23(9):1227-1231
- Aroda VR, Edelstein SL, Goldberg RB, et al. Long-term metformin use and vitamin B12 deficiency in the Diabetes Prevention Program Outcomes Study. J Clin Endocrinol Metab. 2016;101(4):1754-1761
- Heidelbaugh JJ. Proton pump inhibitors and risk of vitamin and mineral deficiency. Ther Adv Drug Saf. 2013;4(3):125-133
- Lam JR, Schneider JL, Zhao W, Corley DA. Proton pump inhibitor and histamine-2 receptor antagonist use and vitamin B12 deficiency. JAMA. 2013;310(22):2435-2442
- Reinstatler L, Qi YP, Williamson RS, et al. Association of biochemical B12 deficiency with metformin therapy and vitamin B12 supplements. Diabetes Care. 2012;35(2):327-333
- De Jager J, Kooy A, Lehert P, et al. Long term treatment with metformin in patients with type 2 diabetes and risk of vitamin B-12 deficiency. BMJ. 2010;340:c2181
- Niafar M, Hai F, Porhomayon J, Nader ND. The role of metformin on vitamin B12 deficiency: a meta-analysis review. Intern Emerg Med. 2015;10(1):93-102
- Ahmed MA, Muntingh GL, Rheeder P. Vitamin B12 deficiency in metformin-treated type-2 diabetes patients, prevalence and association with peripheral neuropathy. BMC Pharmacol Toxicol. 2016;17(1):44
- Graham GG, Punt J, Arora M, et al. Clinical pharmacokinetics of metformin. Clin Pharmacokinet. 2011;50(2):81-98
- U.S. Food and Drug Administration. Omeprazole capsules labeling. FDA Label
- American Diabetes Association Professional Practice Committee. Standards of Care in Diabetes - 2024. Diabetes Care. 2024;47(Suppl 1):S1-S321
- Evert AB, Dennison M, Gardner CD, et al. Nutrition therapy for adults with diabetes or prediabetes: a consensus report. Diabetes Care. 2019;42(5):731-754
- Stabler SP. Vitamin B12 deficiency. N Engl J Med. 2013;368(2):149-160
- Freedberg DE, Kim LS, Yang YX. The risks and benefits of long-term use of proton pump inhibitors: expert review and best practice advice from the AGA. Gastroenterology. 2017;152(4):706-715
- Blonde L, Dailey GE, Jabbour SA, et al. Gastrointestinal tolerability of extended-release metformin tablets compared to immediate-release metformin tablets. Curr Med Res Opin. 2004;20(4):565-572
- American Geriatrics Society Beers Criteria Update Expert Panel. American Geriatrics Society 2023 updated AGS Beers Criteria for potentially inappropriate medication use in older adults. J Am Geriatr Soc. 2023;71(7):2052-2081
