Direct Answer
Several widely used medication classes are known to affect memory and attention, with the strongest signals coming from strong anticholinergics, benzodiazepines and related sleep medicines, opioids, certain antiepileptics and antipsychotics, and some chemotherapy regimens. Most effects are dose-related and reversible when the medication is adjusted, but cumulative exposure over years has been linked to higher dementia risk in observational studies. If you suspect a prescription is clouding your thinking, document the pattern and review it with your prescriber rather than stopping the drug on your own.
Why This Matters
Memory changes can be unsettling, and when they appear in the same window as a new medication, it is reasonable to wonder whether the two are connected. They often are — but not always, and not in the same way for everyone.
This matters more with age. The brain becomes more sensitive to many medications over time as drug metabolism slows, and each added drug raises the odds of side effects and interactions. The American Geriatrics Society maintains the 2023 AGS Beers Criteria, a regularly updated list of medications considered potentially inappropriate for adults 65 and older — many flagged specifically because of effects on attention, memory, balance, or delirium risk.
Key Facts at a Glance
- Strong anticholinergics (some older antihistamines, bladder medicines, tricyclic antidepressants) have been associated with higher long-term dementia risk in large observational studies.
- Benzodiazepines and Z-drugs (zolpidem, eszopiclone) impair the formation of new memories during use, especially at higher doses or when combined with sedating drugs.
- Opioid pain medicines can cause drowsiness, slowed processing, and confusion, particularly during dose increases or when combined with sleep aids or alcohol.
- Some chemotherapies, brain radiation, and immunotherapies are linked to "chemo brain" — a real change in concentration and memory.
- Antiepileptics, antipsychotics, and some mood stabilizers can affect word-finding, processing speed, or alertness in a subset of people.
- Polypharmacy itself — being on multiple drugs at once — is an independent risk factor for confusion, falls, and hospitalization in older adults.
Drug Classes Most Linked to Memory Problems
This is not a list of drugs to avoid. It is a list of categories where the cognitive signal is well-documented enough to deserve a structured conversation with a prescriber, especially in middle age and beyond.
Anticholinergics
Anticholinergic medications block acetylcholine, a neurotransmitter critical for memory and attention. Some are obvious — older over-the-counter sleep and allergy products containing diphenhydramine, bladder antispasmodics, several tricyclic antidepressants — and some are less so, including some Parkinson's drugs, antipsychotics, and motion-sickness medicines.
In a large nested case-control study, Coupland and colleagues found that cumulative anticholinergic exposure over a decade was associated with roughly a 49% higher odds of dementia in the highest tier, with the strongest signals from antidepressants, antipsychotics, antiparkinson drugs, and bladder antimuscarinics. Observational evidence cannot establish causation, but the signal is consistent enough that minimizing strong anticholinergic use in older adults is now a common geriatric goal — our closer look at anticholinergic drugs and dementia risk walks through the classes with the strongest signal.
Benzodiazepines and sleep medicines
Diazepam, lorazepam, alprazolam, clonazepam, and Z-drugs like zolpidem and eszopiclone are effective short term for anxiety and insomnia, but they enhance the brain-slowing effect of GABA — the same mechanism that interferes with forming new memories during use. The FDA strengthened its boxed warning for benzodiazepines in 2020 to emphasize the risks of misuse, physical dependence, and withdrawal — particularly when these drugs are combined with opioids. For a closer look at the trade-offs with anti-anxiety prescriptions specifically, see our guide on how anxiety medications can affect memory.
Opioid pain medicines
Prescription opioids can cause sedation, slowed thinking, and confusion, especially during the first weeks of use or after a dose increase. The cognitive effect is usually proportional to dose and worsens sharply when opioids are combined with benzodiazepines, sleep aids, or alcohol.
Antiepileptics, antipsychotics, and mood stabilizers
Drugs like topiramate, phenytoin, and older valproate formulations can affect word-finding, processing speed, and attention in some people. Many antipsychotics — especially older first-generation agents — carry sedating and anticholinergic effects. Most modern SSRIs and SNRIs have a relatively favorable cognitive profile, and treating depression or anxiety effectively often improves thinking rather than worsening it.
Chemotherapy, brain radiation, and immunotherapy
"Chemo brain" — formally called cancer-related cognitive impairment — is a real, increasingly studied phenomenon. The National Cancer Institute describes how chemotherapy, brain radiation, and immunotherapies can each contribute to memory and concentration problems, often layered on top of fatigue, anxiety, depression, and the cancer itself. Our guide to chemo brain and the cognitive effects of cancer treatment covers prevalence, mechanisms, and what helps.
How to Tell If a Medication Might Be the Cause
No single sign proves a drug is to blame, but several clues raise that hypothesis to the top of the list.
- The symptoms started within days to weeks of starting, stopping, or changing the dose of a medication.
- They get worse when the dose goes up and better when the dose goes down.
- They are most prominent in the hours after taking a dose, especially with sedating drugs.
- A new over-the-counter sleep aid, allergy medicine, or supplement coincides with the change.
- The pattern looks more like fluctuating attention than steady, progressive memory loss.
For a wider differential — including sleep, mood, thyroid, infection, and vitamin-related causes — our guide to reversible causes of memory loss is a good companion. When the picture is hazy rather than progressive, the framing in brain fog versus cognitive decline can also help. For the most-asked-about drug class, see our focused look at whether statins affect memory.
What to Do If You Suspect a Medication
The highest-yield first step is to gather information rather than make changes. Bring a complete list — prescriptions, over-the-counter products, and supplements, with doses and how long you have taken each — to your primary care clinician or pharmacist, and ask specifically about cognitive effects and interactions. Many health systems offer formal medication therapy management visits at no extra cost.
Useful details to document beforehand:
- When the cognitive change started relative to any medication change.
- The pattern — is it constant, intermittent, or tied to dose timing?
- Severity — how much does it affect daily functioning?
- Other context — recent illness, sleep changes, alcohol, mood, or stress.
Do not stop a medication abruptly on your own. Benzodiazepines, opioids, some antidepressants, and several seizure medicines should be tapered under clinician guidance to avoid withdrawal effects that can themselves look like worsening cognition. The NIA's guide to taking medicines safely as you age is a useful patient-facing companion to that conversation.
Where Cognitive Testing Fits
Cognitive testing does not diagnose a medication side effect. What it can do is give you and your clinician a structured, repeatable measure of how you are doing — so that "I think I'm a little foggier this month" becomes a concrete data point.
Testing tends to be especially useful before starting a long-term medication with known cognitive effects, when evaluating a possible medication-related change, and as part of ongoing brain-health tracking for people on multiple medications. Walking into a primary care or neurology visit with concrete numbers and a current medication list turns a vague worry into a workable question.
Taking the Next Step
For the wider view across drug classes — including anticholinergics, benzodiazepines, statins, and chemotherapy — start with our pillar guide to medications and cognition.
If you would like a structured, repeatable way to track attention, memory, and processing speed over time as you and your clinician make medication decisions, explore how Orena's at-home cognitive test works.
Frequently asked questions
What medications are most commonly linked to memory loss?
Is medication-related memory loss usually reversible?
Should I stop a medication if I think it's affecting my memory?
Do anticholinergic drugs really raise long-term dementia risk?
Where does cognitive testing fit in if I'm worried about my medications?
Sources
- American Geriatrics Society 2023 updated AGS Beers Criteria for potentially inappropriate medication use in older adults — Journal of the American Geriatrics Society (PMC), 2023
- Anticholinergic Drug Exposure and the Risk of Dementia: A Nested Case-Control Study — JAMA Internal Medicine, 2019
- Taking Medicines Safely as You Age — National Institute on Aging, 2024
- Benzodiazepine Drug Class: Drug Safety Communication — Boxed Warning Updated to Improve Safe Use — U.S. Food and Drug Administration, 2020
- Memory or Concentration Problems and Cancer Treatment — National Cancer Institute, 2023
Medical disclaimer. This article is for general educational purposes and is not a substitute for professional medical or insurance advice. Orena does not diagnose Alzheimer’s or dementia from a test alone. Always consult your doctor about your specific situation.



