Patients in the current user category received their last PPI prescription in the last year prior to the index date; those in the recent user category received their last PPI prescription 1 to 1.9 years prior to the index date; those in the former user category received their last PPI prescription 2 to 2.9 years prior to the index date; those in the remote former user category received their last PPI prescription 3 or more years prior to the index date.
eTable. PPI Use =2 Years and Vitamin B12 Deficiency, Stratified by Presence or Absence of Other Specific Risk Factors for Vitamin B12 Deficiency
Customize your JAMA Network experience by selecting one or more topics from the list below.
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. doi:https://doi.org/10.1001/jama.2013.280490
Proton pump inhibitors (PPIs) and histamine 2 receptor antagonists (H2RAs) suppress the production of gastric acid and thus may lead to malabsorption of vitamin B12. However, few data exist regarding the associations between long-term exposure to these medications and vitamin B12 deficiency in large population-based studies.
To study the association between use of PPIs and H2RAs and vitamin B12 deficiency in a community-based setting in the United States.
Design, Setting, and Patients
We evaluated the association between vitamin B12 deficiency and prior use of acid-suppressing medication using a case-control study within the Kaiser Permanente Northern California population. We compared 25 956 patients having incident diagnoses of vitamin B12 deficiency between January 1997 and June 2011 with 184 199 patients without B12 deficiency. Exposures and outcomes were ascertained via electronic pharmacy, laboratory, and diagnostic databases.
Main Outcomes and Measures
Risk of vitamin B12 deficiency was estimated using odds ratios (ORs) from conditional logistic regression.
Among patients with incident diagnoses of vitamin B12 deficiency, 3120 (12.0%) were dispensed a 2 or more years’ supply of PPIs, 1087 (4.2%) were dispensed a 2 or more years’ supply of H2RAs (without any PPI use), and 21 749 (83.8%) had not received prescriptions for either PPIs or H2RAs. Among patients without vitamin B12 deficiency, 13 210 (7.2%) were dispensed a 2 or more years’ supply of PPIs, 5897 (3.2%) were dispensed a 2 or more years’ supply of H2RAs (without any PPI use), and 165 092 (89.6%) had not received prescriptions for either PPIs or H2RAs. Both a 2 or more years’ supply of PPIs (OR, 1.65 [95% CI, 1.58-1.73]) and a 2 or more years’ supply of H2RAs (OR, 1.25 [95% CI, 1.17-1.34]) were associated with an increased risk for vitamin B12 deficiency. Doses more than 1.5 PPI pills/d were more strongly associated with vitamin B12 deficiency (OR, 1.95 [95% CI, 1.77-2.15]) than were doses less than 0.75 pills/d (OR, 1.63 [95% CI, 1.48-1.78]; P = .007 for interaction).
Conclusions and Relevance
Previous and current gastric acid inhibitor use was significantly associated with the presence of vitamin B12 deficiency. These findings should be considered when balancing the risks and benefits of using these medications.
Vitamin B12 deficiency is relatively common, especially among older adults; it has potentially serious medical complications if undiagnosed. Left untreated, vitamin B12 deficiency can lead to dementia, neurologic damage, anemia, and other complications, which may be irreversible. According to data from the National Health and Nutrition Examination Survey, 3.2% of adults older than 50 years are estimated to have low serum vitamin B12 levels.1 Other studies have reported prevalence rates of 5% to 15%, although these may be underestimates of the true prevalence in some population subgroups.2,3 Thus, identifying modifiable risk factors for vitamin B12 deficiency is of significant public health importance.
Acid inhibitors are among the most commonly used pharmaceuticals in the United States. In 2012, 14.9 million patients received 157 million prescriptions for proton pump inhibitors (PPIs); thus, use of PPIs could theoretically increase the population’s risk of vitamin B12 deficiency.4 Gastric acid is required to cleave vitamin B12 from ingested dietary proteins for the essential vitamins to be absorbed, and it is produced by the same cells that produce intrinsic factor, a compound required for vitamin B12 absorption.5 Thus, PPIs and histamine 2 receptor antagonists (H2RAs), which suppress the production of gastric acid, may lead to malabsorption of vitamin B12.
Studies examining the relationship of PPI use and vitamin B12 deficiency have focused primarily on small groups of elderly individuals and yielded inconsistent results. Although some studies suggested that acid suppressive medications are associated with lower vitamin B12 levels in older populations,6-9 others found no association.10-15 To our knowledge, no large population-based studies exist. Therefore, we performed a case-control study to evaluate the relationship between the use of acid-suppressing prescription medications and the risk of vitamin B12 deficiency within a large, community-based population.
We conducted a nested case-control study within the Kaiser Permanente Northern California (KPNC) integrated healthcare system, which provides comprehensive inpatient and outpatient services for approximately 3.3 million members. The KPNC membership approximates the underlying census race/ethnicity and socioeconomic distributions of the Northern California region.16 Prescription drug benefits are utilized by more than 90% of members. Databases electronically record dose, amount, directions for use, calculated days supply, and refills for all dispensed prescriptions; the performance of these databases is validated for both as-needed and daily medications.17,18 Additional electronic databases include information on membership, medical diagnoses, and procedures performed. The study was approved by the KPNC institutional review board; the requirement for informed consent was waived.
Case patients were KPNC members who were at least 18 years of age, had at least 1 year of membership prior to the index date, and had an initial diagnosis of vitamin B12 deficiency between January 1997 and June 2011. The index date was the first date of diagnosis for vitamin B12 deficiency, or the first date of vitamin B12 supplement treatment, for case patients and matched controls. Vitamin B12 deficiency was defined as the presence of 1 of the following: the first diagnostic code for vitamin B12 deficiency, using International Classification of Diseases, Ninth Revision codes 281.0 (pernicious anemia), 281.1 (other vitamin B12 deficiency anemia), 266.2 (specified at KPNC as vitamin B12 deficiency), or specific text diagnoses of vitamin B12 deficiency in the problem list; an abnormally low value for serum vitamin B12; or a new and at least 6-month supply of injectable vitamin B12 supplements. Sensitivity analyses were performed for the different case definitions.
For each case patient, up to 10 matched control patients (as available by matching criteria) were randomly selected from the KPNC membership using incidence density sampling; controls were chosen from among all eligible adult members who lacked a diagnosis of vitamin B12 deficiency at the time of the case diagnosis.
Controls were matched by sex, region of home facility, race/ethnicity, year of birth within 1 year of the matched case, and membership duration (rounded to year) within 1 year.
Medication exposure status was determined using the KPNC pharmacy database and a priori definitions of prior medication use. The primary exposure definition used a “days supplied” variable that combined the number of pills dispensed with the instructions for use; for example, a prescription for 60 pills twice a day equaled a 30-day supply. The exposure duration was the interval between the first and last prescriptions plus the days supplied for the last prescription. We evaluated adherence and dose intensity using the “mean daily dose” (dispensed pills divided by exposure duration) and 3 dose categories: less than 0.75 pills/d, 0.75 to 1.49 pills/d, and 1.5 pills/d or more.
For the primary PPI analyses, exposed patients were defined as those who received at least a 2-year supply of PPIs prior to their index date; the unexposed (reference) group was defined as patients without current or prior prescriptions for either PPIs or H2RAs. Exposure was further stratified by dose and duration. Because PPIs are more potent than H2RAs, PPI-exposed patients may have also taken H2RAs.
For the primary H2RA analyses, exposed patients were defined as those who had received at least a 2-year supply of H2RAs and did not have a current or prior prescription for PPIs.
The potential for confounding was evaluated by considering conditions associated with vitamin B12 deficiency (ie, dementia, diabetes mellitus, thyroid disease, Helicobacter pylori infection, alcohol abuse, smoking, atrophic gastritis, and achlorhydria)19-25 using International Classification of Diseases, Ninth Revision coding prior to the index date. We also evaluated whether expected positive associations were present for other medications known to be associated with vitamin B12 deficiency or with the treatment of associated conditions (ie, among persons receiving thyroid supplementation or metformin26).
The potential for confounding by health service utilization was also evaluated, given that patients who utilize medical services may have greater opportunities to be diagnosed with vitamin B12 deficiency and to receive a prescription for acid inhibitors, even if no causal association exists. Thus, we evaluated, as surrogates for use of care, common diagnostic codes not linked to B12 deficiency or acid-suppressing medications (ie, hypertension, arthritis, and use of screening tests such as a history of colon polyp). We also examined whether other commonly used medications were associated with vitamin B12 deficiency (ie, estrogen therapy, thiazide diuretics, angiotensin-converting enzymes, calcium channel blockers) and whether similar associations were found only among persons with gastroesophageal reflux disease (GERD), comparing patients having a GERD diagnosis who used PPIs with patients having a GERD diagnosis who had no recorded prescription use of acid-suppressing medications. Patients were considered to have been exposed to metformin if they had received at least a 180-day supply in the 500 days prior to the index date. For all other medications, patients were considered exposed if they had received 1 or more prescriptions prior to the index date.
We evaluated whether asymptomatic screening for vitamin B12 deficiency in the KPNC population was greater among persons taking acid-suppressing medications than among those not taking such medications. For this analysis, among all KPNC members older than 40 years with at least 2 years of membership, we identified persons who had (vs had not) received at least 1 prescription for a PPI and the proportion who subsequently received a laboratory test to measure vitamin B12 level in the years 2009 through March 2013.
The study used standard analytic techniques for evaluating case-control studies and conditional logistic regression for evaluating multiple matched controls; the odds ratio (OR) was used as an estimate of the relative risk.27-30 All primary definitions and modeling strategies were planned a priori. The “saturated” model contained all potential variables noted above. Confounding was evaluated by contrasting ORs between models with and without each potential confounder; the final model included factors that altered the OR by 10% or more.27 Of all the conditions and medications evaluated, none met these criteria; thus, the final model was the bivariate model that included the outcome and the exposure. Effect modification was evaluated using cross-product terms in the logistic regression model and by evaluating stratum-specific ratios.28 Significance was determined with a P value threshold of .05; tests for interaction (on the cross-product terms in the logistic regression), evaluations of differences between ORs, and the χ2 test for trend used 2-sided testing. Comparable results were found for both the conditional and the unconditional logistic regression models; thus, all main results used conditional regression models. The prevalence estimate of vitamin B12 deficiency in the KPNC population was calculated among all persons older than 50 years who were KPNC members between January 2006 and December 2010. Analyses were performed using SAS version 9.3 (SAS Institute) and Stata version 10 (StataCorp).
We identified 43 512 KPNC members with an incident diagnosis of vitamin B12 deficiency between January 1, 1997, and June 30, 2011. We excluded case patients lacking matched controls (n = 234), potential cases (n = 1751) and controls with diagnoses known to directly cause vitamin B12 deficiency, and potential cases (15 571) and controls who had taken PPIs or H2RAs for less than 2 years. This resulted in 25 956 cases and 184 199 controls in the final analyses. Case patients were predominantly female (57.4%), 60 years or older (67.2%), and of non-Hispanic white race/ethnicity (68.4%) (Table 1). Among case patients, 3120 (12.0%) were dispensed a 2 or more years’ supply of PPIs, 1087 (4.2%) were dispensed a 2 or more years’ supply of H2RAs (without any PPI use), and 21 749 (83.8%) had not received prescriptions for either PPIs or H2RAs. Among control patients, 13 210 (7.2%) were dispensed a 2 or more years’ supply of PPIs, 5897 (3.2%) were dispensed a 2 or more years’ supply of H2RAs (without any PPI use), and 165 092 (89.6%) had not received prescriptions for either PPIs or H2RAs.
A new diagnosis of vitamin B12 deficiency was more common among persons with a 2-year or greater supply of PPIs compared with nonusers (OR, 1.65 [95% CI, 1.58-1.73]). A total of 5746 case patients had received a 6 or more months’ supply of B12 supplements; among these patients, 1962 had neither a recorded test result for B12 deficiency nor a recorded diagnosis of B12 deficiency. Similar positive associations were found using different case definitions, such as having both a low serum B12 level and a prescription for vitamin B12 supplements (OR, 1.50 [95% CI, 1.26-1.78]). Vitamin B12 deficiency was also associated with a 2 or more years’ supply of H2RAs (OR, 1.25 [95% CI, 1.17-1.34]).
Among persons taking PPIs for 2 years or more, the highest mean daily dose was more strongly associated with vitamin B12 deficiency (≥1.5 PPI pills/d: OR, 1.95 [95% CI, 1.77-2.15]) than were lower doses (eg, <0.75 PPI pills/d: OR, 1.63 [95% CI, 1.48-1.78] and 0.75 to 1.49 PPI pills/d: OR, 1.55 [95% CI, 1.46-1.64]; P = .007 for interaction for <0.75 vs ≥1.5 PPI pills/d) (Table 2 and Table 3). There was a significant test for trend across all PPI dose categories, including nonusers (P < .001 for trend), although not among analyses confined only to different doses among users of PPIs, using the less than 0.75 pills/d category as the reference category (P = .22). Similar results were found for H2RA use, with a significant test for trend across all categories of H2RA use (P < .001 for trend), although not among only users of H2RAs, using the less than 0.75 pills/d category as the reference category (P = .84 for trend).
There was a statistically significant increase in the association of vitamin B12 deficiency with longer durations of use among all PPI users (P < .001 for trend) (Tables 2 and 3), although this was primarily attributable to the difference between nonusers and users; no significant trend was found with increasing duration among analyses confined to patients with 2 or more years of PPI use (P = .38 for trend). There was also no trend in association with increasing duration of H2RA use (P = .40 for trend).
The strength of the association between PPI use and vitamin B12 deficiency diminished after discontinuation of use (Figure). The association was stronger among recent users (≥2-year supply of PPIs and last prescription within 1 year prior to the index date) (OR, 1.80 [95% CI, 1.51-2.14]); in contrast, the association was weaker among persons whose most recent prescription was 2 to 2.9 years (OR, 1.43 [95% CI, 1.11-1.85]) and 3 or more years before the index date (OR, 1.38 [95% CI, 1.14-1.66]; P = .007 for trend).
The overall prevalence of vitamin B12 deficiency in our KPNC population was 2.3% for persons older than 50 years; using this as an estimate of the baseline population risk, an excess risk of 1.65 from the main model would provide a number needed to harm of 67 for 2 or more years of PPI use.
The association between 2 or more years of PPI use and vitamin B12 deficiency was present among patients with no other risk factors for B12 deficiency (OR, 1.65 [95% CI, 1.42-1.91]) as well as among patients with 1 or more risk factors (OR, 1.50 [95% CI, 1.42-1.58]) (eTable in Supplement). The associations were comparable among persons with each risk factor and also comparable with the odds from our final model (OR, 1.65 [95% CI, 1.58-1.73]), with the exception of H pylori infection (absent: OR, 1.66 [95% CI, 1.58-1.74]; present: OR, 0.95 [95% CI, 0.49-1.83]; P < .001 for interaction) (eTable in Supplement).
The association between 2 or more years of PPI use and vitamin B12 deficiency differed by age (P < .001 for interaction); it was strongest among those younger than 30 years (OR, 8.12 [95% CI, 3.36-19.59]) and decreased with increasing age (OR, 1.04 [95% CI, 0.96-1.13] for ages 80 years or older, for example). The association was stronger among women (OR, 1.84 [95% CI, 1.74-1.95]) than men (OR, 1.43 [95% CI, 1.33-1.53]; P < .001 for interaction). There was no significant interaction by race/ethnicity (P = .18). An association was present among both persons with a GERD diagnosis (OR, 1.41 [95% CI, 1.25-1.59] for ≥2 years of PPI use vs no recorded use of acid-suppressing medications) and persons without a GERD diagnosis (OR, 1.70 [95% CI, 1.49-1.95] for ≥2 years of PPI use vs no recorded use of acid-suppressing medications).
The associations between vitamin B12 deficiency and other medications or medical conditions were generally in accordance with expected values (Table 4). For medications and conditions not known to be mechanistically linked with vitamin B12 deficiency, we found no significant association or only weak associations; for medications and conditions with known associations, the relationships were in the expected positive direction.
The associations between prescriptions for at least a 2-year supply of PPIs and B12 deficiency were similar among cases diagnosed in the years 1997-2003 (prior to PPIs being available over the counter; OR, 1.55 [95% CI, 1.34-1.80]) and among cases diagnosed in the years 2004 to 2011 (after PPIs also became available over the counter; OR, 1.67 [95% CI, 1.59-1.75]).
During the years 2009-2013, among all KPNC members older than 40 years with at least 2 years of membership, 26.8% of those who had received at least 1 PPI prescription also received a subsequent test for vitamin B12, compared with 17.2% of persons who had not received a PPI prescription (unmatched by age, sex, and other factors); this difference decreased with matching by sex and age (eg, among men between the ages of 60 and 69 years, the proportions were 24.0% and 17.4%). Unlike the adjusted ORs, which used a matched design, these proportions do not account for other differences between these groups, such as duration of membership or comorbid conditions. A chart review of 20 randomly selected case patients who had been taking PPIs for 2 or more years to determine indications for B12 testing found that 25% had been tested for anemia, 20% for neuropathy, 15% for fatigue or symptoms of anemia, 15% for ataxia, and 15% for memory loss or psychiatric issues; 10% had no clear indication.
In our study, use of acid-inhibiting medications for 2 or more years was associated with a subsequent new diagnosis of vitamin B12 deficiency. The magnitude of the association was stronger in women and younger age groups with more potent acid suppression (PPIs vs H2RAs) and decreased after discontinuation of use. There was no significant trend with increasing duration of use and no strong evidence for confounding by utilization of medical care.
These findings extend those of prior small studies that evaluated acid inhibitor use and vitamin B12 deficiency. A case-control study of 53 patients with vitamin B12 deficiency in a geriatric primary care setting found that current use of PPIs/H2RAs for 12 or more months was associated with vitamin B12 deficiency (OR, 4.45 [95% CI, 1.47-13.34]) but reported no association for past or short-term use.7 In contrast, a cross-sectional study of 542 elderly patients found that prolonged PPI use was associated with decreased vitamin B12 levels, but prolonged H2RA use was not.8 These results differ from those of a Dutch study of 125 PPI users older than 65 years that reported no association between PPI use and vitamin B12 status, although the reference group consisted of partners of the users and the study had limited power.12 Two other studies in children reported no association.13,14 The discrepancies in findings may be explained by smaller sample sizes and differences in the populations studied (ie, elderly vs children).
Several findings in this study met Hill’s criteria for a possible causal association between the use of acid-suppressing medications and vitamin B12 deficiency.31 These included the strength of the association, with ORs of approximately 2 among patients with higher doses of exposure; temporality of the effect, with decreasing associations after discontinuation of acid inhibitor use; evidence of a dose response, with stronger associations found among patients taking the more potent PPI medications and weakening of the associations after medication discontinuation; plausibility, with a potential mechanism of action on the gastric parietal cells and a prior clinical trial that demonstrated decreased B12 absorption among persons taking omeprazole9; and consistency, with associations found for different types of acid inhibitors. Supplemental analyses suggest that the findings are not solely explained by health service utilization. For example, no similar strong associations were found with other commonly used medications, even though expected associations were found for medications and conditions with known associations with vitamin B12 deficiency. The overall association was also greater than that for other conditions with known associations with B12 deficiency, such as thyroid disease.21,32 The prevalence of diagnosed vitamin B12 deficiency in the KPNC population older than 50 years (in which not all people are tested) is 2.3%, which is comparable with the prevalence estimate of 3.2% among persons in the National Health and Nutrition Examination Survey older than 50 years, a sample in which all persons were tested.1
This study has several potential limitations. Spurious associations may be seen with variables related to the utilization of medical services, and case-control studies may not be able to completely control for such confounding. However, adjustment for other common medical conditions and restricting the analyses to patients with or without a diagnosis of GERD still demonstrated persistent positive associations, and no strong associations were found for other commonly used medications. Even adjustment for multiple conditions, including ones associated with B12 deficiency, which can lead to overmatching, decreased but did not eliminate the association. Although no guidelines recommend that patients taking acid inhibitors be screened for B12 deficiency, ascertainment bias is potentially a concern if patients taking acid-suppressing medications are more likely to be tested for B12 deficiency. We would expect this bias to influence the results primarily if patients taking medications were being screened at a higher rate for asymptomatic disease, leading to chance discovery, but not if the exposure actually caused symptomatic disease and patients subsequently received a diagnostic evaluation. Although the rate of testing was higher among PPI users in the general population, the formal analyses adjusted for many factors (eg, duration of membership and age) not accounted for by these crude estimates, and the reasons for testing among the cases appeared to be symptom driven: only 10% of the cases sampled had no symptomatic indication for vitamin B12 testing. Thus, cases appeared to be defined by symptom-driven testing rather than testing from asymptomatic screening.
We did not evaluate associations for short periods of use (<1 year), given that such use may be for acute medical conditions and hospitalizations, although even short-term PPI use has been suggested to decrease vitamin B12 absorption under experimental conditions.9,11,33 The mean daily dose was calculated using the first and last prescription dates and may not accurately represent consistent long-term medication use, especially for persons with smaller prescriptions averaged over time. Misclassification of exposure status may influence the results. Even though KPNC members receive discounted prescriptions, some may take over-the-counter PPIs or H2RAs not detected by the pharmacy databases; however, similar associations were seen even for earlier periods, and over-the-counter-use would be expected to decrease the strength of the association toward the null.
The strengths of this study include its large size, access to care for all members, up to 15 years of exposure data, the ascertainment of all recorded diagnoses of vitamin B12 deficiency arising within the study population (thereby minimizing referral bias), detailed electronic data for dispensed medication (eliminating recall bias), and the use of a control group that approximates the underlying general population of the region. The large study size permitted evaluation for small intervals of use and for multiple potential confounders, including confounding by health service utilization.
This study found an association between the use of PPIs and H2RAs for 2 or more years and a subsequent diagnosis of vitamin B12 deficiency. We cannot completely exclude residual confounding as an explanation for these findings, but, at minimum, the use of these medications identifies a population at higher risk of B12 deficiency, independent of additional risk factors. These findings do not recommend against acid suppression for persons with clear indications for treatment, but clinicians should exercise appropriate vigilance when prescribing these medications and use the lowest possible effective dose. These findings should inform discussions contrasting the known benefits with the possible risks of using these medications.
Corresponding Author: Douglas A. Corley, MD, PhD, Division of Research, Kaiser Permanente, 2000 Broadway, Oakland, CA 94612 (email@example.com).
Author Contributions: Dr Corley had full access to all of the data in the study and takes responsibility for the integrity of the data and the accuracy of the data analysis.
Study concept and design: Lam, Corley.
Acquisition of data: Lam, Corley.
Analysis and interpretation of data: Lam, Schneider, Zhao, Corley.
Drafting of the manuscript: Lam, Schneider, Zhao, Corley.
Critical revision of the manuscript for important intellectual content: Schneider, Corley.
Statistical analysis: Lam, Zhao, Corley.
Obtained funding: Corley.
Administrative, technical, or material support: Schneider, Corley.
Study supervision: Schneider, Corley.
Conflict of Interest Disclosures: All authors have completed and submitted the ICMJE Form for Disclosure of Potential Conflicts of Interest. Dr Corley reported receiving a grant or grant pending from Wyeth/Pfizer. No other authors reported disclosures.
Funding/Support: This project was supported by a Kaiser Permanente Community Benefit grant.
Role of the Sponsor: Kaiser Permanente had no role in the design and conduct of the study; the collection, management, analysis, and interpretation of the data; the preparation, review, or approval of the manuscript; or the decision to submit the manuscript for publication.
Create a personal account or sign in to: