
A stomach bug after a family gathering, diarrhea during antibiotics, or persistent burning stomach pain can point to different problems. Digestive system infections include illnesses caused by viruses, bacteria, and parasites that affect the stomach, intestines, or related organs such as the liver.
Some clear up with fluids and rest. Others need testing and specific treatment. Knowing the difference helps you avoid unnecessary antibiotics, recognize dehydration, and protect people around you. The symptoms overlap, so how an illness started often matters as much as how it feels.
What are digestive system infections?
Say you develop vomiting after a potluck, while someone else has stomach discomfort that keeps returning. Both could involve an infection, but they don’t necessarily need the same treatment.
At Shuksan Health Care, an independent health-information site covering men’s health, hormones, nutrition, and infections, this guide explains how common digestive infections differ and what you can do next.
The main categories include:
- Gastroenteritis: Inflammation of the stomach and intestines, often caused by viruses such as norovirus.
- H. pylori infection: A bacterial infection of the stomach lining that can cause ulcers.
- C. difficile infection: A bacterial infection of the colon, commonly associated with antibiotic use.
- Hepatitis A: A viral liver infection that can cause nausea and abdominal symptoms.
- Food poisoning: Illness from contaminated food, including infections and reactions to toxins already present in food.
These categories overlap. Foodborne norovirus, for example, causes gastroenteritis. For a broader comparison, see our guide to common digestive system infections.
Your first useful step is to note when symptoms began, recent meals, travel, antibiotic use, and whether anyone around you is sick.
Gastroenteritis: when a “stomach bug” spreads
Say several people in your household develop vomiting and watery diarrhea within a short period. Viral gastroenteritis is one possibility, especially when illness spreads quickly between people.
Common symptoms include nausea, vomiting, diarrhea, abdominal cramps, and sometimes fever. Norovirus spreads through contaminated food or water, hands, surfaces, and particles released during vomiting. It isn’t influenza, despite the nickname “stomach flu.”
Replacing lost fluid is the priority. Take small, frequent sips if drinking a full glass triggers vomiting. A commercial oral rehydration solution—often shortened to ORS—replaces water and salts in useful proportions. Sports drinks aren’t equivalent, particularly for substantial diarrhea.
Shane and colleagues’ 2017 Infectious Diseases Society of America guideline recommends reduced-osmolarity ORS as first-line treatment for mild to moderate dehydration from acute diarrhea.
Eat as your appetite returns; prolonged fasting usually isn’t necessary. Antibiotics don’t treat viral gastroenteritis. If you have fever or bloody stools, check with a clinician before using diarrhea-stopping medicines.
Food poisoning: the meal may be the clue
Say you develop cramps after eating undercooked chicken, or vomiting after food sat unrefrigerated at a gathering. Food poisoning is possible, but timing alone can’t identify the cause.
Salmonella, Campylobacter, certain E. coli strains, norovirus, and bacterial toxins can cause foodborne illness. Symptoms may begin quickly or take several days, so the last thing you ate isn’t always responsible.
Most uncomplicated cases need fluids rather than antibiotics. But some require stool testing or targeted treatment. Antibiotics can be harmful in certain infections caused by Shiga toxin–producing E. coli; the 2017 guideline by Shane and colleagues recommends avoiding them for high-risk strains.
Useful steps include:
- Write down foods eaten and whether other diners became ill.
- Contact a clinician for bloody diarrhea, severe pain, or dehydration.
- Tell your local health department if several people became sick after the same meal.
Don’t take leftover antibiotics “just in case.” They may not help and can contribute to antibiotic resistance.
H. pylori: an infection that can linger
Say you have recurring upper-abdominal burning, nausea, or a history of stomach ulcers rather than sudden vomiting and diarrhea. H. pylori may be worth discussing with your clinician.
This bacterium infects the stomach lining. Many people have no symptoms, while others develop gastritis or ulcers. Infection also raises the long-term risk of stomach cancer, although most infected people don’t develop it.
Symptoms alone can’t diagnose H. pylori. A urea breath test or stool antigen test can detect active infection; some people need an upper endoscopy. Blood antibody tests may stay positive after infection clears, making them less useful for confirming an active infection or cure.
Treatment combines acid suppression with antibiotics, sometimes with bismuth. Chey and colleagues’ 2024 American College of Gastroenterology guideline recommends a 14-day optimized bismuth quadruple regimen as a preferred option when antibiotic susceptibility is unknown.
Follow-up matters. The same guideline recommends confirming eradication at least 4 weeks after antibiotics, with proton pump inhibitors generally withheld for 2 weeks before testing. Ask your clinician how to manage symptoms during that pause rather than stopping prescribed medicine on your own.
C. difficile: diarrhea during or after antibiotics
Say you start having frequent watery stools while taking antibiotics—or after finishing them. That could be a medication side effect, but C. difficile deserves consideration.
Antibiotics can disrupt protective gut bacteria, allowing C. difficile to multiply and release toxins. The infection can cause diarrhea, fever, abdominal tenderness, and serious inflammation of the colon. It can also occur without recent antibiotic exposure.
A clinician typically tests an unformed stool sample when symptoms fit. A positive result without diarrhea may represent colonization rather than active infection, so testing people without symptoms can be misleading.
Treatment usually involves oral fidaxomicin or vancomycin. Johnson and colleagues’ 2021 IDSA/SHEA guideline update favors fidaxomicin for an initial episode when resources allow, while recognizing vancomycin as an acceptable alternative.
Contact your prescriber promptly rather than stopping antibiotics independently. Avoid self-treating suspected C. difficile with diarrhea-stopping medicine. Our guide to antibiotic side effects explains other reactions to watch for.
At home, wash hands with soap and water and use a disinfectant labeled effective against C. difficile spores. Alcohol hand sanitizer alone isn’t reliable against those spores.
Hepatitis A: digestive symptoms with a liver infection
Say nausea and poor appetite are followed by dark urine or yellowing eyes after travel or a known exposure. This pattern needs medical evaluation, not just stomach-bug care.
Hepatitis A spreads mainly through the fecal–oral route: microscopic stool contamination reaches someone’s mouth through food, water, or close contact. Symptoms can include fatigue, fever, abdominal discomfort, nausea, and jaundice.
A blood test detects acute infection. Treatment is usually supportive, with attention to hydration, nutrition, and liver function. Unlike hepatitis B and C, hepatitis A doesn’t become a chronic infection.
Avoid alcohol, and ask a clinician before taking medicines or supplements that could affect the liver. Even familiar pain relievers may need review.
Vaccination prevents hepatitis A. The CDC’s 2021 Pink Book states that postexposure prevention should be given within 2 weeks of exposure. Depending on age and health, this may involve vaccination, immune globulin, or both. If you learn of an exposure, call promptly—even if you feel well.
When do you need testing or urgent care?
Say you’re deciding whether to wait out diarrhea, but you’re urinating much less than usual or seeing blood in the toilet. Those details change the decision.
Seek urgent medical evaluation for:
- Bloody or black, tarry stools, or vomiting blood.
- Severe, persistent abdominal pain.
- Fainting, confusion, or very little urine.
- Inability to keep fluids down.
- Yellow skin or eyes, especially with significant illness.
Older adults, pregnant people, and people with weakened immune systems should contact a clinician earlier because complications may develop more readily.
Testing isn’t necessary for every brief stomach bug. Depending on your symptoms, clinicians may order stool tests, blood tests, H. pylori testing, or imaging. The 2017 guideline by Shane and colleagues recommends stool testing when diarrhea comes with fever, bloody or mucoid stools, severe cramping or tenderness, or signs of sepsis.
Bring a medication list and your symptom timeline. Those details help determine which tests are useful.
Fluids, targeted treatment, and hygiene are the safest approach
Say you’re recovering and wondering when you can cook for others again. Feeling better doesn’t always mean you’ve stopped spreading an infection.
For suspected norovirus, Hall and colleagues’ 2011 CDC guidance recommends food handlers stay away from food preparation for at least 48 hours after symptoms stop. Follow workplace and local public-health rules if they require longer.
Wash hands with soap and water after using the bathroom and before preparing food. Keep raw meat separate from ready-to-eat foods, cook foods to safe internal temperatures, and refrigerate perishables promptly. Clean contaminated surfaces with a product appropriate for the suspected germ.
Most short-lived gastroenteritis needs hydration, not antibiotics. H. pylori and C. difficile need specific treatment; hepatitis A needs clinical assessment and exposure prevention. So match your next step to the symptoms—and get help when pain, bleeding, dehydration, or jaundice suggests something more serious.
Frequently asked questions
What are common digestive system infections?
Common examples include viral gastroenteritis, H. pylori infection, C. difficile infection, and hepatitis A. Foodborne infections can also affect the digestive system, and some overlap with gastroenteritis.
What symptoms do digestive system infections cause?
Symptoms can include diarrhea, vomiting, nausea, abdominal cramps, and fever. Recurring upper-abdominal burning may occur with H. pylori, while dark urine and yellowing skin or eyes can occur with hepatitis A.
Do digestive system infections need antibiotics?
Antibiotics do not treat viral gastroenteritis, and most uncomplicated foodborne illnesses need fluids rather than antibiotics. H. pylori and C. difficile require specific treatment, while antibiotics can be harmful in certain Shiga toxin–producing E. coli infections.
When should I get medical care for a digestive system infection?
Seek urgent medical evaluation for bloody or black stools, vomiting blood, severe persistent abdominal pain, confusion, fainting, or very little urine. Inability to keep fluids down or yellow skin or eyes also warrants prompt evaluation, and people at higher risk should contact a clinician earlier.