clairop

IBS After Food Poisoning: What the Cohorts Show

Yes, food poisoning can trigger IBS, in roughly 1 in 10 to 1 in 7 people after gastroenteritis. Follow-up studies show many improve, over years rather than weeks.

Clairop Team35 min read

Photo: Rajasekhar R / Unsplash

The short answer

Food poisoning can trigger post-infectious IBS. Pooled studies put it at roughly 10 to 15% of people after gastroenteritis, higher after parasites and bacteria than viruses. Formal diagnosis needs six months of symptoms. Many people improve over the following years, but the pace depends on the bug and the person, and no study supports a fixed recovery time.

Yes, food poisoning can cause IBS. It has a name, post-infectious IBS, and it is one of the few ways IBS starts that researchers can actually date to a single event. Across dozens of follow-up studies, somewhere between one in ten and one in seven people who get gastroenteritis go on to meet the criteria for IBS (Klem 2017, Porcari 2024). The risk is higher after parasites and bacteria than after viruses, and higher in people whose original illness was severe.

The question most people are really asking, though, is the one in the title of a 145-comment r/ibs thread: is there anyone who actually recovered? That is where most pages on this topic go vague, and where the research is more useful than its reputation. Several cohorts have followed people for six, eight and ten years. Their answers differ by bug, and the "it takes eight years" figure that circulates in patient forums turns out to be the length of one study's follow-up, not a recovery time. This article lays the cohorts side by side, sorts out what your timeline means, and covers what else can start after a bout of food poisoning.

If you are only a week or two out, start with the section on your timeline. Some of what follows does not apply yet.

The short answer: yes, and it has a name

Post-infectious IBS (often shortened to PI-IBS) is IBS that begins straight after an episode of infectious gastroenteritis in someone who did not have IBS before. The infection clears, but the bowel does not go back to how it was. People most often describe ongoing loose or urgent stools, cramping, bloating and a gut that suddenly reacts to foods it used to handle.

The Rome Foundation, the body that writes the diagnostic criteria for IBS, convened a working team on it. Their report states that PI-IBS develops in about one in ten people with infectious enteritis and calls acute gastroenteritis one of the strongest known risk factors for IBS. It also makes a point worth holding onto if you have been told this is "just IBS": the fact that new cases can be traced to a dated, objective event like an infection undercuts the old idea that IBS comes from nowhere (Barbara 2019).

That is also the theme of the 125-comment r/ibs thread that sits behind this keyword. Someone two months out from a restaurant meal, with a clear CT scan, a clear stool test and no answers, asks whether food poisoning can do this. The replies are a wall of people saying the same thing happened to them, some recently and some nine, twelve or twenty-four years ago. That spread of timelines is exactly what the research shows too, and it is why the useful question is not "can it happen" but "what decides how long it lasts".

How common is it? The numbers, bug by bug

Between roughly 10% and 15% of people who get gastroenteritis go on to develop IBS, depending on which pooled estimate you use and how long after the infection it was measured. The individual outbreak studies range far wider than that, from a few percent to over 40%, and the spread is informative rather than noise.

The two large meta-analyses give the anchor figures. One pooled 45 studies covering 21,421 people with enteritis followed for three months to ten years, and found IBS in 10.1% at 12 months and 14.5% at more than 12 months. Risk was 4.2 times higher than in people without enteritis during the first year, and 2.3 times higher after that. Of people whose infection was caused by protozoa or parasites, 41.9% developed IBS, against 13.8% after bacterial infection (Klem 2017). The later one pooled 47 studies with 28,170 people and found PI-IBS in 14.5% overall, with 4.3 times the odds of unexposed controls. Campylobacter had the highest prevalence among the individual bacteria with enough data, at 20.7% (Porcari 2024).

Infection or settingWhat was measuredIBS in people who were illComparisonSource
Any acute gastroenteritis (47 studies)Pooled prevalence14.5%Odds 4.3 times unexposedPorcari 2024
Parasites (2 studies only)Pooled prevalence30.1%Porcari 2024
BacteriaPooled prevalence18.3%Porcari 2024
VirusesPooled prevalence10.7%Porcari 2024
E. coli O157:H7 and Campylobacter water outbreak, WalkertonAbout two years later36.2% (clinically suspected illness), 27.5% (self-reported)10.1% of residents not illMarshall 2006
Norovirus at a conferenceThree months later21 of 89 (23.6%)1 of 29 (3.4%) not illMarshall 2007
Giardia, laboratory-confirmed, BergenTen years later43%14% of matched controlsLitleskare 2018
COVID-19, hospitalisedTwelve months later3.2%0.5% of hospitalised controlsMarasco 2023

A few things are worth knowing before you read too much into any single row. The norovirus study was small: 139 of 197 conference delegates returned the first survey, 95% of them women, and the odds ratio at three months was 6.9 with a confidence interval running from 1.0 to 48.7, which is wide enough to say "probably more" and not much else (Marshall 2007). The parasite figure in the 2024 meta-analysis rests on only two studies, as its authors say. And the COVID-19 study recruited people sick enough to be admitted to hospital, so it tells you little about a mild infection at home (Marasco 2023).

Two weeks, two months, six months: what your timeline means

How long you have been unwell changes what your symptoms can be called, which tests make sense, and how much of the research applies to you. People in the threads often arrive at "post-infectious IBS" at two or three weeks, but formally the label cannot apply until month six.

