A stomach bug spreads mainly by the fecal-oral route: tiny amounts of virus from an infected person's stool or vomit reach another person's mouth, usually via unwashed hands, contaminated food or water, or contaminated surfaces. Norovirus, the most common cause, can infect with as few as 10 to 100 viral particles, and those particles survive for days on hard surfaces and months in water. That combination of a microscopic infectious dose and environmental toughness explains why outbreaks sweep through schools, cruise ships, and households so efficiently (CDC).

The phrase "stomach bug" is informal. It usually means acute viral gastroenteritis, and in the United States the dominant pathogen is norovirus, followed by rotavirus in young children before vaccination, and astrovirus or sapovirus in a minority of cases (CDC). Bacteria such as Salmonella and Campylobacter cause similar symptoms but spread by partly different rules. This explainer focuses on the viral version, because its transmission explains most of what people experience: sudden vomiting, diarrhea, and clusters of illness among people who share a bathroom, a kitchen, or a dining hall.

The fecal-oral route, step by step

Transmission is a chain, and each link is a place to break it. The virus replicates in the small intestine and is shed in enormous quantities in stool and, for norovirus, in vomit. Shedding begins before symptoms appear and can continue for days to weeks after recovery. The virus then leaves the body, lands somewhere, and must be ingested by a new host. Every route below is just a different path between those two points.

Hands are the most common bridge. An infected person who does not wash thoroughly after using the toilet transfers virus to a doorknob, a phone, or a shared utensil. The next person touches that surface and then eats, and the virus is swallowed. This is why hand hygiene works, and why it fails when people wash briefly or skip soap.

Food and water form a second bridge. A food handler who is shedding virus can contaminate ready-to-eat foods, especially those not cooked afterward, such as salads, sandwiches, and fresh produce. Water can carry the virus when supplies are contaminated or when ice is made from unsafe water. Shellfish are a special case: oysters and clams filter large volumes of water and concentrate virus in their tissues, so raw oysters from contaminated beds are a recurring outbreak source (CDC).

Aerosolized vomit is the third bridge, and it is the least intuitive. When a person vomits forcefully, virus-laden particles spray into the air and settle on nearby surfaces and people. The particles are heavier than true respiratory aerosols, so they travel a short distance and drop quickly, but they can still reach the mouth of someone standing close. This is partly why outbreaks can explode in a dining room within hours rather than days.

Surfaces are the fourth bridge. Norovirus is unusually stable outside the body. It survives on hard surfaces for days to weeks and resists many common cleaning agents, including alcohol-based hand sanitizer at typical concentrations (CDC). A countertop that looks clean can still transfer infectious virus.

The final link is dose. A stomach bug does not need a large inoculum. The estimated infectious dose for norovirus is in the range of 10 to 100 particles, which is why a speck of contamination invisible to the eye is enough. The practical consequence is simple: you do not need to be visibly dirty to transmit or catch it.

How much virus it takes, and how long it lasts

Quantifying the chain explains why stomach bugs are so hard to contain. An infected person can shed billions of viral particles per gram of stool, and the infectious dose is a tiny fraction of that. Even after symptoms resolve, shedding can continue for days to weeks, and some people shed without ever feeling sick.

Environmental persistence matters as much as dose. Norovirus survives freezing, resists many disinfectants, and can remain infectious on surfaces for days to weeks and in water for months (CDC). Rotavirus is also environmentally stable but is largely controlled in vaccinated children. The practical implication: a contaminated bathroom or kitchen can remain a hazard long after the sick person feels better.

Outbreaks reflect these numbers. Norovirus is the leading cause of acute gastroenteritis outbreaks in the United States and is estimated to cause about 19 to 21 million illnesses each year, with the majority spread person-to-person (CDC). The virus accounts for a large share of foodborne outbreaks, and its short incubation period, typically 12 to 48 hours, means cases appear in tight clusters rather than scattered over weeks. That clustering is a signature: when several people who shared a meal or a bathroom get sick within a day or two of each other, a stomach bug is a leading suspect.

The timeline, from exposure to shedding

Stage Typical timing What is happening
Exposure Day 0 Virus is ingested and reaches the small intestine
Incubation 12 to 48 hours (norovirus) Virus replicates; no symptoms yet, but shedding can start
Onset Sudden Vomiting, diarrhea, cramps; shedding peaks
Peak illness 1 to 3 days Highest viral load; highest transmission risk
Recovery 1 to 3 days for most Symptoms fade; shedding continues
Post-recovery shedding Days to 2 weeks or more Virus still present in stool; hygiene still matters
Incubation for rotavirus About 2 days Similar course, often more severe in infants

