You finish a round of antibiotics for H. pylori, and the burning in your stomach fades. That feels like the end of the story. It often isn’t — and that’s why testing afterward matters.
Treating H. pylori means killing the bacteria with a combination of medications, usually two or more antibiotics plus a drug that lowers stomach acid. Confirming it’s gone requires a follow-up test done at the right time and, in most cases, off acid-suppressing drugs. The test matters because treatment fails often enough that guessing is not reliable.
Here’s how the whole process works, from the first prescription to the test that tells you whether you’re actually cured.
What Is H. pylori And Why Does It Need Treatment?
H. pylori is a bacterium that lives in the stomach lining. It’s common worldwide, and most people who carry it never develop symptoms. In others, it causes chronic inflammation that can lead to peptic ulcers and, over many years, stomach cancer.
The link to ulcers is well established. Before H. pylori was understood, doctors assumed stress and spicy food caused most ulcers. We now know the bacterium is the main cause of peptic ulcers in people who aren’t taking ulcer-causing medications like NSAIDs.
Not everyone who tests positive needs treatment. Whether to treat depends on your symptoms, your history, and your risk factors. That decision belongs with a clinician. What’s clear is that when treatment is recommended, it should be followed by a test to confirm the infection is gone.
How Is H. pylori Treated?
H. pylori treatment is almost always a combination of medications taken together for a set number of days. No single drug clears it reliably. The bacterium is hardy, and using one antibiotic alone invites resistance.
A standard regimen includes:
- Two or more antibiotics
- A proton pump inhibitor (PPI) — a drug that sharply reduces stomach acid
- Sometimes bismuth, a compound that helps protect the stomach lining and has its own antibacterial effect
Acid suppression isn’t just for comfort. Many antibiotics work better when stomach acid is low, and the bacterium is harder to kill in a highly acidic environment. That’s why the PPI is a core part of treatment, not an add-on.
Exact drug choices, doses, and duration vary. Guidelines in the United States and Europe have evolved as antibiotic resistance has risen, and regimens differ by region and by what you’ve taken before. Your clinician will choose based on local resistance patterns, your allergy history, and prior antibiotic use. This is not a condition to self-treat.
One point that surprises many people: completing the full course exactly as prescribed genuinely matters here. Stopping early raises the chance the bacteria survive and become harder to kill.
Why Does Treatment Sometimes Fail?
Treatment fails more often than most people expect. Antibiotic resistance is the leading reason. When H. pylori is resistant to one of the antibiotics in the regimen, the whole combination can fall short.
Other factors that raise the chance of failure include:
- Not finishing the full course, or missing doses
- Taking the medications incorrectly — timing and food instructions matter
- Acid suppression that isn’t strong enough
- Certain genetic differences that affect how fast some people clear PPIs
- Reinfection, though this is uncommon in adults in developed countries
Some clinicians recommend testing the bacterium’s antibiotic sensitivity before choosing a regimen, especially after a first treatment fails. This isn’t universally available or standard everywhere, but it’s increasingly used in harder cases.
If a first round doesn’t work, a second regimen is usually tried with different antibiotics. A third attempt is possible but gets harder, and specialist input becomes more valuable.
How Do You Confirm The Infection Is Gone?
Confirmation is done with a follow-up test, not by how you feel. Symptoms can improve even when the bacterium is still there, and symptoms can persist for a while even after it’s gone. Feeling better is not proof.
The timing matters. Testing too soon after treatment can give a false result, because dead bacteria and lingering inflammation can still trigger a positive reading. Clinicians generally wait several weeks after finishing treatment before retesting. The exact interval follows clinical guidance rather than guesswork.
Which test to use also matters. Some tests detect the bacterium directly. Others detect your immune response to it, and those antibody tests stay positive for a long time after the infection clears — sometimes for years. That makes antibody blood tests a poor choice for confirming cure.
Which Test Confirms A Cure?
The tests used to confirm cure fall into a few categories, and they are not interchangeable. The table below shows the general picture.
| Test Type | What It Detects | Good For Confirming Cure? |
|---|---|---|
| Urea breath test | Active infection in the stomach | Yes — commonly used |
| Stool antigen test | Bacterial proteins in stool | Yes — commonly used |
| Endoscopy with biopsy | Bacteria and tissue changes directly | Yes — used in certain cases |
| Blood antibody test | Your immune response to the bacteria | No — stays positive after cure |
The urea breath test and stool antigen test are the most common ways to check for cure. Both detect active infection. Both can be affected by medications, which is the next thing to understand.
Why You May Need To Stop Certain Medications Before Testing
PPIs and antibiotics can suppress H. pylori enough to cause a false negative on a breath or stool test. In plain terms, the test can say you’re cured when you’re not.
To avoid this, clinicians often ask patients to pause acid-suppressing medications for a period before testing. Antibiotics and bismuth can have a similar effect and may also need to be stopped beforehand. The specific timing follows clinical guidance.
This is one of the most important — and most easily missed — steps in the whole process. If you’re tested while still on a PPI, a negative result may not mean what it appears to mean. Always tell whoever orders your test exactly what you’re taking.
What If The Infection Is Still There?
A positive follow-up test means treatment didn’t clear the infection. This is common enough that it’s a normal part of the process, not a personal failure.
The usual next step is a second regimen using different antibiotics than the first. Because resistance drives most failures, changing the drugs is the point. Some clinicians will test which antibiotics the bacteria is still sensitive to before choosing.
After a second failure, options narrow and specialist care becomes more useful. Repeated courses of the same antibiotics are unlikely to help and add to resistance.
What Happens After A Confirmed Cure?
Once a test confirms the infection is gone, most people don’t need repeat testing unless symptoms return or a clinician has another reason to check.
Reinfection is possible but uncommon in adults in places where H. pylori is less widespread. The bigger question is often whether symptoms fully resolve. Ulcers and inflammation can take time to heal even after the bacterium is gone, so lingering discomfort in the short term doesn’t automatically mean treatment failed.
If symptoms return later, retesting is reasonable. It’s also worth knowing that some people are reinfected or were never fully cleared in the first place, which is exactly why confirmation testing exists.
Frequently Asked Questions
How long after treatment should I get tested for H. pylori?
Clinicians generally wait several weeks after finishing treatment before retesting, following clinical guidance on the exact interval. Testing too soon can give a false result.
Can I confirm H. pylori is gone with a blood test?
No. Blood antibody tests stay positive for a long time after the infection clears, so they can’t confirm a cure. Breath and stool tests detect active infection instead.
Do I need to stop my acid medication before the test?
Often yes. PPIs can suppress the bacteria and cause a false negative, so clinicians frequently ask patients to pause them before testing. Ask your clinician for the exact timing.
What if I still have symptoms after treatment?
Symptoms can linger while the stomach heals, even when the infection is gone. Only a follow-up test can tell you whether the bacteria were actually cleared.

