Introduction

Proton pump inhibitors (PPIs) are commonly prescribed drugs for acid-related gastric disorders that are widely used in Europe and the USA1,2. PPIs are available both by prescription and over-the-counter3,4. A German study using health insurance data revealed that prescription rates almost doubled between 2005 and 2013 (from 8.2 to 16.2%). This trend showed distinct sex and age disparities, with women using PPIs more than men and older people more than younger people5. Evidently, in Germany, PPIs have claimed the 11th place among the most prescribed drugs, with over 5 million prescriptions in 20196. Approximately 40% of these prescriptions are estimated to be inappropriate due to use of PPIs longer than recommended, elevated risk-benefit ratios, and drug-drug interactions7,8,9. This is particularly worrisome, as mounting evidence challenges the presumed safety of long-term PPI use10, linking them to various long-term adverse effects, including increased susceptibility to bacterial infections, pneumonia, cardiovascular disease, vitamin deficiencies, bone fractures, chronic kidney disease and even dementia11,12,13.

While there is limited evidence linking PPIs to cognition and dementia via biological mechanisms several hypotheses, although not tested in humans, suggest potential associations with increased risk of dementia: (I) In murine models, PPIs shift the cleavage site of amyloid-β precursor protein (APP), resulting in more β-amyloid42 and less β-amyloid3814; (II) PPIs contribute to a less acidic microglial environment, potentially posing a risk for Alzheimer’s disease by reducing β-amyloid clearance15; (III) PPIs inhibit choline acetyltransferase, thereby affecting acetylcholine biosynthesis16; (IV) PPI-induced gastric hypoacidity increases susceptibility to prion infections, similar to suggested prion-like mechanisms in Alzheimer’s disease where β-amyloid and tau form plaques and tangles17,18,19. Finally, PPIs reduce the gastric acid needed for vitamin B12 absorption20, which has been suggested to contribute to neurodegeneration and cognitive impairment21.

Numerous studies have investigated associations between PPIs and dementia, with mixed findings. Some studies suggest an increased risk of dementia with PPI use22,23,24,25,26,27,28, while others found no discernible risk29,30,31,32,33 or, intriguingly, even a reduced risk34,35,36. These conflicting results could be attributed to methodological limitations, including protopathic bias, where the drug is prescribed because of early symptoms of an undiagnosed condition, potentially resulting in erroneous causal inferences between exposure and outcome. Given the long prodromal phase of dementia, this bias holds particular relevance for studies linking PPI use to dementia risk37,38. Moreover, the association between PPI use and cognitive decline also remains controversial. While a clinical trial involving sixty young volunteers reported negative effects of PPI use on cognition, other prospective and population-based studies found no such associations39,40,41,42. In the population-based SHIP study, PPI users scored lower on memory tests, but no association was found between PPI use and brain volume or age42. However, this study did not distinguish between short-term and long-term users, potentially biasing effect estimates. Additionally, the study did not examine the effects of PPIs on microstructural brain parameters.

Brain macro- and microstructural measures can help in understanding the potential effects of PPIs on brain health, as they provide detailed insights into the structural integrity and connectivity of the brain. Particularly, microstructural brain imaging through diffusion tensor imaging (DTI) shows promise in detecting early structural changes indicative of cognitive decline. DTI assesses the diffusion rates of water through tissue, revealing hidden variations in tissue integrity that are not visible on conventional MRI scans43. The use of imaging techniques that can depict these very early, preclinical changes holds great promise to assess associations between PPI use and brain function. Hence, this study aims to investigate associations between PPI use and cognition, volumetric brain measures, and microstructural DTI measures in the general population.

Methods

Study design & setting

The Rhineland Study is a prospective community-based cohort study. Recruitment started in 2016 and is still ongoing. All residents aged ≥ 30 years from two geographically defined areas in Bonn, Germany (Bonn Beuel 40,592 eligible residents; Bonn Hardtberg 36,769 eligible residents- data from July 2022), are eligible. Eligible residents are invited to join the study through both direct invitations and various marketing campaigns to increase awareness and encourage participation. The municipality supports recruitment by providing eligible residents’ contact details. Participation is independent of health status. The only exclusion criterion is insufficient knowledge of the German language to give written informed consent in accordance with the Declaration of Helsinki (all participants provided written informed consent for the study). Participants will be followed for decades, with follow-up examinations every three to four years. All participants undergo in-depth phenotyping, including assessment of cardiovascular health, cognitive testing, MRI scans, neurological function and medication use. The study was approved by the Ethics Committee of the University of Bonn, Medical Faculty.