The first week or so. US infectious disease guidelines define acute diarrhoea as lasting under seven days, and "prolonged" diarrhoea as lasting 7 to 13 days (Shane 2017). This is still the illness itself for most people, and the priorities are fluids and watching for warning signs.

Two to four weeks. Diarrhoea lasting 14 to 29 days is called persistent. This is where the same guideline shifts its attention. For travellers with diarrhoea lasting 14 days or longer, it recommends evaluation for intestinal parasites, C. difficile testing if they took antibiotics in the previous 8 to 12 weeks, and considering IBD and post-infectious IBS. More generally, it says C. difficile testing may be considered in anyone whose diarrhoea followed antibiotic use, or whose persistent diarrhoea has no identified cause (Shane 2017). It also recommends considering non-infectious causes, including IBD and IBS, in anyone whose symptoms have lasted 14 or more days without an identified source. The r/ibs thread from someone three weeks out after a stomach bug, with diarrhoea several times a day and exhausting bloating, sits exactly here. One of the replies asks the right question: has anyone tested for C. difficile?

One to six months. Diarrhoea lasting 30 days or more is chronic (Shane 2017). You may well be on the road to post-infectious IBS, and your doctor may use the phrase. But the Rome Foundation working team's criteria require recurrent abdominal pain on average at least one day a week over the last three months, with symptom onset at least six months before diagnosis, starting immediately after the infection has resolved, in someone who did not meet IBS criteria before (Barbara 2019). Before that, it is a working description, not a diagnosis.

Six months on. This is when the formal label can apply, and when most of the long-term research becomes relevant to you. It is also the point at which the norovirus cohort found the difference between people who had been ill and people who had not had disappeared (Marshall 2007), which is a reminder that a meaningful share of early cases do not reach this stage.

The criteria also define what counts as the infection. Ideally it is confirmed by stool culture or a validated molecular test, but because most people are never tested, the working team accepts two or more of fever, vomiting or diarrhoea during the acute illness (Barbara 2019). If you never had a stool test, that does not rule you out. In a large internet survey of people who met the criteria, only 24% reported a positive stool culture (Card 2018).

Is it still the infection?

Usually not, by the time weeks have passed, but this is the one possibility worth actively excluding, because it changes what happens next. The main candidates are parasites that outlast a bacterial or viral illness, and C. difficile, which can follow antibiotic treatment.

The infectious disease guideline names both: parasite testing for persistent diarrhoea after travel, and C. difficile testing as something to consider when diarrhoea follows antibiotic use (Shane 2017). One reply in the three-week thread describes being treated as if it were C. difficile without improvement and then waiting months for a colonoscopy, which is a reminder that ongoing severe diarrhoea deserves medical follow-up rather than waiting it out.

Two things in the same guideline help with a common source of confusion. First, it says multi-pathogen PCR panels detect DNA, not necessarily viable organisms, and that results need clinical interpretation (Shane 2017). So a positive result weeks later does not prove the bug is still active, which is relevant to the worry in one thread about norovirus "living" in the gut for months. Second, it does not recommend routine follow-up stool testing once diarrhoea has resolved. If your bowels are still not right, the reason to retest is that symptoms persist or new ones appear, not to confirm a cure.

What else can start after food poisoning

Post-infectious IBS is the most common explanation for gut symptoms that persist after an infection, but it is not the only one, and some of the alternatives have their own tests and treatments. These are the main ones the research links to an infectious start.

Inflammatory bowel disease. A UK primary care database study followed 43,013 adults after an episode of gastroenteritis and 50,000 matched controls for an average of 3.5 years. IBD was diagnosed at 68.4 per 100,000 person-years after gastroenteritis against 29.7 in controls, a hazard ratio of 2.4. The excess was greatest in the first year (hazard ratio 4.1), and the rise was larger for Crohn's disease than for ulcerative colitis (García Rodríguez 2006). The authors described their result as compatible with infection playing a role in starting or worsening IBD; a database study like this cannot separate a trigger from disease that was already beginning. In absolute terms the difference is about 39 extra cases per 100,000 person-years, roughly one extra case for every 2,600 person-years of follow-up, so it is uncommon. It is why blood in the stool, weight loss and night-time symptoms after an infection should not be put down to IBS without checking. Our guide to telling a Crohn's flare from a stomach bug covers the overlap from the other side.

Bile acid diarrhoea. In a series of 84 people whose SeHCAT scans showed bile acid malabsorption, 29 had no obvious cause, and 16 of those 29 gave a clear history of acute gastroenteritis before chronic diarrhoea began (Niaz 1997). A later retrospective series of 25 people with post-infective bile acid malabsorption found that most of those contacted were still on treatment years afterwards, which the authors took as a sign that the condition can be long-lasting (Menon 2011). Both are small single-centre series. The point is not that bile acids explain most post-infectious diarrhoea, but that this is a distinct, testable condition that can look exactly like IBS-D. Our bile acid malabsorption vs IBS guide covers the tests.

