H. pylori test preparation: medicines to stop first
Medically reviewed by Dr Paul Frank, Gastroenterologist, on .
Written by the
HpyloriTest.com editorial team. Updated on .
Key facts
- PPIs such as Prilosec and Nexium can hide H. pylori. Ask your doctor about stopping them 2 weeks before you test.
- Bismuth (Pepto-Bismol) and antibiotics need a 4-week gap before you test.
- Never cut a course of antibiotics short.
Can medicines affect the test?
Some medicines can cause a false negative (ACG), including some you may be taking for your symptoms (MedlinePlus).
Which medicines need a break before the test?
US guidelines give these times (ACG):
| Medicine (US brands) | Before your test |
|---|---|
| PPIs: Prilosec, Nexium, Prevacid, Protonix, Aciphex, Dexilant | Ask your doctor. If they agree, stop 2 weeks before |
| Bismuth: Pepto-Bismol | Test at least 4 weeks after your last dose |
| Antibiotics | Test at least 4 weeks after your last dose |
PPIs you buy over the counter for heartburn count too. If you're taking antibiotics now, finish the course, then wait 4 weeks.
Reading your result
- 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
Do I need to fast for the stool test?
Fasting is listed for other H. pylori tests, not for the stool test (MedlinePlus). Follow the instructions in your kit.
What can I take for heartburn while I'm off my PPI?
Ask your doctor or pharmacist.

Test at home today
One stool antigen test with everything you need. Your result in 10 minutes, delivered to your door in the US.
Sources
- 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
- MedlinePlus, US National Library of Medicine. Helicobacter pylori (H. pylori) tests. Updated November 2, 2026. medlineplus.gov/lab-tests/helicobacter-pylori-h-pylori-tests/
- NIDDK. Symptoms and causes of indigestion. Last reviewed March 2025. www.niddk.nih.gov/health-information/digestive-diseases/indigestion-dyspepsia/symptoms-causes
- MedlinePlus Medical Encyclopedia. Gastrointestinal bleeding. Reviewed January 24, 2025. medlineplus.gov/ency/article/003133.htm
First published November 2026.