No pill or remedy will make a stomach bug vanish overnight, but the right combination of fluid replacement, rest, and a few evidence-backed strategies can meaningfully shorten how long you feel miserable. Most viral gastroenteritis runs its course in one to three days, with norovirus, the most common culprit in adults, carrying a median incubation period of roughly 1.2 days before symptoms even begin. The illness itself is self-limiting, which means your body will clear it without medical treatment. Your job at home is to keep dehydration at bay, give your immune system the conditions it needs to work, and avoid a handful of mistakes that make things worse.
Why Rehydration Matters More Than Anything Else
Vomiting and diarrhea drain your body of water and electrolytes at a startling rate. Dehydration, not the virus itself, is what sends most stomach-bug patients to the emergency room. So the single most impactful thing you can do at home is replace fluids aggressively, starting as soon as symptoms appear.
Water alone is better than nothing, but it does not replace the sodium and potassium you are losing. Oral rehydration solutions work because the sodium-glucose cotransporter in your intestinal lining pulls water into the body along with sugar and salt. Research on this mechanism suggests the cotransporter accounts for a substantial share of total daily intestinal water absorption, which is why sipping a glucose-and-salt solution is far more effective than plain water when your gut is inflamed.
What counts as a good rehydration drink? A trial comparing a commercial electrolyte solution, a pediatric oral rehydration product, and a popular sports drink in adults with viral gastroenteritis found that stool frequency, consistency, and body weight improved in all three groups with no significant difference between them. The catch was that the sports-drink group showed more cases of low potassium and low sodium at various time points.1PubMed. Oral rehydration for viral gastroenteritis in adults: a randomized, controlled trial of 3 solutions So a sports drink will keep you hydrated in a pinch, but a proper oral rehydration solution or even a homemade version (roughly six teaspoons of sugar and half a teaspoon of salt per liter of water) is a safer bet if your symptoms are severe.
For children, a large trial found that dilute apple juice followed by the child’s preferred fluids actually led to fewer treatment failures than a standard electrolyte maintenance solution, and fewer of those children ended up needing intravenous fluids.2JAMA. Effect of Dilute Apple Juice and Preferred Fluids vs Electrolyte Maintenance Solution Among Children With Mild Gastroenteritis The takeaway is practical: a child who refuses to drink an electrolyte solution but will sip watered-down juice is better off drinking something than drinking nothing.
The best approach is small, frequent sips rather than gulping a full glass. If you are vomiting, wait about fifteen minutes after an episode and try a few tablespoons at a time. Increase the amount as your stomach settles. Ice chips can help if even small sips trigger nausea.
What to Eat and When to Start
You have probably heard of the BRAT diet: bananas, rice, applesauce, and toast. It has fallen somewhat out of favor with pediatric guidelines because it is nutritionally incomplete if followed for more than a day or two, but the underlying logic is sound. Bland, low-fiber, low-fat foods are easier on an irritated gut. The goal is not to starve the virus out. It is to give your intestines something gentle to work with so you can maintain energy without provoking more vomiting or diarrhea.
Start eating as soon as you can tolerate it. Fasting for extended periods does not speed recovery, and it may slow it by depriving your body of the calories it needs to mount an immune response. Good early choices include plain crackers, boiled potatoes, broth-based soups, and plain pasta. Avoid dairy products for the first day or two, greasy or heavily spiced foods, caffeine, and alcohol. Caffeine and alcohol both promote fluid loss, which is the last thing you need.
One nutrient worth calling out is zinc. A systematic review of zinc supplementation during acute diarrhea found it reduced the average duration of illness by about 20%, though it also raised the risk of vomiting.3PLoS ONE. Therapeutic Value of Zinc Supplementation in Acute and Persistent Diarrhea: A Systematic Review Most of this research has been done in children in low- and middle-income settings where zinc deficiency is common, so the benefit for a well-nourished adult is less certain. Still, if your diet has been poor in the lead-up to the illness, a short course of zinc lozenges or tablets is unlikely to hurt and may help.
Ginger for Nausea and Vomiting
Ginger is one of the few traditional remedies with real clinical backing for stomach bugs. A randomized controlled trial in children with acute gastroenteritis found that ginger reduced the incidence of vomiting by about 20 percentage points compared to placebo, with fewer vomiting episodes on both the first and second days of illness.4PubMed Central. Efficacy of ginger as antiemetic in children with acute gastroenteritis: a randomised controlled trial Broader reviews confirm that ginger’s active compounds, gingerols and shogaols, have genuine antiemetic properties that have held up across contexts including pregnancy nausea and chemotherapy-related nausea.5PubMed Central. The Effectiveness of Ginger in the Prevention of Nausea and Vomiting during Pregnancy and Chemotherapy
The easiest way to use ginger at home is to steep fresh sliced ginger root in hot water for ten minutes and sip it as a tea. Powdered ginger in capsules also works. Ginger ale from the grocery store is a less reliable option because many brands contain very little actual ginger and a lot of sugar, which can worsen diarrhea. If you go with ginger ale, check the ingredients for real ginger extract and dilute it with water to cut the sugar content.
Over-the-Counter Medications
Most stomach bugs do not need medication, but a couple of over-the-counter options are worth knowing about when symptoms are especially rough.
Anti-nausea drugs are the most useful category. Ondansetron, originally developed for chemotherapy patients, has become widely used for gastroenteritis-related vomiting. A meta-analysis of six trials found that ondansetron cut the risk of further vomiting roughly in half and reduced the need for intravenous fluids by a similar margin.6Archives of Pediatrics & Adolescent Medicine. Use of Antiemetic Agents in Acute Gastroenteritis: A Systematic Review and Meta-analysis One downside: diarrhea episodes increased in some studies, which makes sense since the medication helps you keep fluids down rather than vomiting them up, and the fluid has to go somewhere. In many countries, ondansetron requires a prescription, so call your doctor or a telehealth service if vomiting is so persistent that you cannot keep fluids down at all.
Anti-diarrheal medications like loperamide can reduce the number of trips to the bathroom, but they work by slowing gut motility, which means the virus or bacteria stays in contact with your intestinal lining longer. For a straightforward viral stomach bug in an otherwise healthy adult, a dose or two of loperamide is generally considered safe if you need to, say, make it through a flight or a meeting. But it should not be your first-line strategy, and it is not recommended for young children or for anyone with bloody diarrhea or high fever, which could signal a bacterial infection that needs different treatment.
Avoid antibiotics unless a doctor has confirmed a bacterial cause. Antibiotics do nothing against viruses, and taking them unnecessarily disrupts the gut bacteria that are helping you recover.
Sleep and Rest Are Not Optional
It is tempting to power through a stomach bug, especially if symptoms seem mild. But sleep is one of your immune system’s most powerful tools. Research on the relationship between sleep and immunity shows that sleep enhances your body’s infection-fighting responses, partly through hormonal changes that support immune cell activity.7PubMed Central. The Sleep-Immune Crosstalk in Health and Disease Conversely, sleep deprivation weakens immunity and increases susceptibility to infections.8PubMed Central. The Bidirectional Relationship between Sleep and Immunity against Infections
Your body is already telling you to rest: the fatigue and achiness that accompany a stomach bug are your immune system redirecting resources. Listen to it. Cancel plans, stay home from work, and sleep as much as your body wants. This is not just about comfort. Adequate rest genuinely shortens the window of illness by giving your immune response the best conditions to do its job.
Stopping the Spread Inside Your Home
Norovirus, the most common cause of adult stomach bugs, is notoriously contagious. A person can shed billions of viral particles in a single bout of diarrhea, and it takes fewer than twenty particles to infect someone else. If you live with other people, containment matters.
The single most important habit is handwashing with soap and water, not hand sanitizer. Multiple studies have shown that alcohol-based hand sanitizers are largely ineffective against norovirus, producing minimal reduction in viral particles on contaminated hands.9PubMed Central. Effectiveness of liquid soap and hand sanitizer against Norwalk virus on contaminated hands Soap and the physical friction of scrubbing for at least twenty seconds is what dislodges the virus.
For surfaces, you need a bleach-based cleaner. Research consistently shows that sodium hypochlorite (household bleach) is the most effective disinfectant against norovirus, while ethanol-based cleaners barely make a dent even at high concentrations.10Food Control. Efficacy of chemical disinfectant compounds against human norovirus A practical bleach solution for home use is about five tablespoons of standard household bleach per gallon of water. Focus on high-touch surfaces: toilet handles, faucets, doorknobs, light switches, and countertops. Research on household hygiene found fecal contamination on bathroom taps, soap dispensers, and even living-room surfaces, so do not limit your cleaning to the bathroom.11PubMed. Hygiene in the home: relating bugs and behaviour
If someone in the house has vomited, clean the area immediately while wearing disposable gloves. Norovirus can become aerosolized during vomiting, so wipe a wider area than just the visible mess. Launder contaminated clothing and bedding on the hottest setting available, and keep the sick person’s towels separate from everyone else’s. The infected person remains contagious for at least two days after symptoms stop, sometimes longer, so maintain these precautions for a few days after recovery.
When a Stomach Bug Needs a Doctor
Most stomach bugs resolve on their own. But certain signs mean you should seek medical care rather than toughing it out at home. The most important warning sign is dehydration that you cannot correct with oral fluids. In adults, this looks like very dark urine or no urine output for eight or more hours, dizziness upon standing, dry mouth, or a rapid heartbeat. In children, research identifies abnormal skin turgor (when you pinch the skin on the back of the hand and it stays tented), slow capillary refill, and abnormal breathing pattern as the most reliable clinical predictors of significant dehydration.12PubMed Central. The management of children with gastroenteritis and dehydration in the emergency department
Other red flags that warrant a call to your doctor or a visit to urgent care:
- High fever: a temperature above 102°F (39°C) that does not respond to acetaminophen or ibuprofen.
- Bloody stool: this can signal a bacterial infection or another condition that needs specific treatment.
- Symptoms lasting more than three days: most viral gastroenteritis resolves faster. Prolonged illness may point to a bacterial cause or a complication.
- Severe abdominal pain: cramping is normal, but sharp, localized pain is not typical of a straightforward stomach bug.
- Vulnerable groups: infants, elderly adults, pregnant women, and anyone with a weakened immune system should have a lower threshold for seeking care because dehydration progresses faster and complications are more likely.
Probiotics and Whether They Help
Probiotic supplements are widely marketed for digestive health, and there is some evidence they can modestly shorten a bout of gastroenteritis. A study of children with rotavirus-related diarrhea found that specific strains of Bifidobacterium longum and Lactobacillus acidophilus reduced the duration of diarrhea by about one day compared to placebo, with no adverse effects.13PubMed. Probiotic bacteria, B. longum and L. acidophilus inhibit infection by rotavirus in vitro and decrease the duration of diarrhea in pediatric patients That said, the effect is strain-specific: not every probiotic product on the shelf contains the strains that have been tested in gastroenteritis, and some larger trials have found little to no benefit from commonly available formulations.
If you want to try probiotics, look for products that specify the bacterial strains on the label, ideally Lactobacillus or Saccharomyces boulardii, which have the best evidence base for diarrheal illness. Fermented foods like plain yogurt can also introduce beneficial bacteria, though the concentration is much lower than in supplement form. Do not expect probiotics to dramatically speed your recovery. Think of them as a potential nudge in the right direction, not a cure.
Temporary Digestive Problems After the Bug Clears
You survived the worst of it, but your stomach still feels off. This is extremely common and often lasts longer than people expect. Two issues are worth knowing about.
The first is temporary lactose intolerance. Viral gastroenteritis damages the cells lining your small intestine, and those cells are where lactase, the enzyme that digests milk sugar, is produced. Until the lining regenerates, dairy products can trigger bloating, cramps, and diarrhea that mimic a relapse. This is not a permanent change. In children especially, post-infectious lactose intolerance is typically transient and resolves as the gut heals.14PubMed Central. Lactose intolerance and gastrointestinal cow’s milk allergy in infants and children – common misconceptions revisited Avoiding or limiting dairy for a week or two after recovery usually solves the problem.
The second is post-infectious irritable bowel syndrome, or PI-IBS. Published studies report that somewhere between 5% and 32% of people who have an episode of acute gastroenteritis go on to develop IBS-like symptoms: bloating, altered bowel habits, and abdominal discomfort that can persist for months or even years.15PubMed Central. Post-infectious irritable bowel syndrome The mechanisms are not fully understood but appear to involve low-grade inflammation that lingers in the gut wall, changes in intestinal permeability, and shifts in the composition of gut bacteria.
Certain factors raise the risk. More severe initial illness, particularly diarrhea lasting more than three weeks, increases the odds substantially. One study found that diarrhea lasting 15 to 21 days carried a relative risk of over six for developing IBS symptoms six months later, with even higher risk when symptoms persisted beyond three weeks.16BMJ. Prevalence of gastrointestinal symptoms six months after bacterial gastroenteritis and risk factors for development of the irritable bowel syndrome Female sex is also a risk factor, as are pre-existing anxiety and stressful life events around the time of infection.17Gastroenterology. Postinfectious irritable bowel syndrome
If your bowel habits have not returned to normal a month after your stomach bug, it is worth mentioning to your doctor. PI-IBS is treatable, and knowing that it stems from an infection rather than appearing out of nowhere can help guide the right approach to managing it. For most people, though, gut function returns to baseline within a few weeks of the acute illness, especially if you reintroduce a normal varied diet gradually and give your microbiome time to re-establish itself.