Skip to main content
Dementia

A List of Drugs Linked to Dementia

Nicole Rowe, MDKatie E. Golden, MD
Written by Nicole Rowe, MD | Reviewed by Katie E. Golden, MD
Updated on July 1, 2026

Key takeaways:

  • Research studies have linked certain medications to an increased risk of dementia. But that doesn’t mean they cause dementia. And there’s still a lot of uncertainty around this research.

  • Medications that have been associated with an increased risk of dementia include overactive bladder medications, pain medications, heartburn medications, and certain anxiety medications.

  • In general, the risk of dementia with these medications usually increases when you take higher doses over longer periods of time.

Dementia is a growing concern for many older adults in the U.S. — especially Alzheimer’s disease. And researchers are learning more about how the choices we make today can affect our risk in the future.

In addition to lifestyle factors, the medications you take on a daily basis may be impacting your risk of dementia. Here are five common drug classes linked to dementia and what the research says about your risk.

1. Anticholinergic medications

Anticholinergics refer to a large class of medications that all share one similarity: they block a chemical called acetylcholine in your body. Acetylcholine works like a chemical messenger in your nervous system. It affects learning, memory, movement, and even emotions. 

In one large study of almost 300,000 people, the risk of dementia was significantly higher in those who had taken the highest doses of strong anticholinergic medications. Another large study of 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 having cognitive decline.

But not all studies have such clear-cut findings. For example, diphenhydramine (Benadryl) has strong anticholinergic activity. But current research isn’t clear on whether it increases your 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.

Antihistamine medications include: 

Tricyclic antidepressants include: 

IBS medications include: 

Overactive bladder medications include:

2. Proton pump inhibitors

Proton pump inhibitors (PPIs) and dementia risk is an ongoing topic of debate. Some studies over the past decade suggest that people with dementia are more likely to be taking PPIs. But a 2026 review of all the available evidence didn’t find a convincing link between the two. Even if there’s a connection, it’s unlikely that PPIs directly cause dementia.

If you’re an older adult who takes a daily PPI, it may be helpful to discuss this with your healthcare team. For many people, the benefits may outweigh the risk of any potential link to dementia.

PPIs include:

3. Pain medications

Many people are aware that 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. 

There has also been some research connecting nonsteroidal anti-inflammatory drugs (NSAIDs) — a common over-the-counter (OTC) pain reliever — to an increased risk of dementia. But this relationship is less certain. Some research has even found that people who take NSAIDs over the long term may have decreased dementia risk.

It’s also unclear whether the risk of dementia is related to taking pain medication, the effects of chronic pain on the brain, or a combination of 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: 

NSAIDs include:

4. Benzodiazepines

Benzodiazepines (often called “benzos”) have been linked to dementia, especially in older adults. But not all research supports this link. 

Regardless of the possible link to dementia, older adults should be cautious with these medications. Benzodiazepines can cause many other concerning side effects, including long-term dependence, breathing problems, and confusion. They can also cause drowsiness, problems with cognition, and even death. The risk for impaired brain functioning is increased when higher doses are taken over an extended period of time.

Benzodiazepine medications include:

If you or a loved one takes one of these medications, talk with a healthcare professional. You may be able to take the lowest dose possible and still treat your symptoms.

5. Ambien (Zolpidem)

Zolpidem (Ambien) is a common sleep medication that has been linked to dementia. Several research studies have found that adults who take Ambien are more likely to develop dementia. And a study from Taiwan found that the risk increases with more frequent use. In other words, people who took more doses over their lifetime had a higher risk for dementia. 

Similar to other medications on this list, not all the research draws the same conclusion. Some studies suggest that the risk of dementia with Ambien is less than the risk associated with benzodiazepines. But Ambien can also cause other serious side effects, so this is one to keep on the radar.

How to minimize medication-related dementia risk

If you take any of the above medications, don’t let this list cause unnecessary worry. Researchers are still learning which medications may increase the risk of dementia and how much risk they carry. For many people, the benefits of some of these medications outweigh any potential harm.

But there are still ways you can minimize any potential medication-related dementia risk:

  • Make a list of all the medications you take, including the dose and how often you take them. It’s important to be honest about your use, even if it’s different from how they are prescribed.

  • Schedule an appointment with your primary care provider to review this list. Together, you can review if any of these medications can be stopped or taken less frequently.

  • Ask about alternative options for treatment, particularly if other options come with fewer side effects.

  • Come up with a plan to reduce how often you take anticholinergic medications, opioids, benzodiazepines, or Ambien (if appropriate). These medications typically carry the risk of other dangerous side effects and are often taken only when needed.

Most importantly, remember that there are other ways to reduce your risk of dementia beyond addressing your medications.

Frequently asked questions

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. 

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.

The bottom line

Many medications have been associated with an increased risk of dementia, especially if they’re taken more frequently. It’s important to weigh the pros and cons of any medication to figure out what’s best for you and your long-term health. 

If you need any of these medications to stay healthy, work with a healthcare professional to determine the lowest dose that will still treat your symptoms. This’ll decrease your risk of side effects, including dementia. 

why trust our exports reliability shield

Why trust our experts?

Nicole Rowe, MD
Written by:
Nicole Rowe, MD
Dr. Nicole Rowe, MD, is a telehealth family practice physician. She received her medical degree from the University of North Carolina School of Medicine and completed her residency in family medicine at University of Colorado’s Swedish Medical Center.
Katie E. Golden, MD, is a board-certified emergency medicine physician and a medical editor at GoodRx.

References

Alzheimer’s Drug Discovery Foundation. (2016). Melatonin

AlDawsari, A., et al. (2022). Use of sedative-hypnotic medications and risk of dementia: A systematic review and meta-analysis. British Journal of Clinical Pharmacology.

GoodRx Health has strict sourcing policies and relies on primary sources such as medical organizations, governmental agencies, academic institutions, and peer-reviewed scientific journals. Learn more about how we ensure our content is accurate, thorough, and unbiased by reading our editorial guidelines.

Was this page helpful?

Latest articles