Top

Medications that can affect memory or concentration: What should you know?

Published Nov 17, 2026 • By Razarutheen Mustafa

Have you ever walked into a room and forgotten why, struggled to follow a conversation, or felt unusually mentally foggy? Occasional forgetfulness happens to everyone, but when memory or concentration problems become frequent, it can be unsettling. Sometimes, the medications we take may play a role.

Certain prescription and over-the-counter medications can affect attention, alertness, and memory. But which ones, why does this happen, and what should you do if you suspect your treatment is affecting your thinking?

Medications that can affect memory or concentration: What should you know?

Can medications really affect your memory and concentration?

Yes. Some medications can temporarily affect how the brain processes, stores, or recalls information. Others may cause drowsiness, slower thinking, or reduced alertness, making concentration more difficult.

These effects are sometimes described as medication-related brain fog or drug-induced cognitive impairment.

Possible symptoms include:

  • Forgetting recent conversations or appointments.
  • Difficulty concentrating on reading or everyday tasks.
  • Feeling mentally slower than usual.
  • Struggling to find words or organize thoughts.
  • Experiencing unusual drowsiness or confusion.

However, not every memory problem is caused by medication. Poor sleep, chronic pain, depression, anxiety, vitamin deficiencies, and certain medical conditions can also affect cognitive function.

Carenity has previously explored this topic in Drugs that can impact your memory, which explains several medication classes associated with memory difficulties.

Which medications can affect memory or concentration?

Several types of medications may cause cognitive side effects. The likelihood and severity depend on the specific medication, dose, duration of treatment, other medications, and individual health factors.

1. Sleeping pills and benzodiazepines

Benzodiazepines, such as diazepam and lorazepam, are sometimes prescribed for anxiety, muscle spasms, or certain other conditions.

They work by slowing activity in the central nervous system.

Possible side effects include:

  • Drowsiness and reduced alertness.
  • Difficulty concentrating.
  • Slower reactions.
  • Problems forming or recalling memories.

Some sleeping medications, including eszopiclone and zolpidem, can also affect alertness and memory.

These medications may be particularly problematic in older adults because of the increased risk of confusion and falls.

Read Carenity's article Sleeping pills: A quick fix or a long-term risk for your sleep? to understand their benefits and potential risks.

Important: Never stop benzodiazepines abruptly after regular use. Withdrawal can be severe and sometimes dangerous, so any reduction should be medically supervised.

2. Antihistamines and medications with anticholinergic effects

Some older antihistamines, including chlorpheniramine and promethazine, can cause drowsiness and reduced concentration.

Certain medications used for bladder problems, depression, and other conditions also have anticholinergic effects.

These medications block the action of acetylcholine, a chemical messenger involved in memory, learning, and other nervous system functions.

Examples include:

  • Oxybutynin, used for some bladder conditions.
  • Amitriptyline, prescribed for conditions including nerve pain and depression.
  • Some sedating antihistamines used for allergies or nausea.

The combined effect of taking several medications with anticholinergic properties is called anticholinergic burden.

The National Institute on Aging (NIA) notes that medications with anticholinergic effects and certain antihistamines, sedatives, and other drugs can contribute to confusion, memory problems, and other cognitive difficulties, particularly in older adults.

This does not mean these medications are inappropriate for everyone. Their benefits and risks should be assessed individually.

3. Opioid pain medications

Opioid medications, such as morphine, oxycodone, and codeine, may be prescribed for certain types of pain.

They can cause sleepiness, reduced alertness, and difficulty concentrating, particularly when treatment begins or the dose changes.

These effects may be more pronounced when opioids are combined with other sedating medications or alcohol.

For people living with chronic pain, the situation can be complicated because pain itself can interfere with sleep, attention, and memory.

A healthcare professional can help assess whether cognitive symptoms are related to the medication, the underlying condition, or both.

4. Medications for epilepsy and nerve pain

Some medications used to treat epilepsy or neuropathic pain can affect concentration and mental alertness.

Examples include pregabalin, gabapentin, and topiramate.

Possible side effects vary between medications and may include:

  • Drowsiness or dizziness.
  • Difficulty concentrating.
  • Slower thinking.
  • Word-finding difficulties, particularly with topiramate.

Not everyone experiences these effects, and many people benefit significantly from these treatments.

Do not stop anti-seizure medication suddenly, as this can increase the risk of seizures.

5. Certain antidepressants and corticosteroids

Some antidepressants, particularly those with sedating or anticholinergic properties, may affect alertness or concentration.

For example, amitriptyline can cause drowsiness and anticholinergic side effects.

However, antidepressants do not all have the same effects. Treating depression may actually improve memory and concentration when cognitive difficulties are related to depressive symptoms.

Corticosteroids, such as prednisone, can sometimes cause sleep disturbances, mood changes, and difficulty concentrating, particularly at higher doses.

Carenity explains these effects in Corticosteroids: Definition, dosage and side effects of cortisone.

Why are some people more sensitive to cognitive side effects?

Medication-related memory and concentration problems can occur at any age, but certain circumstances may increase the risk.

