What is an H. pylori test?
Medically reviewed by Dr Paul Frank, Gastroenterologist, on .
Written by the
HpyloriTest.com editorial team. Updated on .
Key facts
- An H. pylori test checks whether H. pylori bacteria are living in your stomach.
- You can test a small stool sample at home with a stool antigen test, with a result in 10 minutes.
- It's also used to check whether treatment worked (HealthLink BC).
What is H. pylori?
H. pylori (Helicobacter pylori) is a bacterium that can infect the stomach. It can lead to peptic ulcers. Symptoms of an ulcer can include a burning, aching or gnawing pain between the belly button and the breastbone, and bloating or nausea after eating (HealthLink BC).
What tests are there?
H. pylori can be checked with a stool, breath or blood test (HealthLink BC). The stool test is also called a stool antigen test or fecal antigen test.
How does the stool antigen test work?
The test looks for H. pylori antigens in your stool. The strip is coated with antibodies that catch them. If they're in your sample, a coloured line appears at T. The line at C shows the test worked.
Because it detects the bacterium itself, a stool antigen test can diagnose an ongoing infection. A blood test looks for antibodies instead, so it can't tell a previous infection from an active one (Canadian Digestive Health Foundation).
Our step-by-step guide and video show how to do the test.
Before you test
Ask your doctor before stopping a PPI such as Losec or Pantoloc. If they agree, stop it 2 weeks before you test. Don't take antibiotics or bismuth (Pepto-Bismol) for 1 month before the test (HealthLink BC), 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 straight 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 stools, call your doctor now. Call 911 if you have sudden, severe belly pain that won't stop.

Test at home today
One stool antigen test with everything you need. Your result in 10 minutes, delivered anywhere in Canada.
Sources
- HealthLink BC. Helicobacter pylori tests. Current as of October 31, 2022. www.healthlinkbc.ca/tests-treatments-medications/medical-tests/helicobacter-pylori-tests
- HealthLink BC. Peptic ulcer disease. Current as of March 22, 2023. www.healthlinkbc.ca/healthwise/peptic-ulcer-disease
- Canadian Digestive Health Foundation. What is the H. pylori stool antigen test? Updated November 16, 2022. cdhf.ca/en/what-is-the-h-pylori-stool-antigen-test/
- HealthLink BC. Gastroesophageal reflux disease (GERD). Current as of March 22, 2023. healthlinkbc.ca/health-topics/gastroesophageal-reflux-disease-gerd
First published November 2026.