The takeaway from the timeline is that the contagious window opens before symptoms and closes after them. You can spread a stomach bug before you know you are sick, and you can still spread it after you feel fine. That is why hand hygiene must continue for at least two weeks after recovery, and why schools and workplaces should not assume a person is safe the moment symptoms stop.

Edge cases that change the math

Several situations bend the general rules. Asymptomatic shedding is common, so a person who never feels ill can still seed an outbreak. Children shed more virus and for longer than adults, and they are less reliable about handwashing, which is why childcare centers and elementary schools are frequent amplification sites.

Immunocompromised people can shed virus for weeks to months, turning a single person into a long-running source. This is a professional caveat worth stating plainly: in outbreaks, the person who started it may no longer be sick, and the person still shedding may not be the one who appears ill.

Food handlers are a special risk because they can contaminate many meals before symptoms begin. Oysters and other filter-feeding shellfish concentrate virus from contaminated water, so a single bad harvest can sicken people across several states. Cruise ships and other closed settings amplify person-to-person spread because bathrooms, dining rooms, and handrails are shared continuously.

A counterintuitive detail: alcohol-based hand sanitizer is not a reliable substitute for soap and water against norovirus. The virus lacks a lipid envelope, which is the structure alcohol attacks in many bacteria and enveloped viruses, so sanitizer often leaves infectious particles behind (CDC). Soap and water physically lift and rinse the virus away, which is why the recommendation is specific.

Myths that make outbreaks worse

The most damaging misconception is that a stomach bug is "going around" like a cold and cannot be stopped. In reality, most transmission is preventable with handwashing, surface decontamination, and keeping sick people away from shared food. The bug spreads because the chain is easy to complete, not because prevention is impossible.

A second myth is that the 24-hour bug is always food poisoning. Many short illnesses are viral and spread person-to-person, which changes what contacts need to be warned and what surfaces need cleaning. A third is that sanitizer alone is enough. It is not, for norovirus. A fourth is that you are safe once symptoms stop. Shedding continues, so the contagious window extends past recovery. A fifth is that a stomach bug is always mild. Most cases resolve in one to three days, but dehydration can be dangerous in infants, older adults, and people with chronic illness, and norovirus is estimated to cause tens of thousands of hospitalizations and hundreds of deaths annually in the United States (CDC).

Red flag: inability to keep fluids down for more than 24 hours. Red flag: signs of dehydration such as dizziness, dark urine, or no urination for 8 hours. Red flag: blood in stool or high fever. Red flag: symptoms in an infant, older adult, or immunocompromised person. Red flag: symptoms that persist beyond three days or worsen after apparent recovery.

Practical actions that actually break the chain

The actions that work follow directly from the mechanisms. Wash hands with soap and water for at least 20 seconds after using the toilet, changing a diaper, or before preparing food, and continue for at least two weeks after recovery. Clean and disinfect high-touch surfaces with a product effective against norovirus, following label instructions; alcohol wipes are not sufficient. Handle vomit and diarrhea cleanup with gloves, disposable towels, and a disinfectant, and wash hands afterward.

Keep sick people out of shared food preparation until at least 48 hours after symptoms resolve, and longer if possible. Do not prepare food for others while ill or for two days after recovery. Wash produce and cook shellfish thoroughly; avoid raw oysters if you are uncertain of the source. In a household outbreak, designate a separate bathroom if one is available and clean shared bathrooms frequently. For childcare and food service settings, exclusion periods and surface protocols matter more than individual treatment, because the goal is to stop the chain at its weakest link.

If a stomach bug is circulating, the highest-yield action is handwashing with soap and water, not sanitizer. The second is surface decontamination with a product labeled for norovirus. The third is keeping symptomatic people away from shared food. These three steps target the bridges that matter most.

What the evidence cannot settle

No explainer can tell you whether a specific illness is viral or bacterial without testing, and treatment differs. This article does not provide diagnosis or treatment plans; seek clinical advice for severe or persistent symptoms. The precise infectious dose varies by strain and host, and outbreak statistics are estimates with wide uncertainty. Environmental persistence depends on surface type, temperature, and humidity, so "days to weeks" is a range, not a fixed number. Hand hygiene reduces transmission but does not eliminate it, because compliance is imperfect and the infectious dose is so low. The honest conclusion is that the mechanisms are well understood and the countermeasures are effective, but real-world outcomes depend on execution: how thoroughly people wash, how quickly surfaces are cleaned, and how long sick people stay away from shared food.