Which medicines may trigger or worsen IBS symptoms – and what to watch out for

Irritable bowel syndrome (IBS) is a sensitive and complex condition that involves the interaction between the gut, the brain, and the microbiome. While medications don’t cause IBS, certain drugs can trigger IBS-like symptoms, worsen existing IBS, or interfere with gut health in subtle ways. Understanding these links helps you make informed choices and talk confidently with your healthcare professional about options that work best for you.

IBS affects how the gut moves (motility), senses pain (sensitivity), and communicates with the brain. Many common medications can influence these same pathways – sometimes for better, sometimes for worse.

Did you know lightbulb icon in a circle with a green border

There’s no cure for IBS, and diet and lifestyle adjustments are likely to help and be your doctor’s first port of call when helping you manage your condition. However, additional interventions, such as medication, might also be useful in easing symptoms.

Medications that may make IBS worse: What the research says:

Research suggests that certain drugs, including antibiotics, opioids, proton pump inhibitors (PPIs), and some antidepressants, can:

Did you know lightbulb icon in a circle with a green border

If you live with IBS or have a sensitive gut, it’s worth reviewing your medications with your GP or pharmacist – especially if your symptoms have changed recently.

Common medication types that can affect IBS

Drug typePossible effects on IBS mechanism
AntibioticsCan trigger post-infectious IBS (PI-IBS); cause diarrhoea, bloating. Disrupt microbiome balance, reducing protective bacteria and diversity.
Opioids (e.g. codeine, tramadol, morphine)Causes constipation, bloating, pain, nausea. Slow gut motility, reduce secretions, and desensitise the bowel.
SSRIs (Selective Serotonin Reuptake Inhibitors) (e.g. fluoxetine, sertraline)May initially cause loose stools or nausea; can improve IBS-C (constipation predominant) in some. Increase serotonin in the gut, speeding up bowel movement.
TCAs (Tricyclic antidepressants) (e.g., amitriptyline, nortriptyline)Low doses can reduce pain and diarrhoea. Modify pain signalling and slow bowel transit.
Metformin (for diabetes)May cause diarrhoea, bloating, cramping. Increases gut motility and fermentation; alters microbiota.
PPIs (Proton Pump Inhibitors) (e.g., omeprazole, lansoprazole)Linked to SIBO (small intestinal bacterial overgrowth). Reduce stomach acid, which can allow bacterial overgrowth.
NSAIDs (Non-Steroidal Anti-Inflammatory Drugs) (e.g., ibuprofen, naproxen)Can irritate gut lining; may cause bleeding or pain. Increase intestinal permeability and local inflammation.
Iron tablets (ferrous sulphate)Commonly cause constipation, nausea, cramps. Direct mucosal irritation and slowed gut transit.
Laxatives (stimulant types like senna or bisacodyl)May cause rebound constipation if overused. Over-stimulation can desensitise bowel nerves over time.

Why these medications can trigger IBS symptoms

MechanismExample medicationsHow it affects the gut
Microbiome disruptionAntibiotics, PPIs, metforminReduces diversity of beneficial bacteria, increasing risk of gas, bloating, and post-infectious IBS.
Altered motility (gut movement) Opioids (slow), SSRIs or metformin (speed up)Changes stool consistency and frequency.
Visceral hypersensitivity (exaggerated sensitivity of internal organs)NSAIDs, some antidepressantsHeightens pain perception from normal bowel activity.
Neurotransmitter shifts (neurotransmitters are chemical messengers that transmit signals from one nerve cell to a target cell)SSRIs, TCAsAffects serotonin – 90% of which is made in the gut – influencing mood and gut function

IBS medication safety tips

  • Don’t stop a medication suddenly without professional advice – many require gradual changes.

  • If your gut symptoms worsen after starting something new, keep a medication and symptom diary.

  • Ask about alternatives – for example, liquid iron or slow-release metformin can be gentler.

  • Report side effects early – some settle within weeks, others may mean the medicine isn’t right for you.

  • If you’ve had repeated antibiotic courses or use long-term PPIs or painkillers, review your plan with your GP.

Safe medications for IBS patients: Medicines that may help IBS

While some medications can trigger IBS-like symptoms, others can provide relief when used carefully under medical supervision:

Medication typeHow it helps
Low-dose amitriptyline (5–10mg)Reduces gut pain and diarrhoea by calming gut–brain signalling.
SSRIs (e.g., sertraline, citalopram)Can help IBS-C with anxiety or stress-related flares.
Antispasmodics (e.g., mebeverine, hyoscine)Reduce cramping and bloating.
Macrogol laxativesSoften stools and relieve IBS-C safely.
Probiotics (evidence-based strains)Support microbiome balance after antibiotics.
Bile acid binders (e.g., colesevelam)Helpful for bile acid-related diarrhoea.

Pills under a magnifying class with the letters 'I' and 'B' on wooden square dice starting to spell out 'IBS'.

When to review IBS medications

