When you have a stomach bug (viral gastroenteritis), food choices can influence symptom severity and recovery time. The gut microbiome—the trillions of microbes in your intestines—helps regulate immunity and digestion, and it can be disrupted by both the infection and the foods you consume while ill.

Foods that commonly worsen symptoms

Certain items are more likely to aggravate inflammation, prolong diarrhea, or feed opportunistic microbes. Avoiding these can reduce symptom burden:

Gentle alternatives and reintroduction

Start with bland, low-fat, low-fiber options—plain rice, toast, applesauce, bananas, broths, and mashed potatoes—while fluids and electrolytes are being restored. As symptoms improve, gradually reintroduce more complex foods one at a time and monitor tolerance. Fermented or probiotic foods can help during recovery, but they are best introduced after acute vomiting or severe diarrhea subsides.

Why personalized data matters

Individual variation in microbiome composition means that food tolerance during infection can differ widely. Microbiome-aware resources can clarify which microbes are overrepresented or deficient, and which food types might help or hinder recovery. For further reading about food choices during illness, see this practical guide on what to avoid eating with a stomach bug.

To learn more about specific microbial threats and how they harm the gut lining, review research on harmful gut microbes. If you are interested in broader implications of gut composition, including links with mood, see materials on microbiome and mental health and a related overview at gut microbiome and mood article.

For clinicians and informed readers, a microbiome test can clarify personalized tolerances and recovery strategies; general information about testing is available at microbiome test. If symptoms are severe or prolonged, seek medical evaluation.