Differentiating H. pylori Infection, Peptic Ulcer Disease, and Gastritis
You cannot reliably differentiate H. pylori infection, peptic ulcer disease, and gastritis based on symptoms alone—they present identically with epigastric pain, nausea, early satiety, and dyspepsia, requiring diagnostic testing to distinguish them. 1, 2
Understanding the Relationship
These three conditions are interconnected rather than separate entities:
- H. pylori infection is the underlying cause that produces chronic gastritis
- Chronic gastritis can progress to peptic ulcer disease (gastric or duodenal ulcers)
- All three can present with identical dyspeptic symptoms
- Symptom classification (ulcer-like vs. dysmotility-like dyspepsia) has proven unreliable for predicting underlying pathology 1
Diagnostic Algorithm
Step 1: Risk Stratification (Determines Testing Pathway)
Immediate endoscopy is required for:
- Age ≥50-55 years (adjust based on local gastric cancer incidence) 1, 3
- Alarm symptoms: bleeding, weight loss, dysphagia, persistent vomiting, anemia 3
- Chronic NSAID users 1
Non-invasive testing pathway for:
- Age <50-55 years
- No alarm symptoms
- Symptoms >4 weeks duration 1
Step 2: H. pylori Testing (Choose ONE)
Preferred non-invasive tests (sensitivity/specificity ≥90%):
- ¹³C-urea breath test (most accurate) 1, 4
- Monoclonal stool antigen test 2, 4
- Validated serology (only if above unavailable; cannot confirm eradication) 1
Avoid: Whole blood rapid tests—inadequate accuracy 1
Critical caveat: Stop PPIs 2 weeks before testing to avoid false negatives 4
Step 3: Treatment Based on Test Results
If H. pylori POSITIVE:
- Eradicate infection with bismuth quadruple therapy for 14 days (preferred empiric regimen) 5, 6
- This eliminates peptic ulcer mortality risk 1
- Confirm eradication 4+ weeks post-treatment with urea breath test or stool antigen 4, 5
If H. pylori NEGATIVE:
- Treat empirically based on predominant symptom:
Step 4: Endoscopy Findings (When Performed)
Endoscopy with biopsy differentiates:
Gastritis only:
- Mucosal inflammation on histology
- No ulcer crater visible
- Obtain biopsies from antrum AND body (Sydney System: 5 biopsies minimum) 7
Peptic ulcer disease:
- Visible ulcer crater in stomach or duodenum
- May coexist with gastritis
- Biopsy ulcer edges to exclude malignancy
H. pylori detection on biopsy:
- Histology, rapid urease test, or culture 3
- Multiple biopsies increase sensitivity (sampling error common) 3
Key Clinical Pitfalls
Don't assume symptom relief means cure: Many H. pylori-positive patients remain symptomatic after eradication, but you've eliminated ulcer/cancer risk 1
Rising "idiopathic" ulcers: H. pylori-negative, NSAID-negative ulcers are increasing, with slower healing and higher mortality—these patients need PPI therapy 8, 9
NSAID + H. pylori = additive risk: Test and treat H. pylori before starting chronic NSAIDs 8, 10
Functional dyspepsia diagnosis requires exclusion: Only diagnose functional dyspepsia AFTER confirming H. pylori-negative status and excluding structural disease 2, 11
Treatment Outcomes
H. pylori eradication provides:
- Number needed to treat = 12 for symptom relief in functional dyspepsia 2
- Eliminates peptic ulcer mortality risk 1
- 25% reduction in dyspepsia consultations over 2-7 years 2
For persistent symptoms post-eradication: