What to Eat and Avoid With a Stomach Virus

When you have a stomach virus, the best foods are bland, soft, and easy to digest: plain rice, bananas, toast, brothy soups, boiled potatoes, and crackers. Most people recover from a stomach virus within one to three days, and what you eat during that window can either ease your symptoms or make them noticeably worse. The goal is to keep food down, stay hydrated, and gradually return to a normal diet as your gut heals.

Hydration Comes First

Before worrying about food, focus on fluids. Vomiting and diarrhea drain water and electrolytes fast, and dehydration is the biggest risk of a stomach virus, not the virus itself. Small, frequent sips work better than gulping a full glass, which can trigger more vomiting.

Your best options are water, clear broths, and oral rehydration solutions. You can make a simple rehydration drink at home using the World Health Organization’s formula: about four cups of water, half a teaspoon of salt, and two tablespoons of sugar. This ratio helps your intestines absorb fluid more efficiently than water alone. Popsicles and ice chips also work well if sipping feels like too much.

Avoid coffee, tea, sodas with caffeine, and fruit juices high in sugar. Caffeine can stimulate your gut and worsen diarrhea, while concentrated sugar in juices can actually pull more water into your intestines, making things worse.

What to Eat in the First 24 Hours

If you’re still actively vomiting, don’t force yourself to eat. Wait until you can keep liquids down for a few hours, then start with the simplest foods possible. The classic BRAT diet (bananas, rice, applesauce, toast) is a fine starting point, but you don’t need to limit yourself to just those four items. Brothy soups, oatmeal, boiled potatoes, crackers, and unsweetened dry cereal are all equally gentle on an inflamed stomach.

Eat small amounts. A few bites of plain toast or a quarter cup of rice is enough for a first attempt. If that stays down for an hour or two, try a little more. The texture matters as much as the food itself: soft, mashed, or pureed foods move through your stomach more easily than anything solid or chewy.

Adding More Nutrition as You Improve

Once your stomach starts to settle, usually by day two, you can branch out to foods that provide the protein and nutrients your body needs to recover. Good next-step options include:

  • Skinless chicken or turkey, baked or boiled (not fried)
  • Eggs, scrambled or soft-boiled
  • Fish, steamed or baked
  • Cooked vegetables like carrots, butternut squash, pumpkin, or sweet potatoes without skin
  • Avocado

These foods are still bland and easy to digest, but they give you protein and micronutrients that plain rice and crackers don’t. Preparation method matters here: baked, boiled, or steamed is always safer than fried or sautéed in oil.

Foods That Make Symptoms Worse

Some foods are reliably irritating to a gut that’s already inflamed. Avoid these until you’ve been symptom-free for at least a day:

  • High-fat foods like fried chicken, pizza, burgers, and fast food. Fat slows digestion and can intensify nausea.
  • Dairy products including milk, cheese, and ice cream. Your gut’s ability to digest lactose (the sugar in milk) can be temporarily impaired during a stomach virus, and for some people this lasts a month or longer after recovery.
  • Sugary drinks and sweets. Large amounts of simple sugar can pull water into the intestines and worsen diarrhea.
  • Spicy foods, raw vegetables, and high-fiber grains. These require more digestive effort and can trigger cramping.
  • Alcohol. It’s dehydrating and irritates the stomach lining.

Ginger for Nausea

If nausea is your biggest problem, ginger is one of the few natural remedies with real clinical support. It’s been tested in doses ranging from 250 mg to 2 g per day, and the lower doses work about as well as higher ones. You don’t need capsules. Ginger tea made from fresh sliced ginger, ginger chews, or even ginger aromatherapy can help take the edge off. Peppermint tea is another option, though the evidence behind it is less robust than for ginger.

The Lactose Problem After Recovery

One thing that catches people off guard is that dairy intolerance can linger well after the virus is gone. The stomach virus damages the cells lining your small intestine, and those cells are responsible for producing the enzyme that breaks down lactose. Even if you normally handle dairy just fine, you may experience bloating, gas, or diarrhea from milk products for weeks after your illness. Yogurt is usually tolerated better than milk because the bacteria in it have already partially broken down the lactose, but go slowly and pay attention to how your body responds.

Probiotics and Gut Recovery

There’s reasonable evidence that certain probiotics can shorten the duration of viral diarrhea, particularly in children. The strains with the most research behind them include Lactobacillus rhamnosus GG and Saccharomyces boulardii (a beneficial yeast). These appear to work by boosting immune function and helping restore the balance of bacteria in your intestines. They won’t cure the virus, but they may shave time off your symptoms. Look for these specific strains on the label if you decide to try a probiotic supplement, or eat fermented foods like plain yogurt or kefir once your stomach can handle them.

Signs You Need More Than Food

Most stomach viruses resolve on their own within one to three days. But dehydration can become dangerous, especially in young children and older adults. Warning signs include diarrhea lasting more than 24 hours, inability to keep any fluids down, dark urine or no urine output, confusion or unusual drowsiness, bloody or black stool, and a fever of 102°F or higher. Any of these warrant a call to your doctor or a visit to urgent care.