How to Treat a Stomach Virus: What Actually Works

No antiviral drug cures a stomach virus the way antibiotics clear a bacterial infection. Treatment comes down to managing symptoms, replacing lost fluids, and giving your body time. The most evidence-backed intervention is surprisingly simple: oral rehydration. But beyond that, a handful of medications and supplements do have real clinical support, while several popular home remedies perform worse than people assume.

Rehydration Is the Single Most Important Thing You Can Do

Vomiting and diarrhea pull water and electrolytes out of your body fast. For most people with viral gastroenteritis, dehydration is the actual danger, not the virus itself. That makes replacing fluids the highest-priority treatment, and it is the one with the strongest evidence behind it.

Oral rehydration solutions work because of a specific mechanism in the small intestine: glucose triggers sodium and fluid absorption through a transporter called SGLT1, pulling water back into your body even while diarrhea is ongoing.1PubMed Central. Oral rehydration therapy in the second decade of the twenty-first century 2PubMed Central. Potency of Oral Rehydration Solution in Inducing Fluid Absorption is Related to Glucose Concentration This is why drinking plain water alone is less effective than a solution containing both sugar and salt. The glucose is not just for energy; it is part of the absorption machinery.

You do not necessarily need a pharmacy product. The World Health Organization’s formula is basically water, salt, and sugar in the right proportions. Commercial options like Pedialyte or store-brand equivalents follow a similar low-osmolarity recipe. The current WHO-approved formulation uses a reduced osmolarity of 250 mOsm/L or less, which decreases episodes of diarrhea and vomiting and reduces the need for intravenous fluids. For moderate dehydration, guidelines suggest roughly 50 to 100 mL per kilogram of body weight over four hours, with extra given after each bout of vomiting or diarrhea.

Sports drinks like Gatorade are a common substitute, but they are not ideal. They contain more sugar and less sodium than oral rehydration solutions, which can worsen diarrhea in some cases. In a pinch, diluting a sports drink with water and adding a small pinch of salt gets you closer to the right balance. For adults with mild illness who are able to keep food and liquid down, the exact formula matters less. But for young children, older adults, or anyone losing fluids rapidly, an actual oral rehydration solution is worth the effort.

What to Eat While You Are Sick

The old advice to stick to the BRAT diet (bananas, rice, applesauce, toast) is not really supported by evidence. It was never formally studied as a treatment, and nutritionally it is quite limited. Current recommendations are simpler: resume your normal diet as soon as you can tolerate it. For children, maintaining a regular diet or reintroducing normal foods early, including breast milk or formula, is preferred over prolonged food restriction.3Evidence-Based Practice. What dietary management is most appropriate for infants and children with gastroenteritis? If someone cannot tolerate their usual foods, that is when oral rehydration solutions fill the gap until eating becomes possible again.

Some foods are worth avoiding simply because they tend to make nausea or diarrhea worse. Very fatty or greasy foods, heavily spiced dishes, and dairy products can all be harder to handle when your gut is inflamed. But these are comfort-based choices, not strict medical rules. If you feel like eating something, eating it is almost always better than not eating at all. Prolonged fasting during a stomach virus slows recovery and can make weakness and dizziness from dehydration harder to manage.

Anti-Nausea Medication

When vomiting is severe enough that you cannot keep fluids down, the whole rehydration strategy falls apart. This is where ondansetron (often known by the brand name Zofran) becomes genuinely useful. Originally developed for chemotherapy-related nausea, it is now widely used in emergency departments for gastroenteritis, particularly in children.

In a randomized trial, children who received ondansetron were far less likely to vomit compared to those given a placebo: roughly 14% versus 35%. They also drank more fluids and were less likely to need intravenous rehydration.4PubMed. Oral ondansetron for gastroenteritis in a pediatric emergency department A broader review found that ondansetron appeared to be better tolerated and more effective than other anti-nausea drugs, though it did not significantly reduce hospital admission rates.5PubMed Central. Ondansetron for acute gastroenteritis in children

The practical value here is clear: ondansetron buys you a window where oral fluids can stay down. It does not treat the underlying virus or shorten the illness, but it solves the most dangerous short-term problem. In many countries it requires a prescription, so calling your doctor or visiting an urgent care clinic when vomiting is relentless is worth doing, especially for young children who dehydrate quickly.

Probiotics and Zinc

Probiotics get recommended for stomach viruses constantly, but the evidence is messier than the marketing suggests. Not all strains work the same way. A systematic review and meta-analysis of clinical trials in children with acute diarrhea found that Lactobacillus reuteri and Saccharomyces boulardii significantly shortened the duration of diarrhea, while Lactobacillus rhamnosus (LGG) and Lactobacillus acidophilus did not show a statistically significant effect.6PubMed Central. Efficacy of probiotics in the treatment of acute diarrhea in children: a systematic review and meta-analysis of clinical trials That last finding is surprising because LGG is one of the most commonly recommended strains. If you are going to try a probiotic, the strain matters, and the ones most likely to help are not always the ones on the front of the label.

