Constipation is one of the most common and least talked about problems after surgery. It is also one of the most uncomfortable. Many people are surprised to find that, after a major operation, the thing causing them the most distress is not the incision or the surgical pain, but the simple inability to have a normal bowel movement.
If this is you, please know that it is completely normal, it is expected, and it is manageable. Almost everyone who has surgery experiences some degree of constipation in the days afterward. This guide explains why it happens and walks you through safe, practical ways to prevent and relieve it.
Why surgery causes constipation
Several things happen during and after surgery that slow your bowels down, often all at once.
Pain medication. Opioid painkillers such as codeine, tramadol, oxycodone, and morphine are the biggest culprit. They are very effective for pain, but they slow the movement of your intestines and harden the stool. If you are taking any opioid medication, constipation is almost guaranteed unless you take steps to prevent it.
Anesthetic. General anesthesia temporarily slows or pauses the natural muscular movement of your gut. It can take a few days for this rhythm to return to normal after your operation.
Reduced movement. Walking and general activity stimulate the bowel. After surgery you are moving far less than usual, which slows everything down.
Less food and fluid. Eating less, drinking less, and fasting before surgery all reduce the bulk and moisture your bowel needs to keep things moving.
Changes to routine. Being in hospital, using an unfamiliar bathroom, having less privacy, and feeling anxious can all make it harder to go.
Put together, these factors make post-surgical constipation extremely likely. The good news is that the same simple measures help with almost all of them.
Prevent it before it starts
The single most important thing to understand is that constipation is far easier to prevent than to treat. If you are on opioid pain medication, do not wait until you are uncomfortable. Start your prevention plan on day one.
Ask about a stool softener. If you have been prescribed opioids, ask your surgical team or pharmacist whether you should also take a stool softener or a gentle laxative at the same time. This is very commonly recommended and is often the easiest way to stay ahead of the problem.
Drink plenty of fluids. Aim for six to eight glasses of water a day unless your team has told you to limit fluids. Stool needs moisture to stay soft and pass easily.
Keep moving within your limits. Even short, gentle walks help wake your bowel up.
Fluids come first
Hydration is the foundation. Without enough fluid, fiber and laxatives can actually make constipation worse, because they need water to work.
Sip water steadily through the day rather than drinking a lot at once. Warm drinks can be especially helpful first thing in the morning, as warm fluid stimulates the bowel. A warm cup of water, decaffeinated tea, or a small glass of prune juice after breakfast is a gentle, natural prompt for many people.
Limit caffeine and alcohol, as both can dehydrate you.
Add fiber gently
Fiber adds bulk and softness to stool, but it needs to be increased slowly and paired with plenty of fluid.
Good gentle sources include oats, wholegrain bread, ripe fruit such as pears and kiwis, cooked vegetables, prunes, and ground flaxseed sprinkled on food.
Go slowly. A sudden large increase in fiber can cause bloating and wind, which is uncomfortable after abdominal surgery in particular. Build it up over a few days.
A word of caution. After some abdominal or bowel surgery, your team may actually ask you to follow a low-fiber or low-residue diet for a period. Always follow their specific advice over general guidance. If you are unsure, ask before increasing fiber.
Products that may help: Stool softener · Fiber supplement · Toilet footstool
Get the position right
This is the simplest tip and one of the most effective. The way you sit on the toilet makes a real difference to how easily you can pass a stool.
Sitting upright with your feet flat on the floor keeps the bowel at an angle that works against you. Raising your knees above your hips straightens the passage and makes everything easier.
Use a small footstool. Rest your feet on a low stool so your knees come up higher than your hips, lean forward slightly, and rest your forearms on your thighs. This squat-like position is far more natural for the body.
Do not strain. Straining is uncomfortable, can affect your incision, and can cause other problems such as hemorrhoids. If nothing is happening after a few minutes, stop, get up, move around a little, and try again later. The urge often comes in waves.
Give yourself time and privacy. Try going at the same time each day, ideally about twenty to thirty minutes after a meal, when the bowel is naturally more active.
Keep moving
Gentle movement is one of the best natural stimulants for a sluggish bowel. You do not need to do much. Short, frequent walks around your home, building up as your team allows, encourage your intestines to start working again. Even standing up and walking to another room every hour or so helps.
For guidance on building up safely, see our guide on how to walk safely after surgery and on when to start moving after surgery.
When to use a laxative
If prevention has not been enough and you are becoming uncomfortable, laxatives are safe and appropriate for short-term use after surgery. There are different types, and it helps to know the difference.
Stool softeners such as docusate make the stool easier to pass and are often the first choice while on pain medication.
Osmotic laxatives such as macrogol or lactulose draw water into the bowel to soften the stool. They work gently over a day or two.
Stimulant laxatives such as senna or bisacodyl make the bowel muscles contract. They work faster but can cause cramping.
Ask your pharmacist or surgical team which is most suitable for you, especially if you have had abdominal or bowel surgery, where some laxatives may not be appropriate. Follow the dosage instructions and do not combine several at once without advice.
Foods that help and foods that hinder
Foods that tend to help: prunes and prune juice, pears, kiwis, oats and porridge, beans and lentils where tolerated, and plenty of water alongside them.
Foods that tend to slow things down: processed and fried foods, large amounts of cheese and red meat, white bread and other refined carbohydrates, and anything very low in fiber eaten in large quantities.
You do not need to overhaul your diet. Small, steady choices alongside good hydration make the biggest difference.
When to contact your surgical team
Most post-surgical constipation resolves within a few days with these measures. Contact your surgical team, doctor, or a nurse advice line if:
You have not had a bowel movement for more than three days despite trying the steps above, particularly if you are uncomfortable.
You have significant abdominal pain, bloating, or a hard, swollen belly.
You are vomiting, or feel sick and cannot keep fluids down.
You have not passed any wind at all, which can be a sign the bowel has not yet woken up after surgery and should be checked.
You see blood, or you are passing only small amounts of liquid stool around a blockage, which can be a sign of impaction.
These can occasionally signal something that needs prompt attention, such as a bowel obstruction, so it is always worth a phone call if you are worried. You will never be wasting anyone’s time by asking.
Be patient and kind to yourself
Constipation after surgery is uncomfortable and can feel disproportionately distressing when you are already coping with so much. It is a normal part of recovery for most people, and it does pass. Stay ahead of it with fluids, gentle movement, the right position, and a stool softener if you are on pain medication, and your body will find its rhythm again.
For more on eating well during recovery, see our guide on what to eat after surgery.
Looking after your bowels is a normal, important part of recovery. Getting ahead of constipation early makes the whole process gentler.
*This guide is for general information only and does not replace medical advice. Always follow the specific guidance of your surgical team, as recommendations vary by procedure and individual circumstances, particularly after abdominal or bowel surgery.*