Most viral stomach bugs clear on their own in 24 to 72 hours, though diarrhea can linger up to a week and full recovery of normal appetite and energy often takes 7 to 10 days. Norovirus, the most common cause, typically resolves in 1 to 3 days. Bacterial and parasitic causes last longer, sometimes weeks, and need medical evaluation when symptoms suggest them.
What follows separates the infection itself from the symptoms it leaves behind. That distinction explains why you can feel fine while still shedding virus, and why "back to normal" arrives in stages.
What Actually Happens Inside Your Gut
Acute gastroenteritis means inflammation of the stomach and intestinal lining, usually from a virus. Norovirus, rotavirus, adenovirus, and astrovirus account for most cases in the United States (CDC). The virus invades the cells lining the small intestine and hijacks their machinery to copy itself.
Those cells, called enterocytes, normally absorb water and nutrients and present enzymes that break down sugars. When they die and slough off, absorption drops while the gut's secretory drive continues. The result is osmotic diarrhea: unabsorbed fluid and sugars pull water into the bowel lumen. That mechanism, not "flushing out toxins," is why diarrhea happens.
The body then mounts an immune response. It takes roughly 24 to 48 hours after exposure for symptoms to appear, and the immune system needs several more days to clear infected cells. This lag is why the acute phase is short but the aftermath is not.
Vomiting follows a different pathway. Viral proteins and serotonin released from irritated enterochromaffin cells signal the brainstem's vomiting center through the vagus nerve. The reflex peaks early, which is why vomiting usually stops before diarrhea does.
The Day-by-Day Timeline
Symptom duration tracks the pathogen, not willpower. Here is the typical course for a self-limited viral case.
| Phase | Timing | What You Notice |
|---|---|---|
| Incubation | 12–48 hours after exposure | Nothing yet; you may already be contagious |
| Acute onset | Hour 0–12 | Nausea, vomiting, cramps, low fever |
| Peak symptoms | Day 1–2 | Vomiting tapers, diarrhea peaks, fatigue |
| Diarrhea phase | Day 2–4 | Loose stools, urgency, mild dehydration risk |
| Recovery | Day 4–7 | Stools firm up, appetite returns gradually |
| Post-infection | Week 1–2 | Bloating, lactose intolerance, low stamina can persist |
Norovirus symptoms usually last 1 to 3 days (CDC). Rotavirus runs 3 to 8 days and hits young children hardest. Adenovirus gastroenteritis can stretch 1 to 2 weeks. The timeline table reflects viral illness; bacterial causes shift every row later.
Viral shedding outlasts symptoms. Norovirus can be shed in stool for two weeks or more after you feel well, which is why handwashing after the bathroom matters long after recovery.
When It Lasts Longer Than Expected
Duration depends on the pathogen and the host. Several variables reliably extend the course.
Bacterial causes behave differently. Campylobacter, Salmonella, and Shigella typically produce 3 to 7 days of diarrhea, sometimes with blood or high fever. Clostridioides difficile, often triggered by antibiotics, can run weeks and recur in roughly 1 in 6 patients within two months (CDC).
Parasites such as Giardia can cause weeks of intermittent diarrhea. They are easy to miss because symptoms wax and wane, and standard stool tests may not detect them without specific requests.
Host factors matter. Infants, adults over 65, and immunocompromised people clear infections more slowly and dehydrate faster. Pregnancy adds dehydration risk and limits some medications. People taking proton pump inhibitors may have a modestly higher risk of norovirus infection because stomach acid normally inactivates some virus.
Post-infectious irritable bowel syndrome is a real and underappreciated outcome. A subset of people develop persistent bowel changes after gastroenteritis, and symptoms can last months. That is not the infection persisting; it is a change in gut function.
The Counterintuitive Part: Symptoms Lie About Contagion
Feeling better does not mean you are not contagious. Norovirus is shed at high levels during acute illness and continues in stool for two weeks or longer after recovery. The virus is also hardy: it survives freezing, heat up to about 140°F, and many common disinfectants. Alcohol hand sanitizer is not reliably effective against norovirus; soap and water are (CDC).
A second counterintuitive point: diarrhea is not the body "cleaning itself out." It is a side effect of impaired absorption and secretion. This matters because the instinct to "let it run" conflicts with the real goal, which is replacing the fluid and electrolytes being lost.
One professional caveat: stool frequency and consistency are imperfect proxies for severity. Clinicians weigh urine output, orthostatic symptoms, and mental status more heavily than how many trips to the bathroom you made.
What You Can Actually Do
Most viral gastroenteritis needs supportive care, not medication. Oral rehydration is the core intervention. Commercial oral rehydration solutions are formulated to match gut absorption of sodium and glucose. Sports drinks are a partial substitute; they contain less sodium and more sugar than ideal.
Practical steps with thresholds:
Start small: 1 to 2 ounces of fluid every 15 to 20 minutes, increasing as tolerated. Aim for pale-yellow urine and at least three voids per day as a hydration benchmark. Avoid dairy, high-fat, and heavily sweetened foods for 24 to 48 hours after vomiting stops; reintroduce bland foods gradually. Do not use over-the-counter anti-diarrheal medication if you have bloody stools or high fever; these require evaluation first. Wash hands with soap and water for at least 20 seconds, especially after the bathroom and before food prep. Clean contaminated surfaces with a bleach-based solution; norovirus resists many standard cleaners.
Seek medical care promptly for any red flags:
Blood in stool or vomit High fever above 102°F in adults, or any fever in infants under 3 months Signs of dehydration: no urine for 8 hours, sunken eyes, drowsiness, dry mouth Vomiting that prevents any fluid intake for more than 12 hours Diarrhea lasting more than 7 days, or more than 3 days in a child Severe abdominal pain or a rigid abdomen
Comparing Causes and Expected Duration
Different pathogens produce different courses. The table below is a general guide, not a diagnostic tool.
| Cause | Typical duration | Key features |
|---|---|---|
| Norovirus | 1–3 days | Explosive vomiting, rapid onset, outbreaks |
| Rotavirus | 3–8 days | Young children, watery diarrhea, vaccine-preventable |
| Adenovirus | 1–2 weeks | Prolonged, often mild |
| Campylobacter/Salmonella | 3–7 days | Fever, sometimes bloody stool |
| C. difficile | Weeks, may recur | After antibiotics, colitis risk |
| Giardia | Weeks, intermittent | Bloating, greasy stools, travel history |
Reconciling the numbers: the 24-to-72-hour figure describes typical viral cases. The 7-to-10-day figure describes return to normal function, not active infection. The 2-week shedding window describes contagion, not illness. These are different clocks, and conflating them causes most confusion about "how long a stomach bug lasts."
What This Article Cannot Tell You
Duration estimates come from population averages. Your individual course depends on pathogen dose, prior immunity, age, medications, and underlying conditions. No article can diagnose the cause from symptoms alone; distinguishing viral from bacterial gastroenteritis often requires a stool test.
Dehydration risk is the main driver of serious outcomes, not the infection itself. Hydration status matters more than symptom duration for most healthy adults. For infants, older adults, and immunocompromised people, the threshold for seeking care should be lower, and this article cannot set that threshold for any individual.
Finally, "stomach bug" is a colloquial term that lumps together viruses, bacteria, and parasites with different treatments and timelines. The 24-to-72-hour expectation applies to the most common viral causes. Anything outside that window, especially with red-flag symptoms, deserves a clinician's assessment rather than more waiting.