Medicine safety
Opioid-induced constipation
Constipation is the most predictable side effect of opioid painkillers, and unlike drowsiness or nausea it usually does not fade with time. It can be prevented or treated with a planned laxative routine and some practical habits. Left alone it can lead to pain, vomiting and impaction, so it is worth raising early with the prescriber or pharmacist.
Last checked: 2026-10-03
Key facts
At a glance.
-
Very common
The NHS lists constipation as a common side effect of both morphine and codeine, and opioid painkillers as a recognised cause of constipation generally.
-
Why it persists
Opioids act on receptors in the gut as well as the brain, slowing movement through the bowel; tolerance to this effect is limited.
-
Prevention beats cure
A laxative is often started alongside the opioid rather than after problems appear, as advised by the prescriber.
-
Laxative choice
Stimulant laxatives, osmotic laxatives and stool softeners work in different ways; a pharmacist can match them to the situation.
-
Do not stop painkillers abruptly
Speak to the GP before stopping a prescribed medicine, because stopping suddenly can cause withdrawal.
How opioids slow the bowel
The gut has its own network of nerves with opioid receptors. When an opioid binds to them, the coordinated squeezing of the bowel wall slows, fluid is absorbed more fully from the stool and the muscle that controls the back passage can tighten. The stool becomes harder, drier and harder to pass.
Many side effects such as nausea and sleepiness lessen over days or weeks. Constipation is different: people generally stay prone to it for as long as the opioid is taken, which is why a routine rather than an occasional remedy is the norm for regular users.
Recognising it, including the less obvious signs
Infrequent stools are the usual sign, but people also describe straining, hard pellets, a feeling of incomplete emptying, bloating, cramps, loss of appetite and nausea. In older or frail people, confusion or sudden restlessness can sometimes be the first clue that the bowel is impacted.
The NHS notes that long-term constipation can lead to faecal impaction, where hard stool builds up in the rectum and liquid stool may leak around it, which looks like diarrhoea but is not. Treatment may then need stronger prescription laxatives, suppositories, mini-enemas or manual removal by a healthcare professional.
Prevention and everyday measures
Practical habits help, even though they rarely solve opioid constipation alone. The NHS suggests increasing fibre gradually, drinking enough fluid, staying as active as possible and keeping a regular toilet routine, going when the urge arises rather than delaying. Fibre without enough fluid can make things worse, so adjust both together.
-
Ask the prescriber at the start whether a laxative should begin at the same time as the opioid.
-
Try to use the toilet at a consistent time, often after a meal.
-
Raise the knees with a small footstool when sitting.
-
Keep a simple note of bowel movements so changes are obvious.
-
Tell the pharmacist about all other medicines, since several others also constipate.
Understanding the laxative types
For opioid constipation, clinicians often favour a stimulant, an osmotic laxative or a combination, because bulk-forming products rely on a bowel that can still move. The NHS says to check with a pharmacist or doctor before taking laxatives if you are on opioid painkillers such as codeine or morphine, so that the choice fits your situation. Most laxatives work within about 3 days and are meant for short-term use unless a prescriber has agreed a longer plan.
| Group | How it works | Typical onset |
|---|---|---|
| Bulk-forming (for example ispaghula husk) | Adds fibre to make stool bigger and stimulate the bowel muscles | Up to 3 days |
| Osmotic (lactulose, macrogol) | Draws water into the bowel to soften stool | 2 to 3 days |
| Stool softeners (docusate) | Lets water and fat soak into stool to make it softer and more slippery | 12 hours to 3 days |
| Stimulant (bisacodyl, senna) | Triggers the bowel muscles to push stool out | 6 to 12 hours |
When laxatives are not enough
If constipation persists despite a well-chosen routine, the GP or specialist team can review the opioid itself. Options may include changing the opioid, adjusting how it is taken, looking for other contributors such as low thyroid function, dehydration or other constipating medicines, and, for some people, prescribing a medicine that blocks opioid receptors in the gut specifically. Which of these is suitable depends on the individual and on the indication, such as cancer pain, palliative care or chronic non-cancer pain.
In 2020 the MHRA advised that opioids used long-term for non-cancer pain can bring dependence risks and that treatment should have an agreed plan, regular review and slow tapering rather than abrupt stopping. Constipation is one of the reasons for periodic review of whether the benefit still outweighs the burden.
Warning signs that need prompt assessment
See a GP, or contact the team that manages your pain, if constipation lasts beyond a few days despite laxatives, or comes with bloating, blood in the stool, unexplained weight loss or tiredness. Seek urgent help through 111 or A&E if there is severe or worsening abdominal pain, repeated vomiting, a swollen tummy with no passage of wind or stool, or a high temperature, as these can signal a blockage. Overuse of laxatives can also cause dehydration and low potassium, so persistent muscle weakness or diarrhoea should be reported.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
Will my constipation settle after a few weeks on the opioid?
Usually not. Unlike drowsiness or nausea, constipation generally continues while the opioid is taken, so people are often advised to treat it routinely rather than waiting.
-
Is it safe to take laxatives every day with opioids?
Under a prescriber or pharmacist plan, yes, regular use is common for people on long-term opioids. The NHS says general laxative use is for short-term relief, so agree the plan with a professional.
-
Can I treat it with fibre alone?
Fibre and fluids help but are rarely enough on their own with opioids, and a high-fibre supplement without adequate fluid can worsen things.
-
How soon should a laxative work?
The NHS gives about 6 to 12 hours for stimulants and up to a few days for other types. If nothing has helped after 3 days, speak to a GP or pharmacist.
-
Why does my stool leak even though I am constipated?
In impaction, liquid stool can pass around a hard mass in the rectum. It looks like diarrhoea but needs treatment for constipation rather than anti-diarrhoea medicines.
-
Should I stop my painkiller if it constipates me?
No, not without advice. The NHS says to speak to the GP before stopping any prescribed medicine, and opioids carry withdrawal risks if stopped suddenly.
-
Are some opioids less constipating than others?
Opioids differ in how much they affect the bowel and in how they suit individual people, which is something the prescriber can weigh when reviewing treatment.
-
Can older people get confused from constipation?
Yes. In frail or older people, constipation and impaction can contribute to restlessness or confusion, which should always be assessed.
-
Does it help to drink more?
Adequate fluid helps stool stay softer, particularly alongside fibre or osmotic laxatives, but drinking extra alone will not overcome an opioid effect.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-03, next review 2027-10-03.
-
NHS: Laxatives (https://www.nhs.uk/medicines/laxatives/), retrieved October 2026
-
NHS: Constipation (https://www.nhs.uk/conditions/constipation/), retrieved October 2026
-
NHS: Side effects of morphine (https://www.nhs.uk/medicines/morphine/side-effects-of-morphine/), retrieved October 2026
-
NHS: Side effects of codeine (https://www.nhs.uk/medicines/codeine/side-effects-of-codeine/), retrieved October 2026
-
MHRA Drug Safety Update: Opioids, risk of dependence and addiction (https://www.gov.uk/drug-safety-update/opioids-risk-of-dependence-and-addiction), retrieved October 2026