What is the recommended treatment for gastric ulcer, including management of Helicobacter pylori infection and NSAID‑induced ulcers?

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: October 21, 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.

Gastric Ulcer Treatment

For gastric ulcers, always provide H. pylori eradication therapy if infected, continue PPI until complete ulcer healing is confirmed endoscopically, and verify eradication success—this differs critically from duodenal ulcers which don't require prolonged acid suppression after successful eradication. 1

H. pylori-Positive Gastric Ulcers

Initial Treatment Approach

  • Start H. pylori eradication immediately upon diagnosis 1
  • First-line regimen: Bismuth quadruple therapy (BQT) for 14 days in areas where clarithromycin resistance is >20% 2
    • Alternative: Rifabutin triple therapy or potassium-competitive acid blocker dual therapy for 14 days if no penicillin allergy 2
  • In bleeding ulcers: Begin eradication treatment as soon as oral feeding is reintroduced 1

Critical Difference from Duodenal Ulcers

Gastric ulcers require prolonged PPI therapy even after successful H. pylori eradication (Grade A recommendation) 1. This is because:

  • Gastric ulcers need longer acid suppression for complete healing than duodenal ulcers
  • Continue PPI until endoscopic confirmation of complete healing
  • Endoscopic follow-up is mandatory to exclude malignancy and confirm healing 1

Confirmation of Eradication

  • Test at least 4 weeks after completing treatment 1
  • Use urea breath test (UBT) or validated monoclonal stool antigen test 1
  • Never use serology for post-treatment confirmation 1
  • Mandatory confirmation in gastric ulcers (unlike uncomplicated duodenal ulcers) 1

NSAID-Induced Gastric Ulcers

If H. pylori is Present

Test for H. pylori in all NSAID users with gastric ulcers and eradicate if positive 3. The interaction is critical:

  • H. pylori and NSAIDs have synergistic effects (OR 61.1 for ulcer development when both present) 4, 5
  • For NSAID-naive patients: H. pylori eradication reduces subsequent ulcer risk 4
  • For established NSAID users: PPI therapy is more effective than eradication alone for preventing recurrence 4, 5

Prevention Strategy for Ongoing NSAID Use

If NSAIDs must be continued after ulcer healing:

  • First choice: PPI therapy (most effective for prevention) 3, 6
  • Alternative: Misoprostol (less well-tolerated) 7
  • If H. pylori positive: Eradicate first, then add PPI for ongoing NSAID use 3
  • Consider COX-2 selective inhibitors in high-risk patients, though cardiovascular risks must be weighed 8

High-Risk Patients Requiring Special Attention

Patients with history of ulcer bleeding who need NSAIDs or low-dose aspirin:

  • Eradicate H. pylori first 3
  • Then add PPI prophylaxis regardless of eradication success 3
  • This dual approach is essential—eradication alone is insufficient in this population 3

Complicated Gastric Ulcers

Bleeding Gastric Ulcers

  • Start H. pylori eradication when oral feeding resumes 1
  • Continue PPI until eradication is confirmed 1
  • Do not delay eradication therapy until discharge (reduces compliance) 1

Perforated or Stenotic Ulcers

  • Treat as complicated ulcers: prolonged PPI required after eradication 1
  • Surgical consultation as needed for mechanical complications 9

Common Pitfalls to Avoid

  1. Don't stop PPI after eradication in gastric ulcers (unlike duodenal ulcers)—continue until endoscopic healing confirmed 1
  2. Don't skip endoscopic follow-up in gastric ulcers—malignancy must be excluded 1
  3. Don't use serology to confirm eradication—only UBT or stool antigen 1
  4. Don't test before 4 weeks post-treatment—false negatives occur earlier 1
  5. Don't rely on H. pylori eradication alone in established NSAID users—add PPI 4
  6. Don't forget to test for H. pylori before starting long-term PPI therapy, as PPIs worsen corpus gastritis in infected patients 8

Treatment Failure

If eradication fails:

  • Second-line: Optimized BQT for 14 days (if not used initially) 2
  • Third-line: Rifabutin triple therapy or culture-guided therapy based on antibiotic susceptibility 1, 2
  • Avoid clarithromycin or levofloxacin unless susceptibility confirmed 2

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.