Microscopic colitis. The British Society of Gastroenterology lists features that should make a clinician think of microscopic colitis in someone with diarrhoea: female sex, age 50 or over, coexisting autoimmune disease, night-time or severe watery diarrhoea, diarrhoea for less than 12 months, weight loss, and medicines such as NSAIDs, proton pump inhibitors, SSRIs or statins (Vasant 2021). Several of those can describe someone a few months after food poisoning, which is why the question comes up in the threads. It needs a colonoscopy with biopsies to diagnose, and our type 7 stool guide covers how it presents.

Coeliac disease. British guidance recommends coeliac serology for everyone presenting with IBS-type symptoms for the first time, because abnormal coeliac tests are almost three times more common in people with suspected IBS than in people without symptoms (Vasant 2021). The test only works while you are still eating gluten, so do not cut it out before you have been tested.

Small intestinal bacterial overgrowth. SIBO comes up in almost every post-infectious thread. The evidence and the testing problems are contested enough that we have a separate article on SIBO versus IBS, including who funded the work behind the breath test thresholds.

What changes in the gut after an infection

Post-infectious IBS is not imagined, and it is not only about stress. Biopsy studies show physical changes in the bowel lining that outlast the infection, and prospective studies show that a person's state of mind at the time of infection also predicts who develops it. Both are true at once.

The clearest early evidence came from serial rectal biopsies in 21 people after Campylobacter enteritis. Enteroendocrine cells, the hormone-producing cells in the gut lining that help regulate secretion and movement, were markedly increased at the start and still raised at six and twelve weeks. Gut permeability, measured with a sugar absorption test, was raised initially and at twelve weeks. Immune cells (T lymphocytes) in the lining were raised too. A year later, seven of the participants had further biopsies, five of them with persistent loose stools, and their counts were still significantly raised. Ten people with established post-dysenteric IBS showed the same pattern (Spiller 2000). The numbers are small, but they describe a bowel that is still behaving as if it were recovering long after the bug is gone.

The British IBS guideline summarises the wider picture: raised mast cell numbers are the most consistent tissue finding in IBS and are more common in IBS-D and post-infectious IBS, and there is strong evidence that bacterial, viral or parasitic infections can trigger IBS (Vasant 2021). The Rome Foundation's working team describes the mechanism as multifactorial, involving the gut microbiome, the lining, serotonin signalling and the immune system, while being clear that these mechanisms are incompletely understood (Barbara 2019).

The other half of the picture comes from a prospective study of 620 primary care patients with confirmed Campylobacter infection who filled in questionnaires at the time of infection. The 49 who went on to meet IBS criteria at both three and six months had reported higher perceived stress, anxiety, somatisation and more negative beliefs about illness at the start. They were also more likely to have kept going during the acute illness until forced to stop, and less likely to rest early on. Depression and perfectionism were not associated (Spence 2007). That last finding is an association, not a trial, so it does not prove that resting prevents IBS. But it fits the gut-brain model of IBS, and the British guideline recommends that the explanation of IBS given to patients includes postinfective changes alongside diet and stress (Vasant 2021). If stress is part of your picture, our article on stress and IBS flares covers the gut-brain side.

Who is more likely to develop it

The risk factors that recur across studies are the severity of the original illness, being a woman, being younger, and psychological distress before or during the infection. Antibiotic use during the illness is also linked to higher risk.

Risk factorSize of the associationSource
Female sexOdds ratio 2.2Klem 2017
Antibiotics during the enteritisOdds ratio 1.7Klem 2017
Anxiety / depressionOdds ratios 2.0 / 1.5Klem 2017
Somatisation / neuroticismOdds ratios 4.1 / 3.3Klem 2017
Bloody stools, cramps, weight loss, prolonged diarrhoea, younger ageIndependent risk factors after the Walkerton outbreakMarshall 2006
Fever or weight loss during the illness, prior anxiety or depressionPredicted IBS still present at eight yearsMarshall 2010
Vomiting during norovirus illnessOdds ratio 10.5 (CI 1.3 to 85.5) at three monthsMarshall 2007

Two cautions apply. The antibiotic link is an association: people given antibiotics tend to be sicker, so the drug and the severity are hard to separate, and none of this is a reason to refuse antibiotics a clinician says you need. And the psychological factors describe risk across groups, not a judgement about why any one person got ill.

Does it go away? The recovery numbers, cohort by cohort

For many people, yes, symptoms ease or stop meeting IBS criteria over the following years. But how fast, and for what share of people, depends heavily on the infection and the person, and the studies disagree enough that any single number would be invented.

Here is what the long-term cohorts actually found.

StudyInfectionFollow-upWhat happened over time
Nottingham postal cohortBacterial gastroenteritis6 years6 of 14 people with PI-IBS (43%) had recovered, against 4 of 13 (31%) with IBS before the infection; difference not significant (Neal 2002)
WalkertonE. coli O157:H7 and Campylobacter in water8 yearsIBS prevalence in people who had been ill fell from 28.3% at 2 to 3 years to 15.4% at 8 years, still above controls (odds ratio 3.12) (Marshall 2010)
Conference outbreakNorovirus2 yearsExcess at 3 months; by 6, 12 and 24 months IBS prevalence was similar in people who had and had not been ill (Marshall 2007)
BergenGiardia, laboratory confirmed10 yearsIBS in 40% of exposed people at 6 years and 43% at 10 years; no significant change. Chronic fatigue fell from 31% to 26% (Litleskare 2018)
German laboratory recordsSalmonella or CampylobacterUp to 10 years56 of 576 originally infected (9.7%) reported persistent symptoms; those with moderate or severe symptoms were more often women and more often had Salmonella (Schwille-Kiuntke 2011)
Pooled studiesMixedMore than 5 yearsIBS persisted in 39.8% of people (Porcari 2024)
International internet surveyMixed, mostly self-reported1 yearRoughly a quarter stopped meeting IBS criteria within the year, with no significant difference between post-infectious and other IBS (Card 2018)

