Health condition · Clinically reviewed
H. pylori infection
Helicobacter pylori is a stomach bacterium that causes gastritis and most peptic ulcers; it is diagnosed with a simple stool or breath test and cured with a short course of treatment.
Why trust this guide
- 01
Clinically reviewed
Written by our editorial team and reviewed by a registered UK clinician before publication.
- 02
Sourced from guidance
Checked against current NHS and UK specialist society guidance at the time of review.
- 03
Current for 2026
Reviewed on 2026-09-27 with the next review scheduled for 2027-09-27.
Key facts
The essentials at a glance.
The symptoms to recognise, when to seek help, which specialist to see, and what treatment usually involves.
-
Often silent, but can cause indigestion, upper abdominal pain and bloating
-
See your GP if indigestion persists despite simple measures, or with any red-flag symptoms
-
Specialist: a consultant gastroenterologist for treatment failures or complicated ulcer disease
-
Treatment is one to two weeks of triple therapy: a proton pump inhibitor plus two antibiotics
Understanding the condition
What it is and what happens next.
What causes it, how it is diagnosed, and the treatment routes available in the UK.
What it is and how it feels
H. pylori is a common bacterial infection of the stomach lining, usually acquired in childhood. Many carriers have no symptoms, but the infection is the leading cause of stomach and duodenal ulcers and a driver of long-term gastritis.
Diagnosis and treatment routes
Diagnosis is straightforward with a stool antigen or urea breath test, done after a break from acid-suppressing medication. First-line treatment is seven days of a proton pump inhibitor with two antibiotics, and a retest confirms cure; resistant infections are referred for second-line regimens. In many parts of the UK, routine NHS referrals for this kind of problem currently take 20-45+ weeks, whereas an initial appointment with a private consultant is typically available within around two weeks.
Seeing a specialist
Who to see, and how quickly you can be seen.
The specialist for this condition is usually a consultant gastroenterologist. Your GP can refer you on the NHS, or you can arrange a private consultation directly.
A quiet reminder
This guide is for information, not medical advice.
Your GP knows your history and can tell you which parts apply to you. If in doubt, see them - and seek urgent care for any of the emergency symptoms described above.
Frequently asked
Common questions about H. pylori infection.
Quick, plain-English answers to what people ask us most.
-
What is H. pylori infection?
Helicobacter pylori is a common type of bacteria that can infect the lining of the stomach, often without causing any symptoms, though in some people it leads to gastritis, peptic ulcers, or increases the risk of stomach cancer over time. It is one of the most common chronic bacterial infections worldwide. Infection often occurs in childhood and can persist for years if untreated.
-
What causes H. pylori infection?
It is caused by the bacterium Helicobacter pylori, thought to spread through close contact, contaminated food or water, or from person to person, particularly within households. Poor sanitation and crowded living conditions in childhood increase the risk of acquiring infection. Once acquired, it can persist indefinitely unless specifically treated.
-
What are the symptoms of H. pylori infection?
Many people with H. pylori have no symptoms at all, but when present, symptoms can include indigestion, bloating, nausea, and upper abdominal pain, particularly if it has caused gastritis or a peptic ulcer. More severe symptoms, such as vomiting blood or black stools, indicate a bleeding ulcer and need urgent attention. Symptoms often prompt the testing that leads to diagnosis.
-
Is H. pylori infection dangerous?
While many people carry H. pylori without harm, it is a significant cause of peptic ulcers and is linked to an increased long-term risk of stomach cancer, which is why it is generally treated once found, particularly in people with symptoms or ulcers. Treating the infection significantly reduces these risks. It is not typically an emergency, but persistent symptoms should always be properly investigated.
-
How is H. pylori infection tested for?
Testing can be done using a breath test, a stool antigen test, or during an endoscopy with a biopsy of the stomach lining. Blood antibody tests are less commonly used now as they cannot distinguish current from past infection. Your doctor will choose the most appropriate test based on your symptoms and situation.
-
How is H. pylori infection treated?
Treatment typically involves a one to two week course combining two antibiotics with a medication that reduces stomach acid (a proton pump inhibitor), known as eradication therapy. A follow-up breath or stool test is often done a few weeks after treatment to confirm the infection has cleared. Completing the full course of treatment is important for successful eradication.
-
Can H. pylori infection be cured?
Yes, H. pylori infection can usually be successfully cured with the correct combination antibiotic treatment, with cure rates generally high, though some strains show antibiotic resistance requiring a different treatment combination. Reinfection after successful treatment is uncommon but possible, particularly in areas with poor sanitation. Confirming eradication with a follow-up test gives reassurance that treatment has worked.
-
H. pylori vs other causes of indigestion — how do I know which I have?
Indigestion has many possible causes, including H. pylori infection, acid reflux unrelated to infection, and other digestive conditions, and symptoms alone often cannot reliably distinguish between them. Specific testing for H. pylori, through a breath, stool, or endoscopy-based test, is needed to confirm or exclude this particular cause. Identifying H. pylori matters because, unlike many other causes of indigestion, it is treated with antibiotics rather than acid-suppressing medication alone.
-
When should I get tested for H. pylori infection?
Get tested if you have persistent indigestion, upper abdominal pain, or a known or suspected peptic ulcer, or if a close family member has had H. pylori-related stomach problems. A private gastroenterology or GP assessment with testing can typically be arranged within about one to two weeks. Seek urgent care instead if you have symptoms of a bleeding ulcer, such as vomiting blood or passing black, tarry stools.