H. pylori Infection
Understanding the bacterium that causes ulcers and stomach problems
Last reviewed: February 2026
🦠 What is H. pylori?
Helicobacter pylori (H. pylori) is a spiral-shaped bacterium that lives in the stomach lining of approximately half the world's population. It's uniquely adapted to survive the stomach's harsh acidic environment by producing an enzyme called urease, which neutralizes stomach acid in its immediate vicinity.
H. pylori infection is the most common chronic bacterial infection in humans. While most infected people never develop symptoms, H. pylori is the primary cause of peptic ulcers and gastritis, and it's classified as a Group 1 carcinogen due to its link to stomach cancer.
🔄 How H. pylori Spreads
H. pylori is typically acquired in childhood and persists lifelong without treatment. Transmission routes include:
Routes of Transmission
- Oral-oral: Through saliva (kissing, sharing utensils)
- Fecal-oral: Contaminated food or water
- Gastric-oral: Contact with vomit
Risk Factors for Infection
| Factor | Why It Increases Risk |
|---|---|
| Living in developing countries | Higher rates due to crowding, sanitation issues |
| Crowded living conditions | More opportunities for person-to-person spread |
| Lack of clean water | Waterborne transmission possible |
| Living with infected person | Family clustering is common |
| Lower socioeconomic status | Associated with many of above factors |
🔍 Symptoms and Related Conditions
Most people with H. pylori have no symptoms. When problems do occur, they're usually related to:
Gastritis
- Burning or gnawing stomach pain
- Nausea
- Bloating
- Loss of appetite
- Frequent burping
Peptic Ulcers
- Burning stomach pain (worse when stomach is empty)
- Night pain
- Pain relieved by eating or antacids
- Nausea, vomiting
- Weight loss
Other Associated Conditions
- Dyspepsia (functional): Chronic indigestion without ulcer
- Stomach cancer: Long-term H. pylori increases risk (though still uncommon)
- MALT lymphoma: Rare stomach lymphoma that can regress with H. pylori treatment
- Iron deficiency anemia: H. pylori can impair iron absorption
- Vitamin B12 deficiency: Chronic gastritis affects B12 absorption
- ITP (Idiopathic thrombocytopenic purpura): Low platelets sometimes linked
- Persistent stomach pain
- Difficulty swallowing
- Vomiting blood or material like coffee grounds
- Black, tarry stools
- Unexplained weight loss
🩺 Testing for H. pylori
Non-Invasive Tests
| Test | How It Works | Accuracy | Notes |
|---|---|---|---|
| Urea Breath Test (UBT) | Drink urea solution; H. pylori breaks it down, releasing CO2 you breathe out | >95% | Gold standard non-invasive test; stop PPIs 2 weeks before |
| Stool Antigen Test | Detects H. pylori proteins in stool | >90% | Good for diagnosis and confirming eradication |
| Blood Antibody Test | Detects antibodies against H. pylori | 85% | Can't distinguish current from past infection; not for confirming eradication |
Invasive Tests (During Endoscopy)
- Rapid Urease Test (CLO test): Biopsy placed in urea solution; color change if positive
- Histology: Biopsy examined under microscope
- Culture: Growing bacteria from biopsy (allows antibiotic sensitivity testing)
Important Testing Considerations
- Stop PPIs: At least 2 weeks before breath or stool tests (can cause false negatives)
- Stop antibiotics: At least 4 weeks before testing
- H2 blockers: Can usually continue, but some recommend stopping 24-48 hours before
- Antacids: Generally don't affect results
💊 Treatment
H. pylori treatment requires combination therapy because single antibiotics are ineffective. Typical regimens include:
First-Line Treatment Options
Triple Therapy (14 days)
- PPI (e.g., omeprazole 20mg) twice daily
- Clarithromycin 500mg twice daily
- Amoxicillin 1000mg twice daily (or metronidazole 500mg twice daily if penicillin-allergic)
Bismuth Quadruple Therapy (10-14 days)
- PPI twice daily
- Bismuth subsalicylate 525mg four times daily
- Metronidazole 500mg three times daily
- Tetracycline 500mg four times daily
Concomitant Therapy (14 days)
- PPI twice daily
- Clarithromycin 500mg twice daily
- Amoxicillin 1000mg twice daily
- Metronidazole 500mg twice daily
Treatment Tips
- Complete the full course—don't stop early even if you feel better
- Take medications at the same times each day
- Take PPIs 30-60 minutes before meals
- Avoid alcohol during treatment (especially with metronidazole)
- Report severe side effects to your doctor
- Get tested 4+ weeks after treatment to confirm eradication
Common Side Effects
- Diarrhea
- Nausea
- Metallic taste (metronidazole, clarithromycin)
- Stomach upset
- Headache
✅ After Treatment
Confirming Eradication
- Wait at least 4 weeks after completing antibiotics
- Stop PPIs 2 weeks before testing
- Urea breath test or stool antigen test recommended
- Blood antibody tests not useful (stay positive for years)
What If Treatment Fails?
- Use a different regimen (avoid antibiotics used before)
- Longer treatment duration (14 days if 10 days used initially)
- Antibiotic sensitivity testing may be helpful
- Ensure patient adherence to medications
Can You Get Reinfected?
Reinfection after successful treatment is uncommon in adults (about 1-2% per year in developed countries). Factors that help prevent reinfection:
- Good hygiene practices
- Testing and treating infected family members
- Safe food and water practices
❓ Who Should Be Tested and Treated?
Test and Treat If:
- Active peptic ulcer disease
- History of peptic ulcer (if not previously treated)
- Dyspepsia (indigestion) under age 60
- MALT lymphoma
- After resection of early gastric cancer
- First-degree relative with gastric cancer
- Long-term NSAID use planned
- Unexplained iron deficiency anemia
- Idiopathic thrombocytopenic purpura (ITP)
Consider Testing:
- Chronic PPI users (to determine if PPIs still needed)
- Patients with GERD (controversial—some studies suggest benefit)
- Patients undergoing bariatric surgery
⚠️ Long-term Health Implications
Stomach Cancer Risk
- H. pylori is classified as a Group 1 carcinogen
- Increases stomach cancer risk 2-6 fold
- Most stomach cancers occur in people with H. pylori
- BUT: The absolute risk is still low—most infected people never develop cancer
- Eradication may reduce cancer risk, especially if done early