Zinc supplementation is another add-on that has some mechanistic backing. Lab studies show that zinc can modify tight junctions in the intestinal lining and enhance the barrier function of the gut wall.7PubMed. Zinc supplementation modifies tight junctions and alters barrier function of CACO-2 human intestinal epithelial layers The World Health Organization recommends zinc supplements alongside oral rehydration for children with diarrhea in developing countries, where zinc deficiency is common and the effect is most pronounced. For well-nourished adults in high-income countries, the benefit is less clear, and zinc is not a standard part of gastroenteritis treatment guidelines in those settings.

Racecadotril, a Drug Most People Have Not Heard Of

Loperamide (Imodium) is the anti-diarrheal drug most adults reach for. It works by slowing gut motility, essentially telling your intestines to stop moving so fast. It is effective at reducing stool frequency, but doctors generally discourage it for viral gastroenteritis, especially in children. Slowing the gut can trap the virus and its toxins inside longer, and in severe infections it can mask worsening illness.

Racecadotril takes a different approach. Instead of slowing gut movement, it reduces the amount of water and electrolytes secreted into the intestine. This means it treats the watery diarrhea at its source without the motility-suppressing side effects. In a randomized controlled trial, children receiving racecadotril had about half the stool output of those on placebo over 48 hours.8PubMed. Racecadotril in the treatment of acute watery diarrhea in children A second trial confirmed significantly lower stool output at both 24 and 48 hours, with good tolerability and no difference in effect based on whether the virus was rotavirus or something else.9Gastroenterology. Efficacy and tolerability of racecadotril in acute diarrhea in children

A large meta-analysis of 24 studies found that racecadotril reduced the average time to cure from about 106 hours to about 78 hours, shaving roughly a day off the illness.10PubMed Central. Racecadotril in the treatment of acute diarrhea in children: a systematic, comprehensive review and meta-analysis of randomized controlled trials Racecadotril is available by prescription in many European and Latin American countries but is not approved in the United States or Canada, which is why it remains largely unknown in those markets. If you are in a country where it is available, it is worth discussing with a doctor for cases of significant watery diarrhea.

Remedies That Do Not Hold Up

Activated charcoal is a perennial suggestion on wellness blogs. The idea sounds plausible: charcoal adsorbs toxins in the gut, so maybe it can grab onto viruses too. An in vitro study did find that charcoal and clay minerals could adsorb rotavirus and coronavirus particles at very high rates. But there was a catch: the virus-adsorbent complex retained its infectivity and may have actually enhanced it.11PubMed Central. In vitro studies on the use of clay, clay minerals and charcoal to adsorb bovine rotavirus and bovine coronavirus In other words, the charcoal grabbed the virus but did not neutralize it. Binding something and destroying something are not the same thing. There is no clinical trial evidence that activated charcoal shortens or eases a stomach virus in humans.

Flat soda, ginger ale, and apple juice are other traditional go-tos. Ginger itself has some evidence for nausea relief in other contexts (pregnancy, post-surgery), but commercial ginger ale contains very little actual ginger and a lot of sugar. The carbonation can also increase bloating and discomfort. Flat cola has a similar problem: it is essentially sugar water with no electrolytes. If these drinks are all someone can keep down, they are better than nothing, but they should not replace a proper oral rehydration solution when dehydration is a real risk.

Preventing Spread at Home

Stomach viruses, particularly norovirus, are spectacularly contagious. A tiny number of viral particles is enough to infect someone, and the virus survives well on surfaces. If one person in your household gets sick, containment matters.

The first thing to know is that alcohol-based hand sanitizers are not your friend here. Research on Norwalk virus (an older name for norovirus) found that ethanol-based sanitizers gave at most a half-log reduction in viral particles on hands, while liquid soap and water produced substantially better results.12PubMed Central. Effectiveness of liquid soap and hand sanitizer against Norwalk virus on contaminated hands Another study confirmed that washing with soap and water for 30 seconds completely removed norovirus from finger pads, while alcohol-based disinfectants showed inconsistent and often poor results.13PubMed. Reducing viral contamination from finger pads: handwashing is more effective than alcohol-based hand disinfectants Soap and water, with real scrubbing, is the gold standard. Hand sanitizer is a distant second for norovirus.

For surfaces like countertops, doorknobs, and bathroom fixtures, bleach is the most reliable disinfectant. Sodium hypochlorite (household bleach) at concentrations of about 1,000 to 5,000 parts per million effectively inactivated norovirus surrogates on hard surfaces with a contact time of 5 to 10 minutes.14American Journal of Infection Control. Efficacy of common disinfectant/cleaning agents in inactivating murine norovirus and feline calicivirus as surrogate viruses for human norovirus 15Journal of Food Protection. Recovery and Disinfection of Two Human Norovirus Surrogates, Feline Calicivirus and Murine Norovirus, from Hard Nonporous and Soft Porous Surfaces A practical dilution is about one-third cup of regular household bleach per gallon of water. Many “antibacterial” sprays and wipes that work well against bacteria do not reliably kill norovirus, so check the label for a norovirus or calicivirus claim, or just use bleach.