These include:

  • Older age: Changes in how the body processes medications can increase sensitivity to some side effects.
  • Taking several medications: Drug interactions and combined sedating or anticholinergic effects may increase risks.
  • Kidney or liver problems: Some medications may accumulate when the body cannot eliminate them efficiently.
  • Existing cognitive difficulties: People with dementia or other cognitive conditions may be more vulnerable.
  • Sleep problems or chronic illness: These can worsen concentration independently of medication.

Taking multiple medications is sometimes necessary, especially when managing several chronic conditions.

However, regular medication reviews can help identify unnecessary treatments, interactions, and opportunities to simplify a treatment plan.

For more information, read Carenity's article Polypharmacy: What is it and what is the risk for our health?.

Are medication-related memory problems reversible?

Some cognitive side effects improve when a medication is adjusted, changed, or gradually discontinued under medical supervision.

For example, excessive drowsiness or difficulty concentrating may improve after a healthcare professional changes the dose or recommends an alternative treatment.

However, recovery is not always immediate, and not every cognitive problem is medication-related.

Research has also found associations between long-term exposure to certain anticholinergic medications and poorer cognitive outcomes. These findings do not establish that every medication with anticholinergic properties causes dementia.

The important step is to assess the person's overall health, symptoms, and medication use rather than assuming a single cause.

What should you do if your medication is causing brain fog?

If you notice memory problems, confusion, or difficulty concentrating after starting a medication or changing a dose, contact your healthcare provider or pharmacist.

Do not stop, reduce, or skip prescribed medication without professional advice.

A medication review may help identify whether a treatment could be contributing to your symptoms.

Before your appointment, consider noting:

  • When symptoms began: Did they appear after starting a new medication or changing a dose?
  • What you experience: Forgetfulness, confusion, sleepiness, difficulty focusing, or word-finding problems.
  • When symptoms occur: Shortly after taking medication, in the morning, or throughout the day.
  • All medications you take: Include prescriptions, over-the-counter products, supplements, and herbal remedies.
  • Other symptoms: Poor sleep, dizziness, mood changes, pain, or unusual fatigue.
  • Everyday impact: Difficulties at work, driving, managing appointments, or remembering medication.

You could ask your healthcare provider:

“Could any of my medications be affecting my concentration? Would a medication review or an alternative treatment be appropriate?”

Your healthcare professional may review doses, check for interactions, investigate other possible causes, or recommend a safer alternative.

If a medication makes you sleepy, dizzy, or less alert, avoid driving or operating machinery until you know it is safe.

When should memory or concentration problems be treated as urgent?

Sudden confusion, severe disorientation, or a rapid change in mental state should not be dismissed as ordinary brain fog.

Seek urgent medical assessment, particularly if symptoms appear suddenly or follow a medication change.

Call 911 if someone develops sudden facial weakness, arm weakness, speech difficulties, or other possible signs of stroke, or becomes unresponsive or has difficulty breathing.

Living with brain fog: finding support

Memory and concentration difficulties can affect confidence, relationships, and everyday independence.

For people managing chronic conditions, it can be especially difficult to distinguish between symptoms of an illness and possible treatment side effects.

Carenity's article Brain fog in CKD: How can kidney disease affect memory and thinking? explores how chronic kidney disease, fatigue, sleep difficulties, and medications may contribute to cognitive symptoms.

You can also explore the Carenity US community forums to read other members' experiences with treatments, side effects, and everyday challenges.

Sharing experiences may help you prepare questions for your healthcare team, although another person's reaction to a medication does not predict your own.

Memory problems deserve attention, but they do not automatically mean something serious or permanent is happening. Identifying possible causes and reviewing your treatment with a healthcare professional can be an important first step toward feeling more confident in everyday life.

Frequently Asked Questions

1. Which medications can cause memory problems?

Some benzodiazepines, sleeping pills, sedating antihistamines, anticholinergic medications, opioids, and certain epilepsy medications can affect memory or concentration.

2. Can antidepressants cause brain fog?

Some antidepressants may cause drowsiness or concentration difficulties. However, treating depression can also improve cognitive symptoms. Effects vary by medication and person.

3. Are medication-related memory problems permanent?

Not necessarily. Some improve after a medically supervised treatment adjustment, although recovery depends on the cause and individual circumstances.

4. Can taking several medications affect concentration?

Yes. Taking multiple medications can increase the risk of interactions and combined sedating or anticholinergic effects.

5. Should I stop medication if I notice memory loss?

No. Speak to your healthcare provider or pharmacist before making changes. Some medications can cause serious withdrawal effects or worsening symptoms if stopped suddenly.

If you found this article helpful, feel free to give it a “Like” and share your thoughts or experiences with the community in the comments below!

Take care!

Comments

You will also like

"Scentimental": The power of fragrance on our mental health!

Read the article
What are the dangers associated with the over-the-counter sale of certain medicines?

What are the dangers associated with the over-the-counter sale of certain medicines?

Read the article
Meet Lee, Your Community Manager

Meet Lee, Your Community Manager

Read the article
Telemedicine: Remote examinations and operations are here!

Telemedicine: Remote examinations and operations are here!

Read the article

Most commented discussions