What to Eat and Avoid With a Stomach Bug

When you have a stomach bug, the best approach is simpler than you might expect: eat your normal diet as soon as your appetite returns. The National Institute of Diabetes and Digestive and Kidney Diseases notes that research shows following a restricted diet does not help treat viral gastroenteritis. That said, your stomach is inflamed and irritable, so what you eat in the first day or two matters for comfort, even if strict food rules aren’t necessary.

The First Few Hours: Fluids First

Right after vomiting, give your stomach a break for a few hours before eating or drinking anything substantial. Start by sucking on ice chips or taking small sips of water every 15 minutes. The goal here isn’t to chug a glass of water. It’s to test whether your stomach will keep anything down at all.

Once plain water is staying down, you can move on to other clear fluids: broth, watered-down electrolyte drinks, ice pops, or gelatin. Keep the portions small. If you tolerate these for a few hours without vomiting, your stomach is ready for solid food.

What to Eat Once Your Appetite Returns

You’ve probably heard of the BRAT diet (bananas, rice, applesauce, toast), and those foods are still fine choices. But most experts no longer recommend limiting yourself to just those four items. The restriction isn’t necessary, and it can leave you short on the calories and nutrients your body needs to recover.

Good options when you’re easing back into eating include:

  • Bland starches: plain oatmeal, crackers, toast, rice, or boiled potatoes
  • Soft fruits: bananas and applesauce
  • Lean proteins: chicken, turkey, fish, or eggs, which are easy to digest and help your body maintain energy
  • Broth-based soups: gentle on the stomach and helpful for replacing lost fluids and sodium

Start with small portions. A few bites of toast or half a banana is enough for your first attempt. If that stays down comfortably, eat a bit more at the next meal. Most people can return to their regular diet within a day or two, even if diarrhea hasn’t fully resolved yet.

Foods That Can Make Symptoms Worse

Your digestive tract is already working overtime, so certain foods are more likely to trigger cramping, nausea, or another trip to the bathroom. While you’re actively sick, it helps to avoid:

  • Fatty and greasy foods: fried foods, pizza, fast food. Fat slows digestion and can intensify nausea.
  • Dairy products: milk, cheese, ice cream. The stomach bug can temporarily reduce your ability to digest lactose, and this effect can linger for a month or more after you recover.
  • Sugary foods and drinks: fruit juice, soda, candy. Large amounts of simple sugars can pull water into the intestines and worsen diarrhea.
  • Caffeine: coffee, tea, energy drinks. Caffeine stimulates the gut and can speed up diarrhea.
  • Alcohol: dehydrating and irritating to an already inflamed stomach lining.
  • Spicy or acidic foods: hot sauce, tomato-based dishes, citrus fruits. These can irritate the stomach and trigger more nausea.

You don’t need to avoid all of these forever. Once you’re feeling consistently better, reintroduce them gradually and see how your body responds.

Hydration Matters More Than Food

The biggest risk from a stomach bug isn’t hunger. It’s dehydration. Vomiting and diarrhea drain fluids and electrolytes fast, and replacing them is the single most important thing you can do while sick. Water is a start, but it doesn’t replace the sodium, potassium, and other minerals you’re losing. Electrolyte drinks, broth, and oral rehydration solutions are better choices.

Sip steadily throughout the day rather than drinking large amounts at once, which can trigger vomiting again. If you notice signs of worsening dehydration, like dizziness, very dark urine, dry mouth, or feeling unusually confused or sluggish, those need medical attention. The same goes for diarrhea lasting more than 24 hours, inability to keep any fluids down, bloody or black stool, or a fever above 102°F.

Do Probiotics Help?

There’s some evidence that probiotics can shorten how long diarrhea lasts, though the results aren’t dramatic. A meta-analysis of studies in children with acute gastroenteritis found that probiotics shortened diarrhea duration by roughly 23 hours and reduced the chance of diarrhea lasting beyond 48 hours by about 30%. That’s meaningful when you’re miserable, but it’s not a cure.

The evidence is strongest in children and for specific strains, so a general over-the-counter probiotic may or may not match what was studied. Yogurt with live cultures (once you can tolerate dairy again) or a probiotic supplement won’t hurt, but don’t count on them as a primary treatment.

A Realistic Recovery Timeline

Most stomach bugs last one to three days. Here’s roughly what eating looks like across that span:

Hours 0 to 4 after vomiting: Nothing by mouth, then small sips of water or ice chips every 15 minutes.

Hours 4 to 12: Clear fluids like broth, electrolyte drinks, and gelatin. Keep sipping regularly.

Hours 12 to 24: If fluids are staying down, try small amounts of bland solids. Crackers, plain toast, bananas, or a few bites of chicken.

Days 2 to 3: Gradually increase portion sizes and variety. Most people can eat normally by this point. Dairy is the one category worth reintroducing slowly, since lactose intolerance after a stomach bug can persist for weeks.

For children, the approach is the same with one important difference: infants should continue breastfeeding or formula feeding throughout the illness. Don’t withhold milk from babies, even during active vomiting. Offer smaller, more frequent feedings instead. Older children can return to their usual foods as soon as they’re willing to eat.