Opportunistic pathogens

When the gut does not settle after an infection

Stomach bug, food poisoning, traveller's diarrhoea: why symptoms sometimes stay.

How solid is the research? Trust score 4 of 5:Well supported

That IBS occurs much more often after a gut infection is well established by several meta-analyses. Why it develops and how to treat it specifically is less clear.

Cause or consequence? Root cause 2 of 5:Rather a consequence

IBS after infection follows the infection — but then becomes a crossroads in its own right, from which many symptoms arise.

Healthy state

A gut infection is heavy work for the gut. Pathogens or their toxins irritate the lining. Its cells release water and salt into the gut, the muscles speed up, and the diarrhoea flushes out part of the pathogens. At the same time, defence cells run hot: T cells, Mast cells Immune cells beneath the skin and mucous membranes, filled with histamine and other messengers. They raise the alarm in allergies, infections and stress. More in the chapter “Mast cells: alarm cells in the gut, histamine and the disputed MCAS” (immune cells that store messengers such as Histamine A messenger substance of the body that is also found in aged and fermented foods. Too much can cause headache, flushing or diarrhoea. More in the chapter “Histamine intolerance: much searched, little proven”) and enteroendocrine cells (hormone cells of the lining) that release serotonin, among other things. In the gut, serotonin is not a mood substance but a pacemaker: it triggers waves of movement and reports stimuli to the nerves.

After the infection, the system normally powers down again. The lining renews itself completely within a few days because its top cell layer is constantly replaced. The connections between the cells ( Tight junctions Protein connections that hold the cells of the gut wall tightly together. They determine what can pass between the cells. More in the chapter “The gut barrier”) seal again, the inflammatory cells retreat, and the Microbiome, gut microbiota The community of all microbes in the gut, mainly bacteria, plus viruses, fungi and archaea. Most live in the colon. More in the chapter “Building microbial diversity”, thrown off by the diarrhoea and possibly antibiotics, rebuilds over weeks.

A few weeks of aftershocks are therefore normal: soft stool, more bloating, a more sensitive abdomen, sometimes a temporary intolerance to milk sugar because the digestive enzymes on the cell border of the damaged lining are missing at first. What matters is the direction: it should get better from week to week.

How long and how strongly an infection echoes depends on the pathogen. Viruses such as norovirus or rotavirus usually leave only short traces. Bacteria such as Campylobacter, Salmonella or Shigella, toxin-producing E. coli and protozoa such as Giardia penetrate deeper or last longer and leave something behind more often. By the usual criteria, Irritable bowel syndrome Recurring abdominal pain linked to bowel movements, without tests finding another cause. Today it is understood as a disorder of gut–brain interaction. More in the chapter “The gut-brain axis” is only diagnosed when symptoms last at least three months.

TimeSymptomsInfectionRecovery
After a gut infection, symptoms fade within weeks for most people.

Disrupted state: causes and effects

Depending on the pathogen, some people develop lasting new symptoms: diarrhoea, abdominal pain, bloating. In studies the range is about 3 to 36 percent; after Campylobacter infections it is up to about a quarter. Overall, the risk in the first year after a gut infection is about four times higher, afterwards still a good two times higher. Viruses usually have only a short aftermath, bacteria and protozoa a longer one. Experts call this post-infectious IBS.

Who gets it is not random. A long and severe initial illness, a toxin-producing pathogen, fever and blood in the stool raise the risk most. Added to this are an age under 60, in several studies female sex, smoking, and anxiety, low mood or strong body awareness before the infection. So it is an interplay of pathogen and person, not a sign of weakness and not imagination.

Part of what stays behind in the gut can be measured. After Campylobacter infections, researchers found more serotonin-producing cells and more T cells in the rectal lining months later, plus higher permeability. More serotonin means faster movement and stronger pain signalling, so diarrhoea and cramps. Mast cells often sit right next to nerve endings and can sensitise them, so that normal stretching arrives as pain (visceral hypersensitivity). This explains why the gut reports “too loudly” although under the microscope it hardly looks inflamed any more.

Other players come in, with different weight from person to person. Bile acids Substances made by the liver that make fat digestible. About 95 percent are reabsorbed in the last part of the small intestine; gut bacteria transform the rest. More in the chapter “Bile acids: when bile causes diarrhoea”: some people with diarrhoea have more primary and fewer converted bile acids in the stool; too many of them in the colon act like a laxative. Microbiota: diarrhoea and antibiotics change it, and it sometimes needs longer to recover. After a Giardia infection, a cohort still showed more IBS and fatigue six years later. IBS is also more common after Covid-19, which suggests that infections in general, not only bacteria, can reset the gut.

When should you look more closely? Behind “IBS after an infection” other treatable things can hide: a pathogen that stayed (Giardia, rarely Clostridioides difficile A bacterium that can spread after antibiotics and cause severe diarrhoea with its toxins. More in the chapter “After antibiotics: C. difficile and faecal transplants”), bile acid loss, microscopic colitis, triggered Coeliac disease An autoimmune disease in which gluten damages the lining of the small intestine. It is diagnosed with a blood test and usually a biopsy while you are still eating gluten. More in the chapter “Lactose, fructose, gluten: making sense of intolerances” or a first flare of Inflammatory bowel disease Umbrella term for Crohn’s disease and ulcerative colitis: long-term, relapsing inflammation of the gut that needs medical treatment. More in the chapter “Immune system and inflammation”. Blood in the stool, weight loss, night-time diarrhoea, fever, or symptoms that get worse rather than better after the first weeks should be checked by a doctor. The good news remains: in many people symptoms fade over months to a few years, even without knowing exactly what helped.

TimeSymptomsInfectionsymptoms persist
For some, symptoms last for months: post-infectious IBS.

Where it comes from and where it leads

The same symptoms can have different roots. This map shows what may be involved in this problem and what may follow from it.

Possible causes. Parasites, Antibiotics, Long Covid. Possible consequences. Bloating, Diarrhoea, Abdominal pain, Food fear, Nutrient deficiency, Brain fog & fatigue

  • Possible causes
  • This problem
  • Possible consequences

The preview fits the screen width. In the large map you see everything at once.

Move the mouse over a box: its connections are highlighted and everything else steps back.

Tap a box to highlight its connections. Tap it again to open the chapter.

Connections, not certainty: a link means “can”, not “must”. What applies to you is best clarified in a talk with your doctor.

What often helps

Lifestyle

Diet, exercise, sleep, social contact and dealing with stress.

  • Prevention when travelling Every avoided gut infection lowers the risk. When travelling, stick to cooked, peeled or thoroughly heated food and bottled water. Washing hands before eating and after the toilet is part of it. Plausible How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [1]
  • Low-FODMAP for a limited time This diet relieves bloating and diarrhoea in IBS. The guideline recommends a limited trial with reintroduction afterwards, so that your diet does not stay narrow for good. Well supported How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [2]
  • Put your symptoms in order A diary over a few weeks shows whether things are improving, what triggers flares and whether diarrhoea occurs at night or only by day. This helps you and your doctor more than any memory. Night-time diarrhoea counts as a warning sign and is not typical IBS. Plausible How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open.
  • Take sleep and stress seriously The gut responds through nerves and messengers to lack of sleep and tension, especially after an infection. Regular sleep times, exercise and relaxation are not a distraction but act on the same control loop. The studies are mostly observational. Promising How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [3][4]

Natural supplements

Supplements do not replace a medical check-up. Discuss dosage and interactions with your doctor or pharmacist.

  • Glutamine The only randomised trial so far studied exactly this group: IBS with diarrhoea after an infection. The result was clear but has not yet been confirmed. Promising How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [5][6]
  • Soluble fibre Psyllium husk makes the stool firmer and is recommended for IBS. Start slowly, otherwise bloating increases. Established How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [2]
  • Peppermint oil Enteric-coated capsules with peppermint oil relax the gut muscles and improved IBS symptoms in a meta-analysis. A possible side effect is heartburn. Promising How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [7]

Medical treatments

