When should C. difficile (Clostridioides difficile) be tested versus fecal pathogens in patients with diarrhea?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: August 17, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

When to Test for C. difficile vs Fecal Pathogens in Patients with Diarrhea

C. difficile testing should be performed in patients >2 years of age with a history of diarrhea following antimicrobial use within the preceding 8-12 weeks or in those with healthcare-associated diarrhea, while fecal pathogen testing should be considered for community-acquired diarrhea with risk factors for specific pathogens. 1

Decision Algorithm for Diagnostic Testing

When to Test for C. difficile:

  • Primary indications:

    • Age >2 years with diarrhea following antimicrobial use within the preceding 8-12 weeks
    • Healthcare-associated diarrhea
    • Persistent diarrhea without an identified etiology 1
  • Risk factors increasing likelihood of C. difficile:

    • Age ≥75 years (2.2 times higher risk)
    • Hospitalization ≥7 days (2.3 times higher risk)
    • Recent exposure to certain antibiotics, particularly cefazolin (3.5 times higher risk) or levofloxacin (2.1 times higher risk) 2

When to Test for Fecal Pathogens:

  • Community-acquired diarrhea with:

    • Fever
    • Bloody or mucoid stools
    • Severe abdominal pain
    • Recent travel
    • Food exposure history
    • Outbreak setting 1
  • Specific pathogen testing based on clinical presentation:

    • Visible blood in stool: Test for STEC, Shigella, Salmonella, Campylobacter, E. histolytica
    • Persistent diarrhea (>14 days): Test for parasitic infections (Cryptosporidium, Giardia, Cyclospora)
    • Severe abdominal pain with minimal fever: Consider STEC, Salmonella, Campylobacter
    • Recent travel: Test based on travel destination and exposure history 1

Testing Methodology

For C. difficile:

  • Use a single diarrheal stool specimen (one that takes the shape of the container)
  • Do not test formed stool or asymptomatic patients
  • Do not perform repeat testing within 7 days during the same episode of diarrhea 1
  • Recommended testing methods:
    • Nucleic acid amplification test (NAAT)
    • GDH antigen with toxin detection
    • Two or three-stage algorithm (GDH plus toxin; GDH plus toxin, arbitrated by NAAT; or NAAT plus toxin) 1

For Fecal Pathogens:

  • Fresh diarrheal stool sample is optimal
  • For bacterial infections, a rectal swab may be used if timely stool collection is not possible
  • Culture-independent diagnostic tests (CIDTs) like multiplex PCR panels can detect multiple pathogens simultaneously 1

Special Populations Requiring Broader Testing

  • Immunocompromised patients: Test for a broader range of pathogens including Cryptosporidium, Cyclospora, Cystoisospora, microsporidia, Mycobacterium avium complex, and cytomegalovirus 1

  • Travelers with persistent diarrhea (>14 days): Evaluate for intestinal parasitic infections and C. difficile if antibiotics were used 1

  • Outbreak settings: Test for a broader set of bacterial, viral, and parasitic agents regardless of clinical presentation 1

Important Caveats

  • Only test symptomatic patients; asymptomatic carriage of C. difficile is common, especially in hospitalized patients and children <2 years 1, 3

  • Interpret multiplex molecular test results with caution as they detect DNA, not necessarily viable organisms 1

  • Consider clinical presentation when interpreting test results, as no single test is perfect for confirming CDI 4

  • In children <2 years, C. difficile testing is generally not recommended due to high rates of asymptomatic colonization 1

By following this evidence-based approach to testing, clinicians can appropriately diagnose infectious causes of diarrhea while avoiding unnecessary testing, which can lead to improved patient outcomes and reduced healthcare costs.

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Clostridium difficile infection: review.

European journal of clinical microbiology & infectious diseases : official publication of the European Society of Clinical Microbiology, 2019

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.