1. Home
  2. US
  3. Testing

Can you test for H. pylori after taking antibiotics?

Written by the HpyloriTest.com editorial team. Updated on .

Key facts

  • Wait at least 4 weeks after your last dose of any antibiotic (ACG).
  • That includes antibiotics for something else, such as bronchitis, a sinus infection or a UTI.
  • You can check for H. pylori at home with a stool antigen test, with a result in 10 minutes.

Why does an antibiotic for something else matter?

An antibiotic can knock H. pylori down without clearing it. For a few weeks there may be too few bacteria for a test to find, and you get a false negative (ACG).

Could that antibiotic have cured H. pylori?

It's unlikely. H. pylori is treated with a combination: usually two or more antibiotics plus an acid-reducing medicine (NIDDK). One antibiotic for a week isn't that.

What should you do?

Finish the antibiotic. Never cut a course short. Mark the date of your last dose, count 4 weeks, then test.

What else needs a gap?

Bismuth (Pepto-Bismol) also needs 4 weeks. PPIs such as Prilosec or Nexium need 2 weeks, if your doctor agrees (ACG). More in H. pylori test preparation.

How to do the home test

  1. Catch a stool sample and dip the end of the sampling stick into it.
  2. Put the stick back in the tube, then stir and turn it for about 10 seconds.
  3. Squeeze 2 drops into the round sample hole on the test.
  4. Lay the test flat and read it at 10 minutes.

Our step-by-step instructions and video walk you through each stage.

What your result means

  • C and T lines: H. pylori detected. Take your result to your doctor to talk about treatment.
  • C line only: not detected.
  • No C line: the test didn't work. Use a new test.

When to see a doctor instead

See a doctor right away, instead of testing at home, if you have:

  • trouble swallowing
  • weight loss you can't explain
  • vomiting that keeps coming back

If you're vomiting blood or passing black, tarry stools, call 911.

Frequently asked questions

I tested during antibiotics and it was negative. Does it count?

No. Test again 4 weeks after your last dose.

Test at home today

One stool antigen test with everything you need. Your result in 10 minutes, delivered to your door in the US.

$49.00

Sources

  1. Chey WD, et al. ACG Clinical Guideline: Treatment of Helicobacter pylori Infection. Am J Gastroenterol. 2024. Guideline highlights, American College of Gastroenterology. mediacdn.gi.org/giorgcdn/wp-content/uploads/2025/01/ACG-Hpylori-Guidelines-Highlights-2024-FINAL.pdf.pdf
  2. NIDDK. Treatment for peptic ulcers. Last reviewed September 2022. www.niddk.nih.gov/health-information/digestive-diseases/peptic-ulcers-stomach-ulcers/treatment
  3. NIDDK. Symptoms and causes of indigestion. Last reviewed March 2025. www.niddk.nih.gov/health-information/digestive-diseases/indigestion-dyspepsia/symptoms-causes
  4. MedlinePlus Medical Encyclopedia. Gastrointestinal bleeding. Reviewed January 24, 2025. medlineplus.gov/ency/article/003133.htm

First published November 2026.

How to test for H. pylori at home (39 sec)