Read across those rows and three patterns stand out.

The infection matters. After norovirus, the extra IBS cases had gone by six months. After a bacterial water outbreak, they shrank slowly over years. After Giardia, they barely moved between six and ten years. A virus-triggered case and a parasite-triggered case are not on the same clock.

"Recovery" usually means "no longer meets the criteria". Most of these studies count someone as recovered when they no longer meet Rome criteria. That can mean anything from no symptoms at all to milder symptoms that fall just below the threshold. The pooled finding that IBS persisted in 39.8% beyond five years (Porcari 2024) implies most people no longer met criteria by then, but it does not tell you how many feel completely normal.

Post-infectious IBS may or may not do better than other IBS. The Rome working team wrote that natural history studies suggest symptoms decrease over time and that the prognosis could be better than for IBS in general, but that this "is not substantiated by well-designed comparative studies" (Barbara 2019). The two head-to-head comparisons above, Nottingham and the internet survey, both found no significant difference, and both were small or had low follow-up. The honest position is that the better prognosis is plausible and unproven.

Within any cohort, some groups recovered more slowly. In the internet survey, 38.8% of men stopped meeting criteria in the first year against 20.7% of women; people with high somatic symptom scores and people living in North America or Northern Europe also did worse, and people whose IBS was more than three years old recovered less often (25%) than people whose IBS began within the past three years (38%), though that last difference fell short of statistical significance (Card 2018). In the Nottingham cohort, one of eight people with a history of anxiety or depression recovered, against nine of nineteen without, though with numbers this small the difference was not statistically significant (Neal 2002).

Where "it takes eight years" comes from

The idea that post-infectious IBS takes about eight years to resolve is everywhere in patient forums. In one thread, people trade it as a fact alongside "almost 50% eventually resolve". In another, someone describes being devastated by "the eight-year recovery estimate" a month into their diagnosis, then reports major improvement by month five. We could not find any study that reports an eight-year average recovery time.

The number almost certainly traces to the Walkerton cohort. Its title is "Eight year prognosis of postinfectious irritable bowel syndrome", because eight years is how long the researchers followed people. Its conclusion is that gastroenteritis "can trigger IBS symptoms that persist for at least 8 years" (Marshall 2010). That is a statement about the people who were still affected when the study stopped, not about how long it takes the average person to recover. Over that same period, the share of formerly ill residents who met IBS criteria roughly halved.

The other figure that circulates, "less than half recover over six years", is a direct quote from the Nottingham study's conclusion. It is accurate, but it rests on 14 people with post-infectious IBS, six of whom recovered (Neal 2002). A reply in the same thread made exactly this point: neither study is large enough to support confident predictions for any one person. The best summary we can give is that time helps many people, the pace varies widely, and nobody can honestly give you a date. If you also want to know how long individual bad patches last once IBS is established, our IBS flare duration guide explains why no reliable figure exists for that either.

What to eat while it is still going on

There is less evidence here than the confident advice online suggests. For the acute illness, guidelines favour going back to a normal diet early. For the weeks and months afterwards, we could not find a trial that tested any diet specifically in people recovering from food poisoning.

During and straight after the illness. The US infectious diarrhoea guideline recommends resuming a usual diet during or immediately after rehydration. It states that although the BRAT diet (bananas, rice, applesauce, toast) and avoiding dairy are commonly recommended, the supporting data for both are limited, and that telling people to stop eating solid food for 24 hours does not appear useful (Shane 2017). Fluids come first, especially if you have been vomiting or have had a lot of diarrhoea.

Dairy. Many people cut dairy after food poisoning on the theory that the infection has wiped out the lactase enzyme. That does happen after some viral infections in young children, but the adult evidence is thin and points the other way. In a prospective study of adults after culture-confirmed bacterial gastroenteritis, none of the 24 who developed post-infectious IBS or functional diarrhoea had an abnormal breath hydrogen result after a lactose load (four had a flat blood glucose response, but so did six of the 18 controls), and the authors concluded that advice to avoid dairy on the assumption of lactose intolerance appeared unnecessary in their population in northern England (Parry 2002). It was a small study, and the US guideline does list lactose intolerance as something to consider if diarrhoea persists (Shane 2017). If dairy seems to bother you, it is a reasonable thing to test, not a rule. Our piece on why lactose-free milk can still upset your stomach covers what else in dairy can be the culprit.

Once it has gone on for weeks. At this point the advice for IBS generally becomes relevant, because there is no separate evidence base for the post-infectious form. Many people in the threads describe eating as blandly as possible and finding that everything feels like a trigger. Some report that a low FODMAP trial helped, and others, like the person whose positive outcome thread described two weeks on it, found it made little difference. A low FODMAP diet is meant to be a short, structured process with a reintroduction phase, ideally with a dietitian, not a permanent way of eating. Our guide to what FODMAP stands for explains the groups, and the worst foods for IBS article covers which suspects hold up under blinded testing. The British guideline also advises avoiding insoluble fibre such as wheat bran, which can worsen symptoms (Vasant 2021).

