Staying hydrated is the single most important thing you can do at home during a stomach bug, and everything else you try is secondary to that goal. Most cases of viral gastroenteritis resolve on their own within one to three days, and the real danger for most people isn’t the virus itself but the fluid and electrolyte losses from vomiting and diarrhea. The good news is that you can manage the vast majority of stomach bugs without ever leaving home, as long as you know which fluids to drink, what to eat, and which warning signs mean it’s time to call a doctor.
Why Fluid Replacement Matters More Than Anything Else
Every bout of vomiting or diarrhea pulls water, sodium, and potassium out of your body. If those losses aren’t replaced, you slide toward dehydration, which can make you feel dramatically worse and, in vulnerable people like young children or older adults, become dangerous. Your first priority from the moment symptoms start is to keep sipping fluids.
The gold standard is oral rehydration solution (ORS), which you can buy at most pharmacies. ORS works so well because of the specific balance of sodium and glucose it contains. Both of those ingredients activate a transporter in the lining of the gut that pulls water from the intestine into the bloodstream. Research shows the optimal sodium-to-glucose ratio for driving that absorption sits around 0.73, and standard formulations from the WHO and European pediatric guidelines fall within that effective range.1PubMed Central. Potency of Oral Rehydration Solution in Inducing Fluid Absorption is Related to Glucose Concentration In practical terms, that means a slightly sweet, mildly salty drink is ideal. If the drink is too sugary or too concentrated, it can actually pull water in the wrong direction, out of your blood and into the gut, making diarrhea worse.2PubMed Central. The Hydrating Effects of Hypertonic, Isotonic and Hypotonic Sports Drinks and Waters on Central Hydration During Continuous Exercise: A Systematic Meta-Analysis and Perspective
This is why reaching for fruit juice, soda, or even sports drinks isn’t a perfect substitute. An analysis of nearly 90 commercial clear fluids, including juices, carbonated beverages, and soups, found enormous variation in their sodium and sugar content, with osmolality values ranging from 246 to over 2,000 mOsm per kilogram.3PubMed Central. Oral fluid therapy: sodium and potassium content and osmolality of some commercial “clear” soups, juices and beverages Many of those sit well above the range that helps absorption. If ORS packets aren’t handy, you can dilute apple juice roughly half-and-half with water and add a pinch of salt, or sip clear broth alternated with water. That’s not a perfect ORS, but it gets you closer than full-strength juice or a cola.
Sip small amounts frequently rather than gulping large volumes. If you’re vomiting, try a tablespoon or two every few minutes. A stomach that is irritated and empty is more likely to tolerate tiny, steady sips than a big glass all at once. If even small sips come right back up for more than a few hours, that’s a sign you may need medical help.
What to Eat and What to Skip
The old advice to stick to the “BRAT” diet (bananas, rice, applesauce, toast) for days on end has largely fallen out of favor among pediatric and gastroenterology experts. European guidelines for managing acute gastroenteritis now recommend continuing a regular diet, including milk, without special restrictions once you can keep food down.4PubMed. European Society for Pediatric Gastroenterology, Hepatology, and Nutrition/European Society for Pediatric Infectious Diseases evidence-based guidelines for the management of acute gastroenteritis in children in Europe: update 2014 The reasoning is straightforward: your gut heals faster when it has nutrients to work with, and prolonged fasting or extremely restrictive eating slows recovery.
That said, some people do find dairy uncomfortable during or right after a stomach bug. This happens because the virus can temporarily damage the cells in your intestinal lining that produce lactase, the enzyme that breaks down the sugar in milk.5PubMed Central. Lactose avoidance for young children with acute diarrhoea This kind of temporary lactose intolerance is especially common in young children and usually clears up once the gut lining repairs itself, which typically takes a few days to a couple of weeks.6PubMed Central. Lactose intolerance and gastrointestinal cow’s milk allergy in infants and children – common misconceptions revisited If a glass of milk triggers cramping or more diarrhea, switching to yogurt (where bacteria have already partially digested the lactose) or waiting a few days before reintroducing milk is reasonable. But there’s no need to pre-emptively eliminate dairy if it doesn’t bother you.
The foods most people tolerate well when they’re ready to eat again are bland, easy to digest, and not too fatty or spicy: plain rice, toast, crackers, broth-based soups, bananas, boiled potatoes. Avoid alcohol, caffeine, and very greasy or heavily spiced meals until you feel back to normal, as all of those can irritate an already inflamed gut.
Over-the-Counter Medications
Most stomach bugs don’t need medication, but a few things on the pharmacy shelf can ease symptoms if used correctly.
Loperamide (the active ingredient in Imodid) slows the muscle contractions in your intestinal wall, giving the gut more time to absorb fluid and reducing the frequency of watery stools. A systematic review found that loperamide, taken at the manufacturer’s recommended dose, is a safe and effective option for mild-to-moderate diarrhea and performs about as well as antibiotics for non-severe traveler’s diarrhea.7Travel Medicine and Infectious Disease. Systematic review of loperamide: No proof of antibiotics being superior to loperamide in treatment of mild/moderate travellers’ diarrhoea It’s fine for most adults but should not be used in young children, and you should avoid it if you have a high fever or bloody stools, which could signal a bacterial infection where slowing the gut isn’t helpful.
Bismuth subsalicylate (Pepto-Bismol) can help with nausea and loose stools in adults. For children, though, it’s generally not recommended because of limited effectiveness and concerns about Reye syndrome, a rare but serious condition linked to salicylate products in kids.8PubMed Central. Bismuth salicylate for diarrhea in children It can also turn your tongue and stool black, which is harmless but alarming if you aren’t expecting it.
Acetaminophen (Tylenol) is useful if you have a fever or body aches. Ibuprofen and other NSAIDs can work too, but they’re harder on an already irritated stomach, so acetaminophen is the gentler choice while your gut is inflamed.
When Vomiting Won’t Stop
Persistent vomiting is the part of a stomach bug that can derail everything, because you can’t rehydrate if nothing stays down. For children in particular, ondansetron (commonly known by the brand name Zofran) can be a game-changer. In a randomized trial, children given a single oral dose of ondansetron in an emergency department were far less likely to vomit compared to those given a placebo (about 14% versus 35%), and they tolerated more oral fluids, making IV rehydration less necessary.9PubMed. Oral ondansetron for gastroenteritis in a pediatric emergency department
A meta-analysis confirmed those findings and added some nuance: ondansetron roughly halved the risk of needing IV fluids and cut the chance of hospitalization, though it didn’t reduce return visits to the emergency department.10PubMed. Systematic review with meta-analysis: ondansetron for vomiting in children with acute gastroenteritis The vomiting benefit was strongest in the first hour after taking the medication. Ondansetron requires a prescription in most countries, so if vomiting is relentless, calling your doctor or visiting urgent care for a short course can prevent a longer and more expensive hospital stay.
Probiotics and Zinc
Two supplements have attracted serious research attention for acute diarrhea: specific probiotic strains and zinc.
Lactobacillus rhamnosus GG (often labeled “LGG” on supplement bottles) is the most studied probiotic for stomach bugs. A meta-analysis of 19 randomized trials found that LGG shortened the duration of diarrhea by roughly 24 hours on average, with the best results seen at higher doses and when given within the first three days of illness.11PubMed Central. Efficacy of Lactobacillus rhamnosus GG in treatment of acute pediatric diarrhea: A systematic review with meta-analysis An observational study of children taking LGG found that the average total diarrhea duration was about 45 hours, with stool frequency dropping significantly from around 8 episodes on day one to fewer than 2 by day five.12PubMed Central. Lactobacillus rhamnosus GG Evaluation in Acute Diarrhea (LEAD): An Observational Study The evidence is strongest in children, and not all probiotic strains are interchangeable. If you’re looking for a probiotic specifically to help with a stomach bug, look for LGG by name on the label.
Zinc is recommended by the WHO for children with acute diarrhea in low- and middle-income settings, and the evidence behind that recommendation is robust. A systematic review and meta-analysis found that zinc supplementation reduced diarrhea duration by about 13 hours and increased the proportion of children who recovered at follow-up.13PubMed Central. Zinc supplementation for acute and persistent watery diarrhoea in children: A systematic review and meta-analysis Earlier trials reported even larger effects on both duration and severity.14PubMed. Zinc supplementation in young children with acute diarrhea in India Much of this research comes from populations where zinc deficiency is common, so the benefit for well-nourished adults in high-income countries may be smaller. Still, zinc is inexpensive and safe at typical doses, and starting a short course at the onset of diarrhea is unlikely to hurt.
Keeping the Bug From Spreading
Stomach bugs are notoriously contagious, and the most common culprit, norovirus, is especially hard to kill. One finding that surprises many people: alcohol-based hand sanitizer is relatively ineffective against norovirus. A study testing sanitizers on contaminated hands found that they reduced viral particles by a negligible amount, less than half a log reduction, which in practical terms means most of the virus stays right where it was.15PubMed Central. Effectiveness of liquid soap and hand sanitizer against Norwalk virus on contaminated hands Washing with soap and water for at least 30 seconds is significantly better, achieving over a 3-log reduction in viral infectivity, meaning it removes more than 99.9% of the virus.16PubMed. Reducing viral contamination from finger pads: handwashing is more effective than alcohol-based hand disinfectants
Surfaces matter too. If someone in the household has been vomiting, contaminated countertops, toilet handles, and doorknobs can spread the virus for days. Standard household cleaners may not be enough. The most effective surface disinfectant for norovirus is bleach (sodium hypochlorite) at a concentration of roughly 1,000 to 5,000 parts per million, with a contact time of at least five to ten minutes.17American Journal of Infection Control. Efficacy of common disinfectant/cleaning agents in inactivating murine norovirus and feline calicivirus as surrogate viruses for human norovirus In practical terms, that’s about a quarter cup of regular household bleach per gallon of water. Spray the surface, leave it wet for at least five minutes, then wipe.
A few more practical steps help contain the spread:
- Isolate laundry: Wash soiled towels and clothing separately in hot water, and use the hottest dryer setting. Handle them wearing gloves if possible.
- Designate a bathroom: If your home has more than one, assign the sick person their own bathroom until at least 48 hours after symptoms stop.
- Don’t prepare food: The sick person should stay out of the kitchen until at least two days after recovery. Norovirus can still be shed in stool for days after you feel better.
Spotting Dehydration Before It Gets Serious
Knowing when home management is enough and when to seek help hinges mostly on recognizing dehydration. In adults, the signs are intuitive: a dry mouth, dark urine, dizziness when standing, and feeling unusually fatigued. In young children, who can dehydrate faster and can’t always tell you how they feel, you need to look more carefully.
A systematic review in JAMA evaluated which physical signs best predict meaningful dehydration in children. The most useful individual signs were a slow capillary refill time (press a fingernail and count how long it takes for the color to return), reduced skin turgor (gently pinch the skin on the back of the hand or abdomen and watch whether it snaps back or stays tented), and an abnormal breathing pattern. Combinations of these signs performed better than any single one alone.18JAMA. Is This Child Dehydrated?
Other red flags that should prompt a call to your doctor or a trip to urgent care include:
- Blood in vomit or stool: This may suggest a bacterial infection or another cause that needs specific treatment.
- High fever lasting more than a day or two: Viral stomach bugs can cause a mild fever, but a persistent temperature over 102°F (39°C) in adults or any fever in an infant under three months warrants medical evaluation.
- No urine output for 8 or more hours: In a baby, fewer than 3 wet diapers in 24 hours is a similar warning sign.
- Inability to keep down any fluids for several hours: If even tiny sips keep coming back up, IV fluids may be needed.
- Severe abdominal pain: Cramping is normal with a stomach bug, but intense, localized pain, especially in the lower right abdomen, can signal something other than gastroenteritis.
Older adults, pregnant women, people with diabetes, and anyone on immunosuppressive medications should have a lower threshold for seeking care, because dehydration and electrolyte imbalances can escalate faster in those groups.
Digestive Issues That Linger After the Bug Is Gone
For most people, a stomach bug is an unpleasant few days and then life returns to normal. But a meaningful minority develop lingering digestive symptoms that persist weeks or even months after the infection has cleared. This is known as post-infectious irritable bowel syndrome, and it’s more common than many people realize.19PubMed Central. Post-infectious irritable bowel syndrome Roughly one in ten people who develop IBS can trace the start of their symptoms to a specific bout of gastroenteritis.20PubMed Central. Post-infectious irritable bowel syndrome: mechanistic insights into chronic disturbances following enteric infection
Symptoms include bloating, cramping, altered stool patterns (diarrhea-predominant is most common), and urgency. They can appear even after a relatively mild stomach bug, and they tend to be more likely after severe infections. A long-term follow-up study of people infected with Shigella bacteria found that the risk of developing IBS remained significantly elevated at one year and was still above baseline at three years.21PubMed Central. Long-term Clinical Course of Post-infectious Irritable Bowel Syndrome After Shigellosis: A 10-year Follow-up Study
If your stomach bug has passed but you’re still having irregular bowel habits or cramping a month later, it’s worth mentioning to your doctor. Post-infectious IBS is a recognized condition with management strategies, and knowing that it started with an infection can steer your doctor toward the right approach rather than a long diagnostic workup looking for other causes. The reassuring part is that for most people, symptoms do gradually improve over months, even without specific treatment.
Antibiotics and Stomach Bugs
One of the most common misconceptions about stomach bugs is that you need antibiotics. The vast majority of cases are caused by viruses, particularly norovirus and rotavirus, and antibiotics do nothing against viruses. Even many bacterial causes of gastroenteritis (certain strains of E. coli or Salmonella, for example) resolve without antibiotics in healthy adults. In fact, using antibiotics unnecessarily during a stomach bug can make things worse by disrupting the beneficial bacteria in your gut, sometimes triggering antibiotic-associated diarrhea on top of what you already have.
Antibiotics are appropriate in specific situations: confirmed or strongly suspected bacterial infections with severe symptoms, traveler’s diarrhea that isn’t responding to supportive care, or in people with weakened immune systems who can’t afford to wait out a bacterial infection. But for the typical stomach bug that lasts a few days, asking your doctor for antibiotics won’t speed your recovery and may slow it.
The same principle applies to antiviral medications. There is no approved antiviral drug for norovirus or rotavirus, so the treatment is purely supportive: fluids, rest, and time. If your symptoms are classic for a viral stomach bug and you’re managing fluids at home, there is simply no prescription that will make the virus leave any faster.