Do you need to stop famotidine before an H. pylori test?
Written by the HpyloriTest.com editorial team. Updated on .
Key facts
- No, not under US guidelines. The 2-week break before testing is for PPIs and vonoprazan (ACG summary).
- Famotidine (Pepcid) is an H2 blocker, a different kind of acid reducer (famotidine label).
- You can check for H. pylori at home with a stool antigen test, with a result in 10 minutes.
Why is famotidine treated differently?
PPIs such as Prilosec and Nexium are the acid reducers that US guidelines say to stop before a test. H2 blockers work in a different way, and guidelines say they can cover the gap while you're off a PPI (ACG summary).
How do you know which one you take?
Read the active ingredient on the box. Famotidine is an H2 blocker. Names ending in -prazole, such as omeprazole and esomeprazole, are PPIs.
Which medicines do need a break?
US guidelines list three kinds of medicine that can hide H. pylori (ACG):
- PPIs such as Prilosec and Nexium: ask your doctor, and if they agree, stop 2 weeks before
- antibiotics: test at least 4 weeks after your last dose
- bismuth (Pepto-Bismol): test at least 4 weeks after your last dose
Never cut a course of antibiotics short. More in H. pylori test preparation.
How to do the home test
- Catch a stool sample and dip the end of the sampling stick into it.
- Put the stick back in the tube, then stir and turn it for about 10 seconds.
- Squeeze 2 drops into the round sample hole on the test.
- 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
Does famotidine treat H. pylori?
No. It lowers acid. Antibiotics clear H. pylori (MedlinePlus).

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
- Schoenfeld P. Summary of the 2024 ACG Clinical Guideline on the treatment of Helicobacter pylori infection. Evidence-Based GI, American College of Gastroenterology. September 2024. gi.org/journals-publications/ebgi/schoenfeld_sep2024/
- DailyMed, US National Library of Medicine. Famotidine acid reducer: drug facts label. dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=f347f870-1da4-4a77-8c20-63b703d24071
- 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
- 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
- MedlinePlus, US National Library of Medicine. Helicobacter pylori infections. Last updated August 24, 2025. medlineplus.gov/helicobacterpyloriinfections.html
First published November 2026.