Skip to main content

What medications are known to cause constipation?

Medically reviewed by Kristianne Hannemann, PharmD. Last updated on March 18, 2025.

Official answer

by Drugs.com

Constipation happens when you have trouble going to the bathroom or don't go as often as usual. It can make your stool hard and difficult to pass. While many things like diet and exercise affect your bathroom habits, certain medications can also cause constipation. Understanding which medications might lead to constipation can help you know what to do if you experience this problem. Below, we will review some common types of medications that can cause constipation.

Pain medications

Strong pain medications, especially opioids, are some of the most common causes of constipation. These include medications with ingredients like codeine, oxycodone (Oxycontin), and hydromorphone (Dilaudid). These drugs slow down the nerves in your gut, making it harder for waste to move through your intestines. Even some over-the-counter pain relievers like ibuprofen (Advil) and naproxen (Aleve) can sometimes cause constipation.

Antidepressants

Medications used to treat depression can affect both the brain and the gut. Many antidepressants work on nerve endings in the brain, but they also affect nerve endings in your digestive system. Common antidepressants that may cause constipation include:

  • Selective serotonin reuptake inhibitors (SSRIs) like paroxetine (Paxil)
  • Tricyclic antidepressants like amitriptyline (Elavil)

Blood Pressure Medications

If you take medicine for high blood pressure, it might be causing your constipation. Calcium channel blockers are blood pressure medications that relax the muscles in blood vessels to lower blood pressure. However, they can also relax the muscles in your gut, leading to constipation. Other blood pressure medications like beta-blockers can also slow down your digestive system.

Allergy Medications

Many allergy medications, especially antihistamines like diphenhydramine (Benadryl), can cause constipation. These medications block a chemical called acetylcholine, which helps your muscles move. When this chemical is blocked, there's less movement in your gut, making it harder to have bowel movements.

Iron Supplements

If you're taking iron for anemia or other conditions, you might notice constipation as a side effect. Iron supplements are well-known for causing digestive issues, including constipation.

Related questions

Antacids

Some remedies for heartburn and indigestion contain ingredients like calcium or aluminum, which can lead to constipation. These are often found in over-the-counter products used to treat upset stomach.

Anticholinergics

Anticholinergics are used to treat urinary incontinence (bladder leakage). These include medications like oxybutynin (Ditropan). These medications can cause constipation because they affect muscle movement throughout your body, including your intestines.

Antipsychotics

Antipsychotic medications used to treat conditions like schizophrenia can reduce bowel movement and cause constipation. These medications affect various systems in your body, including your digestive system.

How to Manage Medication-Induced Constipation

If you think your medication is causing constipation, don't stop taking it without talking to your healthcare provider first. Your prescriber might:

  • Change your dosage
  • Switch you to a different medication
  • Recommend treatments for constipation

Other strategies to manage constipation include:

  • Stay hydrated: Drinking plenty of water can help soften your stool and make it easier to pass.
  • Add fiber to your diet: Eating foods high in fiber or taking fiber supplements can help relieve constipation. Fiber supplements like psyllium (Metamucil), wheat dextrin (Benefiber), and methylcellulose (Citrucel) add bulk to your stool and help it retain water.
  • Consider over-the-counter treatments: Ask your healthcare provider if you should take a stool softener or laxative.

If you have severe constipation, belly pain, or notice blood in your stool, contact your healthcare provider right away. These could be signs of a more serious problem that needs medical attention.

Conclusion

Many common medications can cause constipation as a side effect. Pain medications, antidepressants, blood pressure drugs, and allergy medicines are among the most frequent culprits. If you're experiencing constipation and taking any of these medications, talk with your healthcare provider. They can help you find ways to manage constipation while still getting the benefits of your medication. Never stop taking a prescribed medication without first consulting your healthcare provider, as this could be harmful to your health.

References
  • Diaz, S., et. al. 2023. Constipation. In: StatPearls [Internet]. Accessed on March 18, 2025 at https://www.ncbi.nlm.nih.gov/books/NBK513291/
  • Jones, R. H., et. al. 1995. Gastrointestinal side-effects of NSAIDs in the community. In: The British Journal of Clinical Practice. PMID: 7779646

Read next

How long does magnesium citrate take to work?

According to the information provided with magnesium citrate liquid products, you can generally expect it to cause a bowel movement anywhere from 30 minutes to 6 hours after you drink it.

Continue reading

Can ibuprofen cause constipation?

Yes, ibuprofen may cause constipation in 1% to 10% of patients, but it is more likely to cause other stomach side effects like nausea (57%), vomiting (22%), flatulence / gas (16%), diarrhea (10%) and stomach pain or heartburn (1% to 10%). Continue reading

Which drugs cause opioid-induced constipation?

Any drug that is classified as an "opioid" can cause constipation. Examples of commonly prescribed opioids that may cause this side effect include morphine, tramadol, fentanyl, methadone, hydrocodone, codeine and oxycodone. Continue reading

Related medical questions

Related support groups