For a stomach virus, the single most important thing you can take is fluids with electrolytes. There is no antiviral medication that cures viral gastroenteritis, so treatment comes down to managing symptoms, staying hydrated, and letting the illness run its course. Most people recover within one to three days. In the meantime, a combination of the right fluids, bland foods, and a few over-the-counter options can make a real difference in how you feel.
Fluids and Electrolytes Come First
Vomiting and diarrhea drain water and essential minerals from your body fast. Replacing them is the top priority, and plain water alone isn’t ideal because it lacks the sodium and glucose your gut needs to actually absorb fluid efficiently. Your intestines have a transport system that pulls in water when sodium and glucose are present in roughly equal amounts. That’s why oral rehydration solutions work better than sports drinks or juice.
The formula recommended by the World Health Organization uses a 1:1 ratio of sodium to glucose, with a total concentration lower than your blood’s. Products like Pedialyte and similar pharmacy-brand rehydration solutions follow this principle. Sports drinks contain too much sugar and too little sodium to match, though they’re better than nothing if that’s all you have on hand. Sip small amounts frequently rather than gulping large volumes, especially if you’re still vomiting. Even a few tablespoons every 10 to 15 minutes adds up and is less likely to trigger another round of nausea.
Over-the-Counter Options for Diarrhea
Loperamide (the active ingredient in Imodium) slows gut motility, which can reduce the frequency of watery stools. The standard approach is 4 mg to start, then 2 mg after each loose stool, up to a maximum of 8 mg per day when using it without a prescription. It can provide real relief when you need to function, but there are important situations where you should skip it: if your stool is bloody, if you have a high fever suggesting a bacterial infection, or if you’re over 65. Children under 2 should never take it.
Bismuth subsalicylate (Pepto-Bismol) is another option. It can help with both diarrhea and nausea, and studies in acute diarrheal illness have shown it shortens symptom duration. However, it contains a salicylate, the same class of compound found in aspirin. That creates a specific risk for children and teenagers: the American Academy of Pediatrics has flagged insufficient data to rule out a connection to Reye’s syndrome, a rare but serious condition linked to salicylates during viral infections. For kids, stick to fluids and electrolytes instead.
What Helps With Nausea and Vomiting
Ginger is one of the most studied natural options for nausea. Clinical trials, mostly in pregnancy-related nausea, have tested doses ranging from about 250 mg four times daily up to 1 gram per day and found meaningful reductions in nausea severity. You can get this through ginger capsules, ginger tea brewed from fresh root, or even flat ginger ale (though most commercial ginger ales contain very little actual ginger). Ginger chews and lozenges are another practical option when swallowing a capsule feels impossible.
If vomiting is severe enough that you can’t keep any fluids down for more than several hours, prescription anti-nausea medications exist that can break the cycle. These are worth asking about at an urgent care visit rather than waiting it out and becoming seriously dehydrated.
Probiotics May Shorten Recovery
Certain probiotic strains can reduce how long diarrhea lasts. The best-studied strain for viral gastroenteritis is Lactobacillus rhamnosus GG (sold under the brand name Culturelle, among others). A meta-analysis found that taking it shortened diarrhea duration by roughly 24 hours on average. For rotavirus-related diarrhea specifically, the reduction was even larger, around 31 hours. These benefits appeared at doses of at least 10 billion colony-forming units per day.
Probiotics aren’t a cure, but shaving a full day off the worst symptoms is meaningful when you’re miserable. They’re generally safe for most adults and children. Start them as early in the illness as you can for the best effect.
What to Eat (and What to Skip)
You may have heard of the BRAT diet: bananas, rice, applesauce, and toast. It was standard advice for decades, but medical guidelines no longer recommend following it strictly. The American Academy of Pediatrics considers it too restrictive, noting that it lacks the calories, protein, and fat your body needs to recover. Following it for more than 24 hours may actually slow healing.
The current approach is simpler: eat as tolerated. When your appetite starts returning, begin with bland, soft foods. Think crackers, plain pasta, boiled potatoes, chicken broth, or scrambled eggs. There’s no need to limit yourself to four specific foods. Avoid greasy, spicy, or very sugary items until your stomach settles, and steer clear of dairy temporarily if it seems to worsen symptoms. As soon as you feel ready for more variety, go for it. Your body needs the nutrition.
How Long Symptoms Typically Last
Norovirus, the most common cause of stomach viruses in adults, typically produces symptoms within 12 to 48 hours of exposure. Most people feel better within one to three days. The first 24 hours are usually the worst, with frequent vomiting giving way to diarrhea that may linger a day or two longer. Rotavirus tends to last slightly longer, particularly in young children, sometimes stretching to five to seven days.
Even after the vomiting and diarrhea stop, your digestive system may feel off for several more days. Mild bloating, soft stools, and reduced appetite are normal during this tail end of recovery. Continue prioritizing fluids and balanced meals during this period.
Signs You Need More Than Home Treatment
Most stomach viruses resolve on their own, but dehydration can become dangerous, especially in young children, older adults, and people with chronic health conditions. The physical signs that indicate significant fluid loss include sunken-looking eyes, skin that stays tented when you pinch it instead of snapping back, a dry mouth with no tears when crying (in children), and noticeably decreased urination. If two or more of these signs are present at the same time, the fluid deficit is likely at least 5% of body weight, which typically requires professional rehydration.
Other red flags include blood in your stool, a fever above 104°F, symptoms lasting beyond three days without improvement, or an inability to keep even small sips of fluid down for more than several hours. Infants, elderly adults, and anyone with a weakened immune system have a lower threshold for when things can turn serious, so err on the side of getting help sooner for those groups.

