Health Compass For YouHealth Compass For You
H. pylori Treatment: How This Common Infection Is Treated
Infections & Seasonal Complaints6 min readMedically reviewed

H. pylori Treatment: How This Common Infection Is Treated

Written by: Mohanad Yehia · General Practitioner

Registration number: 285392

July 31, 2026

Helicobacter pylori infects roughly half the world's population, yet most people never learn they have it until it starts causing the stomach symptoms treatment is designed to resolve.

Helicobacter pylori is one of the most common chronic bacterial infections in the world, quietly colonizing the stomach lining of an estimated half of the global population, often for decades without producing a single symptom. What eventually brings it to medical attention — persistent indigestion, an ulcer, or an unexplained iron deficiency — is only the visible tip of a much longer, largely silent relationship between this bacterium and the stomach lining it has adapted specifically to survive in.

How a Bacterium Survives the Stomach's Acid

Most bacteria can't survive stomach acid, which is precisely why H. pylori is so biologically unusual: it produces an enzyme called urease that converts urea into ammonia, neutralizing acid in its immediate surroundings and creating a small protected pocket within the mucus layer lining the stomach wall. From that sheltered position, it can persist indefinitely unless specifically treated, gradually provoking a low-grade inflammatory response in the surrounding tissue that, over years, can lead to gastritis, ulcers, or in a small proportion of long-term carriers, an increased risk of stomach cancer.

Why Most Infections Stay Silent

The majority of people carrying H. pylori never develop noticeable symptoms, and researchers don't yet fully understand why the same bacterium causes significant disease in some people and remains harmless in others — factors likely include the specific strain involved, genetic differences in the host's inflammatory response, and other lifestyle factors such as diet and smoking. This variability is part of why testing is generally reserved for people with a specific reason to suspect infection, such as ongoing upper digestive symptoms, a diagnosed ulcer, or a family history of stomach cancer, rather than broad population-wide screening.

How the Infection Is Actually Diagnosed

Several reliable testing methods exist, each with different practical trade-offs. A urea breath test, which detects the byproducts of the bacterium's own urease enzyme, is non-invasive and widely used, as is a stool antigen test that directly detects H. pylori proteins in a stool sample. Blood antibody tests are less favored for confirming an active infection, since antibodies can remain detectable long after successful treatment, making them more useful for past-exposure screening than for confirming current infection. Endoscopy with a tissue biopsy is generally reserved for cases where a doctor already needs to examine the stomach lining directly for other reasons, such as investigating an ulcer.

Why Treatment Requires Multiple Medications at Once

Unlike many bacterial infections treated with a single antibiotic, H. pylori is generally treated with a combination of two antibiotics plus an acid-suppressing medication, typically a proton pump inhibitor, taken together for one to two weeks. This combination approach exists because the bacterium has developed meaningful antibiotic resistance in many regions, and using a single antibiotic alone carries a substantially higher risk of treatment failure and further resistance developing. The acid-suppressing component isn't just for symptom comfort — reducing stomach acidity is thought to improve how effectively the antibiotics reach and act on the bacterium within its protected niche.

Continue reading for free

Create a free account to unlock the rest of this article and our full health library.

Reviewed by a doctor100% free health libraryIndependent, unbiased information

Already have an account?

Frequently Asked Questions

Can H. pylori infection come back after successful treatment?

Reinfection is possible but relatively uncommon in areas with good sanitation, since transmission is thought to occur primarily through close contact and contaminated food or water; what looks like a recurrence is more often a case where the original infection was never fully eradicated.

Is H. pylori infection contagious to family members?

It can spread within households, likely through close contact and shared food or water sources, though not everyone exposed becomes infected, and testing family members is generally only recommended if they have their own symptoms or specific risk factors.

Why do I need a follow-up test after finishing treatment?

Because treatment failure is common enough to warrant confirmation, a follow-up breath or stool test performed several weeks after finishing antibiotics is the only reliable way to confirm the infection has actually cleared, rather than assuming success from symptom improvement alone.

Does H. pylori always need to be treated once it's found?

Not universally, but current guidance leans toward treating it in most people once detected, given its association with ulcers and long-term cancer risk, and a doctor will weigh the specific situation, including symptoms and other risk factors, when making that recommendation.

MY

Medically reviewed

Mohanad Yehia

General Practitioner · Registration number: 285392

This article was reviewed for medical accuracy before publication. Our reviewers are licensed healthcare professionals and are credited by name.

Published on July 31, 2026

Share this article

Get weekly health insights

Expert-reviewed tips and articles, straight to your inbox. No spam, unsubscribe anytime.

Free forever. Unsubscribe anytime.