Be wary of a shrinking safe list. Eating less to feel better carries its own nutritional cost, and restriction that starts during a bad patch has a way of outlasting it. If your diet has narrowed to a handful of foods, that is a reason to ask for a dietitian referral.

Clairop logs meals, symptoms and stool in seconds, then looks for the foods your gut reacts to, including reactions that land days later.

Join the waitlist

Blood tests that claim to prove it

There is no test that confirms post-infectious IBS. A blood test measuring antibodies to a bacterial toxin (anti-CdtB) and to a gut protein (anti-vinculin) is marketed as an IBS diagnostic and is often recommended in post-infectious threads, so it is worth knowing what the studies behind it show.

The idea is that some bacteria that cause food poisoning produce a toxin called CdtB, and that antibodies against it cross-react with vinculin in the gut wall. The development study recruited 2,375 people with IBS-D from a drug trial and compared them with people with IBD, people with coeliac disease and 43 healthy controls. For anti-CdtB, specificity was 91.6% but sensitivity was 43.7%. For anti-vinculin, specificity was 83.8% and sensitivity 32.6%. Both tests were less specific at telling IBS from coeliac disease (Pimentel 2015). A sensitivity of 43.7% means the test came back negative in more than half of the people with IBS-D. A negative result tells you very little.

The study's competing interests statement discloses that the test samples from the drug trial were analysed with funding from Salix Pharmaceuticals, that Salix paid the salaries of two authors, and that Cedars-Sinai had licensing agreements with Salix, Commonwealth Laboratories and Synthetic Biologics (Pimentel 2015). Our SIBO article sets out how those relationships connect to breath testing as well.

A later replication is the more striking result. A 2024 study of 160 people, with the test's developer among its co-authors, found anti-CdtB positive in 43.2% of people with IBS-D and in 45.7% of healthy controls, and anti-vinculin positive in 34.1% and 47.8% respectively. Its conclusion was that the antibodies "could not identify IBD-IBS patients or discriminate IBS-D from healthy controls" (Barros 2024).

There is also a design point that matters to anyone using the test to answer "did food poisoning cause my IBS?". The validation compared IBS-D against IBD and coeliac disease. It did not compare IBS that started after an infection with IBS that did not. So even a positive result does not tell you how your IBS began.

The same caution applies to IgG food intolerance tests, which some sellers market specifically for gut symptoms after food poisoning. The British Society of Gastroenterology recommends against elimination diets based on IgG antibody testing in IBS (Vasant 2021).

Should you push for more tests?

Push for the right tests, not for every test. The useful ones depend on how long you have been unwell, your age, your pattern, and whether any warning signs are present.

A reasonable baseline, drawing on British IBS guidance, is a full blood count, a marker of inflammation (CRP or ESR), coeliac serology, and, for people under 45 with diarrhoea, a faecal calprotectin to look for IBD (Vasant 2021). The infectious disease guidance adds stool testing for parasites when persistent diarrhoea follows travel, and considering C. difficile testing when diarrhoea follows antibiotics (Shane 2017). If the baseline is normal and there are no warning signs, the British guideline says other investigations should be kept to a minimum, and notes that the yield of colonoscopy in IBS is extremely low, with no evidence that a normal result reassures people. The exceptions it names are colonoscopy when microscopic colitis is suspected, and tests for bile acid diarrhoea in suspected IBS-D (Vasant 2021).

That fits what the first thread describes: CT clear, stool tests clear, colonoscopy clear the year before, and a wait of several months for a gastroenterologist. In that situation, the most useful thing is often not another scan but a clear record of what is happening, which the next section covers. If you are trying to decide whether a referral is worth it, our guide on whether to see a gastroenterologist for IBS walks through what a GP can do first. The British guideline also says that once IBS is diagnosed, a GP should aim to follow up within two months to check symptoms are not getting progressively worse (Vasant 2021).

What to record in the first six months

Because the diagnosis depends on dates and on details of the original illness, a few notes now can save a lot of guesswork later. Most of this cannot be reconstructed accurately from memory a year on.

The illness itself, written down once. The date it started. What you think caused it, and whether anyone else who ate the same food got ill. Whether you had fever, vomiting, or blood in your stool, since the diagnostic criteria use fever, vomiting and diarrhoea to define the infection (Barbara 2019), and severity markers like fever, weight loss and bloody stools appear repeatedly as risk factors. How many days the acute phase lasted. Any stool test result and organism. Any antibiotics, with dates.

Then a light daily record. Stool form on the Bristol scale, how many times you went, pain on a simple 0 to 10 scale, urgency, and anything unusual such as night-time waking to open your bowels or blood. Our guide to keeping an IBS food diary covers the mechanics, and if you would rather not use an app, the paper and spreadsheet route works just as well.

Look at the trend monthly, not daily. Recovery after infection is rarely a straight line, and the threads are full of people describing a good fortnight followed by three bad days. A weekly average of stool frequency or pain shows direction far better than any single day. If you want help spotting delayed food patterns and pulling the record into a one-page summary for an appointment, that is what Clairop is built for: it lets you log meals and symptoms in seconds and highlights possible delayed triggers. Our guide to symptom trackers for doctors covers what a clinician will actually read.

