Most stomach bugs last 1 to 3 days, with viral gastroenteritis typically resolving within 24 to 72 hours of symptom onset. Norovirus clears in about 1 to 3 days, rotavirus runs 3 to 8 days, and bacterial causes such as Salmonella or Campylobacter can persist 2 to 7 days without treatment. Duration depends on the pathogen, your immune status, and how much fluid and electrolyte loss you sustain.
The Mechanism Behind Viral Gastroenteritis
Stomach bugs are not actually stomach problems in most cases. The infection targets the small intestine, where viruses bind to enterocytes — the absorptive cells lining the villi. Norovirus attaches to histo-blood group antigens on these cells, then hijacks the cell's machinery to replicate. Within hours, the infected cells die and slough off, leaving shortened villi that cannot absorb water or nutrients efficiently.
The result is osmotic diarrhea. Unabsorbed sugars and salts pull water into the gut lumen, producing the characteristic watery stool. Meanwhile, the damaged epithelium secretes chloride and water through crypt cells that remain intact. This dual mechanism — malabsorption plus active secretion — explains why diarrhea can be so voluminous even when you have not eaten much.
The immune response determines how quickly this resolves. Your body detects viral RNA through pattern-recognition receptors, triggers interferon production, and recruits natural killer cells and cytotoxic T cells to clear infected enterocytes. This process takes time. The innate response peaks in 24 to 48 hours, and adaptive immunity follows over days. Symptoms fade as new enterocytes migrate from the crypts to replace damaged villi — a repair process that typically completes within 2 to 4 days for norovirus.
Rotavirus works differently. It produces a viral enterotoxin called NSP4 that triggers calcium-dependent chloride secretion, amplifying fluid loss beyond what cell destruction alone would cause. This explains why rotavirus diarrhea tends to last longer — 3 to 8 days — and why it historically caused severe dehydration in young children before vaccination.
Quantified Context: How Long Each Pathogen Lasts
Duration varies substantially by cause. The timeline below reflects typical illness courses in otherwise healthy adults, based on CDC and WHO surveillance data.
| Pathogen | Typical Duration | Peak Symptoms | Contagious Period |
|---|---|---|---|
| Norovirus | 1–3 days | 12–48 hours after exposure | Onset until 48–72 hours after recovery |
| Rotavirus | 3–8 days | 24–72 hours | Before onset until 2 days after recovery |
| Adenovirus (types 40/41) | 1–2 weeks | 3–5 days | Variable, often 1 week |
| Salmonella (nontyphoidal) | 4–7 days | 12–72 hours | Several days to weeks |
| Campylobacter | 2–5 days | 2–5 days | 2–3 weeks untreated |
| Shigella | 5–7 days | 1–3 days | Up to 4 weeks untreated |
| E. coli O157:H7 | 5–10 days | 3–4 days | 1–3 weeks |
Viral causes account for roughly 70% of acute gastroenteritis cases in the United States. Norovirus alone causes about 19 to 21 million illnesses annually, according to CDC estimates. Bacterial causes are less common but tend to last longer and carry higher risk of complications.
The practical takeaway: if your symptoms resolve within 72 hours, a viral cause is most likely. If diarrhea persists beyond a week, bacterial or parasitic causes become more probable, and testing may be warranted.
A Timeline of Symptom Progression
Understanding the expected time course helps you know whether you are on track or falling behind. The table below maps a typical norovirus illness, the most common stomach bug.
| Time Point | What Happens | What You Experience |
|---|---|---|
| Hour 0 | Virus ingested, begins binding enterocytes | None yet |
| Hour 12–24 | Viral replication peaks, villi start to shorten | Sudden nausea, possible vomiting |
| Hour 24–48 | Maximal epithelial damage, osmotic diarrhea begins | Watery diarrhea, abdominal cramps, low fever |
| Hour 48–72 | Immune response kicks in, villi begin regenerating | Symptoms start easing, appetite slowly returns |
| Day 3–4 | Epithelial repair mostly complete | Diarrhea resolves, mild fatigue persists |
| Day 4–7 | Full mucosal recovery | Normal eating resumes, energy returns |
| Day 7–14 | Viral shedding continues (in some people) | No symptoms, but still potentially contagious |
This timeline matters for expectations. Feeling better on day 3 does not mean you are fully recovered — mucosal repair lags behind symptom relief by 24 to 48 hours. It also does not mean you cannot infect others. Viral shedding can continue for up to two weeks after norovirus symptoms resolve, especially in children and immunocompromised adults.
Edge Cases That Extend Duration
Most stomach bugs resolve quickly, but several factors stretch the timeline.
Immunocompromised individuals — including transplant recipients, people on chemotherapy, and those with HIV — may shed norovirus for weeks to months. Their immune systems cannot clear the virus efficiently, and chronic infection can lead to prolonged diarrhea and malabsorption.
Young children and older adults face higher risk of dehydration, which can prolong recovery even after the infection clears. Dehydration slows intestinal recovery and worsens fatigue. Infants under 1 year and adults over 65 are the groups most likely to require medical evaluation.
Bacterial infections behave differently. Without antibiotics, Salmonella gastroenteritis typically resolves in 4 to 7 days, but some people develop reactive arthritis weeks later. E. coli O157:H7 is particularly dangerous because it can trigger hemolytic uremic syndrome — a blood and kidney disorder — in 5% to 10% of infected children. Antibiotics may worsen this risk by promoting toxin release, which is why they are not routinely recommended for suspected O157:H7.
Parasitic causes such as Giardia lamblia produce a different pattern entirely. Symptoms may appear 1 to 2 weeks after exposure and persist for 2 to 6 weeks without treatment. Giardia is often missed because its diarrhea is intermittent and greasy rather than acute and watery.
A counterintuitive detail: faster symptom resolution does not always mean faster full recovery. Some people experience post-infectious irritable bowel syndrome — persistent changes in bowel habits lasting months after the original infection clears. Studies suggest this occurs in 5% to 10% of people after bacterial gastroenteritis, though estimates vary by pathogen and population.
Common Misconceptions About Stomach Bug Duration
Several widespread beliefs about stomach bugs are wrong or oversimplified.
The idea that a stomach bug lasts "24 hours" is a common shorthand that applies only to mild norovirus cases. Many people experience two to three days of symptoms, and the full recovery period — including fatigue and appetite normalization — often stretches to a week.
Another misconception is that vomiting is the main problem to treat. In reality, diarrhea causes more fluid loss over a longer period. Vomiting typically subsides within 24 hours, while diarrhea may persist for 48 to 72 hours after vomiting stops. Rehydration should continue well past the vomiting phase.
People often assume that if symptoms are gone, they are no longer contagious. For norovirus, this is false. Viral shedding peaks during symptoms but continues for 48 to 72 hours after recovery in most adults, and up to two weeks in children. Hand hygiene remains important for days after you feel well.
Finally, many believe that antibiotics speed recovery from any stomach bug. Most cases are viral, and antibiotics do nothing against viruses. Even for bacterial causes, antibiotics are not always indicated — they can prolong shedding in Salmonella infections and increase complication risk in E. coli O157:H7.
Red flags that warrant medical evaluation:
Blood or pus in stool High fever above 102°F (39°C) Signs of severe dehydration: no urination for 8+ hours, sunken eyes, confusion Diarrhea lasting more than 7 days Persistent vomiting preventing fluid intake for more than 24 hours Recent antibiotic use or hospitalization (risk of C. difficile)
Practical Actions and Thresholds
Managing a stomach bug well shortens suffering and prevents complications. The core principle is replacing fluids and electrolytes faster than you lose them.
Start oral rehydration early. Use an oral rehydration solution containing sodium and glucose in specific proportions — the sodium-glucose cotransport mechanism drives water absorption even when the gut is damaged. Sports drinks are a reasonable substitute in healthy adults but contain too much sugar and too little sodium for children. A typical target is 1 liter of fluid for every liter of stool lost, though most people underestimate stool volume and need more than they think.
Eat when you can tolerate food. The old advice to starve the gut is outdated. Bland, easily digested foods — bananas, rice, toast, applesauce — help slow transit and provide energy. Dairy may worsen diarrhea temporarily because lactase activity drops during intestinal injury.
Avoid anti-diarrheal medications if you have bloody diarrhea or high fever. Loperamide slows gut motility, which can trap infectious organisms and worsen bacterial infections. For uncomplicated viral diarrhea in adults, loperamide can reduce frequency, but it does not shorten the illness.
Track time thresholds. If diarrhea has not improved after 48 hours, or if it worsens after 72 hours, consider that the cause may be bacterial rather than viral. If symptoms persist beyond 7 days, seek medical evaluation.
Prevent spread aggressively. Norovirus is highly contagious — as few as 18 viral particles can cause illness. Wash hands with soap and water for at least 20 seconds, especially after using the bathroom and before preparing food. Alcohol-based hand sanitizers are less effective against norovirus than soap and water.
Limitations and the Limits of Certainty
Predicting exact duration for any individual is impossible. The ranges above reflect population averages; your course may be shorter or longer. Factors such as viral dose, prior immunity, and genetic susceptibility (blood group antigens affect norovirus susceptibility) create wide individual variation.
Home diagnosis is not feasible. Without stool testing, you cannot know the exact pathogen. This matters because it affects contagiousness duration, treatment decisions, and complication risk. Most people do not need testing for uncomplicated illness, but persistent or severe symptoms warrant investigation.
Clinical recommendations evolve. Guidance on anti-diarrheal use, antibiotic thresholds, and rehydration protocols has changed over time and may continue to change. For current standards, consult a healthcare provider or review guidance from the CDC or WHO.
Finally, this explainer covers typical community-acquired gastroenteritis. It does not address hospital-acquired infections, C. difficile colitis (which follows antibiotic use), or infections in people with significant medical conditions. Those cases have different timelines and require individualized medical care.