When a stomach virus hits, eating is the last thing you want to do. But your body needs fuel to fight the infection. The safest approach is the BRAT diet — bananas, rice, applesauce, and toast. These bland, low-fiber foods are gentle on an irritated digestive tract and help firm up loose stools. Start with small bites and sip fluids constantly. If you can keep those down, you are on the right track.
Why Bland Food Helps a Stomach Virus
A stomach virus inflames the lining of your intestines. This inflammation blocks normal digestion and triggers diarrhea and vomiting. Your gut needs time to heal, and it heals faster when it does not have to work hard.
Bland foods are low in fat, low in fiber, and easy to break down. They do not stimulate the digestive tract the way spicy or greasy meals do. They also leave less undigested residue, which means fewer trips to the bathroom.
Fat is especially hard on a sick stomach. It slows digestion and can make nausea worse. Fiber, especially the insoluble kind found in raw vegetables and whole grains, adds bulk that irritates already-inflamed intestines. The BRAT diet avoids both.
What To Eat With Stomach Virus Diarrhea: The BRAT Diet
The BRAT diet stands for bananas, rice, applesauce, and toast. These four foods are the foundation of recovery from viral gastroenteritis.
Bananas are soft, easy to digest, and rich in potassium. Diarrhea depletes potassium and other electrolytes, so replacing them matters. Bananas also contain pectin, a soluble fiber that absorbs excess water in the intestines.
White rice is low in fiber and easy on the stomach. It binds loose stools and provides simple carbohydrates for energy. Brown rice is not a good choice here — its higher fiber content can worsen diarrhea.
Applesauce delivers pectin and natural sugars for quick energy. It is gentle, cold, and soothing. Avoid chunky applesauce or raw apples, which add fiber and can irritate the gut.
Toast made from white bread is dry, bland, and easily tolerated. It gives your body carbohydrates without taxing digestion. Skip the butter, jam, or peanut butter — fat and sugar delay recovery.
Eat these foods in small amounts. Two or three bites every hour is better than a full meal. Your stomach is not ready for normal portions.
Other Foods That Are Safe to Try
The BRAT diet is a starting point, not a permanent meal plan. Once you tolerate the basics, you can add other gentle foods.
Saltine crackers and pretzels are dry, salty, and easy to digest. The salt helps replace sodium lost through diarrhea.
Plain chicken broth or vegetable broth provides fluids and electrolytes. Sip it warm. Broth alone is not enough nutrition, but it helps with hydration while your appetite returns.
Boiled potatoes without the skin are bland and filling. They provide potassium and complex carbohydrates. Mash them with water or a little salt — skip butter and milk.
Plain oatmeal made with water is another option. It is higher in fiber than white rice, so introduce it slowly and in small portions.
Plain yogurt with live cultures may help restore healthy gut bacteria. Some studies suggest probiotics shorten the duration of infectious diarrhea. If dairy bothers you, skip it — lactose intolerance is common during and after a stomach virus.
Eggs that are boiled or scrambled without butter are easy to digest and provide protein. Start with half an egg and see how your body responds.
Foods To Avoid Until You Recover
Some foods actively make diarrhea and nausea worse. Avoid them until your symptoms have been gone for at least 24 to 48 hours.
- Dairy products — milk, cheese, ice cream. The virus can temporarily reduce lactase, the enzyme that digests lactose.
- Fried and fatty foods — fast food, chips, greasy meats. Fat stimulates the gut and worsens diarrhea.
- Spicy foods — hot peppers, curry, salsa. Capsaicin irritates the intestinal lining.
- Raw vegetables and fruits — their fiber is hard to digest. Cooked or canned versions are better.
- Whole grains — bran cereal, whole wheat bread, quinoa. The fiber adds bulk that makes diarrhea worse.
- Sugary drinks and sweets — soda, juice, candy. Sugar pulls water into the intestines, making diarrhea worse.
- Caffeine and alcohol — both dehydrate the body and stimulate the gut.
These foods are not dangerous. They are just too hard for an inflamed digestive system to handle right now.
Hydration Is More Important Than Food
Dehydration is the biggest risk with a stomach virus. Diarrhea and vomiting drain fluids and electrolytes faster than you can replace them.
Water is not enough. You also lose sodium, potassium, and chloride. Oral rehydration solutions like Pedialyte contain the right balance of electrolytes and sugar. They are the gold standard for replacing what diarrhea takes out.
If you do not have an oral rehydration solution, you can make a simple version at home. Mix six level teaspoons of sugar and half a teaspoon of salt into one liter of clean water. Stir well. This homemade solution is not identical to commercial products, but it is close.
Sip small amounts frequently. A few tablespoons every 10 to 15 minutes is easier on the stomach than drinking a full glass at once. Clear fluids like water, broth, and diluted sports drinks count. Avoid full-strength sports drinks — their sugar content can worsen diarrhea.
When To See a Doctor
Most stomach viruses resolve on their own within a few days. But some situations require medical attention.
Seek care if you or your child show signs of severe dehydration. These include dark urine, no urination for eight hours, extreme thirst, dry mouth, dizziness, or confusion. In infants, look for a sunken soft spot on the head, no tears when crying, and fewer wet diapers than usual.
See a doctor if diarrhea lasts more than three days, if there is blood in the stool, or if vomiting prevents keeping down any fluids for 24 hours. A fever above 102°F that does not respond to fever reducers also warrants a call.
For infants, young children, older adults, and people with weakened immune systems, dehydration can become dangerous quickly. Do not wait to seek help if symptoms are severe.
How Long Does Recovery Take?
Viral gastroenteritis typically lasts one to three days. Some viruses, like norovirus, resolve faster. Others can linger for a week or more.
Your appetite will return before your digestion fully normalizes. Even after diarrhea stops, your intestines remain sensitive for a few days. Keep eating bland foods for at least 24 hours after symptoms resolve, then gradually reintroduce your normal diet.
Start with one new food at a time. If diarrhea returns, go back to bland foods for another day. This gradual approach prevents relapses and gives your gut time to rebuild its normal function.
Frequently Asked Questions
What is the fastest way to recover from a stomach virus?
Rest, sip oral rehydration fluids constantly, and eat small amounts of bland foods like bananas, rice, and toast. There is no cure for the virus itself — your immune system clears it.
Can I eat eggs with a stomach virus?
Yes, boiled or scrambled eggs without butter or oil are usually well tolerated. Start with a small portion and stop if nausea returns.
Is Gatorade good for diarrhea from a stomach virus?
Diluted sports drinks are better than nothing, but oral rehydration solutions are more effective because they contain the correct electrolyte balance. Full-strength sports drinks are too high in sugar and can worsen diarrhea.
How long should I follow the BRAT diet?
Stay on bland foods until diarrhea stops and you have gone at least 24 hours without symptoms. Then slowly add other foods back one at a time.

