How to test for H. pylori
Medically reviewed by Dr Paul Frank, Gastroenterologist, on .
Written by the
HpyloriTest.com editorial team. Updated on .
Key facts
- The simplest way to test for H. pylori is at home, with a stool antigen test. It takes about 15 minutes.
- You don't need a GP appointment to test at home.
- Ask your GP about stopping a PPI such as omeprazole 2 weeks before you test.
How do you get tested for H. pylori?
On the NHS, testing goes through your GP (NHS). That means an appointment, a sample to hand in and a wait for your result.
With a home test, you order a stool antigen test online, it's delivered to your door, and you do the test yourself. It looks for H. pylori proteins in a small poo sample (Guts UK), and you read the result at home.
Step 1: Check your medicines
Some medicines can hide H. pylori and give a false negative (UK guidance for GPs):
- PPIs such as omeprazole, lansoprazole and esomeprazole (Nexium): ask your GP first. If they agree, stop 2 weeks before you test.
- Antibiotics: test at least 4 weeks after your last dose. Never cut a course of antibiotics short.
Step 2: Collect a poo sample
If you need a wee, do it first. Then catch the poo in a clean disposable container, and don't let it touch the inside of the toilet or the water (NHS). Dip the end of the kit's sampling stick into the poo. Our guide to the stool sample has more tips.
Step 3: Run the test
- 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 wait 10 minutes.
The kit instructions and video show each stage.
Step 4: Read your result
- C and T lines: H. pylori detected. Take your result to your GP to talk about treatment.
- C line only: not detected.
- No C line: the test didn't work. Use a new test.
Our page on reading your result explains each one.
When to see a GP instead
See a GP 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 poo, call 999.
Frequently asked questions
Can I test again after treatment?
Yes. Our page on testing after treatment explains when.

Test at home today
One stool antigen test with everything you need. Your result in 10 minutes, delivered to the UK.
Sources
- NHS. Stomach ulcer. Page last reviewed 12 August 2025. www.nhs.uk/conditions/stomach-ulcer/
- Guts UK. Helicobacter pylori: all you need to know. November 2025. gutscharity.org.uk/wp-content/uploads/2025/11/H-Pylori-RGB-AW-Nov-2025.pdf
- Public Health England (now UK Health Security Agency). Test and treat for Helicobacter pylori (HP) in dyspepsia: quick reference guide for primary care. August 2019. assets.publishing.service.gov.uk/media/5d6ceea740f0b607c946aa65/HP_Quick_Reference_Guide_v18.0_August_2019_change_highlighted.pdf
- NHS. How to collect a sample of poo (stool sample). Page last reviewed 27 June 2024. www.nhs.uk/tests-and-treatments/how-to-collect-a-sample-of-poo-stool-sample/
- NHS. Indigestion. www.nhs.uk/conditions/indigestion/
First published November 2026.