If you’re throwing up from a stomach bug, you’re most contagious while actively sick and for at least 48 hours after your last episode of vomiting or diarrhea. But the virus can still spread for two weeks or more after you feel completely better. The answer depends partly on what made you sick in the first place, since not all causes of vomiting are contagious at all.
The 48-Hour Rule
The CDC recommends staying home for a minimum of 48 hours after your last bout of vomiting or diarrhea. This is the standard used in healthcare settings, schools, and food service. If your job involves preparing or handling food, many local health departments require an even longer absence before you return to work.
That 48-hour window represents the period of highest risk, not the end of all risk. You’re shedding the most virus particles while you’re actively symptomatic and in the first few days of recovery. After that, the amount of virus you’re putting out drops significantly, but it doesn’t hit zero right away.
Viral Shedding Continues for Weeks
Norovirus, the most common cause of the “stomach flu,” can be detected in stool for several weeks after you’ve recovered. In people with weakened immune systems or other medical conditions, shedding can last weeks to months. This means you’re technically capable of spreading the virus long after you feel fine, though the practical risk drops as the amount of virus in your system decreases.
Rotavirus follows a similar pattern. People are most contagious during active diarrhea and for the first three days after recovery, but the virus can appear in stool for up to 21 days after the illness began.
The takeaway: you’re at your most infectious while symptomatic and shortly after, but careful hand hygiene matters for weeks.
Not All Vomiting Is Contagious
This is a crucial distinction. Vomiting caused by a virus (norovirus, rotavirus) spreads easily from person to person. But vomiting caused by bacterial toxins in food, like the kind from improperly stored rice or mayonnaise, typically isn’t contagious. The toxin made you sick, not a living pathogen that multiplies and spreads.
A few clues can help you tell the difference. Food poisoning from toxins tends to hit fast (within a few hours of eating), affects multiple people who ate the same thing, and resolves quickly. Viral gastroenteritis usually has a longer incubation period of 12 to 48 hours, spreads through a household one person at a time over several days, and lasts one to three days. If people around you start getting sick a day or two after you did, you’re almost certainly dealing with a virus, and you should treat yourself as contagious.
How Stomach Viruses Spread
Norovirus is extraordinarily efficient at transmission. It takes fewer than 20 virus particles to infect someone, and a single episode of vomiting releases billions of them. The virus spreads through direct contact with a sick person, sharing food or utensils, touching contaminated surfaces, and even through tiny droplets launched into the air during vomiting. Health guidelines recommend disinfecting the entire area within an 8 to 10 foot radius of a vomiting incident.
Once the virus lands on a surface, it’s remarkably durable. Norovirus survives on hard surfaces like countertops and doorknobs for more than two weeks. On soft surfaces like carpet or upholstery, it remains viable for several days to a week. Regular cleaning sprays won’t necessarily kill it. You need either a bleach solution (one-third cup of bleach per gallon of water for most hard surfaces) or a disinfectant specifically registered to kill norovirus. Leave the solution on the surface for 10 to 20 minutes before rinsing.
Soap and Water Beats Hand Sanitizer
Alcohol-based hand sanitizers are not reliably effective against norovirus. Research published in the Journal of Hospital Infection found that washing hands with soap and water for 30 seconds completely removed norovirus particles from finger pads, while alcohol-based disinfectants showed inconsistent results ranging from little to no reduction in some tests. This makes norovirus different from many other common infections where hand sanitizer works well.
If you or someone in your household has been vomiting, soap and water should be your default every time you use the bathroom, before eating, and after any contact with the sick person or surfaces they’ve touched. This applies during the illness and for at least two weeks after recovery, since viral shedding continues during that window.
Practical Timeline for Reducing Spread
Your highest risk of infecting others is while you’re actively vomiting or having diarrhea. In the first 48 hours after symptoms stop, you’re still shedding large amounts of virus and should stay home, avoid preparing food for others, and wash your hands thoroughly after every bathroom visit. From day 3 through about week 2, your risk to others is lower but not zero. Continue rigorous hand hygiene, and avoid sharing towels or preparing food for vulnerable people like young children, elderly family members, or anyone with a compromised immune system.
If you’re caring for someone who’s sick, wash your hands frequently with soap and water, clean contaminated surfaces with bleach solution, and wash soiled clothing or linens on the hottest setting your machine allows. Handle dirty laundry carefully, since shaking out a contaminated sheet can send virus particles into the air.

