H. pylori Tests: How to Test for a Stomach Ulcer Cause
Related home test
Stomach Ulcer H Pylori Test Kit
Screens a stool sample for H. pylori in 10 minutes.
See the test
Key takeaways
- H. pylori is a type of bacteria and, with anti-inflammatory painkillers, one of the two main causes of stomach ulcers.
- A GP may test for it with a breath, stool or blood test.
- The U-Test H. pylori Test screens a stool sample in 10 minutes. It does not diagnose an ulcer.
- Take a positive result to your GP before taking any treatment.
- Call 999 if you vomit blood or your poo is black and sticky.
In short: H. pylori is a common type of bacteria that can infect the stomach and is one of the main causes of stomach ulcers. A GP can test for it with a breath, stool or blood test. A home stool test can screen for it in 10 minutes, but it does not diagnose an ulcer: take any positive result to your GP before treatment.
Want to check at home? Our H. pylori test kit screens a small stool sample for H. pylori at home, with a result in 10 minutes. A positive result is a reason to speak to your GP.
What is H. pylori?
Helicobacter pylori (H. pylori) is a type of bacteria that can live in the stomach lining. The NHS says the two main causes of stomach ulcers are infection with H. pylori and regular use of anti-inflammatory painkillers (NSAIDs) such as ibuprofen. Smoking and older age also raise the risk. Many people with H. pylori have no symptoms.
Symptoms of a stomach ulcer
The NHS says the main symptom is tummy pain, usually in the upper part of your tummy and often worse at night. Other symptoms include indigestion, heartburn, bloating, and feeling or being sick.
How is H. pylori tested?
The NHS describes three ways a GP may test for H. pylori:
- Breath test: you take a tablet or a special drink and breathe into a tube.
- Stool test: a test of a sample of your poo.
- Blood test.
Some medicines can affect results, so tell your GP or pharmacist about anything you take.
Can I test for H. pylori at home?
Yes. The U-Test H. pylori (stomach ulcer) Test screens for H. pylori in a stool sample, with a result in 10 minutes. It is a private first check if you have indigestion or tummy pain that keeps coming back.
- It does not diagnose an ulcer, and it cannot tell you what is causing your symptoms.
- Take a positive result to your GP before taking any treatment.
- See your GP about ongoing symptoms even if the result is negative.
How is H. pylori treated?
The NHS says treatment depends on the cause. H. pylori infection is treated with antibiotics, often alongside medicine to reduce stomach acid such as a proton pump inhibitor. Treatment usually lasts from 1 week to 2 months, and you may need a test afterwards to check it has worked. Treatment is prescribed by your GP: a home test does not tell you which medicines you need.
When to get help
See a GP if you have indigestion that does not go away with treatment, or tummy pain that keeps coming back. Ask for an urgent GP appointment or call NHS 111 if your tummy pain is getting worse or does not go away, you have lost weight without trying, you keep being sick or you feel tired all the time. Call 999 or go to A&E if you are vomiting bright red blood or your vomit looks like ground coffee, your poo has blood in it or is black and sticky, or you have sudden chest pain.
Frequently asked questions
Can I test for H. pylori at home?
Yes. A home stool test can screen for H. pylori in about 10 minutes. It does not diagnose an ulcer; take any positive result to your GP.
Is there a home stomach ulcer test?
A home test can screen for H. pylori, one of the main causes of stomach ulcers. It cannot show whether you have an ulcer. Only a GP or specialist can diagnose one.
What does a positive H. pylori result mean?
It means the test found signs of H. pylori in your sample. See your GP before taking any treatment, so they can confirm it and prescribe the right medicines.
How does a GP test for H. pylori?
The NHS says a GP may use a breath test, a stool test or a blood test.
Related reading
- H. pylori and stomach ulcers guide
- What a positive test result means
- The early signs of bowel cancer
- All U-Test home tests
This article is general information, not medical advice. Speak to your GP or pharmacist about symptoms or results.
Sources
Checked 29 October 2026
Check at home
Stomach Ulcer H Pylori Test Kit
- Screens for H. pylori
- Result in 10 minutes
- Stool sample, done at home
Free delivery over £25 · Discreet packaging
See the test