How Long You Stay Contagious

This is where stomach viruses get frustrating. You can feel fine and still be shedding virus. In elderly patients, the average duration of norovirus excretion was about 14 days, with shedding lasting as long as 32 days in some individuals. All follow-up stool samples collected between 7 and 10 days after symptom onset still tested positive.16Journal of Hospital Infection. Duration of norovirus excretion and the longitudinal course of viral load in norovirus-infected elderly patients In infants and young children, shedding can persist even longer. Three infants under six months continued to excrete norovirus for more than 42 to 47 days after becoming sick.17The Pediatric Infectious Disease Journal. Prolonged Norovirus Shedding in Infants ≤6 Months of Age With Gastroenteritis Roughly a quarter of all norovirus-infected people shed virus for three weeks or more.18Clinical Infectious Diseases. Preventing Norovirus Transmission: How Should We Handle Food Handlers?

From a practical standpoint, this means the common “stay home for 24 hours after symptoms stop” advice is probably too short. Research on care home outbreaks found that a 72-hour exclusion policy after symptoms resolved led to fewer staff cases and a lower overall attack rate than a 48-hour policy.19PubMed. Effect of exclusion policy on the control of outbreaks of suspected viral gastroenteritis: Analysis of outbreak investigations in care homes If you work in food service, healthcare, or childcare, waiting at least 48 to 72 hours after your last symptom before returning is a meaningful way to reduce the chance of passing the virus along. Meticulous hand hygiene with soap and water, not sanitizer, should continue for at least two weeks after illness.

Do You Need Testing?

Rapid multiplex panels that test stool samples for a dozen or more gastrointestinal pathogens at once have become widely available. They can identify the specific virus (norovirus, rotavirus, adenovirus, and others) in hours rather than days. But for the average person with a stomach bug, testing rarely changes what you do. A review of the clinical implications of these panels concluded that there is insufficient evidence to recommend their routine use for the average patient with acute gastroenteritis.20PubMed Central. Clinical Implications of Multiplex Pathogen Panels for the Diagnosis of Acute Viral Gastroenteritis

Testing becomes more useful in specific scenarios: when someone is immunocompromised and the treatment might differ, during institutional outbreaks where public health authorities need to identify the pathogen, or when symptoms are severe enough that distinguishing viral from bacterial gastroenteritis could change the treatment plan (bacterial infections sometimes warrant antibiotics, viral ones never do). For a typical case of three miserable days at home, knowing the exact virus responsible does not change the management.

When Symptoms Linger After the Virus Is Gone

Most stomach viruses run their course in one to three days. But some people notice that their gut does not quite go back to normal for weeks or even months afterward. Loose stools, bloating, cramping, and food intolerances can hang around long after the virus is cleared. This is a recognized condition called post-infectious irritable bowel syndrome.21PubMed Central. Post-infectious irritable bowel syndrome

After an acute bout of gastroenteritis, up to a third of patients report prolonged gastrointestinal complaints, and a portion of those will meet the formal criteria for IBS. The mechanism appears to involve lingering immune activation in the gut lining, altered intestinal permeability, and changes in motility that persist after the infection itself resolves. People who had a longer or more severe initial infection and those with pre-existing anxiety or depression appear to be at higher risk.22Clinical Infectious Diseases. Postinfectious Irritable Bowel Syndrome If your digestion still feels off a month after a stomach virus, it is worth mentioning to your doctor rather than assuming something new is wrong. Post-infectious IBS often improves gradually on its own, though some people need dietary adjustments or medication to manage it.

Immunity After a Stomach Virus

One of the reasons adults keep getting stomach viruses throughout their lives is that immunity to norovirus, the most common culprit, does not last very long. Modeling estimates put the duration of protection at roughly four to nine years, depending on the strain and the individual.23PubMed Central. Duration of Immunity to Norovirus Gastroenteritis That is a wide range, and it helps explain why some people seem to catch stomach bugs repeatedly while others go years between episodes.

Norovirus also mutates in ways that resemble how influenza evolves. The dominant strain, GII.4, has caused repeated global epidemics by undergoing antigenic drift, essentially changing its surface proteins enough that previous immunity no longer recognizes it.23PubMed Central. Duration of Immunity to Norovirus Gastroenteritis 24Clinical Infectious Diseases. Gastrointestinal Flu: Norovirus in Health Care and Long-Term Care Facilities This is part of why a norovirus vaccine has been so difficult to develop, though several candidates are currently in clinical trials. Rotavirus, the other major stomach virus, already has effective vaccines given to infants. That vaccine program has dramatically reduced severe rotavirus illness in children worldwide but does not protect against norovirus or the other viruses that cause gastroenteritis in older children and adults.

All of this means that for the foreseeable future, stomach viruses will remain a recurring part of life. The toolkit for dealing with them is not glamorous: rehydration solutions, soap and water, a handful of medications with good evidence, and patience. But knowing which tools actually work and which are popular myths is the difference between a rough few days and a trip to the emergency department.