Few drug headlines have caused as much worry as the ones linking heartburn pills to dementia and kidney failure. If you take Prilosec (omeprazole) or another proton pump inhibitor (PPI), you have probably seen them. Some people stopped their medicine overnight because of them. Others shrugged them off.
Neither reaction is ideal. The truth is more nuanced, and it is different for the brain and the kidneys. This guide walks through the major studies on each, explains why they disagree, and gives you a practical plan based on the evidence.
The quick answer
- Dementia: Some large observational studies found PPI users had a higher risk of dementia. Several better-designed studies did not. The current evidence does not show that PPIs cause dementia, though one 2023 study found a link with more than 4.4 years of use.
- Acute kidney inflammation: A rare but real side effect called acute interstitial nephritis is listed in the warnings on the omeprazole label.
- Chronic kidney disease (CKD): Large observational studies consistently found PPI users had about 20% to 50% higher risk. The largest randomized trial did not confirm it over 3 years.
- The practical takeaway is the same for both: use PPIs when you need them, at the lowest effective dose, and review long-term use with your doctor.
Why these headlines appeared
PPIs are among the most widely used medicines in the world, and many people take them for years. When millions of people take a drug for a long time, researchers can study large health databases to look for patterns. That is how most of the dementia and kidney findings came about.
These studies are useful for spotting possible risks, but they have a key weakness: they show an association, not proof of cause. People who take PPIs long-term are, on average, older and sicker, and they take more medicines. Those differences can create a link even if the drug itself does no harm. Researchers adjust for this, but they can never adjust for everything.
A randomized controlled trial, where people are assigned to the drug or a placebo by chance, avoids this problem. For PPIs, the biggest one is the COMPASS trial, which we come back to in both sections below.
Part 1: PPIs and dementia
The studies that started the concern
In 2016, a study in JAMA Neurology analyzed German health insurance data on 73,679 people aged 75 and older. Regular PPI users had a 44% higher risk of a dementia diagnosis than non-users (hazard ratio 1.44). An earlier German study of 3,327 adults aged 75 and older, known as AgeCoDe, found a similar 38% higher risk (Haenisch et al., 2015).
These results made headlines around the world. But the dementia diagnoses in the larger study came from insurance records, and information about OTC PPI use, which is common, was incomplete.
The studies that found no link
Later studies used stronger methods and mostly did not find the same risk:
- Adult Changes in Thought study (2018): This US study followed 3,484 adults aged 65 and older and used detailed pharmacy records and regular cognitive screening. It found no link between PPI use and dementia, even among people with the highest cumulative use (Gray et al., Journal of the American Geriatrics Society).
- ASPREE (2023): Researchers analyzed 18,934 adults aged 65 and older in the US and Australia, including 4,667 PPI users, followed for a median of 4.5 years. Participants had regular cognitive tests, and suspected dementia was confirmed with formal assessments. Neither PPIs nor H2 blockers were linked with dementia, milder cognitive impairment or cognitive decline over time (Mehta et al., Gastroenterology; ACP summary).
- COMPASS (2019): In this randomized trial, 17,598 people were assigned to pantoprazole or placebo and followed for a median of about 3 years. Dementia was one of the outcomes tracked, and there was no significant difference between the groups for any safety outcome except gut infections (Moayyedi et al., Gastroenterology).
The 2023 study that revived the concern
Also in 2023, a study in Neurology followed 5,712 dementia-free adults (average age 75) from the long-running Atherosclerosis Risk in Communities (ARIC) study for a median of 5.5 years. During that time, 585 developed dementia. People who had used prescription PPIs for more than 4.4 years in total had a 33% higher risk of dementia than people who had never used them. There was no higher risk for people who had used them for less than 4.4 years.
The American Academy of Neurology, which publishes the journal, stressed that the study does not prove that acid reflux drugs cause dementia; it only shows an association (ScienceDaily). The study could not account for OTC PPI use, and medication use was estimated between yearly check-ins.
So which is right?
The fairest reading of the evidence:
- The strongest studies, including a randomized trial and a large cohort with formal cognitive testing, did not find that PPIs raise dementia risk.
- A possible link with very long-term use (more than about 4 years) has not been ruled out.
- The earliest scary numbers were likely inflated by study design.
One plausible way PPIs could affect the brain is indirect: long-term use can lower vitamin B12, and B12 deficiency can cause memory problems. That is treatable and worth testing for. See Omeprazole and vitamin B12 deficiency.
Part 2: PPIs and the kidneys
The kidney evidence is more consistent than the dementia evidence, and it involves two different problems.
Acute interstitial nephritis: a rare, sudden reaction
Acute interstitial nephritis (also called acute tubulointerstitial nephritis) is inflammation inside the kidney, usually caused by an allergic-type reaction to a medicine. It is listed in the warnings section of omeprazole's prescribing information. According to the label, it can occur at any point during PPI therapy. Some people have allergy-type signs such as fever, rash or joint pain, while others only have vague symptoms of reduced kidney function such as feeling unwell, nausea or loss of appetite. The label advises stopping the PPI and evaluating anyone suspected of having it.
Chronic kidney disease: the observational studies
The bigger question is whether long-term PPI use slowly damages the kidneys.
- Lazarus et al., 2016: In the ARIC study, 10,482 adults were followed for a median of 13.9 years. PPI users had a 50% higher risk of developing chronic kidney disease after adjustment (hazard ratio 1.50). The 10-year absolute risk among baseline PPI users was 11.8%, compared with an expected 8.5% had they not used PPIs. The finding was replicated in 248,751 patients from the Geisinger health system, where twice-daily dosing carried a higher risk (hazard ratio 1.46) than once-daily dosing (1.15). H2 blockers were not linked with CKD (JAMA Internal Medicine; full text).
- Xie et al., 2016: Using US Veterans Affairs data, researchers compared 173,321 new PPI users with 20,270 new H2 blocker users over 5 years. PPI users had a 28% higher risk of CKD, a 53% higher risk of their creatinine doubling, and a 96% higher risk of kidney failure. Chronic kidney disease developed in 15% of PPI users compared with 11% of H2 blocker users. The risk rose with longer use (Journal of the American Society of Nephrology; Washington University summary; MedicalXpress).
- Xie et al., 2017: A follow-up study of 144,032 veterans found that PPI users had higher risks of kidney decline than H2 blocker users even when they never had an episode of acute kidney injury first. That matters, because it suggests kidney damage could build silently, without a warning episode (Kidney International).
The evidence that points the other way
In the COMPASS randomized trial, chronic kidney disease was one of the safety outcomes tracked, and pantoprazole did not significantly increase it over about 3 years compared with placebo (Moayyedi et al.). Three years may be too short to see slow kidney changes, but it is the best randomized evidence available.
Observational kidney studies also face the same problem as the dementia studies: PPI users tend to have more health problems, such as diabetes, high blood pressure and heart disease, that harm the kidneys on their own.
So which is right?
Compared with dementia, the kidney signal is more consistent across studies, and there is a known mechanism (interstitial nephritis) by which PPIs can injure the kidney. At the same time, the best trial did not confirm a CKD risk over 3 years. A reasonable conclusion is that PPIs may modestly raise kidney risk with long-term use, particularly at higher doses, and that this is a good reason not to take them longer than needed.
The bigger issue: many people may not need their PPI
The authors of the Lazarus study noted estimates that between 25% and 70% of PPI prescriptions have no appropriate indication (Lazarus et al.). For people who do not need a PPI, any risk is unnecessary. For people who do need one, the benefits usually outweigh possible risks.
The American Gastroenterological Association advises that the decision to stop a PPI should be based on whether there is a valid reason to take it, not on fear of these reported risks (AGA, 2022).
What to do if you take Prilosec
- Do not stop suddenly out of fear. Stopping abruptly can cause rebound heartburn, and some people need a PPI for serious conditions. See Who should NOT stop taking Prilosec.
- Ask your doctor why you are taking it and whether you still need it. Many people were started on a PPI years ago and never reviewed.
- Use the lowest effective dose. In the Geisinger data, twice-daily dosing carried more kidney risk than once-daily dosing.
- Get your kidney function checked if you take a PPI long-term, especially if you are older, have diabetes or high blood pressure, or take NSAIDs. A routine blood test (creatinine and eGFR) shows how well your kidneys are filtering.
- Ask about vitamin B12 if you have been on a PPI for years, especially if you notice memory problems, tingling or tiredness.
- Tell your doctor right away about fever, rash, joint pain, reduced urine or unexplained tiredness while on a PPI.
- If you can, step down with a plan. See How to stop taking omeprazole safely.
Frequently asked questions
Should I stop Prilosec to prevent dementia?
The best evidence does not show that PPIs cause dementia, so fear of dementia alone is not a strong reason to stop. But if you do not have a clear ongoing need for a PPI, stepping down is sensible for many reasons. Talk to your doctor first.
Is Pepcid safer for the kidneys than Prilosec?
In the large kidney studies, H2 blockers like Pepcid (famotidine) were not linked with CKD in the way PPIs were. Note that famotidine doses need to be lowered in people with reduced kidney function, so ask your doctor or pharmacist before switching.
If I stop my PPI, will my kidneys recover?
Acute interstitial nephritis often improves after the drug is stopped, though recovery is not always complete. For chronic kidney disease, the evidence is limited. One small study of patients with CKD found that stopping a PPI after long-term use did not significantly change kidney function after 1 year (Hospital Pharmacy, 2019).
Do Nexium, Protonix and other PPIs carry the same risks?
Most studies looked at PPIs as a group, and the warnings apply to the whole class. There is no good evidence that any one PPI is free of these concerns.
What about Prilosec OTC taken as directed?
The concerns in these studies relate mainly to long-term use. OTC Prilosec is meant for 14-day courses, no more often than every 4 months unless a doctor advises otherwise. See How long can you take Prilosec OTC?
The bottom line
The dementia link has mostly not held up in the strongest studies, although very long-term use has not been fully cleared. The kidney evidence is more consistent, including a rare but real risk of acute kidney inflammation listed on the label. Neither is a reason to panic, but both are good reasons to make sure you are only taking a PPI if you need it. For more, read our review of long-term Prilosec research and the complete guide to Prilosec.
Sources
- Gomm W, et al. Association of PPIs with risk of dementia: a pharmacoepidemiological claims data analysis. JAMA Neurol. 2016. PubMed.
- Haenisch B, et al. Risk of dementia in elderly patients with the use of PPIs. Eur Arch Psychiatry Clin Neurosci. 2015. PubMed.
- Gray SL, et al. PPI use and dementia risk: prospective population-based study. J Am Geriatr Soc. 2018. PMC.
- Mehta RS, et al. Association of PPI use with incident dementia and cognitive decline in older adults (ASPREE). Gastroenterology. 2023. PMC; ACP summary.
- Northuis CA, et al. Cumulative use of PPIs and risk of dementia: the ARIC study. Neurology. 2023. PMC; AAN release via ScienceDaily.
- Moayyedi P, et al. Safety of PPIs based on a large, multi-year, randomized trial (COMPASS). Gastroenterology. 2019. PubMed.
- Lazarus B, et al. PPI use and the risk of chronic kidney disease. JAMA Intern Med. 2016. PubMed; PMC.
- Xie Y, et al. PPIs and risk of incident CKD and progression to ESRD. J Am Soc Nephrol. 2016. PubMed. Xie Y, et al. Long-term kidney outcomes among users of PPIs without intervening acute kidney injury. Kidney Int. 2017. WashU.
- Discontinuation of PPIs in patients with CKD. Hosp Pharm. 2019. PMC.
- Targownik LE, et al. AGA Clinical Practice Update on de-prescribing of PPIs. 2022. PubMed. Omeprazole prescribing information. DailyMed.
Medical note: This article is for education and does not replace advice from your doctor. Do not stop a prescribed medicine without talking to your doctor. Seek prompt care for reduced urine, swelling, fever with rash, or sudden confusion.

