Patient guide · Published November 2026
What is H. pylori?
Helicobacter pylori is a bacterium that lives in the lining of the stomach. It is usually picked up in childhood and can stay for life unless treated. In many people it causes no symptoms at all. In others it inflames the stomach lining (gastritis) and can lead to stomach or duodenal ulcers. Long-term infection also slightly increases the risk of stomach cancer, which is one reason it is worth treating when found.
Symptoms
- Indigestion or a burning pain in the upper abdomen
- Pain that is worse when your stomach is empty
- Feeling full quickly, or bloating after meals
- Nausea or loss of appetite
- Frequent belching
- Iron deficiency anaemia
How H. pylori is tested for
The most reliable non-invasive tests are a breath test or a stool antigen test. If you are having a gastroscopy, small samples (biopsies) can be taken from the stomach lining to test for it directly.
Some medicines can make the tests falsely negative. Acid-reducing tablets called proton pump inhibitors (such as omeprazole or lansoprazole) are usually stopped two weeks before testing, and antibiotics four weeks before. Always check with the doctor arranging your test before stopping any medicine.
Treatment
Treatment usually combines two antibiotics with an acid-reducing medicine, taken together, typically for one week. Taking every dose as prescribed gives the best chance of clearing the infection. If symptoms continue afterwards, or you have had an ulcer, a repeat test may be advised to confirm the infection has gone, and a different combination of antibiotics can be used if the first course does not work.
When is a gastroscopy needed?
A gastroscopy is recommended for some patients rather than testing and treating alone: for example, if you are 55 or over with new indigestion, or if you have difficulty swallowing, persistent vomiting, weight loss, anaemia or signs of bleeding. Dr Khalid will advise whether a gastroscopy is appropriate for you. See also acid reflux, heartburn and indigestion.
Seeing Dr Khalid privately
Dr Sal Khalid is a Consultant Gastroenterologist and Advanced Therapeutic Endoscopist with over 20 years’ consultant-level experience. He sees private patients at Spire Cheshire Hospital in Warrington and The Highfield Hospital in Rochdale. If you are paying for yourself, you can book directly; you don’t need a GP referral. See consultation fees or book a private consultation.
When to seek urgent help
Don’t wait for a routine appointment. Call 999 or go to A&E if you have:
- Vomiting blood or material that looks like coffee grounds
- Black, tarry stools
- Sudden, severe pain in the upper abdomen
- Food stuck and being unable to swallow
Frequently asked questions
How do you catch H. pylori?
It is usually passed on in childhood, probably through saliva, vomit or faeces, and is more common in people who grew up in crowded or less sanitary conditions. It often runs in families.
Can H. pylori come back after treatment?
Reinfection in adults in the UK is uncommon. If symptoms return after treatment, the infection may not have been fully cleared, and a repeat test can confirm this.
Should I stop my omeprazole before an H. pylori test?
Proton pump inhibitors such as omeprazole are usually stopped two weeks before a breath or stool test because they can cause a false negative result. Check with the doctor arranging your test before stopping any medicine.
Published November 2026. This guide is general information and does not replace a personal medical consultation. If you are worried about a symptom, speak to your GP, call NHS 111 or book an appointment.