Study population

For this cross-sectional analysis, we used data from participants who completed baseline examinations between March 2016 and November 2021 (n = 8,318). The age distribution of all eligible residents (mean age 56.1 ± 16.0 years) is comparable to the age distribution of those who completed baseline examinations (55.9.8 ± 13.8 years) (p-value 0.574). However, there are slightly more women in the study population compared to the population of eligible residents (53% women vs. 56% women; p-value < 0.001). Of those with completed baseline examinations, we excluded 853 participants because of missing data on PPI exposure (n = 115), as needed PPI use (n = 555), stroke (n = 122), reported Parkinson’s disease (n = 59), traumatic brain injury (n = 1), and one participant who revoked their informed consent. For the analyses regarding cognition outcomes, we additionally excluded participants without cognitive data (n = 99) leaving 7,366 participants, and for the analyses using MRI outcome measures we additionally excluded participants without MRI data (n = 2,502) leaving 4,963 participants (Fig. 1).

Fig. 1
figure 1

Flowchart of the study population.

Medication data collection and PPI use

Participants were asked to bring the original packages of all medications (including over-the-counter drugs and excluding homeopathic drugs) and prescribed dietary supplements that they were currently taking and had taken as needed in the past year. We registered the name, dosage and Anatomical Therapeutic Chemical (ATC) code of each medication and supplement in an interview.

PPI use was defined as regular use (at regular time intervals e.g. daily, every other day, weekly) of medications starting with ATC code A02BC. Participants who used PPIs on an as-needed basis were excluded from the analyses. Participants who reported not using PPIs were defined as non-users. In addition, PPI users were divided into short-term users (< 3 years) and long-term users (≥ 3 years).

Cognitive assessment

A battery of cognitive tests was administered according to standardized protocols in German. Details of the cognitive battery are given in Appendix A.

Scores were calculated for different cognitive domains: processing speed, executive function, working memory and episodic verbal memory. Processing speed was assessed using the trail-making test A44 (time to task completion) and the eye-tracking prosaccade task (mean saccadic latency, i.e. time needed to initiate a saccade). Executive function was assessed using a categorical word fluency task (total number of animals named), the trail-making test B (time to task completion) and the eye-tracking antisaccade task (percentage of direction errors). Working memory was assessed with a Corsi block-tapping test45 and a Digit Span task (maximum forward and backward span). Episodic verbal memory was assessed using the total immediate recall (sum over trials 1–5) and the delayed recall on the Verbal Learning and Memory Test (VLMT)46,47. For the cognitive domains, the individual standardized scores within the domains were averaged to calculate the composite score.

An overall memory score was then calculated by averaging the working memory and episodic verbal memory scores, and a global cognitive score was calculated from the average of all cognitive domain scores.

Magnetic resonance imaging