Speak to your GP or pharmacist if:

  • You notice new or worsening symptoms after starting or increasing a medication

  • You’re using opioids, NSAIDs, PPIs, or laxatives regularly or long-term

  • You’ve had repeated antibiotic courses and your bowel habits have changed

  • You want to explore gut-friendly alternatives for chronic conditions (e.g., switching from NSAIDs to topical or non-pharmacological pain management)

IBS management and medication: Key message

Your gut health can be influenced by the medicines you take – even those prescribed for conditions far beyond the digestive system. By staying informed, monitoring your symptoms, and keeping an open dialogue with your healthcare team, you can protect your gut while managing your wider health safely.

What to do next as you navigate prescription drugs for IBS

  • Keep a symptom and medication diary to share with your GP or pharmacist.

  • Ask whether there are alternative formulations or doses that might be easier on your gut.

  • If you suspect a medicine is contributing to your symptoms, do not stop it abruptly – arrange a medication review instead.

  • For tailored IBS management, request a review appointment with your GP, gastroenterologist, or specialist pharmacist.

Warning in a circle with a green border

This article is for general information and education only. It does not provide individual medical advice, diagnosis, or treatment recommendations.

If you have IBS or any digestive symptoms, please speak to your GP, pharmacist, or specialist before making any changes to prescribed medication, supplements, or treatment plans.

Medication effects can vary greatly between individuals depending on other health conditions, allergies, and interactions. Some medicines listed here may be essential for your wider health – so never stop or adjust any prescribed medicine without professional guidance.

Seek medical review urgently if you experience: – Severe or persistent abdominal pain, vomiting, or blood in the stool

– Unexplained weight loss, fever, or fatigue

– Black, tarry, or maroon-coloured stools

– New bowel habit changes lasting longer than 6 weeks

– Severe constipation or diarrhoea that does not respond to simple measures

– Symptoms after starting a new medication that are sudden or worsening

If you have chest pain, shortness of breath, fainting, or severe dehydration, call 999 or go to A&E immediately.

Note: All information in this article is drawn from peer-reviewed research, reputable clinical guidelines (e.g., NICE, BSG, NHS), and systematic reviews available at the time of publication.

While care has been taken to ensure accuracy, new evidence may emerge over time; readers are encouraged to verify details with a qualified healthcare professional before acting on this information.

  1. Chey WD, Kurlander J and Eswaran S et al. Irritable Bowel Syndrome A Clinical Review. JAMA. 2015, Mar; 313(9) 949-958 (doi: 10.1001/jama.2015.0954).
  2. Frissora CL and Cash BD. Review article: the role of antibiotics vs. conventional pharmacotherapy in treating symptoms of irritable bowel syndrome. Alimentary Pharmacology and Therapeutics. 2007, Mar; 25(11):1271-1281. (doi: 10.1111/j.1365-2036.2007.03313.x).
  3. Harris LA and Baffy N. Modulation of the gut microbiota: a focus on treatments for irritable bowel syndrome. Postgraduate Medicine. 2017, 129(8): 872–888. doi: 10.1080/00325481.2017.13838190.
  4. Jackson MA, Verdi S, Maxan M-E, et al. Gut microbiota associations with common diseases and prescription medications in a population-based cohort. Nature Communications. 2018, Jul; 9(2655). (doi: 10.1038/s41467-018-05184-7).
  5. Mamieva Z, Poluektova E, Svistushkin V, et al. Antibiotics, gut microbiota, and irritable bowel syndrome: What are the relations? World J Gastroenterol. 2022, Mar 28; 28(12): 1204-1219. (doi: 10.3748/wjg.v28.i12.1204).
  6. Maseda D and Ricciotti E. NSAID – Gut Microbiota Interactions. Front. Pharmacol. 2020, Aug; 1153(doi:10.3389/fphar.2020.01153).
  7. NICE (2008, updated 2017) Irritable bowel syndrome in adults: diagnosis and management.
  8. Pittayanon R, Lau JT, Yuan Y, et al. Gut Microbiota in Patients With Irritable Bowel Syndrome—A Systematic Review. Gastroenterology. 2019, 157(1): 97-108. (doi: 10.1053/j.gastro.2019.03.049).
  9. Vila AV, Collij V, Sanna S, et al. Impact of commonly used drugs on the composition and metabolic function of the gut microbiota. Nature Communications. 2020, Jan;11(362) doi: 10.1038/s41467-019-14177-z.
  10. Wollny T, Daniluk T, Piktel E, et al. Targeting the Gut Microbiota to Relieve the Symptoms of Irritable Bowel Syndrome. Pathogens. 2021, 10(12): 1545. (doi: 10.3390/pathogens10121545).
Picture of Dr Claire Marie Thomas

Dr Claire Marie Thomas

Claire is a dedicated General Practitioner, with a passion for lifestyle/integrative medicine, women’s health, quality improvement processes, and integrated working across health and social care systems.

MORE ARTICLES LIKE THIS