When you have a stomach bug, the priority is fluids first, then simple foods as soon as you can tolerate them. You don’t need to starve yourself or follow a strict diet. Most experts no longer recommend fasting through a stomach virus, and research shows that restricted diets don’t actually help you recover faster. The goal is to stay hydrated, keep some calories coming in, and avoid the handful of things that genuinely make symptoms worse.
Start With Fluids, Not Food
If you’re actively vomiting, food isn’t the first concern. Replacing lost water and electrolytes is. Every round of vomiting or diarrhea pulls sodium, potassium, and water out of your body, and dehydration is the main reason stomach bugs send people to the emergency room.
Take small, frequent sips rather than gulping a full glass. Oral rehydration solutions (like Pedialyte or store-brand equivalents) work best because they contain a 1:1 ratio of sodium to glucose, which is the combination your gut uses to absorb water most efficiently. Plain water is fine but doesn’t replace the salts you’re losing. Broth is another solid option since it contains sodium naturally. If you don’t have a rehydration solution on hand, diluted fruit juice mixed with a pinch of salt can bridge the gap.
Avoid full-strength fruit juice, soda, and sports drinks during the worst of it. High sugar concentrations pull more water into your intestines, which can make diarrhea worse. Sugars stimulate the gut to release water and electrolytes, loosening bowel movements further. If you’re sipping a sports drink, dilute it by half.
What to Eat as Symptoms Ease
You’ve probably heard of the BRAT diet: bananas, rice, applesauce, and toast. It’s fine for a day or two, but there’s no clinical evidence that limiting yourself to those four foods helps recovery. Harvard Health notes that a less restrictive approach makes more sense, since your body needs protein and nutrients to heal.
Good early options include:
- Plain crackers or dry cereal (unsweetened)
- Brothy soups, especially chicken broth with rice or noodles
- Boiled or baked potatoes without butter or cream
- Oatmeal made with water
- Bananas, which also replace lost potassium
- Plain white rice or toast
Once your stomach has settled for several hours and you’re keeping bland foods down, start adding more nutritious options: cooked carrots, sweet potatoes without skin, butternut squash, avocado, skinless chicken or turkey, eggs, and fish. These are still easy to digest but give your body the protein and vitamins it needs to recover. The NIDDK recommends returning to your normal diet as soon as your appetite comes back, even if you still have some diarrhea.
Foods and Drinks to Avoid
A few categories reliably make things worse while your gut is inflamed.
Dairy products. A stomach virus can temporarily strip your intestines of the enzyme that digests lactose, the sugar in milk. This secondary lactose intolerance typically lasts a few weeks as the gut lining heals. During that window, milk, ice cream, soft cheese, and creamy sauces can trigger bloating, cramps, and more diarrhea. Yogurt is sometimes tolerated better because fermentation breaks down some of the lactose, but it’s safest to wait.
Sugary foods and drinks. Candy, pastries, regular soda, and full-strength juice all deliver a sugar load that draws water into the intestines. Artificial sweeteners like sorbitol and mannitol (common in sugar-free gum and candy) are even worse. They belong to a group of poorly digested sugars called FODMAPs that ferment in the gut and amplify diarrhea.
Greasy or fried foods. Fat slows digestion and can trigger nausea when your stomach is already irritated. Save the pizza for next week.
Caffeine and alcohol. Both are mild diuretics that work against your rehydration efforts. Coffee can also stimulate gut contractions you don’t need right now.
Ginger for Nausea
If nausea is your dominant symptom, ginger is one of the better-studied natural remedies. Clinical trials have used doses ranging from 250 mg to 1 g taken in divided doses throughout the day, and a meta-analysis found that 1 g per day significantly reduced nausea compared to placebo. You don’t need capsules. Ginger tea made from fresh sliced ginger, flat ginger ale (check that it contains real ginger), or even ginger chews can help settle your stomach enough to start eating.
Probiotics May Shorten Your Recovery
Taking probiotics alongside oral rehydration has been shown to reduce the duration of diarrhea by about 25 hours and cut the risk of symptoms lasting beyond four days by nearly 60%. The strains with the strongest evidence include Lactobacillus rhamnosus GG and Saccharomyces boulardii, both widely available in pharmacies. Look for those names on the label. Probiotics aren’t a cure, but shaving a full day off a stomach bug is meaningful when you’re miserable.
How the Recovery Timeline Works
Most stomach bugs follow a predictable arc. The first 12 to 24 hours are often the worst, with frequent vomiting or diarrhea. During this phase, focus on sips of fluid. By day two or three, vomiting usually stops and you can begin eating bland foods. Diarrhea often lingers a bit longer, sometimes up to a week, but that doesn’t mean you need to keep restricting your diet. Eat what appeals to you and what you can keep down.
The one exception is dairy. Because a stomach virus damages the cells that produce the lactose-digesting enzyme, temporary lactose intolerance can persist for several weeks after the bug itself has cleared. If you notice bloating or loose stools after milk or cheese, give it another week or two before trying again.
Signs You Need More Than Food and Fluids
Most stomach bugs resolve on their own, but dehydration can become dangerous. Watch for these warning signs: you can’t keep any fluids down for more than 24 hours, your urine is very dark or you’re not urinating at all, you feel unusually confused or dizzy, you have a fever above 102°F, or you notice blood or black color in your stool. In children, look for unusual sleepiness, irritability, no tears when crying, or a dry mouth. These all signal that home care isn’t enough.