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 poo sample at home with a stool antigen test, with a result in 10 minutes.
- A positive stool antigen test means an infection you have now.
What is H. pylori?
H. pylori (Helicobacter pylori) is a bacterium that lives in the stomach lining. It can cause upper tummy pain, feeling sick and burping (Patient.info).
What tests are there?
Your GP can arrange a breath test, a poo test or a blood test (NHS). The poo test, called a stool antigen test, is the one you can do at home. It's also known as an H. pylori antigen test or a rapid test.
How does the stool antigen test work?
Proteins from H. pylori, called antigens, pass out in your poo. The test 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.
A blood test works differently: it can't tell a current infection from a previous one (Patient.info).
Our step-by-step guide and video show how to do the test.
Before you test
Ask your GP before stopping a PPI such as omeprazole or lansoprazole. If they agree, stop it 2 weeks before you test. Test at least 4 weeks after your last dose of antibiotics (UK guidance for GPs), and never cut a course of antibiotics short.
What your result means
- 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.
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.

Test at home today
One stool antigen test with everything you need. Your result in 10 minutes, delivered to the UK.
Sources
- Patient.info. Helicobacter pylori. Last updated 20 October 2024. patient.info/stomach-pain-helicobacter-pylori
- NHS. Stomach ulcer. Page last reviewed 12 August 2025. www.nhs.uk/conditions/stomach-ulcer/
- 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. Indigestion. www.nhs.uk/conditions/indigestion/
First published November 2026.