provider image
Welcome! You’re in GoodRx for healthcare professionals. Now, you’ll enjoy a streamlined experience created specifically for healthcare professionals.
Skip to main content
HomeHealth ConditionsConstipation

Constipation From Your Medications: What’s the Best Laxative?

Alyssa Billingsley, PharmDValerie Emuakhagbon, MD
Updated on March 27, 2024

Key takeaways:

  • Certain medications can cause constipation as a side effect. These include medications that treat pain, allergies, and overactive bladder.

  • There are several over-the-counter laxatives and prescription medications that you can take for constipation.

  • Prevention can help you stay ahead of constipation before it becomes a problem. Drink plenty of water, eat a fiber-rich diet, and move around every day. If needed, you can also start a daily preventive laxative. 

Access savings on related medications

01:36
Reviewed by Alexandra Schwarz, MD | May 9, 2023

Stool can come in different shapes, colors, and textures depending on your diet and overall health. In general, the goal is for your stool to be soft in nature. For example, your stool consistency should be similar to toothpaste or soft-serve ice cream. But if you’ve ever had constipation or hard stools, you know that it can be an uncomfortable experience. Diet, dehydration, and poor exercise habits are common causes of constipation. But what happens when a medication you’re taking is to blame? This can happen with several medications, and opioid pain medications are often the culprit. 

Fortunately, you have a few options when medication makes you constipated. Simple lifestyle modifications like making changes to your diet, daily habits, or exercise routines can be a good place to start. If those changes aren’t enough to resolve your constipation, over-the-counter (OTC) laxatives may be your next best step. To ease your medication-induced constipation, here are the best medications to treat constipation. Learn how these medications can work together. 

How do medications cause constipation?

There are two main ways that medications cause you to be constipated. One way is by slowing the movement of stool through your colon (large intestine). The other is by causing your body to absorb more water from the colon. Both of these make the stool harder, drier, and slower to pass. Common classes of medication that cause constipation include:

Search and compare options

Search is powered by a third party. By clicking a topic in the advertisement above, you agree that you will visit a landing page with search results generated by a third party, and that your personal identifiers and engagement on this page and the landing page may be shared with such third party. GoodRx may receive compensation in relation to your search.

Treating medication-induced constipation

Prevention is better than a cure. If you’re taking medications that cause constipation, the best thing to do is to try to optimize your bowel health. Here are some simple lifestyle changes that can prevent, reduce, and sometimes resolve medication-induced constipation: 

  • Drink enough water every day to help keep your stool soft. This allows for easier movement of your stool through the colon.

  • Eat a high-fiber diet with plenty of fruits, vegetables, and whole grains.

  • Simulate digestion with regular exercise.

  • Empty your bowels when you have the urge. Holding it in can make it harder to go later on.

  • Use a footstool (or squatty potty) to improve your toileting posture. This will improve your mechanics for an easier bowel movement.

  • Be consistent with the timing of your bowel movements. Your bowels work best when you have a consistent routine.

What to take for constipation

There are many types of OTC laxatives. Some can be taken by mouth (pills or powder) and others can be placed in the rectum (suppositories or enemas). These laxatives can work in different ways to help get things moving again. In general, suppositories and enemas work faster than medications taken by mouth. 

You can safely combine different types of laxatives for a greater effect. Typically, it’s best to start slowly. Try one laxative, and then increase the dose or add an additional medication over time until you get relief. If you do not get initial relief, see your healthcare professional for more guidance. 

Stimulant laxatives

Stimulant laxatives work by stimulating the muscles of your large intestines. Stimulated muscles move stool more quickly through your intestines and into your rectum for evacuation. This medication also lessens the amount of water your body absorbs from the intestines so your stool stays softer. For most people, a bowel movement occurs within 6 to 12 hours of taking a stimulant laxative. Examples of stimulant laxatives include:

  • Senna (Senokot, Ex-Lax)

  • Bisacodyl (Dulcolax), which comes as a pill or suppository

Osmotic laxatives

Osmotic laxatives work by bringing more fluid into the intestines to ease constipation. Depending on the product, it can take anywhere from 15 minutes to a few days for a bowel movement to occur.

Osmotic laxatives are available as liquids, suppositories, and powders that you mix into a beverage. 

Examples of osmotic laxatives include:

These are all effective at treating medication-induced constipation. Glycerin suppositories work the fastest. Certain oral laxatives like PEG can take a few days. But if you’re concerned about side effects, PEG works well and causes less feelings of “urgency” and cramping compared to other options. If you have kidney problems, check with your healthcare professional before using an osmotic laxative.

Emollient laxatives or stool softeners

Emollient laxatives (stool softeners) help make stool softer and easier to pass by allowing water and fat to build up in it. They typically start working within 12 to 72 hours. The most common emollient laxative is docusate sodium (Colace, DocQLace). 

Emollient laxatives are not the best choice for medication-induced constipation. While they cause fewer side effects, they’re less effective than stimulant and osmotic laxatives. If you have a new opioid prescription, your prescriber may recommend taking one of these laxatives along with another type. This is to help prevent constipation from starting in the first place. In fact, you can find senna and docusate together in one pill as Senna-S or Dok Plus.

