Some medications can affect memory, attention, or thinking, particularly with long-term use or in older adults. Learn which drug groups deserve attention and why you should never stop medication suddenly.
As people get older, it is normal to become more concerned about forgetfulness, confusion, and changes in memory. But there is another factor that is sometimes overlooked: medications.
Certain medicines can affect the brain and nervous system. Some may cause temporary confusion or drowsiness, while others have been investigated for possible associations with cognitive decline when used for long periods.
However, an important distinction is needed.
A medication that can cause confusion or memory problems is not automatically a medication that causes dementia. In many cases, cognitive symptoms are reversible after the medication is adjusted or discontinued under medical supervision.
The risk can also depend on age, dose, duration of treatment, combinations of medications, kidney and liver function, and the person’s overall health.
1. Anticholinergic Medications
One of the most discussed groups is anticholinergic medication.
These medicines interfere with acetylcholine, a chemical messenger involved in memory, learning, attention, and other brain functions.
Anticholinergic drugs are found in several types of medicines, including some used for:
- Overactive bladder
- Allergies
- Motion sickness
- Depression
- Certain gastrointestinal problems
- Some respiratory conditions
- Sleep problems
Older adults can be particularly sensitive to these medications.
High anticholinergic burden has been associated in observational research with cognitive impairment and dementia risk, although this does not prove that these medicines directly cause dementia.
2. Certain Sedatives and Anti-Anxiety Medicines
Another group that deserves careful attention is benzodiazepines and related sedative medications.
These drugs can reduce anxiety and promote sleep, but they may also cause:
- Drowsiness
- Poor concentration
- Slower reactions
- Memory problems
- Confusion
- Increased risk of falls
Long-term use can also lead to dependence, meaning that stopping suddenly may be dangerous.
Some studies have reported associations between long-term benzodiazepine exposure and dementia, but the evidence is complicated by the fact that anxiety, insomnia, depression, and other conditions for which these medications are prescribed can themselves be associated with later cognitive decline.
For this reason, these medications should be reviewed individually rather than automatically blamed for dementia.
3. Some Sleep Medications
Certain prescription and over-the-counter sleep medicines can affect alertness and memory.
Some sleep aids have sedating or anticholinergic properties, particularly older medications.
A person may notice:
- Morning grogginess
- Difficulty concentrating
- Forgetfulness
- Confusion
- Problems with balance
Older adults are generally more vulnerable to these effects.
If sleep medication is being used regularly, it is worth discussing the treatment with a healthcare professional to determine whether the benefits still outweigh the risks.
4. Certain Antidepressants
Some antidepressants—particularly medications with stronger anticholinergic effects—can affect memory and thinking in susceptible individuals.
This does not mean that antidepressants as a whole cause dementia.
In fact, untreated depression itself can produce significant problems with concentration and memory, sometimes resembling cognitive decline.
Therefore, stopping an antidepressant without medical advice can be counterproductive.
The important question is which medication is being used, at what dose, for how long, and whether the person is experiencing cognitive side effects.
5. Some Medications Used for Bladder Problems
Medications prescribed for urinary urgency or overactive bladder are another group worth reviewing.
Some older bladder medications have significant anticholinergic effects.
Because the brain also relies on acetylcholine for normal cognitive function, blocking this chemical messenger can sometimes contribute to confusion or memory problems.
If an older adult develops new cognitive symptoms after beginning a bladder medication, it is reasonable to ask a healthcare professional whether a medication review is appropriate.
There may be alternatives with different effects on the brain.
6. Certain Antipsychotic Medications
Antipsychotic medicines are powerful drugs used for conditions such as schizophrenia, bipolar disorder, and certain severe behavioral symptoms.
They can cause sedation and other neurological side effects.
In older adults with dementia-related psychosis, antipsychotic medications carry important safety warnings, including an increased risk of death. They therefore require careful medical supervision.
This does not mean that people who legitimately need antipsychotic medication should simply stop taking it.
Rather, treatment should be regularly reviewed to ensure that the medication remains necessary and that the lowest appropriate dose is being used.
7. Some Antiseizure and Neurological Medicines
Certain medications that affect the central nervous system can cause cognitive side effects such as:
- Sleepiness
- Slowed thinking
- Difficulty finding words
- Poor concentration
- Memory problems
The effects vary considerably between individual medications and individuals.
For someone taking several neurological medications at once, a medication review can sometimes identify whether the combination is contributing to cognitive symptoms.
8. Opioid Pain Medicines
Opioid medications can cause drowsiness, confusion, and impaired attention, particularly when the dose is high or when they are combined with other sedating substances.
Older adults may be especially vulnerable.
Temporary confusion from opioids should not automatically be interpreted as dementia.
However, persistent cognitive symptoms, excessive sedation, or significant changes in alertness should be discussed with a healthcare professional.
9. Corticosteroids
Steroid medications such as prednisone can affect mood, sleep, and cognition in some people.
Possible effects include:
- Insomnia
- Anxiety
- Mood changes
- Agitation
- Difficulty concentrating
- Confusion
These effects are not the same thing as dementia and may improve when treatment changes.
Because corticosteroids can be medically important, they should never be stopped suddenly without appropriate medical guidance.
Why Medication-Related Memory Problems Can Be Confusing
One of the biggest challenges is that medication side effects can resemble early dementia.
For example, a person might suddenly become:
- Forgetful
- Sleepy
- Disoriented
- Easily distracted
- Slow to respond
- Confused about familiar tasks
But dementia usually develops progressively over time.
Medication-related cognitive impairment can sometimes appear more suddenly, particularly after starting a new medicine, increasing a dose, or adding another medication that interacts with it.
That difference is important.
Medication Combinations Can Matter More Than One Drug
Older adults often take several medications at the same time.
Even when each medication seems reasonable individually, their combined effects can produce excessive sedation, dizziness, confusion, or impaired concentration.
This is sometimes referred to as polypharmacy.
For that reason, a medication review should consider everything a person takes, including:
- Prescription medications
- Over-the-counter medicines
- Sleep aids
- Allergy medicines
- Herbal products
- Vitamins and supplements
Don’t Stop a Medication on Your Own
This is perhaps the most important point.
If you are concerned that a medication may be affecting memory, do not suddenly stop taking it unless a healthcare professional tells you to do so.
Some medications can cause withdrawal symptoms or dangerous rebound effects if discontinued abruptly.
Instead, ask your doctor or pharmacist whether the medication could be contributing to the symptoms and whether there is a safer alternative.
What Should You Do If Memory Problems Begin?
Pay attention to when the symptoms started.
Ask yourself:
- Did the problem begin after starting a new medication?
- Was the dose recently increased?
- Were several medications added at once?
- Is the person unusually sleepy?
- Are there episodes of sudden confusion?
- Has the person started using an over-the-counter sleep or allergy medicine?
- Are the symptoms getting progressively worse?
Keeping a complete medication list can make a medical appointment much more productive.
When Confusion Requires Urgent Attention
Sudden confusion is not something that should automatically be blamed on aging or dementia.
Acute confusion can have many causes, including infections, dehydration, medication effects, metabolic problems, and other medical conditions.
If someone becomes suddenly confused, unusually difficult to wake, has trouble speaking, develops weakness, experiences a seizure, or has other sudden neurological symptoms, urgent medical assessment may be necessary.
The Bottom Line
Several medication groups can affect memory, attention, alertness, or thinking—particularly in older adults and especially when multiple medications are combined.
The groups most commonly discussed include anticholinergic medicines, certain sedatives and benzodiazepines, some sleep medications, certain antidepressants, some bladder medicines, antipsychotics, neurological medicines, opioids, and corticosteroids.
But it is important not to turn an association into a certainty.
A medication that can cause confusion or cognitive side effects is not necessarily causing dementia, and many cognitive side effects can be managed by adjusting treatment under professional supervision.
If memory or thinking has recently changed, a medication review is often a sensible place to start. Bring a complete list of everything being taken and discuss the risks and benefits of each medication with a doctor or pharmacist.
Good medication management is not about being afraid of medicines. It is about making sure every medicine still has a clear purpose and that its benefits continue to outweigh its risks.