Stool Log

Medicines that can cause constipation

Many everyday medicines can make you constipated, from strong painkillers and iron tablets to some antacids, antidepressants, allergy tablets and GLP-1 injections.12 If you think one of yours is the cause, keep taking it and talk to your doctor or pharmacist: there is often something that can help.3

The medicines most often linked to constipation

A side effect of a medicine is one of the everyday causes of constipation the NHS lists, next to too little fibre, too little fluid and not moving much.4 Cleveland Clinic says many drugs can cause it.1 These are the groups that come up most often.

Strong painkillers (opioids)

Opioid painkillers, such as codeine, oxycodone and hydromorphone, are among the best-known causes.1 Constipation is listed first among the common side effects of codeine on the NHS page for it.5 The NHS also says to see a GP if you're taking a medicine that's causing constipation, such as an opioid painkiller.4

Iron tablets

Iron supplements are on both the Cleveland Clinic and NIDDK lists.12 Our post on iron tablets and constipation covers what can help.

Some antacids

Antacids that contain calcium or aluminium can cause constipation.12 If you take indigestion remedies often, it's worth checking the label for those ingredients and asking a pharmacist.

Antidepressants and some other mental health medicines

Some antidepressants, including selective serotonin reuptake inhibitors (SSRIs) such as fluoxetine and tricyclics such as amitriptyline, can cause constipation.1 Healthdirect also names antidepressants, alongside strong pain-relief medicines.6 Some psychiatric medicines, such as clozapine and olanzapine, are on Cleveland Clinic's list too.1

Antihistamines

Allergy medicines such as antihistamines, for example diphenhydramine, can cause constipation.1

GLP-1 medicines

Constipation is one of the common side effects of semaglutide on the NHS page for it, along with feeling or being sick and diarrhoea.7 The US label for Ozempic lists constipation among the most common side effects, reported in at least 5% of people in its trials.8 Tracking constipation on a GLP-1 medicine explains what to write down for your prescriber.

Others on the lists

Not everyone who takes these gets constipated. Like all medicines, they cause side effects in some people and not in others.5

What to do if you think a medicine is the cause

Don't change or skip a medicine on your own. NIDDK says not to change or stop any medicine or supplement without talking with a health care professional, and the NHS says to speak to a GP first about any prescribed medicine.34 Some medicines also need to be reduced slowly rather than all at once, and the NHS says to keep taking semaglutide unless you're advised to stop.57

What you can do:

Log each dose, then log each stool, then show your doctor what changed.

Writing it down helps the conversation

It helps to know when the constipation started compared with when the medicine did. Note the day a medicine started or changed, how often you went after that, and what your stools were like on the Bristol stool chart. How to keep a stool diary explains what to note, and constipation covers the signs in general.

Common questions

Which medicines cause constipation most often?

Strong painkillers such as codeine and oxycodone, iron supplements, antacids that contain calcium or aluminium, some antidepressants, antihistamines and some blood pressure medicines are among those listed by Cleveland Clinic and NIDDK.112 Constipation is also a common side effect of GLP-1 medicines such as semaglutide.7

Should I stop a medicine that's making me constipated?

Not without advice. Talk to your doctor or pharmacist first; they may change the dose, switch you to another medicine or suggest ways to ease the side effect.13

Can over-the-counter medicines cause constipation?

Yes. Antacids that contain calcium or aluminium, iron supplements and antihistamines such as diphenhydramine are all on Cleveland Clinic's list.11

Do Ozempic and Wegovy cause constipation?

Constipation is a common side effect of semaglutide, the medicine in both.7 Tracking constipation on a GLP-1 medicine covers what to track.

See what changed when a medicine started

Stool Log keeps your medicines and your stools in one diary. Add a daily medicine with reminders and tap Taken for each dose, log each stool's Bristol type in one tap, and Did it help? compares your stools before and since the day a medicine started. The free 14-day report puts it on one page for your doctor or pharmacist.

Download on the App Store

Sources

  1. Cleveland Clinic. Constipation, 2023. ↩ a b c d e f g h i j k l m n o p q r
  2. NIDDK (National Institutes of Health). Symptoms & causes of constipation, 2018. ↩ a b c d e f g
  3. NIDDK (National Institutes of Health). Treatment for constipation, 2018. ↩ a b c
  4. NHS. Constipation: causes, 2023. ↩ a b c d e f g h
  5. NHS. Codeine, 2026. ↩ a b c d
  6. healthdirect Australia. Constipation, 2025. ↩ a b c
  7. NHS. Semaglutide, 2026. ↩ a b c d
  8. DailyMed (US National Library of Medicine). Ozempic (semaglutide) injection: prescribing information, 2026. ↩

This article is general information, not medical advice. Talk to a doctor or nurse about your own symptoms.

Free tools