Top

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

Published 17 Nov 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 medicines 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 medicines 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 organise 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 medicines may cause cognitive side effects. The likelihood and severity depend on the specific medicine, 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 medicines, including zopiclone and zolpidem, can also affect alertness and memory.

These medicines 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 medicines with anticholinergic effects

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

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

These medicines 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 medicines with anticholinergic properties is called anticholinergic burden.

According to NICE, a higher anticholinergic burden can contribute to cognitive impairment, particularly in older people.

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

3. Opioid painkillers

Opioid medicines, 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 medicines 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 medicine, the underlying condition or both.

4. Medicines for epilepsy and nerve pain

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

Examples include pregabalin, gabapentin and topiramate.

Possible side effects vary between medicines 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 prednisolone, 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 medicines can increase sensitivity to some side effects.
  • Taking several medicines: Drug interactions and combined sedating or anticholinergic effects may increase risks.
  • Kidney or liver problems: Some medicines 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 medicines 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 medicine 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 medicines and poorer cognitive outcomes. These findings do not establish that every medicine 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 medicine or changing a dose, contact your GP 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 medicine 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 medicines 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 doctor:

“Could any of my medicines 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 medicine 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 999 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 UK 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 medicine 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 towards feeling more confident in everyday life.

Frequently Asked Questions

1. Which medications can cause memory problems?

Some benzodiazepines, sleeping pills, sedating antihistamines, anticholinergic medicines, opioids and certain epilepsy medicines 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 medicine 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 medicines affect concentration?

Yes. Taking multiple medicines 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 GP or pharmacist before making changes. Some medicines 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

Signs of stress and exhaustion: subtle changes your body may be showing

Signs of stress and exhaustion: subtle changes your body may be showing

Read the article
Medicines that are at risk of misuse and dependence

Medicines that are at risk of misuse and dependence

Read the article
Hot weather: risks related to taking certain medications

Hot weather: risks related to taking certain medications

Read the article
6 things you should know about your mental health!

6 things you should know about your mental health!

Read the article

Most commented discussions