Magnetic resonance imaging (MRI) was performed on eligible participants using a dedicated 3 Tesla MRI scanner (MAGNETOM Prisma, Siemens Healthineers, Erlangen, Germany) equipped with an 80 mT/m gradient system and a 64-channel phased-array head-neck coil. We assessed the effects of PPI use on total brain volume, cortical grey matter volume, white matter (WM) volume, ventricle volume, hippocampal volume, and cortical thickness. Structural volumes and thicknesses were determined using the standard Freesurfer processing pipeline (http://surfer.nmr.mgh.harvard.edu/) on T1-weighted MR images48,49.

We further assessed the effect of PPI use on WM microstructure by using diffusion-weighted MRI (dMRI). DMRI probes brain tissue microstructure by measuring water diffusion properties. We examined fractional anisotropy (FA) and mean diffusivity (MD) obtained by fitting the diffusion tensor model to dMRI scans using the MDT framework. FA is a scalar metric ranging from 0 to 1, with higher values indicating higher anisotropy, i.e. directionality, of water diffusion which is restricted within the complex tissue microstructure in the brain WM. MD is a scalar measure in units of mm2/s and reflects the extend of water diffusion, with higher values indicating higher water mobility, i.e. less restriction of water movement within the WM microstructure. Age-related changes in WM microstructure are reflected by decreased FA and increased MD, typically summarized as a decline in WM integrity50,51,52. We examined the average FA and MD values for the entire brain and specifically in the following regions of interest within the brain’s white matter, which have been associated to cognition53,54: Body of corpus callosum, left/right cingulum (cingulate gyrus), left/right cingulum (hippocampus), left/right corticospinal tract, fornix (column and body), genu of corpus callosum, left/right posterior thalamic radiation, splenium of corpus callosum, left/right superior longitudinal fasciculus, left/right sagittal stratum (including inferior longitudinal and fronto-occipital fasciculus) and left/right uncinate fasciculus. Further details on MRI acquisition and processing are provided in Appendix B.

Confounders

The association between PPI use and cognitive and brain measures may be confounded by participant characteristics. Therefore, we simultaneously adjusted for the following characteristics, based on biological plausibility: (I) demographics, including: age (mean-centered), sex, education (based on International Standard Classification of Education (ISCED-11); categorization: low, middle, high), self-reported first-language (native German, non-native), smoking status (never, former, current), body mass index (BMI); (II) comorbidities, including: hypertension (based on current regular use of antihypertensives, and/or mean systolic blood pressure ≥ 140 and/or mean diastolic blood pressure ≥ 90) and diabetes (based on current use of antidiabetic drugs, and/ or Hba1c (no diabetes < 6.5%; diabetes ≥ 6.5%) and/ or fasting glucose (no diabetes < 126 mg/dL; diabetes ≥ 126 mg/dL) measured in morning fasting blood); (III) medication use, including: anticholinergic medication (based on Anticholinergic Burden (ACB) score)55, antidepressants, antithrombotic medications, statins, and nonsteroidal anti-inflammatory drugs (NSAIDs); (IV) perceived stress through the Perceived Stress Scale (PSS)56.

Statistical analysis

Descriptive statistics were used to summarize participant characteristics. Group differences were calculated using chi-squared (categorical variables) and ANOVA tests (continuous variables), and separately adjusted for age using logistic regression.

We examined the relation between PPI use and cognitive and brain outcomes using multivariable linear regression. All outcome measures were z-standardized. In the analysis of cognitive domains, we simultaneously adjusted for age, age2 (mean-centered to avoid collinearity), sex, education, and the confounders described in Sect. 2.6 as independent variables. In addition, executive function and episodic verbal memory were adjusted for participants’ self-reported first language, as the estimated scores of these two domains are strongly influenced by language proficiency. As age and PPI use yielded a significant interaction term in all cognitive domains, we conducted separate analyses for younger (< 65 years) and older (≥ 65 years) individuals. Analyses were then performed comparing long-term (≥ 3 years) and short-term (< 3 years) PPI use with non-use.

The same approach was used for the brain outcomes, with additional correction for total intracranial volume for volumetric brain outcomes. Here, no age stratification was performed, as there was no significant age interaction term in any of the brain measures. Because we were interested in quantifying the individual relationships between PPI use and cognitive and brain outcomes, rather than testing a joint hypothesis, adjustment for multiple testing would not be warranted57. Therefore, we report effect estimates (β) with their respective 95% confidence interval and p-values. All analyses were conducted in RStudio version 4.1.1.

Results

Study population

The characteristics of PPI users and non-users are shown in Table 1. Included participants (n = 7,465; mean age: 55.3 ± 13.7 years, range 30–95 years; 56.5% women) were younger (p < .001) than excluded participants (n = 853; mean age: 60.8 ± 14.2 years, range 30–91 years; 55.8% women). Overall, 5.9% (n = 444) of the study population were regular PPI users, with more women than men (53.2%) using PPIs. The majority reported long-term (≥ 3 years) PPI use (61.0%) and PPI users were older than non-users (64.7 vs. 54.5 years; p < .001). Pantoprazole (n = 334) was the most commonly used PPI, followed by omeprazole (n = 76), esomeprazole (n = 23), lansoprazole (n = 9) and rabeprazole (n = 4).

Table 1 Characteristics of the study population

Cognition

Across all cognitive domains, we observed a consistent but non-significant pattern of poorer cognitive performance in users of PPIs compared to non-users. Stratified analyses showed that PPI use was significantly associated with worse global cognition (β= -0.07, 95%CI -0.13; -0.01, p = .026), and total memory (β=-0.09, 95%CI -0.17; -0.01, p = .024), and working memory performance (β= -0.13, 95%CI -0.22; -0.03, p = .007), in younger individuals (aged < 65 years) (Table 2). The effect sizes were comparable to an average age-related decline in global cognition, total memory and working memory, of 1.5, 2 and 7.5 years, respectively.

Table 2 Linear regression β coefficients (95%CI) for PPI use on z-standardized cognitive domain scores (stratified by age groups and duration of use)

In both younger (< 65 years) and older (≥ 65 years) individuals, no significant differences in cognitive performance were observed between short-term PPI users and non-users. However, among younger long-term PPI users, we observed significant negative effects of PPI use, resulting in worse total memory (β= -0.11, 95%CI -0.22; -0.01, p = .036) compared to non-users.

Macro- and microstructural brain measures

We identified no significant differences in any of the assessed brain macrostructural measures (Table 3), nor with global fractional anisotropy and the investigated region-specific FA parameters (data not shown) between PPI users and non-users.

Table 3 Linear regression β coefficients (95%CI) for PPI use on z-standardized macrostructural brain measures (stratified by age groups and duration of use)

We observed higher global MD (β = 0.12, 95%CI 0.01; 0.23, p = .039) and elevated MD in the body of the corpus callosum (β = 0.20, 95%CI 0.08; 0.33, p = .001) in PPI users compared to non-users.

In subgroup analyses, short-term users showed higher MD in the body of the corpus callosum (β = 0.22, 95%CI 0.03; 0.41, p = .022) the left cingulum (hippocampus) (β = 0.23, 95%CI 0.03; 0.43, p = .025) and the left uncinate fasciculus (β = 0.24, 95%CI 0.03; 0.44, p = .024) compared to non-users (Table 4).

Table 4 Linear regression β coefficients (95%CI) for PPI use on z-standardized microstructural brain measures (stratified by age groups and duration of use)

In long-term users, MD was higher in the body of the corpus callosum (β = 0.19, 95%CI 0.03; 0.34, p = .018) and the right corticospinal tract (β = 0.18, 95%CI 0.01; 0.36, p = .037) compared to non-users.

Discussion

In the context of the population-based Rhineland Study, we investigated the impact of PPIs on cognitive function, and macro- and microstructural brain measures. We observed that younger PPI users, particularly those with a longer duration of use, had poorer cognitive performance compared to non-users. While volumetric brain measures showed no discernible differences between PPI users and non-users, we observed a higher mean diffusivity among PPI users in some brain regions, especially the corpus callosum.

Younger PPI users exhibited poorer performance across various cognitive domains, namely global cognition, total memory and working memory, when compared to non-users. These findings align with a small clinical trial conducted by Akter et al. on 60 young participants, reporting impaired cognitive performance in visual memory, attention, executive function and working/ planning function39. Further, Ahn and colleagues reported lower VLMT scores in PPI users42. In contrast, we did not find a significant association between PPI use and episodic verbal memory. Instead, the most pronounced effect was identified in working memory, which likely also drives the observed association between PPI use and the total composite memory score.

Moreover, we observed poorer cognitive performance in long-term PPI users (< 65 years). This observation aligns with stratified analyses conducted in two age groups of a Danish middle-aged cohort, where a stronger negative effect was seen in participants < 57 years, even though statistical significance was not reached, likely due to the limited number of PPI users in these subsets41. The absence of noticeable effects in older participants may be due to competing causes like comorbidities, which can have a more substantial impact on cognitive performance. Another contributing factor could be the increased sensitivity of younger individuals to medications, potentially linked to age-related changes in pharmacokinetics and pharmacodynamics of medications58.While there is a potential age-related influence of PPIs on cognitive function, causality remains uncertain.

Several hypotheses link cognitive decline and dementia to biological mechanisms14,15,16. Yet, the relevance of these hypotheses to human health remains uncertain due to lack in human testing. A more accepted theory connects cognitive decline with vitamin B12 deficiency21, supported by a case-control study showing an association between gastric acid inhibitors and reduced vitamin B12 absorption20. Given PPIs’ impact on vitamin B12 absorption, it is plausible that they can potentially contribute to cognitive decline.

We did not find any significant associations between PPI use and brain volumetric measures, consistent with prior research42. However, we observed an association of PPI use with elevated mean diffusivity in certain brain regions linked to cognitive function, suggesting potential adverse effects on brain integrity. MD is a valuable indicator of microstructural changes in brain tissue that can depict early, preclinical changes in brain function. It reflects alterations in water diffusion that can signal axonal and myelin damage not distinguishable using conventional MRI59.

Short-term users had higher MD in specific brain regions, such as in the body of the corpus callosum, and the left cingulum (hippocampus), compared to non-users. Long-term users similarly displayed higher MD, particularly in the body of the corpus callosum and the right corticospinal tract. These findings align with our cognitive performance observations in PPI users, given that the aforementioned regions are known to be associated with cognitive function53. Additionally, previous research has indicated that increased MD reflects decreased WM microstructure, a phenomenon often observed in the ageing brain or in brains affected by diseases50,51,52. Although our findings also hint at a potential link between PPI use and cognitive impairment60,61,62, it is important to note that our results do not conclusively identify WM as the sole critical factor, necessitating further investigations.

Changes in PPI exposure during the prodromal phase of dementia could falsely show a negative effect of PPI use on cognition and dementia risk. This phase often involves prescription of medications to manage symptoms like depression, anxiety, sleep disturbances and cognitive impairment63. Some of these prescribed medications themselves can induce dyspeptic symptoms, for which PPIs are commonly recommended. Additionally, depression and anxiety may themselves cause dyspeptic symptoms64, which may lead to PPI use. To address and mitigate these complexities, we implemented several approaches. First, in addition to controlling for a variety of confounding factors, we conducted subgroup analyses within two age groups (younger (< 65 years) and older individuals (≥ 65 years) for the cognitive outcomes. This stratification allowed us to explore potential age-related variations in the effects of PPI use. Furthermore, we differentiated between short-term and long-term PPI use, uncovering duration-dependent impacts that added depth to our analyses.

The strength of our study also lies in its ability to assess the effects of PPI use on both macrostructural and, notably, microstructural measures of the brain, representing a novel contribution to the field. Given the multifactorial potential influences on cognitive and brain function, our detailed phenotyping of our participants enabled us to control for numerous confounding factors. Furthermore, we collected medication data through interviews. This method captured information on both prescription-based and over-the-counter PPIs, enhancing the comprehensiveness of our study. To ensure the reliability of our data, we have previously validated self-reported medication data collected in the Rhineland Study and found a good accuracy, independent of age and sex65. Although prescription-based medication exposure is typically the standard in pharmacoepidemiological studies, both self-reported and prescription-based exposures have their limitations. Ideally, combining these two sources would be best, but this is unfortunately rarely possible.

We must also acknowledge certain limitations in our study. Its cross-sectional nature restricted our ability to explore temporal associations, leaving us unable to confirm whether PPI use preceded the observed changes in cognitive performance and brain microstructural measures. Therefore, we cannot definitively rule out the possibility of reversed causality. Second, our population might represent a “healthier” population, potentially limiting the generalizability of our findings. However, our population does not seem healthier than the general German population, as indicated by comparable prevalence rates of polypharmacy and hypertension66,67. Third, we did not adjust for multiple testing, as our primary aim was effect estimation, rather than hypothesis testing. Following Rubin’s argument57, corrections for multiple testing are crucial in disjunction testing, where the goal is to reject a joint null hypothesis based on at least one significant result. However, presenting multiple associations without such adjustments could increase the likelihood of finding spurious associations due to chance. Therefore, statistically significant associations should be interpreted with caution. A more reliable approach is to consider the 95% CIs, which provide a range within which the true effect likely lies, offering a more robust estimate than focusing solely on p-values. Lastly, as in all pharmacoepidemiological studies, the potential for residual confounding by indication, particularly among long-term users, necessitates consideration. Despite our extensive adjustments, the influence of unmeasured variables on our findings cannot be entirely ruled out.

To conclude, our study reveals negative effects of PPI use on cognition, especially in younger long-term users. We did not find significant associations between PPI use and brain volume, but observed higher mean diffusivity in PPI users in specific brain regions, indicating potential white matter integrity impacts. Highlighting the imperative for deprescribing PPIs, especially in younger individuals, future studies necessitate larger sample sizes and longitudinal data for definitive conclusions. Meanwhile, exercising caution to PPI use is advisable to avoid potential risks of cognitive decline and changes in brain structure.