Our Services
Medical Information
Helpful Resources
Published on: 9/28/2026
Most stomach bugs remain contagious for at least 24 to 48 hours after vomiting and diarrhea fully stop, and norovirus in particular can keep shedding in stool for two weeks or longer even after you feel completely better. The exact window depends on the cause (norovirus, rotavirus, or bacteria such as Salmonella or Shigella), your immune health, and whether you prepare food or care for young children or older adults, so there are several important factors to consider before returning to work, school, or the kitchen, all detailed below. Careful handwashing with soap and water, bleach-based surface cleaning, and waiting a full 48 hours after symptoms resolve before handling food for others meaningfully lower the risk of passing it on. Because dehydration, bloody stool, high fever, or symptoms lasting more than a few days can signal something that needs treatment rather than simple waiting, knowing which category you fall into matters. Take a free, instant, online symptom check to clarify what may be causing your illness, how long you could still be contagious, and what step to take next.
Last reviewed for medical accuracy: 09/27/2026
A stomach bug (viral or bacterial gastroenteritis) often leaves you feeling weak and uncomfortable. Even after symptoms like vomiting, diarrhea, nausea and stomach cramps subside, you can still spread the illness to family, friends or coworkers. Knowing how long a stomach bug is contagious helps you protect others and avoid a repeat infection.
After you start feeling better, microscopic particles of virus or bacteria can still be present in:
Because many people return to normal activities as soon as they feel up to it, it’s easy to pass germs along before realizing they’re still contagious.
Different pathogens have different shedding periods. Below is a general guide, but individual factors (age, immunity, severity) can affect these timelines.
Even if you feel well, watch for:
If these occur, assume you’re still contagious and stick to strict hygiene.
While most stomach bugs resolve on their own, contact a healthcare provider if you experience:
You might also consider a free, online symptom check, using the doctor approved Ubie Symptom Checker.
Speak to a doctor about anything that could be life threatening or serious—this information is for general guidance and not a substitute for professional medical advice.
(References)
* Haffejee IE, Moosa A. Rotavirus studies in Indian (Asian) South African infants with acute gastro-enteritis: I. Microbiological and epidemiological aspects. Ann Trop Paediatr. 1990;10(2):165-72. doi: 10.1080/02724936.1990.11747425. PMID: 1699480.
* SINGER E. Prophylactic antibacterial treatment in the prevention of contagious enteritis in children's homes. Med J Aust. 1954 Jul 24;2(4):129-33. PMID: 13193252.
* Chuang YY, Huang YC, Lin SY. Outbreak of Shigella sonnei gastroenteritis in Northeastern Taiwan. Pediatr Infect Dis J. 2006 Jan;25(1):92-4. doi: 10.1097/01.inf.0000198747.54971.b2. PMID: 16395118.
* Nigro G, Fazio LL, Martino MC, Rossi G, Tattoli I, Liparoti V, De Castro C, Molinaro A, Philpott DJ, Bernardini ML. Muramylpeptide shedding modulates cell sensing of Shigella flexneri. Cell Microbiol. 2008 Mar;10(3):682-95. doi: 10.1111/j.1462-5822.2007.01075.x. Epub 2007 Nov 27. PMID: 18042252.
* Anderson EJ. Rotavirus vaccines: viral shedding and risk of transmission. Lancet Infect Dis. 2008 Oct;8(10):642-9. doi: 10.1016/S1473-3099(08)70231-7. PMID: 18922486.
* Gould IM. Controversies in infection: infection control or antibiotic stewardship to control healthcare-acquired infection? J Hosp Infect. 2009 Dec;73(4):386-91. doi: 10.1016/j.jhin.2009.02.023. Epub 2009 Jul 10. PMID: 19596494.
* Sethi AK, Al-Nassir WN, Nerandzic MM, Bobulsky GS, Donskey CJ. Persistence of skin contamination and environmental shedding of Clostridium difficile during and after treatment of C. difficile infection. Infect Control Hosp Epidemiol. 2010 Jan;31(1):21-7. doi: 10.1086/649016. PMID: 19929371.
* Mitsuda T. [Infection prevention and control for foodborne infections]. Nihon Rinsho. 2012 Aug;70(8):1406-13. PMID: 22894082.
* La Rosa G, Della Libera S, Iaconelli M, Donia D, Cenko F, Xhelilaj G, Cozza P, Divizia M. Human bocavirus in children with acute gastroenteritis in Albania. J Med Virol. 2016 May;88(5):906-10. doi: 10.1002/jmv.24415. Epub 2015 Nov 6. PMID: 26496439.
* van Beek J, de Graaf M, Smits S, Schapendonk CME, Verjans GMGM, Vennema H, van der Eijk AA, Phan MVT, Cotten M, Koopmans M. Whole-Genome Next-Generation Sequencing to Study Within-Host Evolution of Norovirus (NoV) Among Immunocompromised Patients With Chronic NoV Infection. J Infect Dis. 2017 Dec 19;216(12):1513-1524. doi: 10.1093/infdis/jix520. PMID: 29029115.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.