What to Eat and Avoid When You Have a Stomach Bug

When you have a stomach bug, the most important thing to focus on is fluids first, food second. Most people can return to their normal diet as soon as their appetite comes back, even if diarrhea hasn’t fully stopped. The old advice to stick to bananas, rice, applesauce, and toast (the BRAT diet) for days on end is outdated. Current guidelines from the National Institute of Diabetes and Digestive and Kidney Diseases are clear: a restricted diet does not help treat viral gastroenteritis.

That said, your stomach is inflamed and irritable, so what you eat in the first few days matters. Here’s how to move through each stage comfortably.

Fluids Are the Priority for Days 1 and 2

During the first 24 to 48 hours, you’re losing water and electrolytes fast through vomiting and diarrhea. Replacing those losses is more important than eating. Aim for at least 2 to 3 liters of fluids per day, taken in small, frequent sips rather than large gulps that can trigger more vomiting.

An oral rehydration solution (ORS) is the gold standard. Products like Pedialyte or DripDrop contain a precise balance of sodium, potassium, and glucose designed to help your intestines absorb water efficiently. The current WHO formula uses 75 milliequivalents per liter of sodium paired with 75 millimoles per liter of glucose at a low overall concentration that reduces the chance of worsening diarrhea. You can find commercial ORS products at any pharmacy.

Sports drinks, soda, fruit juice, and gelatin desserts are poor substitutes. They’re loaded with simple sugars that can actually pull more water into your intestines and make diarrhea worse. The CDC specifically warns against using large amounts of these beverages for rehydration. If ORS isn’t available, plain water, weak tea, or clear broth are better choices than sugary drinks.

What to Eat When Your Appetite Returns

Once the worst of the nausea passes and you feel hungry (often around day 2 or 3), that’s your signal to start eating again. You don’t need to follow a rigid progression. Start with small, frequent snacks and increase portions as you feel comfortable. Foods that are gentle on an irritated gut include:

  • Starches: white rice, plain toast, crackers made with refined flour, plain pasta, potatoes
  • Fruits: bananas, applesauce, canned fruit, melon
  • Proteins: plain baked or steamed chicken, whitefish, eggs, tofu, creamy peanut butter
  • Soups: clear broth, plain soup with simple ingredients
  • Snacks: graham crackers, vanilla wafers, popsicles
  • Hot cereals: Cream of Wheat or other refined, cooked cereals

These foods are easy to digest because they’re low in fat, low in fiber, and mild in flavor. They won’t challenge your gut the way a plate of spicy curry or a greasy burger would.

What to Avoid Until You Feel Better

Some foods and drinks are more likely to trigger nausea, cramping, or another round of diarrhea while your gut is still recovering. Hold off on these for a few days:

  • Fatty or fried foods: these slow digestion and can cause cramping
  • Spicy foods: they irritate an already inflamed gut lining
  • Caffeine: coffee and energy drinks can stimulate your intestines and worsen diarrhea
  • Dairy: many people develop temporary lactose intolerance after a stomach bug because the virus damages the cells that produce lactase; low-fat or fat-free dairy is less likely to cause problems if you want to try it
  • Sugary drinks and candy: high sugar concentrations pull water into the intestines, making loose stools worse
  • Alcohol: dehydrating and irritating to inflamed tissue
  • High-fiber foods: raw vegetables, whole grains, beans, and nuts can be hard to break down when your digestive system is compromised

A Realistic Recovery Timeline

Most stomach bugs follow a fairly predictable arc. Days 1 and 2 are the acute phase: vomiting, diarrhea, and little to no appetite. Your only job during this window is staying hydrated. By days 3 through 5, you’re in the recovery phase. Appetite comes back, stools start to firm up, and you can gradually reintroduce a wider range of foods. Most people are eating normally again within a week.

If your stools stay loose for several days after the vomiting stops, some people find that temporarily cutting back on certain fermentable carbohydrates (things like onions, garlic, apples, and wheat in large quantities) helps settle lingering digestive symptoms. This isn’t necessary for everyone, but it’s an option if your gut seems slower to bounce back.

The BRAT Diet Is No Longer Recommended

For decades, doctors told patients to eat only bananas, rice, applesauce, and toast until symptoms fully resolved. The logic was that ultra-bland foods would “rest” the gut. The problem is that this diet is nutritionally thin. It lacks adequate protein, fat, and calories at a time when your body needs energy to recover. Current medical consensus is that returning to a normal, age-appropriate diet as soon as appetite allows leads to better outcomes. The individual BRAT foods are still fine choices, but restricting yourself to only those four foods for days is unnecessary and can slow recovery.

Skip the Probiotics

Probiotics are widely marketed for digestive health, and it seems intuitive that replenishing “good bacteria” would help after a stomach bug. But a large clinical trial at Cincinnati Children’s Hospital tested the most evidence-backed probiotic strain for gastroenteritis, Lactobacillus rhamnosus GG (sold as Culturelle), head-to-head against a placebo. The results: diarrhea lasted about two days in both groups, and children missed the same number of daycare days regardless of whether they took the probiotic. A similar Canadian study with a different probiotic combination found the same thing. Saving your money on probiotic supplements is reasonable. They don’t shorten a stomach bug.

Feeding Kids With a Stomach Bug

Children, especially infants and toddlers, are more vulnerable to dehydration because of their smaller body size. If you’re breastfeeding, continue nursing. Breast milk provides both hydration and nutrition, and there’s no reason to stop during gastroenteritis. Formula-fed babies should continue their usual formula.

For older children, the same principles apply as for adults: push fluids first, then return to their normal diet as soon as they’re willing to eat. Small, frequent offerings work better than trying to get a sick child to sit through a full meal. A commercial oral rehydration solution like Pedialyte is strongly preferred over juice, soda, or sports drinks for young children. The CDC recommends keeping ORS at home so you can start it as soon as diarrhea begins, rather than scrambling to find it when your child is already sick.

Avoid homemade rehydration recipes for children. Getting the salt-to-sugar ratio wrong is easy, and the consequences of an error in a small child are more serious than in an adult.

Signs of Dehydration to Watch For

Most stomach bugs resolve on their own within a few days. The real danger is dehydration. Watch for these warning signs in yourself or your child: diarrhea lasting more than 24 hours, unusual sleepiness or confusion, inability to keep any fluids down, bloody or black stool, or a fever of 102°F or higher. In babies, fewer wet diapers than usual, a dry mouth, or crying without tears are red flags. Any of these warrant a call to your doctor or a trip to urgent care.