What specimen should be collected for Helicobacter pylori testing?

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: April 24, 2026 • View editorial policy

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.

Specimen for H. pylori Testing

For H. pylori testing, the preferred specimens depend on whether invasive or non-invasive testing is chosen: breath samples for urea breath test (UBT) and stool specimens for antigen testing are the two most commonly recommended non-invasive options, while gastric biopsy specimens are used for invasive testing including histology, culture, and rapid urease test. 1, 2

Non-Invasive Testing (Preferred Approach)

Non-invasive testing is generally preferred and should be the first-line approach for most patients 1. The two primary specimen types are:

Breath Sample (Urea Breath Test)

  • Most widely recommended as first choice across international guidelines 3
  • Detects active infection by measuring labeled CO2 produced by H. pylori urease activity 2
  • No physical specimen collection required beyond breath sample
  • High sensitivity and specificity for active infection 1

Stool Specimen (Stool Antigen Test)

  • Detects H. pylori antigens directly in stool 2
  • Represents a direct test for bacterial presence 2
  • Can be used for molecular testing to detect both infection and antibiotic resistance mutations 4, 5
  • Particularly useful when molecular resistance testing is needed 6
  • High-throughput processing methods now available for clinical laboratories 5

Blood/Serum (Serology)

  • Detects anti-H. pylori IgG antibodies 1, 2
  • Major limitation: Cannot distinguish active infection from past exposure 1, 2
  • Antibodies persist long after eradication (serologic "scar") 1
  • Currently neither recommended nor reimbursed by Medicare in the US 1
  • Should only be used with very high pretest probability, requiring confirmation with UBT or stool antigen test before treatment 1

Invasive Testing (When Endoscopy Performed)

When endoscopy is clinically indicated, multiple specimen types can be obtained:

Gastric Biopsy Specimens

  • Optimal biopsy site: Upper body greater curvature (UBGC) 7
  • This location shows highest sensitivity (95.1%) due to less frequent atrophy and intestinal metaplasia compared to antrum 7
  • Multiple specimens should be obtained for different tests 1

Biopsy specimens can be used for:

  • Histology with immunohistochemistry (most accurate staining method) 1
  • Culture for antibiotic susceptibility testing 8
  • Rapid urease test (sensitivity 96%, specificity 100% at UBGC) 7
  • Molecular testing/PCR for resistance mutations 9, 6

Intragastric Fluid

  • Can be collected during endoscopy 6
  • Useful for molecular diagnostic testing with rapid results (within 1 hour) 6
  • Particularly valuable for patients on PPI/P-CAB therapy where other tests may be affected 6

Critical Considerations for Specimen Collection

Medication Effects on Test Accuracy

All active infection tests are susceptible to false negatives from medications that reduce bacterial load 1:

  • Proton pump inhibitors (PPIs)
  • Antibiotics
  • Bismuth compounds

Standard recommendation: Hold these medications for 2 weeks before testing 1. However, since these factors don't produce false positives, a positive result can be trusted even if medications weren't stopped 1.

Note: H2 receptor antagonists do not affect bacterial load and can be substituted for PPIs 1.

Special Circumstances

For patients requiring PPI/P-CAB therapy:

  • Molecular diagnostic tests using intragastric fluid or stool are less affected 6
  • UBT values may be significantly lower in medicated patients 6

For antibiotic resistance testing:

  • Stool specimens can be used for molecular detection of clarithromycin resistance mutations 5, 6
  • Biopsy specimens allow culture-based susceptibility testing 8
  • Single biopsy can be used for both rapid urease test and culture by first placing in urea-containing agar, then transferring to culture medium 8

Practical Algorithm for Specimen Selection

  1. No endoscopy planned + need to diagnose active infection:

    • First choice: Breath sample (UBT)
    • Alternative: Stool specimen (antigen test)
  2. No endoscopy planned + need resistance testing:

    • Stool specimen for molecular testing
  3. Endoscopy being performed:

    • Collect biopsies from upper body greater curvature
    • Obtain multiple specimens for histology, rapid urease test, and culture/molecular testing
    • Consider intragastric fluid collection for rapid molecular testing
  4. Patient on PPI/P-CAB that cannot be stopped:

    • Prefer molecular testing on stool or intragastric fluid
    • Avoid UBT due to reduced sensitivity

Avoid serology as a standalone test unless very high pretest probability exists, and always confirm with active infection test before treatment 1.

Related Questions

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.