An illustrative timeline

To make the timeline concrete, here is how the guidance above maps onto a typical course. It is a composite built from the research and the patterns described in the threads, not a real person's history.

Day 0 to 5. Sudden diarrhoea and cramps after a meal out, with a fever on day one and vomiting overnight. Fluids, rest, and back to normal food as soon as it stays down, in line with the infectious disease guidance (Shane 2017). The acute phase settles by day five.

Week 2. Stools are still loose two or three times a day, with cramping after meals. This is now persistent diarrhoea by the US definition. A call to the GP leads to a stool sample, and because there was a course of antibiotics two months earlier for a chest infection, a C. difficile test as well. Both come back negative.

Month 2. Better than week two, but not right: urgency most mornings, bloating by the evening, and a feeling that bread and onions now set things off. Blood tests and coeliac serology are normal. A calprotectin is borderline, so the GP arranges a repeat rather than reading much into it, mindful that infection can raise it (Vasant 2021).

Month 6. The repeat calprotectin is normal. Pain is still there about two days a week and linked to bowel movements. With symptoms that began straight after a clear-cut infection, have lasted six months and meet the Rome criteria, the GP now uses the term post-infectious IBS (Barbara 2019), and a dietitian referral follows for a short, structured trial of a low FODMAP diet with reintroduction.

Month 12 onwards. This is where the cohorts diverge. If the infection had been norovirus, the research suggests most of the excess risk would already have faded. After a bacterial infection, slow improvement over years is the commonest pattern in the Walkerton data. Had any warning sign appeared at any point, the plan would have changed immediately.

Myths about IBS after food poisoning

"Post-infectious IBS takes eight years to go away." No study we found reports that. Eight years is the length of the Walkerton follow-up, during which the share of people with IBS roughly halved (Marshall 2010).

"It's permanent." For many people it is not. IBS persisted beyond five years in 39.8% of people in pooled studies (Porcari 2024), and after norovirus the excess was gone by six months (Marshall 2007). But for some, particularly after parasitic infection, it does last a long time (Litleskare 2018).

"Post-infectious IBS is the one kind that always clears up." A common hopeful line in the threads, and not supported. The Rome working team says a better prognosis than other IBS is plausible but unproven (Barbara 2019), and the two direct comparisons found no significant difference (Neal 2002, Card 2018).

"If your stool test was negative, it can't be post-infectious." Most people with this condition never had a positive culture. The criteria accept fever, vomiting or diarrhoea in the acute illness as evidence of infection (Barbara 2019), and only about a quarter of survey participants reported a positive culture (Card 2018).

"Food poisoning always leaves you lactose intolerant, so cut dairy." In adults after bacterial gastroenteritis, the one prospective breath test study found no persistent lactose intolerance (Parry 2002).

"A blood test can prove your IBS came from food poisoning." The antibody test was validated against IBD and coeliac disease, not against IBS that started some other way, misses more than half of people with IBS-D, and in one study did not separate IBS-D from healthy people (Pimentel 2015, Barros 2024).

"It's all in your head." Biopsies after Campylobacter show measurable changes in the gut lining lasting a year or more (Spiller 2000). Stress and anxiety at the time of infection raise the risk (Spence 2007), which is a gut-brain interaction, not an imaginary illness.

When to see a doctor promptly

Most persistent gut symptoms after food poisoning are not dangerous, but some patterns need prompt medical attention rather than waiting to see if they settle. See a doctor promptly, or seek urgent care if you feel very unwell, if you have:

  • Blood in your stool, or black, tarry stools.
  • Signs of dehydration: very little urine, dizziness on standing, confusion, or being unable to keep fluids down.
  • A fever that persists or returns after the acute illness.
  • Unexplained weight loss.
  • Diarrhoea that wakes you from sleep.
  • Diarrhoea after a recent course of antibiotics, given the C. difficile risk (Shane 2017).
  • Symptoms starting after age 50, or a family history of bowel cancer, IBD or coeliac disease.
  • Anaemia on a blood test.
  • Diarrhoea lasting two weeks or more, which is the point at which guidance says to look for persistent infection and non-infectious causes (Shane 2017).

Severe or worsening abdominal pain, a swollen tender abdomen, or not passing stool or wind are reasons to seek urgent care the same day. If the worry itself is wearing you down, our article on IBS and health anxiety looks at how to tell a red flag from the fear of one.

The short version

Food poisoning can trigger IBS, and it does so in a meaningful minority of people, roughly 10% to 15% across the pooled studies and more after parasites and bacteria than viruses (Klem 2017, Porcari 2024). Formally, it is a six-month diagnosis, so weeks two to twenty-four are about excluding persistent infection and look-alikes, not about labels (Barbara 2019, Shane 2017). Many people improve over the following years, but how quickly depends on the bug and the person, and nobody can honestly give you a date. Keep a simple record, get the right tests rather than every test, avoid narrowing your diet more than you need to, and see a doctor promptly for any warning sign.

Frequently asked questions

