Can you do an H. pylori stool test with diarrhea?
Written by the HpyloriTest.com editorial team. Updated on .
Key facts
- Wait until your stool is formed again. Watery stool can give an unreliable result (Shimoyama 2013).
- You only need a small, formed sample.
- When you're ready, the test takes about 15 minutes from start to finish.
Why does watery stool matter?
The test looks for H. pylori proteins in the sample. In watery stool they're diluted, so the test can miss them (Shimoyama 2013).
What makes a good sample?
- Catch the stool in a clean, dry container, or on paper or plastic wrap laid over the toilet.
- Keep urine, toilet paper and toilet water out of it.
Source: MedlinePlus. More in how to collect a stool sample.
What if the diarrhea is from antibiotics?
Then you need to wait anyway. Test at least 4 weeks after your last antibiotic (ACG). See diarrhea after H. pylori antibiotics.
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.
Before you test
Ask your doctor before stopping a PPI such as Prilosec or Nexium. If they agree, stop it 2 weeks before you test. Test at least 4 weeks after your last dose of antibiotics or bismuth (Pepto-Bismol) (ACG), and never cut a course of antibiotics short.
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
What if I'm constipated?
You only need a small amount on the end of the sampling stick.

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
- Shimoyama T. Stool antigen tests for the management of Helicobacter pylori infection. World J Gastroenterol. 2013;19(45):8188-91. www.wjgnet.com/1007-9327/full/v19/i45/8188.htm
- MedlinePlus, US National Library of Medicine. Helicobacter pylori (H. pylori) tests. Updated November 2, 2026. medlineplus.gov/lab-tests/helicobacter-pylori-h-pylori-tests/
- 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
First published November 2026.