Question: What should I eat if I have viral gastroenteritis?
Answer: When you have viral gastroenteritis, you should drink plenty of liquids to replace lost fluids and electrolytes. You may vomit after you eat or lose your appetite for a short time. When your appetite returns, you can most often go back to eating your normal diet, even if you still have diarrhea.

When children have viral gastroenteritis, parents and caretakers should give children what they usually eat as soon as their appetite returns. Parents and caretakers should give infants breast milk or formula as usual.
Question: What should I avoid eating if I have viral gastroenteritis?
Answer: Research shows that following a restricted diet does not help treat viral gastroenteritis. Most experts do not recommend fasting or following a restricted diet when you have viral gastroenteritis.

For some people, certain food ingredients may make symptoms such as diarrhea worse, including

drinks with caffeine, such as coffee and tea, and some soft drinks.
foods that are high in fat, such as fried foods, pizza, and fast foods.
foods and drinks containing large amounts of simple sugars, such as sweetened beverages and some fruit juices.
milk and milk products, which contain the sugarlactose. Some people recovering from viral gastroenteritis have problems digesting lactose for up to a month or more afterwards.