Key takeaways:
Certain medications are linked to an increased risk of dementia. But that doesn’t mean they necessarily cause dementia.
Medications that have been associated with increased risk of dementia include overactive bladder medications, pain medications, heartburn medications, and certain anxiety medications.
The risk of dementia with these medications increases when you take higher doses over longer periods of time.
Dementia is a growing concern among many aging people in the U.S. — especially Alzheimer’s disease. And since treatment options for dementia are limited, prevention is key.
Dementia risk is tied to common things like diabetes, high blood pressure, and physical inactivity. But some common medications are associated with dementia risk, too. Here are four common drug classes linked to dementia, and what the research says about your risk.
Anticholinergic medications block a chemical called acetylcholine in the body. Acetylcholine works like a chemical messenger in the nervous system. It affects learning, memory, movement, and even emotions. And people with Alzheimer’s disease often have low levels of acetylcholine in their bodies.
In one large study of almost 300,000 people, the risk of dementia was significantly higher in those who had taken the highest cumulative doses of strong anticholinergic medications. Another large study in adults over 65 years old confirmed these findings. Other studies have shown that the use of an anticholinergic medication can worsen dementia in people who are already experiencing cognitive decline.
But not all studies have such clear-cut findings. For example, even though diphenhydramine (Benadryl) has strong anticholinergic activity, current research isn’t clear on whether diphenhydramine increases the risk of dementia.
Some common anticholinergic medications include antihistamines, tricyclic antidepressants, medications for irritable bowel syndrome (IBS), and overactive bladder medications. You may want to take this risk into account if you’re deciding whether to take these medications.
Supplements and brain health: Find out which supplements can help boost memory and cognition.
Ways to help prevent dementia: From brain games to social activity, there are some surprising ways to keep your brain healthy as you age.
Sleep problems and dementia: People with dementia are more likely to have had problems with sleep. Learn about the link between sleep and brain health.
Antihistamine medications include:
Diphenhydramine (Benadryl, Advil PM, Tylenol PM)
Chlorpheniramine (Chlor-tab, Aller-Chlor, Coricidin HBP)
Doxylamine (Unisom)
Tricyclic antidepressants include:
Doxepin (Silenor)
Nortriptyline (Pamelor)
Amitriptyline (Elavil)
IBS medications include:
Hyoscyamine (Levsin)
Dicyclomine (Bentyl)
Overactive bladder medications include:
Darifenacin ER (Enablex)
Oxybutynin (Ditropan)
Tolterodine (Detrol, Detrol LA)
Trospium (Sanctura)
Solifenacin (Vesicare)
Fesoterodine (Toviaz)
Studies suggest that men and women with dementia are more likely to be taking proton pump inhibitors (PPIs) — 1.5 and 1.4 times, respectively. This doesn’t necessarily mean that PPIs directly cause dementia — only that there appears to be an association between the two. There are a couple of theories about how these medications could increase dementia risk:
PPIs have been shown to cause proteins, called β-amyloid plaques, to build up in the brains of mice. This is similar to the way someone’s brain changes with Alzheimer’s.
Long-term use of PPIs could affect absorption of vitamin B12, which could also increase your risk for dementia.
PPIs include:
Omeprazole (Prilosec)
Lansoprazole (Prevacid)
Esomeprazole (Nexium)
Pantoprazole (Protonix)
Many people are aware that the use of opioid pain medications can lead to dependence, overdose, and even death. But in addition to these concerns, studies show that people with heavy, long-term use of opioid medications have a slightly higher risk of getting dementia. Even people taking nonsteroidal anti-inflammatory drugs (NSAIDs) for pain had a high risk of developing dementia.
It’s unclear whether the risk of dementia is related to taking pain medication or to the effects of chronic pain on the brain, or both. One newer study showed that older adults with chronic pain had a higher risk of developing dementia. This study didn’t measure how many of these adults were taking pain medications, so additional research is needed.
Opioid medications include:
Hydrocodone (Norco)
Hydromorphone (Dilaudid)
Fentanyl (Duragesic)
NSAIDs include:
Naproxen (Aleve, Naprosyn)
Ibuprofen (Motrin, Advil)
Indomethacin (Indocin)
Benzodiazepines (benzos) have been linked to dementia — especially in older adults. But not all research supports this link.
Regardless, older adults should be cautious with these medications. Benzodiazepines can cause many other concerning side effects, including long-term dependence, breathing problems, confusion, drowsiness, problems with cognition, and even death. The risk for impaired brain functioning is increased with higher doses over an extended period of time.
Benzodiazepine medications include:
Talk with a healthcare professional if you or a loved one takes these medications. You may be able to take the lowest dose possible and still treat your symptoms.
Metformin doesn’t cause dementia. In fact, people with diabetes who use metformin are less likely to develop dementia. And some studies suggest that when people stop taking metformin, their risk for dementia goes up.
Ambien has been linked to dementia. Older adults who take Ambien more often are more likely to develop dementia. And the risk adds up over time — the more doses a person has used in a lifetime, the higher the risk for dementia. One study also found that white adults who took Ambien were more likely to develop dementia than Black adults.
Melatonin doesn’t cause dementia. Some research suggests that taking melatonin regularly can actually lower symptoms of dementia in people with Alzheimer’s disease. But studies are mixed and more research is needed.
Many medications have been associated with an increased risk of dementia — especially if you take them for a long time. As with any medication, it’s important to weigh the pros and cons to figure out what’s best for you and your long-term health.
If you rely on any of these medications to stay healthy, work with a healthcare professional to determine the lowest dose that will still treat your symptoms. This will decrease your risk of any associated side effect, including dementia.
Alzheimer’s Drug Discovery Foundation. (2016). Melatonin.
Badiola, N., et al. (2016). The proton-pump inhibitor lansoprazole enhances amyloid beta production. PLoS One.
Campbell, J. M., et al. (2018). Metformin use associated with reduced risk of dementia in patients with diabetes: A systematic review and meta-analysis. Journal of Alzheimer’s Disease.
Coupland, C. A. C., et al. (2019). Anticholinergic drug exposure and the risk of dementia. JAMA Internal Medicine.
Dublin, S., et al. (2015). Prescription opioids and risk of dementia or cognitive decline: A prospective cohort study. Journal of the American Geriatrics Society.
Edinoff, A. N., et al. (2021). Benzodiazepines: Uses, dangers, and clinical considerations. Neurology International.
Gomm, W., et al. (2016). Association of proton pump inhibitors with risk of dementia: A pharmacoepidemiological claims data analysis. JAMA Neurology.
Gray, S. L., et al. (2015). Cumulative use of strong anticholinergics and incident dementia. JAMA Internal Medicine.
He, Q., et al. (2018). Risk of dementia in long-term benzodiazepine users: Evidence from a meta-analysis of observational studies. Journal of Clinical Neurology.
Jatoi, S., et al. (2020). Low vitamin B12 levels: An underestimated cause of minimal cognitive impairment and dementia. Cureus.
Joyce, G., et al. (2022). Benzodiazepine use and the risk of dementia. Alzheimer's & Dementia: Translational Research & Clinical Interventions.
Lam, J. R., et al. (2013). Proton pump inhibitor and histamine 2 receptor antagonist use and vitamin B12 deficiency. JAMA.
Leng, Y., et al. (2023). Race differences in the association between sleep medication use and risk of dementia. Journal of Alzheimer’s Disease.
Shih, H., et al. (2015). An increased risk of reversible dementia may occur after Zolpidem derivative use in the elderly population. Medicine.
Whitlock, E. L., et al. (2017). Association between persistent pain and memory decline and dementia in a longitudinal cohort of elders. JAMA Internal Medicine.
Zhang, Z., et al. (2024). Melatonin: A potential nighttime guardian against Alzheimer’s. Molecular Psychiatry.
Ziadeh, H. (2024). Risk of dementia associated with the use of anticholinergic medications: A review of recent literature. Current Opinion in Urology.
Zimmerman, S. C., et al. (2023). Metformin cessation and dementia incidence. JAMA.