Which laxative works the fastest?

Now that you know what your options are, let’s talk about how to get things moving quickly. As mentioned above, suppositories and enemas typically work the fastest. But what about medications taken by mouth? Here’s a brief comparison of some of the popular medications. 

Senokot vs. Dulcolax

Senokot and Dulcolax are both stimulant laxatives. And they both work within 6 to 12 hours when taken orally. Dulcolax suppositories work faster, usually within 15 to 60 minutes.

Dulcolax can cause cramping, stomach pain, and diarrhea. This can also happen with Senokot, but it may be better tolerated.

Dulcolax vs. Miralax

As mentioned above, Dulcolax can take anywhere from 15 minutes to 12 hours to take effect, depending on how you take it. But it also has some unpleasant side effects.

Miralax, an osmotic laxative, typically takes 1 to 3 days to work. It’s only available as a powder that you mix into a beverage. Compared to Dulcolax, Miralax can take longer to work. But it is much more tolerated and tends to cause fewer side effects than other laxatives.

Colace vs. Miralax

Colace is a stool softener. So, it does not actually stimulate you to have a bowel movement. But it can help alleviate straining that comes along with constipation. 

Compared to Colace, Miralax may be a preferred choice. That’s because it softens stool and raises pressure in the colon to encourage bowel movements.

What prescription laxatives work for medication constipation?

What happens if OTC laxatives aren’t doing the trick? In this case, your healthcare professional may recommend a prescription medication. There are a few different options, especially for constipation caused by opioids.

Prescription options

There are some prescription laxatives your prescriber may try for chronic constipation if OTC laxatives aren’t working. These include:

With the exception of lactulose, these medications are only available as brand-name products. But manufacturer copay savings cards can help make your prescription more affordable.

Prescription laxatives for opioid-induced constipation

For opioid-induced constipation, there are specific prescription medications that block opioid effects in your gut. They work by targeting the cause of the problem. Options include:

With the exception of lubiprostone, these medications are only available as brand-name products. But if you have commercial insurance, you may be able to pay as little as $0 with a copay savings card from the manufacturer. Patient assistance programs may also be available.

What laxatives don’t work as well for medication constipation?

Experts recommend that a fiber-rich diet is important to overall health. But using fiber and laxatives — like Metamucil and Psyllium — won’t work well for medication constipation. These bulk-forming laxatives don’t work as stimulants. They are better used to treat constipation not caused by medications. That’s because they add bulk to the stool without helping it move, which can make the medication-induced constipation worse.

The bottom line

Several types of medications can cause constipation. Common culprits include medications that treat pain, weight loss, and overactive bladder. Starting with lifestyle changes can be simple and easy. If those don’t work, OTC laxatives are the next step in treating medication-induced constipation. 

Stimulant laxatives are a common first option. And they work well for constipation caused by medications. Osmotic laxatives like Miralax can take a bit longer to work, but they typically have fewer side effects. Stool softeners (emollient laxatives) are also an option, but they may not work as well on their own. There are also some prescription options — especially if your constipation is caused by opioids. Talk to your prescriber to help you find the best laxative options for you. 

why trust our exports reliability shield

Why trust our experts?

Alyssa Billingsley, PharmD
Alyssa Billingsley, PharmD, is the director of pharmacy content for GoodRx. She has over a decade of experience as a pharmacist and has worked in clinical, academic, and administrative roles.
Karla Robinson, MD
Karla Robinson, MD, is a medical editor for GoodRx. She is a licensed, board-certified family physician with almost 20 years of experience in health through varied clinical, administrative, and educational roles.
Valerie Emuakhagbon, MD
Valerie Emuakhagbon, MD, is a board-certified colorectal surgeon. A native of Dallas, Texas, she completed the six-year BA/MD program at the University of Missouri-Kansas City.

References

AmerisourceBergen/Good Neighbor Pharmacy. (2023). Glycerin [package insert]. DailyMed.

Crockett, S. D., et al. (2018). American Gastroenterological Association Institute guideline on the medical management of opioid-induced constipation. Gastroenterology.

View All References (3)

Dabaja, A., et al. (2023). Polyethylene glycol. StatPearls.

Rao, S. S. C., et al. (2021). Efficacy and safety of over-the-counter therapies for chronic constipation: An updated systematic review. American Journal of Gastroenterology.

Sizar, O., et al. (2023). Opioid-induced constipation. StatPearls.

GoodRx Health has strict sourcing policies and relies on primary sources such as medical organizations, governmental agencies, academic institutions, and peer-reviewed scientific journals. Learn more about how we ensure our content is accurate, thorough, and unbiased by reading our editorial guidelines.

Was this page helpful?

Get the facts on Constipation.

Sign up for our newsletter to get expert tips on condition management and prescription savings.

By signing up, I agree to GoodRx's Terms and Privacy Policy, and to receive marketing messages from GoodRx.