Information, not a treatment recommendation. Decide together with a doctor. Approval and availability differ from country to country.

  • Rule out a persistent infection Especially after long-distance travel, a pathogen such as Giardia can persist. A targeted stool test can clarify this; depending on the pathogen, several samples or an antigen or PCR test may be needed. Well supported How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open.
  • Think of bile acids Bile acid loss is a treatable cause of diarrhoea that is easily overlooked. Promising How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [8]
  • Rifaximin In large trials, it improved symptoms in some people with IBS without constipation. Whether it is approved for IBS differs from country to country. Well supported How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [9]
  • Rule out other causes For IBS with diarrhoea, the guideline recommends a blood test for coeliac disease and, if inflammation is suspected, calprotectin in the stool. This is quickly done and brings clarity before you spend months experimenting with your diet. Well supported How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [2]
  • Gut-brain therapies Gut-directed hypnosis and cognitive behavioural therapy work in IBS via the nerve connection between gut and brain. The guideline explicitly recommends them, even when an infection was the cause. They are not a sign that the symptoms are “psychological”. Well supported How we rate the evidence Established Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies. Well supported Several randomised studies in humans with largely consistent results. Promising Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies. Plausible Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms. Experimental Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open. [2]

In the mood for something completely different? Another one, at random

How we rate the evidence
Trust score 5 of 5:Established
Recommended in medical guidelines or supported by several consistent meta-analyses of randomised human studies.
Trust score 4 of 5:Well supported
Several randomised studies in humans with largely consistent results.
Trust score 3 of 5:Promising
Single randomised or controlled studies in humans, not yet independently confirmed — or many consistent observational studies.
Trust score 2 of 5:Plausible
Two cases: first observational or pilot studies with small samples — or a settled basis that is not in dispute, such as movement, sleep or meal pauses. But not tested in humans for symptoms.
Trust score 1 of 5:Experimental
Barely studied in humans. Mainly lab and animal studies or theoretical reasoning; whether it helps is open.

Sources

  1. Halvorson et al. 2006: Meta-analysis of IBS after gut infection (American Journal of Gastroenterology)
  2. Lacy et al. 2021: ACG clinical guideline on irritable bowel syndrome (American Journal of Gastroenterology)
  3. Wang et al. 2018: Sleep disorders in IBS, meta-analysis of 36 studies (Saudi Journal of Gastroenterology)
  4. Ma et al. 2023: psychological stress and gut microbiota, systematic review of 13 human studies (Neuropsychobiology)
  5. Zhou et al. 2019: Glutamine in post-infectious IBS, randomised and placebo-controlled (Gut)
  6. Ford & Gibson 2019: Critical letter on the glutamine trial (Gut)
  7. Ingrosso et al. 2022: peppermint oil in IBS, systematic review and meta-analysis (Alimentary Pharmacology & Therapeutics)
  8. NICE DG44, 2021: SeHCAT test for bile acid diarrhoea, evidence review
  9. Pimentel et al. 2011: TARGET trials of rifaximin in IBS without constipation (New England Journal of Medicine)
  10. Klem et al. 2017: IBS after gut infection, meta-analysis of 45 studies (Gastroenterology)
  11. Spiller & Garsed 2009: Post-infectious IBS, review of frequency, risk factors and mechanisms (Gastroenterology)
  12. Spiller et al. 2000: More serotonin-producing cells, T cells and higher permeability after Campylobacter infection (Gut)
  13. Hanevik et al. 2014: IBS and chronic fatigue six years after Giardia infection, Bergen cohort (Clinical Infectious Diseases)
  14. Wei et al. 2020: More primary and fewer secondary bile acids in the stool in diarrhoea-predominant IBS (World Journal of Gastroenterology)
  15. Wang et al. 2024: Incidence and risk factors of IBS after COVID-19, meta-analysis (European Journal of Gastroenterology & Hepatology)
  16. Drossman et al. 2026: disorders of gut-brain interaction and the Rome V process (Gastroenterology 170:1083–1098)

Your progress

Log in to mark chapters as read, rate them or report them for review. An account is optional and free.

Ratings by readers

No averages yet. They appear once 3 readers have answered a question.

Helpful for me 0 = not at all · 5 = very
How others rate it: not enough ratings yet
Had new information for me 0 = nothing new · 5 = a lot that was new
How others rate it: not enough ratings yet
Easy to understand 0 = very hard · 5 = very easy
How others rate it: not enough ratings yet
Matches my understanding 0 = contradicts it completely · 5 = matches it completely
How others rate it: not enough ratings yet
Correct and up to date 0 = wrong or outdated · 5 = correct and up to date
How others rate it: not enough ratings yet

Log in to rate this chapter. An account is optional and free.

Is something wrong here?

If you think something is wrong, outdated or misleading, report it for review. Every report is read and answered.

Log in to mark chapters as read, rate them or report them for review. An account is optional and free.