Can food poisoning actually cause IBS?
Yes. It is called post-infectious IBS, and it is one of the best-documented ways IBS starts. A 2024 meta-analysis of 47 studies found IBS in 14.5% of people followed up after acute gastroenteritis, with more than four times the odds of people who had not been ill. The Rome Foundation describes infection as one of the strongest known risk factors for IBS.
How long does post-infectious IBS last?
There is no single answer, and no study we found reports an average recovery time. In the largest long-term cohort, IBS prevalence among people who had been ill fell from 28.3% at two to three years to 15.4% at eight years. After a norovirus outbreak, the excess had gone by six months. After a Giardia outbreak, it had not shrunk between six and ten years. The bug matters, and so do individual risk factors.
Does post-infectious IBS ever go away?
For many people, symptoms ease or stop meeting IBS criteria over time, but it is not guaranteed. A 2024 meta-analysis found IBS persisted in 39.8% of people beyond five years, which means most no longer met criteria. Not meeting criteria is not the same as being symptom-free, and one internet survey found recovery in the first year was similar to IBS that started any other way.
Why do I still have diarrhoea two weeks after food poisoning?
US infectious disease guidance calls diarrhoea of 14 to 29 days persistent, and says that from 14 days non-infectious causes such as IBD and post-infectious IBS should be considered. It also recommends parasite testing for travellers at that point, and says C. difficile testing may be considered after recent antibiotics. It is common for bowels to stay unsettled for a while, but two weeks of ongoing diarrhoea is worth a call to your doctor, and sooner if you have blood, fever or signs of dehydration.
Can a stomach bug or stomach flu cause IBS, or only food poisoning?
Viral gastroenteritis can trigger it too, though the numbers are lower than after bacteria or parasites. A 2024 meta-analysis put post-infectious IBS at 10.7% after viruses, 18.3% after bacteria and 30.1% after parasites, the last from only two studies. One norovirus outbreak study found the extra IBS cases had disappeared by six months.
Is there a test for post-infectious IBS?
No test confirms it. The diagnosis rests on symptoms that started straight after a documented or clear-cut gut infection and have lasted at least six months, once other causes are ruled out. Antibody blood tests (anti-CdtB and anti-vinculin) are marketed for IBS, but they miss more than half of people with IBS-D, and one study including the test's developer found they did not separate IBS-D from healthy controls.
What should I eat while I am recovering from food poisoning?
US infectious disease guidelines recommend returning to your usual diet during or right after rehydration, and say the evidence behind the BRAT diet and avoiding dairy is limited. Once symptoms have dragged on for weeks, the evidence base is thin. No trial we found tested diets in the window straight after an infection. Structured approaches used for IBS, such as a short low FODMAP trial with reintroduction, are best done with a dietitian.
Can food poisoning make you lactose intolerant?
In adults, probably less often than people assume. In a prospective study of adults after culture-confirmed bacterial gastroenteritis, none of those who developed post-infectious IBS or functional diarrhoea had an abnormal breath hydrogen result after a lactose load, and the authors concluded that blanket dairy avoidance appeared unnecessary in their population. Temporary lactose problems after infection are better described in children.
Can COVID cause IBS?
It appears it can, in some people. In a multinational study of patients hospitalised with COVID-19, 3.2% met Rome IV criteria for IBS a year later, against 0.5% of hospitalised controls without COVID-19. These were hospitalised patients, so the figures may not apply to milder infections.
Should I push for tests to rule out microscopic colitis or IBD?
It depends on your features, not on how long you have been unwell alone. British IBS guidance lists factors that raise the chance of microscopic colitis, including being female, age 50 or over, autoimmune disease, night-time or severe watery diarrhoea, diarrhoea of less than 12 months, weight loss and certain medicines. IBD is also slightly more common after gastroenteritis. Ask your doctor whether your pattern fits either, and see them promptly for blood, weight loss or night-time symptoms.

