Most stomach bugs last 1 to 3 days, though some can stretch to a week or longer depending on the cause. The worst symptoms, vomiting and watery diarrhea, typically peak within the first 24 to 48 hours and then gradually taper off. If you’re past the three-day mark and not improving, that’s a signal to pay closer attention to what’s going on.
Viral Stomach Bugs: The Most Common Type
The vast majority of stomach bugs are caused by viruses, and norovirus is the biggest culprit. Symptoms appear 12 to 48 hours after exposure and most people feel better within 1 to 3 days. It hits hard and fast: intense nausea, vomiting, and diarrhea that can make you feel completely wiped out, but it also resolves relatively quickly.
Rotavirus follows a different pattern, especially in young children. Vomiting and watery diarrhea from rotavirus can last 3 to 8 days, which is noticeably longer than norovirus. Adults who catch rotavirus tend to have milder symptoms and a shorter course than kids do. Thanks to routine childhood vaccination, rotavirus is far less common than it used to be, but it still circulates.
Bacterial Infections Take Longer
If your stomach bug came from contaminated food (undercooked chicken, unpasteurized dairy, improperly stored leftovers), there’s a good chance it’s bacterial rather than viral. Bacterial infections generally last longer and feel more severe.
Campylobacter, one of the most common causes of food poisoning, takes 2 to 5 days to show up after you’ve eaten contaminated food, and symptoms usually resolve within 7 days. Salmonella follows a similar timeline. The key difference from viral bugs is the incubation period: bacterial infections often have a longer gap between exposure and symptoms, which can make it harder to pinpoint the source. Some bacterial infections also cause bloody diarrhea or high fever, which are less typical of viral stomach bugs.
A Day-by-Day Timeline
Here’s roughly what to expect with a typical viral stomach bug:
- Day 1: Symptoms ramp up quickly. Vomiting is usually worst in the first 12 to 24 hours. You may not be able to keep anything down.
- Day 2: Vomiting often eases, but diarrhea continues. Fatigue and body aches are common. This is the day dehydration risk is highest because you’ve already lost a lot of fluid.
- Day 3: Most people turn a corner. Diarrhea slows, appetite starts to return, and energy gradually picks up.
- Days 4 to 7: Lingering loose stools and low energy are normal. Full recovery can take up to a week even after the acute symptoms are gone.
Dehydration Is the Real Danger
The stomach bug itself is rarely dangerous for otherwise healthy adults. Dehydration is what sends people to the emergency room. When you’re losing fluids from both ends and can’t keep water down, your body runs a deficit fast.
In adults, watch for extreme thirst, dark-colored urine, urinating much less than usual, dizziness, confusion, or skin that stays pinched up instead of flattening back when you pull it. In babies and young children, the signs are slightly different: no wet diapers for three hours or more, no tears when crying, a sunken soft spot on the head, and unusual crankiness or lack of energy. Children and older adults dehydrate more quickly and need closer monitoring.
Small, frequent sips of water or an oral rehydration solution work better than trying to gulp a full glass at once, which often triggers more vomiting.
What to Eat During Recovery
You’ve probably heard you should stick to bland foods like toast and bananas. The actual evidence says otherwise. Research from the National Institute of Diabetes and Digestive and Kidney Diseases shows that following a restricted diet does not help treat viral gastroenteritis. Once your appetite returns, you can go back to eating your normal diet, even if you still have some diarrhea.
For children, the same applies. Parents should offer kids their usual foods as soon as they’re hungry again. Infants should continue breastfeeding or formula feeding as normal throughout the illness. Withholding food or limiting the diet to clear liquids beyond the initial vomiting phase can actually slow recovery by depriving your body of the calories and nutrients it needs to heal.
How Long You Stay Contagious
You’re most contagious while you have active symptoms and for a few days after they stop. The general recommendation is to stay isolated until at least two days after your last bout of vomiting or diarrhea. Even after you feel fine, your body continues shedding live virus in your stool, and you can remain slightly contagious for up to two weeks after recovering.
This is why stomach bugs tear through households and workplaces. Someone feels better, returns to their routine, and unknowingly passes the virus along. Thorough handwashing with soap and water (not just hand sanitizer, which is less effective against norovirus) is the single best way to break the chain.
Warning Signs That Something Else Is Going On
Most stomach bugs resolve on their own, but certain symptoms suggest you need medical attention. For adults, these red flags include diarrhea lasting more than 2 days, high fever, vomiting so frequent you can’t keep fluids down, six or more loose stools in a single day, severe abdominal pain, and stools that are black, tarry, or contain blood. For children, the thresholds are lower: diarrhea lasting more than a day, any fever in infants, and signs of dehydration like a dry mouth or no tears.
Pregnant women, older adults, people with weakened immune systems, and infants are at higher risk for complications and should contact a provider at the first sign of gastroenteritis rather than waiting it out.
When Gut Symptoms Linger for Weeks or Months
About 1 in 10 people who get a gut infection develop a condition called post-infectious irritable bowel syndrome. Even after the virus or bacteria is completely gone, the digestive system stays hypersensitive. Symptoms include cramping, bloating, alternating diarrhea and constipation, and general gut discomfort that can persist for months.
This isn’t a sign that you’re still infected. It’s your gut’s nervous system recalibrating after the disruption. About half of these cases resolve on their own within six to eight years, though many people improve much sooner. If your stomach bug ended weeks ago but your digestion still feels off, this is a likely explanation and worth discussing with your doctor.

