What is H. pylori?
Medically reviewed by Dr Leon Fisherman, Gastroenterologist & Interventional Endoscopist, on .
Written by the
HpyloriTest.com editorial team. Updated on .
Key facts
- H. pylori is a type of bacteria that infects the inner lining of the stomach.
- About 20 to 30% of people in Canada have it (National Collaborating Centre for Infectious Diseases).
- It's a major cause of stomach ulcers. You can check for it at home.
What does H. pylori do?
It can cause gastritis, a long-lasting inflammation of the stomach lining, which can lead to ulcers in the stomach or the first part of the small intestine (National Collaborating Centre for Infectious Diseases).
What causes an H. pylori infection?
No one knows for sure how it spreads (Canadian Digestive Health Foundation), but people can get it from unsafe water or contaminated food (National Collaborating Centre for Infectious Diseases). The first infection usually happens in childhood (Canadian Digestive Health Foundation). There's more on how it spreads.
Is H. pylori dangerous?
It can be. As well as causing ulcers, H. pylori infection may increase the risk of stomach cancer (HealthLink BC), though not everyone infected develops it (Canadian Cancer Society). There's more on H. pylori and stomach cancer.
How do you know if you have it?
With a test, because other problems can cause the same symptoms as H. pylori. A stool antigen test can diagnose an ongoing infection (Canadian Digestive Health Foundation).
How to check for H. pylori at home
- 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 guide and video show each stage.
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.
Frequently asked questions
Does H. pylori go away on its own?
Don't count on it. See whether H. pylori goes away on its own.
What are the symptoms of H. pylori?
Mostly stomach symptoms, such as an upset stomach, a burning feeling and nausea. See H. pylori symptoms.

Test at home today
One stool antigen test with everything you need. Your result in 10 minutes, delivered anywhere in Canada.
Sources
- National Collaborating Centre for Infectious Diseases (funded by the Public Health Agency of Canada). Helicobacter pylori infection. 2023. nccid.ca/wp-content/uploads/sites/2/2023/07/H-Pylori-infographic-Final-1-1.pdf
- Canadian Digestive Health Foundation. Peptic ulcer and H. pylori. Updated June 23, 2025. cdhf.ca/en/digestive-conditions/peptic-ulcer-h-pylori/
- HealthLink BC. Helicobacter pylori bacteria. Current as of October 31, 2022. www.healthlinkbc.ca/healthwise/helicobacter-pylori-bacteria
- Canadian Cancer Society. Risks for stomach cancer. Last medical review January 2019. cancer.ca/en/cancer-information/cancer-types/stomach/risks
- 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. 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
- HealthLink BC. Gastroesophageal reflux disease (GERD). Current as of March 22, 2023. healthlinkbc.ca/health-topics/gastroesophageal-reflux-disease-gerd
First published November 2026.