For a stomach virus, the most important thing you can take is fluids with electrolytes. No medication will cure a stomach virus or shorten its course significantly, but a handful of over-the-counter options can ease symptoms while your body fights it off. Most people recover within one to three days.
Fluids and Electrolytes Come First
Dehydration is the real danger with a stomach virus, not the virus itself. Vomiting and diarrhea drain water and essential salts from your body fast, and replacing them is the single most effective thing you can do. Plain water alone isn’t ideal because it lacks the sodium and potassium your gut needs to actually absorb the fluid.
Store-bought oral rehydration solutions like Pedialyte or DripDrop are formulated for this exact situation. If you don’t have one on hand, you can make a basic version at home using the World Health Organization’s formula: mix half a teaspoon of salt and two tablespoons of sugar into about four cups of water. Another option is diluting three-quarters of a cup of 100% apple or grape juice with about three cups of water and adding half a teaspoon of salt. Even mixing a regular-sodium broth cube into four cups of water with a quarter teaspoon of salt and two tablespoons of sugar works well.
Take small, frequent sips rather than gulping. If you’re actively vomiting, a few sips every five to ten minutes is a better strategy than drinking a full glass, which is more likely to come right back up. Ice chips, broth, diluted fruit juice, popsicles, and weak decaffeinated tea all count toward your fluid intake.
OTC Medications That Help
Two over-the-counter medications can reduce diarrhea in adults: loperamide (sold as Imodium) and bismuth subsalicylate (Pepto-Bismol or Kaopectate). Neither one kills the virus or speeds up your recovery. Loperamide slows down your gut, which means fewer trips to the bathroom. Bismuth subsalicylate can help with both diarrhea and nausea. These are useful when you need to get through a car ride or a workday, but they won’t prevent diarrhea from happening altogether.
There’s an important limit: if you have a fever or see blood in your stool, skip these medications entirely. Those signs may point to a bacterial or parasitic infection rather than a simple stomach virus, and anti-diarrheal drugs can make those infections worse.
For fever or body aches, acetaminophen (Tylenol) is the safer choice over ibuprofen (Advil, Motrin). Ibuprofen and similar anti-inflammatory drugs can irritate an already inflamed stomach lining. Use acetaminophen carefully and follow the dosage on the label, since it can stress the liver, especially in children.
What Children Should and Shouldn’t Take
Anti-diarrheal medications like loperamide and bismuth subsalicylate can be unsafe for infants and children. Talk to a pediatrician before giving them to anyone under 18.
Aspirin is off-limits for children and teenagers with any viral illness. It’s linked to Reye’s syndrome, a rare but potentially fatal condition that causes swelling in the liver and brain. Aspirin shows up in products you might not expect, including Alka-Seltzer, and sometimes goes by other names like acetylsalicylic acid or salicylate. Stick with acetaminophen for fever in kids, and focus on keeping them hydrated with small, frequent sips of an oral rehydration solution.
Probiotics May Shorten Diarrhea
One supplement with actual evidence behind it is the probiotic strain Lactobacillus rhamnosus GG (often labeled LGG). A meta-analysis of randomized trials in children with acute gastroenteritis found that LGG reduced the duration of diarrhea by about one day on average, and by roughly two days when the cause was rotavirus specifically. To be effective, the dose needs to be at least 10 billion colony-forming units (CFU) per day, started as early as possible, and continued for five to seven days. Most of the research has been done in children, but the same strain is widely available in adult formulations. Look for it on the label of products like Culturelle.
What to Eat (and When)
If you’re actively vomiting, stick to liquids only. Once the vomiting slows down, you can start with small amounts of bland food: saltine crackers, dry cereal, oatmeal, boiled potatoes, or brothy soups. The old advice to follow the BRAT diet (bananas, rice, applesauce, toast) is fine for a day, but it lacks protein, calcium, vitamin B12, and fiber. Staying on it longer than 24 to 48 hours can actually slow recovery, especially in children. The American Academy of Pediatrics no longer recommends a strict BRAT diet for kids with diarrhea for exactly this reason.
As your stomach settles, add more nutritious soft foods: scrambled eggs, skinless chicken or turkey, cooked vegetables. Eat small portions rather than full meals. Your stomach handles smaller amounts better when it’s inflamed. Avoid dairy, fatty foods, caffeine, and alcohol until you’re feeling consistently better.
Typical Recovery Timeline
Symptoms usually appear 12 to 48 hours after exposure. Vomiting tends to be the first thing to hit and often the first to resolve, typically within a day. Diarrhea can linger for two to three days. Most people with norovirus, the most common cause of stomach viruses in adults, feel better within one to three days.
If vomiting or diarrhea lasts beyond three days, or if you notice signs of significant dehydration, that changes things. In adults, warning signs include a rapid pulse with low blood pressure, dark or very little urine output, dizziness when standing, and extreme thirst. In infants and toddlers, no wet diaper for eight hours is a red flag that needs prompt attention. Severe dehydration sometimes requires IV fluids in a medical setting, something oral rehydration can’t always fix on its own.