A stomach bug is highly contagious, often spreading through microscopic amounts of virus or bacteria, and a person can remain infectious from before symptoms appear until days or even weeks after recovery. Norovirus, the most common cause, can be shed in stool for two weeks or more. Transmission risk peaks during active symptoms and the first 48 hours after they resolve.
The phrase "stomach bug" covers a cluster of unrelated pathogens that happen to produce the same miserable symptoms: vomiting, diarrhea, cramps, and low fever. Their contagiousness, and how long a person stays infectious, varies widely by organism. Understanding which bug you have, and how each one moves between people, changes what precautions actually work.
Mechanism: why these pathogens spread so efficiently
Gastrointestinal pathogens exit the body in stool and vomit, and most enter through the mouth. That fecal-oral route sounds crude, but the efficiency is in the dose. Norovirus, the leading cause of acute gastroenteritis worldwide, has an infectious dose of roughly 18 to 1,000 viral particles. A single gram of stool from an infected person can contain billions of particles. That arithmetic explains why a speck of contamination invisible to the eye can infect an entire household.
The vomit itself is an underappreciated delivery system. When a person vomits, aerosolized droplets settle on surfaces within several feet, contaminating faucets, door handles, and food. Norovirus survives on hard surfaces for days to weeks and resists freezing, heat, and many common disinfectants. Alcohol hand sanitizer does not reliably kill it; soap and water physically remove it.
Bacteria behave differently. Campylobacter and Salmonella infect via contaminated food, especially undercooked poultry and eggs, and require a larger dose than viruses. Clostridioides difficile, which causes diarrhea often linked to antibiotic use, spreads through hardy spores that survive routine cleaning and alcohol-based products. Each pathogen's survival strategy dictates how long a patient remains a transmission risk. In plain terms: the hardier the germ outside the body, the longer you can pass it on.
Quantified context: how long each bug stays contagious
Transmission windows differ by organism and by whether you are counting from exposure or from symptom onset. The table below compares the major culprits. Ranges reflect typical adult illness; immunocompromised people and young children often shed longer.
| Pathogen | Typical symptom onset after exposure | Peak contagious period | How long shedding can continue |
|---|---|---|---|
| Norovirus | 12–48 hours | During symptoms and first 48 hours after recovery | 2 weeks or more in stool |
| Rotavirus | 1–3 days | During symptoms | Up to 10 days, longer in infants |
| Salmonella | 6 hours–6 days | During symptoms | 4–5 weeks; occasionally months |
| Campylobacter | 2–5 days | During symptoms | 1–2 weeks, occasionally longer |
| Shigella | 1–3 days | During symptoms | 1–4 weeks untreated |
| E. coli O157:H7 | 2–8 days | During symptoms | 1–3 weeks |
| C. difficile | Hours to days after antibiotics | During active diarrhea | Spores persist in stool for weeks |
Norovirus stands out for combining a tiny infectious dose with prolonged shedding. Studies of volunteers have detected virus in stool for 13 to 56 days after infection, though the quantity drops sharply after the first week. The practical translation: you are most dangerous to others while vomiting or having diarrhea and for about two days after you feel better, but you should not prepare food for others for at least 48 hours after symptoms stop, and ideally longer if you are a food handler.
Rotavirus, once a near-universal childhood infection, has become far less common in countries with routine vaccination. Infants shed the virus heavily and can remain contagious for up to 10 days after onset, which is why day-care outbreaks cluster. Adults infected with rotavirus often have mild or no symptoms but can still pass it on.
Timeline: the course of a typical norovirus illness
The time course matters because people return to work and family life at predictable points, and each stage carries different risk.
| Stage | Typical timing | What is happening | Transmission risk |
|---|---|---|---|
| Exposure | Day 0 | Virus ingested; no symptoms | None yet from the newly exposed person |
| Incubation | 12–48 hours | Virus replicates in the small intestine | Low; person may not know they are infected |
| Acute symptoms | 24–72 hours | Vomiting, diarrhea, cramps | Highest; vomit aerosol and heavy stool shedding |
| Early recovery | 48–72 hours after symptoms start | Symptoms ease | Still high; stool remains infectious |
| Post-symptom shedding | 2 days–2 weeks | No symptoms; virus in stool | Moderate to low; declines over time |
| Late shedding | Up to 4 weeks | Trace virus detectable | Very low but nonzero |
Most people recover within one to three days, but dehydration can persist and is the main reason for medical attention. The World Health Organization notes that norovirus causes an estimated 685 million cases and 200,000 deaths annually, mostly in young children and older adults in lower-income settings (WHO).
Edge cases: who stays contagious longer
Several groups shed pathogens longer than the average adult. Children under five, especially infants, carry higher viral loads and remain infectious longer with rotavirus and norovirus. Immunocompromised patients, including transplant recipients and people on certain cancer or autoimmune therapies, can shed norovirus for months. People with these conditions warrant longer exclusion from food handling and caregiving roles.
Asymptomatic carriers complicate every calculation. Roughly a quarter to a third of norovirus infections produce no symptoms, yet those people still shed virus. During outbreaks, public health investigators routinely find infected food workers with no complaints who contaminated meals. For Salmonella, some people become chronic carriers, harboring bacteria in the gallbladder for months to years; the historical archetype, "Typhoid Mary," was a cook who infected dozens without ever feeling ill.
Antibiotic use creates its own edge case. C. difficile spores multiply when normal gut bacteria are wiped out, so a patient can become infectious days after starting antibiotics and remain a spore source for weeks after diarrhea resolves. This is why hospital cleaning protocols for C. difficile use bleach-based products rather than standard disinfectants.
Misconceptions: what people get wrong about catching a stomach bug
The most common misconception is that a stomach bug is airborne like a cold. Most gastrointestinal pathogens are not transmitted by breathing. The exception is vomit aerosol and, for some viruses, contaminated droplets that land on surfaces or food. Being in the same room as a sick person is low risk; touching what they touched and then touching your mouth is the real hazard.
A second misconception is that symptoms ending means contagiousness ends. Shedding outlasts symptoms by days to weeks depending on the organism. The 48-hour rule is a reasonable minimum, not a guarantee.
A third is that hand sanitizer substitutes for handwashing. Alcohol gels are less effective against norovirus and do nothing against C. difficile spores. Soap and water, scrubbed for at least 20 seconds, physically lift the pathogen off skin. A counterintuitive detail from outbreak investigations: the toilet flushes with the lid up and sends a fine contaminated mist across the bathroom, so closing the lid before flushing measurably reduces surface contamination.
A fourth misconception involves food. People assume a food-borne bug comes from the last meal eaten. Incubation periods of 12 hours to several days mean the culprit is often a meal from one to three days earlier.
Practical actions: reducing transmission at each stage
The steps below are ordered by impact. Each threshold reflects standard public health guidance rather than a single universal rule, and the reconciliation is straightforward: the strictest applicable timer wins.
Wash hands with soap and water for 20 seconds after toileting, changing diapers, and before food preparation. This is the highest-yield action for viral gastroenteritis. Exclude sick people from food handling, childcare, and patient care until at least 48 hours after symptoms stop. For norovirus specifically, many health departments extend this to 72 hours for food workers. Clean contaminated surfaces with a bleach solution rather than alcohol. Vomiting episodes demand immediate cleanup of a wide radius, ideally several feet. Do not share towels, utensils, or cups during illness, and wash laundry used by a sick person separately with hot water. Drink oral rehydration fluids early; dehydration, not the infection itself, drives most emergency visits. Seek care for blood in stool, high fever, or signs of severe dehydration. Close the toilet lid before flushing and keep a dedicated bathroom if one is available.
Red-flag warnings that warrant medical attention rather than home care:
Bloody diarrhea or black, tarry stools Fever above 102°F in adults, or any fever in an infant under three months Signs of dehydration: no urination for 8 hours, sunken eyes, confusion, or dizziness on standing Vomiting that prevents any fluid intake for more than 12 hours Diarrhea lasting more than seven days, or symptoms that resolve and then return
Limitations: what the contagiousness estimates cannot tell you
Contagiousness figures come largely from outbreak investigations and volunteer studies, which have real limits. Shedding detected by laboratory testing does not always equal transmission: a person shedding trace viral RNA weeks later may not pass on a viable infection. Testing methods vary in sensitivity, and many mild cases never reach a clinic, so reported windows skew toward severe illness.
Individual immunity matters in ways population averages cannot capture. Prior infection with one norovirus strain provides short-lived, strain-specific protection, so the same person can be reinfected within months by a different strain. Vaccine status changes rotavirus shedding substantially, which means historical transmission data may overstate current risk in vaccinated populations. Clinicians cannot reliably predict which patient will become a long shedder, so the practical response is to follow the strictest reasonable window for the organism and setting rather than to individualize without evidence.