Sources

  1. Klem F, Wadhwa A, Prokop LJ, Sundt WJ, Farrugia G, Camilleri M, et al. Prevalence, risk factors, and outcomes of irritable bowel syndrome after infectious enteritis: a systematic review and meta-analysis. Gastroenterology. 2017;152(5):1042-54.e1. doi:10.1053/j.gastro.2016.12.039
  2. Porcari S, Ingrosso MR, Maida M, Eusebi LH, Black C, Gasbarrini A, et al. Prevalence of irritable bowel syndrome and functional dyspepsia after acute gastroenteritis: systematic review and meta-analysis. Gut. 2024;73(9):1431-40. doi:10.1136/gutjnl-2023-331835
  3. Barbara G, Grover M, Bercik P, Corsetti M, Ghoshal UC, Ohman L, et al. Rome Foundation Working Team report on post-infection irritable bowel syndrome. Gastroenterology. 2019;156(1):46-58.e7. doi:10.1053/j.gastro.2018.07.011
  4. Shane AL, Mody RK, Crump JA, Tarr PI, Steiner TS, Kotloff K, et al. 2017 Infectious Diseases Society of America clinical practice guidelines for the diagnosis and management of infectious diarrhea. Clin Infect Dis. 2017;65(12):e45-80. doi:10.1093/cid/cix669
  5. Marshall JK, Thabane M, Garg AX, Clark WF, Salvadori M, Collins SM, et al. Incidence and epidemiology of irritable bowel syndrome after a large waterborne outbreak of bacterial dysentery. Gastroenterology. 2006;131(2):445-50. doi:10.1053/j.gastro.2006.05.053
  6. Marshall JK, Thabane M, Borgaonkar MR, James C. Postinfectious irritable bowel syndrome after a food-borne outbreak of acute gastroenteritis attributed to a viral pathogen. Clin Gastroenterol Hepatol. 2007;5(4):457-60. doi:10.1016/j.cgh.2006.11.025
  7. Litleskare S, Rortveit G, Eide GE, Hanevik K, Langeland N, Wensaas KA. Prevalence of irritable bowel syndrome and chronic fatigue 10 years after Giardia infection. Clin Gastroenterol Hepatol. 2018;16(7):1064-72.e4. doi:10.1016/j.cgh.2018.01.022
  8. Marasco G, Cremon C, Barbaro MR, Cacciari G, Falangone F, Kagramanova A, et al. Post COVID-19 irritable bowel syndrome. Gut. 2023;72(3):484-92. doi:10.1136/gutjnl-2022-328483
  9. Spiller RC, Jenkins D, Thornley JP, Hebden JM, Wright T, Skinner M, et al. Increased rectal mucosal enteroendocrine cells, T lymphocytes, and increased gut permeability following acute Campylobacter enteritis and in post-dysenteric irritable bowel syndrome. Gut. 2000;47(6):804-11. doi:10.1136/gut.47.6.804
  10. Vasant DH, Paine PA, Black CJ, Houghton LA, Everitt HA, Corsetti M, et al. British Society of Gastroenterology guidelines on the management of irritable bowel syndrome. Gut. 2021;70(7):1214-40. doi:10.1136/gutjnl-2021-324598
  11. Spence MJ, Moss-Morris R. The cognitive behavioural model of irritable bowel syndrome: a prospective investigation of patients with gastroenteritis. Gut. 2007;56(8):1066-71. doi:10.1136/gut.2006.108811
  12. Marasco G, Schmulson M, Ghoshal UC, Khatun R, Bangdiwala SI, Cremon C, et al. Post-infection disorders of gut-brain interaction: results of the Rome Foundation Global Epidemiology Study. Gut. 2026;75(7):1297-306. doi:10.1136/gutjnl-2025-336509
  13. Neal KR, Barker L, Spiller RC. Prognosis in post-infective irritable bowel syndrome: a six year follow up study. Gut. 2002;51(3):410-3. doi:10.1136/gut.51.3.410
  14. Marshall JK, Thabane M, Garg AX, Clark WF, Moayyedi P, Collins SM, et al. Eight year prognosis of postinfectious irritable bowel syndrome following waterborne bacterial dysentery. Gut. 2010;59(5):605-11. doi:10.1136/gut.2009.202234
  15. Card T, Enck P, Barbara G, Boeckxstaens GE, Santos J, Azpiroz F, et al. Post-infectious IBS: defining its clinical features and prognosis using an internet-based survey. United European Gastroenterol J. 2018;6(8):1245-53. doi:10.1177/2050640618779923
  16. Schwille-Kiuntke J, Enck P, Zendler C, Krieg M, Polster AV, Klosterhalfen S, et al. Postinfectious irritable bowel syndrome: follow-up of a patient cohort of confirmed cases of bacterial infection with Salmonella or Campylobacter. Neurogastroenterol Motil. 2011;23(11):e479-88. doi:10.1111/j.1365-2982.2011.01779.x
  17. García Rodríguez LA, Ruigómez A, Panés J. Acute gastroenteritis is followed by an increased risk of inflammatory bowel disease. Gastroenterology. 2006;130(6):1588-94. doi:10.1053/j.gastro.2006.02.004
  18. Niaz SK, Sandrasegaran K, Renny FH, Jones BJ. Postinfective diarrhoea and bile acid malabsorption. J R Coll Physicians Lond. 1997;31(1):53-6. doi:10.1016/s0035-8819(25)00270-3
  19. Menon S, Jones BJ. Postinfective bile acid malabsorption: is this a long-term condition? Eur J Gastroenterol Hepatol. 2011;23(4):308-10. doi:10.1097/meg.0b013e3283457ba6
  20. Parry SD, Barton JR, Welfare MR. Is lactose intolerance implicated in the development of post-infectious irritable bowel syndrome or functional diarrhoea in previously asymptomatic people? Eur J Gastroenterol Hepatol. 2002;14(11):1225-30. doi:10.1097/00042737-200211000-00010
  21. Pimentel M, Morales W, Rezaie A, Marsh E, Lembo A, Mirocha J, et al. Development and validation of a biomarker for diarrhea-predominant irritable bowel syndrome in human subjects. PLoS One. 2015;10(5):e0126438. doi:10.1371/journal.pone.0126438
  22. Barros LL, Leite G, Morales W, Barlow GM, de Azevedo MFC, de Sousa Carlos A, et al. Anti-CdtB and anti-vinculin antibodies to diagnose irritable bowel syndrome in inflammatory bowel disease patients. BMC Gastroenterol. 2024;24(1):448. doi:10.1186/s12876-024-03509-z

Clairop is a general wellness app for people living with a diagnosed digestive condition. It does not replace professional medical care, diagnosis, or treatment. Always follow your healthcare provider's advice.

Clairop logs meals, symptoms and stool in seconds, then looks for the foods your gut reacts to, including reactions that land days later.

Join the waitlist