What to Take for a Stomach Virus: Meds, Fluids & Food

A stomach virus (viral gastroenteritis) has no cure, so treatment focuses on replacing lost fluids, easing symptoms, and letting the virus run its course. Most cases resolve within one to three days. The right combination of fluids, over-the-counter options, and food choices can make a real difference in how quickly you recover and how miserable you feel along the way.

Fluids and Electrolytes Come First

Dehydration is the biggest risk with a stomach virus, not the virus itself. Vomiting and diarrhea drain water and essential minerals faster than most people realize. Plain water helps, but it doesn’t replace the sodium and potassium you’re losing. Oral rehydration solutions like Pedialyte or store-brand equivalents are designed with a 1:1 ratio of sodium to glucose, which is the exact ratio that maximizes fluid absorption in your gut. The WHO-recommended formula uses 75 milliequivalents per liter each of sodium and glucose for optimal uptake.

If you don’t have a rehydration solution on hand, clear broths, diluted juice, and sports drinks can bridge the gap. Sip small amounts frequently rather than gulping large volumes, especially if you’re still vomiting. Taking a few tablespoons every five to ten minutes is easier for your stomach to handle than drinking a full glass at once.

Watch for signs that dehydration is getting serious: urinating much less than normal, dark-colored urine, skin that doesn’t snap back quickly when pinched, or sunken-looking eyes. In children, look for no wet diapers for three hours, a rapid heart rate, or unusual sleepiness. These signs mean it’s time to get medical help.

Over-the-Counter Options for Diarrhea

Loperamide (Imodium) slows down gut movement and can shorten diarrhea by roughly a day. It’s useful when you need symptom relief to get through work or travel, but it works by keeping stool in your intestines longer, so some people prefer to let the virus flush out naturally. Follow the dosing instructions on the package and stop taking it once stools firm up.

Bismuth subsalicylate (Pepto-Bismol) takes a different approach. It reduces the amount of fluid your intestines secrete and has mild antimicrobial properties. It’s a reasonable alternative, especially if you also have nausea. One important caution: do not give bismuth subsalicylate to children under 16. It contains salicylate, the same active compound in aspirin, and salicylates given during a viral illness are linked to Reye’s syndrome, a rare but serious condition affecting the liver and brain.

Managing Nausea and Vomiting

Ginger is one of the most accessible options for settling nausea. Ginger tea, ginger chews, or flat ginger ale (stir out the carbonation first) can help take the edge off. The evidence for ginger in gastroenteritis specifically is limited compared to its well-studied use in motion sickness and pregnancy nausea, but it carries virtually no risk and many people find it helpful.

If vomiting is severe and you can’t keep any fluids down for more than 24 hours, a doctor may prescribe an anti-nausea medication. For most adults, though, the vomiting phase of a stomach virus is the shortest part, often easing within 12 to 24 hours even without medication.

Fever and Body Aches

Acetaminophen (Tylenol) is the better choice for fever and aches during a stomach virus. Ibuprofen (Advil, Motrin) and other anti-inflammatory painkillers can irritate an already inflamed stomach lining, potentially making nausea worse. Stick with acetaminophen at standard doses until your gut has calmed down.

Probiotics Can Shorten the Illness

Probiotics are one of the few things shown to actually reduce how long a stomach virus lasts. A large Cochrane review of clinical trials found that probiotics shortened diarrhea duration by about 30 hours on average. Specific strains showed varying results: Lactobacillus rhamnosus GG (found in Culturelle) cut diarrhea by roughly 31 hours, while combinations of Lactobacillus acidophilus and Lactobacillus bifidus reduced it by about 51 hours. For rotavirus infections specifically, probiotics shortened symptoms by around 38 hours.

Look for a probiotic supplement that lists specific strains on the label, particularly Lactobacillus rhamnosus GG or Lactobacillus reuteri, since those have the most data behind them. Start taking them as soon as symptoms begin for the best effect. Yogurt with live active cultures is another option, though it contains lower concentrations than dedicated supplements.

What to Eat During Recovery

You’ve probably heard of the BRAT diet: bananas, rice, applesauce, and toast. It’s a fine starting point, but there’s no clinical evidence that restricting yourself to only those four foods speeds recovery. Harvard Health experts recommend expanding to include brothy soups, oatmeal, boiled potatoes, crackers, and unsweetened dry cereals. These are all bland and easy to digest, but they also provide protein and nutrients your body needs to heal, which the classic BRAT diet lacks.

Start with small portions once vomiting has stopped for a few hours. Avoid dairy (other than yogurt), fatty foods, caffeine, and alcohol until you’re consistently keeping bland foods down. Most people can return to their normal diet within two to three days.

Zinc for Children

The WHO recommends zinc supplementation for children with acute diarrhea: 20 mg per day for 10 to 14 days, or 10 mg per day for infants under six months. Zinc helps reduce both the severity and duration of diarrheal episodes in young children. This recommendation is especially relevant in developing countries where zinc deficiency is common, but it’s worth discussing with your pediatrician regardless of where you live.

Preventing Spread at Home

Norovirus, the most common cause of stomach viruses in adults, is extraordinarily contagious and survives on surfaces for days. Regular cleaning sprays won’t kill it. You need a bleach solution of 5 to 25 tablespoons of household bleach per gallon of water, left on contaminated surfaces for at least five minutes. Alternatively, look for EPA-registered disinfectants specifically labeled as effective against norovirus.

The sick person should use a separate bathroom if possible. Wash hands thoroughly with soap and water, not just hand sanitizer, since alcohol-based sanitizers are less effective against norovirus. Contaminated clothing and bedding should be washed on the hottest setting and machine-dried. People remain contagious for at least two to three days after symptoms resolve, so keep up the precautions even once everyone feels better.