Menu

H. pylori and Peptic Ulcers: When Heartburn Is Not Just GERD
Dr. Michael Zimmer

Dr. Michael A. Zimmer

H. pylori and Peptic Ulcers: When Heartburn Is Not Just GERD

Medically reviewed by Michael A. Zimmer, MD, MACPBoard-Certified Internal Medicine, Medical Director
Post Summary

Helicobacter pylori causes most peptic ulcers and is a leading risk factor for stomach cancer. If your "reflux" is not responding to standard treatment, here is why your doctor may test for H. pylori — and what the treatment actually involves.

When Reflux Symptoms Do Not Add Up

You have been taking a proton pump inhibitor for months. The burning in your upper abdomen fades for a while, then comes back. You wake up at two in the morning feeling gnawing hunger-like pain, and antacids barely touch it. If this sounds familiar, your symptoms may not be ordinary gastroesophageal reflux disease at all. They may be pointing toward an infection that lives quietly in the stomach of nearly half the world's population: Helicobacter pylori.

At Zimmer Medical Group, we see patients every month whose stubborn dyspepsia turns out to be H. pylori related. Recognizing it — and treating it correctly the first time — can prevent years of unnecessary acid suppression and, more importantly, reduce the risk of gastric cancer.

What H. pylori Actually Is

H. pylori is a spiral-shaped, gram-negative bacterium that colonizes the stomach lining. It has adapted to survive the stomach's acidic environment by producing urease, an enzyme that neutralizes acid immediately around it. Global prevalence is estimated at around 40 percent, with higher rates in areas of crowded living conditions and limited early-life sanitation. Transmission is typically fecal-oral and usually happens in childhood, which means most people carrying the organism today acquired it decades ago without knowing.

Most infected people never develop symptoms. But a meaningful minority go on to develop chronic gastritis, duodenal ulcers, gastric ulcers, MALT lymphoma, or gastric adenocarcinoma. The CDC's overview of H. pylori underscores that the organism is responsible for the majority of peptic ulcer disease cases worldwide.

Who Should Be Tested

Not every person with heartburn needs an H. pylori test, but the indications are clearer than many patients realize. You should be tested if you have:

  • An active peptic ulcer or a documented history of one
  • MALT lymphoma
  • Uninvestigated dyspepsia, particularly if you are from a high-prevalence region
  • A long history of NSAID use combined with ulcer risk factors
  • Unexplained iron deficiency anemia
  • Immune thrombocytopenic purpura (ITP)
  • A first-degree relative with gastric cancer

If your chronic gastritis or reflux-like symptoms have not responded to appropriate acid suppression, testing is reasonable even if you do not meet one of the classic indications.

How We Test — and Why Preparation Matters

There are three practical ways to detect active infection: stool antigen testing, the urea breath test, and biopsy during upper endoscopy. Stool antigen and urea breath tests are the preferred non-invasive options because they confirm active infection, not just past exposure. Serology (blood antibody testing) remains positive long after eradication and is generally not useful for confirming current infection.

Preparation is where many patients and clinicians slip. Proton pump inhibitors like omeprazole and pantoprazole suppress the organism enough to produce false-negative results. You should be off a PPI for at least two weeks before testing, and off antibiotics and bismuth for four weeks. The NIDDK's patient resource on H. pylori and peptic ulcers reinforces the need to stop acid-suppressing medications before breath and stool testing.

What Treatment Actually Involves

Treatment has become more complex over the last decade because clarithromycin resistance has risen sharply. In 2026, first-line regimens in most of the United States are:

  • Bismuth quadruple therapy for 14 days: a PPI, bismuth subsalicylate, metronidazole, and tetracycline. This is now preferred in many regions because of resistance patterns.
  • Clarithromycin triple therapy for 14 days: a PPI, amoxicillin, and clarithromycin. This remains reasonable where local clarithromycin resistance is low and you have no prior macrolide exposure.

Whichever regimen you receive, finishing the full 14 days is essential. Stopping early is the single most common reason eradication fails.

Confirming the Infection Is Gone

You are not done when the pills run out. Eradication should be confirmed at least four weeks after completing antibiotics, and with PPIs held for two weeks before the confirmation test. A repeat stool antigen or urea breath test is the standard. If the first regimen fails, the second attempt should use different antibiotics — repeating the same regimen is rarely successful.

When to involve a gastroenterologist: persistent symptoms after two treatment attempts, alarm features such as unintended weight loss, iron deficiency anemia, dysphagia, new symptoms after age 60, or any suspicion of a bleeding ulcer. Distinguishing ulcer pain from cardiac symptoms also matters — our guide to GERD vs. heart attack walks through the key differences.

The Bigger Picture

H. pylori is one of the few chronic infections we can genuinely cure, and curing it often resolves symptoms that have been misattributed to reflux for years. It also meaningfully lowers the long-term risk of gastric cancer. If your heartburn keeps coming back despite appropriate treatment, that deserves a real workup — not another refill.

If you have been cycling through acid reducers with no lasting relief, schedule a visit with Dr. Zimmer. We will take a careful history, test appropriately, and if H. pylori is the culprit, we will treat it thoroughly the first time.