What is the recommended treatment for a patient diagnosed with Helicobacter pylori (H. pylori) infection?

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

H. Pylori: Patient Education Guide

What is H. Pylori?

H. pylori is a common bacterial infection in your stomach that affects up to 50% of people worldwide and causes inflammation (gastritis) that can lead to ulcers and, rarely, stomach cancer. 1, 2 The good news is that this infection can be cured with antibiotics and acid-reducing medications. 1

Why Should You Get Tested?

You should be tested for H. pylori if you have: 1, 3

  • Stomach pain or indigestion (dyspepsia) that won't go away
  • Current or past stomach or duodenal ulcers
  • Family history of stomach cancer or ulcers
  • Long-term use of aspirin or anti-inflammatory medications (NSAIDs) like ibuprofen
  • Unexplained anemia (low iron or vitamin B12)
  • Family members living with you who have H. pylori

If you're under 45-50 years old without warning signs (no weight loss, bleeding, difficulty swallowing, or anemia), you can be tested without needing an endoscopy first. 1 If you're over 50 or have any of these warning symptoms, you'll need an endoscopy (camera test) to look directly at your stomach. 1, 4

How is H. Pylori Diagnosed?

The two best non-invasive tests are the urea breath test and stool antigen test, both with accuracy rates above 93%. 4 These tests detect active infection without requiring an endoscopy. 1, 4

Important Testing Rules:

  • Stop proton pump inhibitors (PPIs like omeprazole, esomeprazole) for at least 2 weeks before testing to avoid false-negative results 4
  • Stop antibiotics for at least 4 weeks before testing 4
  • Never use blood antibody tests to confirm cure – they stay positive even after successful treatment 4

How is H. Pylori Treated?

The most effective first-line treatment is bismuth quadruple therapy for 14 days, which cures over 90% of infections. 1, 5 This includes:

  • Bismuth (like Pepto-Bismol)
  • Two antibiotics (typically metronidazole and tetracycline)
  • A proton pump inhibitor (PPI) taken 30 minutes before meals 1

Alternative First-Line Options:

If bismuth therapy isn't available, your doctor may prescribe: 1, 5

  • Rifabutin triple therapy for 14 days: Rifabutin + amoxicillin + high-dose PPI
  • Concomitant therapy for 14 days: PPI + amoxicillin + clarithromycin + metronidazole (only in areas with low clarithromycin resistance) 3

Important Treatment Details:

  • Take medications with meals to minimize stomach upset 6
  • Complete the full 14-day course even if you feel better 1
  • Use high-dose PPIs – at least 40 mg omeprazole (or 20 mg esomeprazole/rabeprazole) twice daily 1
  • Avoid pantoprazole as it's less effective than other PPIs 1

What If the First Treatment Doesn't Work?

If treatment fails, you'll need a different antibiotic combination for 14 days. 5 Options include:

  • Bismuth quadruple therapy (if not used initially) 5
  • Levofloxacin triple therapy: Levofloxacin + amoxicillin + PPI (only if susceptibility confirmed) 1, 5
  • Rifabutin triple therapy (if not used initially) 5

After two failed treatments, your doctor should perform an endoscopy with bacterial culture to test which antibiotics will work. 7, 5

Confirming Cure

You must be retested at least 4 weeks after finishing treatment to confirm the infection is gone. 4 Use either:

  • Urea breath test (preferred) 4
  • Stool antigen test 4

Never use blood antibody tests for confirmation – they cannot distinguish between active and past infection. 4

Why Treatment Matters

Curing H. pylori prevents ulcers from coming back in over 90% of cases and reduces your risk of stomach cancer. 1 If you take NSAIDs regularly, eradicating H. pylori cuts your ulcer risk in half. 8

Common Side Effects and Tips

Treatment side effects may include: 1

  • Nausea or upset stomach
  • Diarrhea
  • Metallic taste
  • Dark stools (from bismuth – this is normal)

To reduce side effects: 3

  • Take all medications with food
  • Consider taking probiotics during treatment
  • Stay well-hydrated
  • Report severe diarrhea, rash, or allergic reactions to your doctor immediately

Key Takeaways

  • H. pylori is curable with 14 days of combination therapy 1, 5
  • Bismuth quadruple therapy is the most reliable first-line treatment 1, 5
  • Always confirm cure 4+ weeks after treatment 4
  • Stop PPIs 2 weeks and antibiotics 4 weeks before testing 4
  • Complete the full course even if symptoms improve 1

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Management of Helicobacter pylori infection.

JGH open : an open access journal of gastroenterology and hepatology, 2023

Guideline

Diagnosis and Management of Helicobacter pylori Infection

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

ACG Clinical Guideline: Treatment of Helicobacter pylori Infection.

The American journal of gastroenterology, 2024

Research

Helicobacter pylori eradication therapy.

Future microbiology, 2010

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.