When you have a stomach virus, the best things to eat are bland, easy-to-digest foods like plain rice, bananas, broth-based soups, crackers, and toast. But the first priority isn’t food at all. It’s fluids. Most people can’t keep solids down in the first several hours, and replacing lost water and electrolytes matters more than eating during that window.
The good news: you don’t need to follow a strict or limited diet for long. Once your appetite starts returning, you can expand what you eat fairly quickly.
Start With Fluids, Not Food
Vomiting and diarrhea pull water and electrolytes out of your body fast. Small, frequent sips work better than gulping a full glass, which can trigger more vomiting. Water is fine, but it doesn’t replace the sodium and potassium you’re losing. Oral rehydration solutions (sold at most pharmacies) are designed for exactly this situation. Clear broths, diluted coconut water, and ice chips are also good options.
Avoid sugary drinks like soda, fruit juice, and sports drinks with high sugar content. The CDC notes that foods and beverages high in simple sugars can worsen diarrhea because the sugar draws extra water into the intestines through osmotic pressure. That includes gelatin desserts and sweetened teas. If you want something flavored, dilute it significantly or stick with broth.
Best Foods Once You Can Keep Things Down
You’ve probably heard of the BRAT diet: bananas, rice, applesauce, and toast. It’s a reasonable starting point for the first day or two, but Harvard Health Publishing notes there’s no need to restrict yourself to just those four foods. A broader range of bland options gives your body more of the nutrients it needs to recover.
Foods that tend to sit well during and after a stomach virus:
- Starches: white rice, plain crackers, oatmeal, boiled or mashed potatoes (no skin), dry unsweetened cereal
- Fruits: bananas, applesauce, canned peaches without skin, melon
- Proteins: plain skinless chicken or turkey, fish, eggs, tofu
- Vegetables: well-cooked carrots, green beans, cooked squash like butternut or pumpkin, sweet potatoes without skin
- Other: brothy soups, plain pasta, avocado
These foods are low in fiber and fat, which means your gut doesn’t have to work hard to process them. They also provide protein and calories your body needs while it fights off the virus. You don’t have to eat large portions. Even a few bites at a time counts.
Foods to Avoid Until You Recover
Some foods are likely to make nausea or diarrhea worse. Fatty, greasy, or heavily spiced meals are the obvious ones, but dairy catches people off guard. A stomach virus can temporarily strip the intestinal lining of the enzyme that digests lactose (the sugar in milk). This secondary lactose intolerance can last a few weeks after the infection clears, meaning milk, ice cream, and soft cheeses may cause bloating, gas, and more diarrhea even after you feel better overall.
Yogurt is sometimes an exception because the fermentation process partially breaks down lactose, but if dairy of any kind makes your symptoms flare, skip it for now. Your gut lining heals on its own, and tolerance usually returns within a few weeks.
Also avoid:
- High-sugar foods and drinks: soda, juice, candy, pastries
- Caffeine and alcohol: both can irritate the stomach and contribute to dehydration
- High-fiber foods: raw vegetables, whole grains, beans, nuts, and seeds
- Fried or very fatty foods: these slow digestion and can trigger nausea
When to Go Back to Normal Eating
You don’t need to wait a set number of days. The National Institute of Diabetes and Digestive and Kidney Diseases recommends returning to your normal diet as soon as your appetite comes back, even if you still have some diarrhea. The same applies to children: give them what they usually eat once they’re willing to eat again.
That said, ease in rather than jumping straight to a heavy meal. Your digestive system has been through a lot, and reintroducing rich or complex foods gradually over two to three days reduces the chance of a setback. Pay attention to how dairy sits with you in particular, since that temporary lactose sensitivity can linger after everything else feels normal.
Probiotics During Recovery
Probiotics may shorten the duration of diarrhea, though the benefit is modest. The European Society for Paediatric Gastroenterology, Hepatology and Nutrition recommends strains like Lactobacillus rhamnosus GG and Saccharomyces boulardii alongside rehydration for acute infectious diarrhea. Interestingly, research suggests the specific strain matters less than you might think. Low-dose and high-dose preparations, single-strain and multi-strain products, all seem to perform similarly.
Probiotics aren’t a cure, but they’re safe for most people and may help your gut flora rebalance faster. You can get them from supplements or from fermented foods like yogurt (if you’re tolerating dairy) or miso.
Signs of Dangerous Dehydration
Most stomach viruses resolve on their own within one to three days. The real danger is dehydration, especially in young children and older adults. Mild dehydration feels like thirst, dry mouth, and darker urine. That’s manageable at home with steady fluid intake.
Severe dehydration is a medical emergency. Warning signs include confusion, fainting, no urination for many hours, rapid heartbeat, and rapid breathing. If you or someone you’re caring for shows any of these, that situation needs immediate medical attention, not more sips of broth.