Gastroenteropedia ES
Conditions

Helicobacter pylori infection

Helicobacter pylori is the most common chronic bacterial infection in the world, living in the stomach of almost half of adults. It causes gastritis, peptic ulcer and gastric cancer. Who should be tested, how it is diagnosed and which treatments work.

General information only. It does not replace advice from a health professional. Do not change or stop your medicines without advice. For vomiting blood, black stools, severe abdominal pain or jaundice with fever, call emergency services.

Illustration of Helicobacter pylori bacteria in the stomach lining
Helicobacter pylori is a spiral-shaped bacterium that lives beneath the mucus layer that protects the stomach. Image: Illustration Credit: Zina Deretsky, National Science Foundation · Public domain · Wikimedia Commons

What it is

Helicobacter pylori is a spiral-shaped, flagellated bacterium able to survive the acidic environment of the stomach (see the stomach and gastric acid). It does so thanks to urease, an enzyme that converts urea into ammonia, creating a small alkaline cloud around it, and by hiding beneath the mucus layer, attached to the cells lining the stomach.

Its discovery in 1982 by Robin Warren and Barry Marshall revolutionised medicine: it showed that peptic ulcer, until then considered a disease of stress and acid, was in most cases an infectious disease curable with antibiotics. They received the Nobel Prize in Medicine in 2005 (see Barry Marshall and Robin Warren).

The infection always causes chronic gastritis, although most people have no symptoms. The Kyoto consensus (2015) and the Maastricht VI/Florence consensus (2022) regard it as an infectious disease that should be treated in everyone in whom it is diagnosed, unless there are compelling reasons not to.

In numbers

  • Worldwide: a meta-analysis in Lancet Gastroenterology & Hepatology (Li and colleagues, 2023) estimated that 43.9% of adults and 35.1% of children and adolescents were infected in 2015-2022, lower than in previous decades. It is humanity's most widespread chronic bacterial infection.
  • Prevalence is much higher in low- and middle-income countries, among people born there and in older generations, reflecting overcrowding and water quality in childhood.
  • Spain: available studies show a prevalence of around 40-60% in adults, falling in younger generations. In the United Kingdom prevalence is clearly lower.
  • Consequences: of infected people, roughly 10-15% will develop a peptic ulcer during their lifetime, 1-3% gastric cancer and fewer than 0.1% gastric MALT lymphoma. IARC has classified H. pylori as a group 1 carcinogen since 1994, and it is thought to cause about 90% of non-cardia gastric cancers.
  • Resistance: clarithromycin resistance exceeds 15% in most of Europe, including Spain, so classic "triple therapy" is no longer recommended there.

How it spreads and risk factors

  • It is almost always acquired in childhood, mainly before the age of 5-10, through contact within the family (mother to child, between siblings), by the oral-oral or faecal-oral route.
  • Risk factors: overcrowding, infected parents, unsafe water, low socioeconomic status in childhood and being born in a high-prevalence area.
  • In adults, reinfection after successful treatment is rare in countries such as Spain and the UK (around 1-2% a year or less). A positive test shortly after treatment usually means treatment failed, not reinfection.
  • Transmission between adults (partners) is uncommon. See does it spread in families?.

Diseases it causes

Disease Link with H. pylori Effect of eradication
Chronic active gastritis Present in everyone infected Inflammation resolves
Atrophic gastritis and intestinal metaplasia Result of decades of infection Halts progression of atrophy; established metaplasia improves little
Duodenal and gastric peptic ulcer Main cause (with NSAIDs) Heals the ulcer and cuts relapse from 50-60% to under 2-5%
Gastric cancer Main cause of non-cardia adenocarcinoma Reduces risk, especially if treated before extensive atrophy
Gastric MALT lymphoma Cause in the vast majority Makes localised lymphomas disappear in most cases
Dyspepsia A minority of dyspepsia is due to the infection Improves symptoms in some patients
Unexplained iron-deficiency anaemia and vitamin B12 deficiency Proven association Improves iron absorption
Immune thrombocytopenia (ITP) Proven association in adults May raise the platelet count

Symptoms

Most infected people have no symptoms. When present, they are due to its consequences:

Warning signs: see a doctor soon if, as well as the discomfort, you have unexplained weight loss, difficulty swallowing, persistent vomiting, iron-deficiency anaemia, an abdominal mass, a family history of stomach cancer, or symptoms that start after the age of 55: in these cases a gastroscopy is needed, not just a breath test.

Act immediately: call 112 (in Europe, or your local emergency number) if you vomit blood or "coffee-ground" material, pass tar-like black stools or have sudden, severe abdominal pain with a rigid abdomen (possible perforated ulcer).

Who should be tested

The guidelines (Maastricht VI/Florence 2022, the Fifth Spanish Consensus Conference 2022 and the American College of Gastroenterology guideline of 2024) agree that you should only test if you intend to treat. The main indications are:

  • Peptic ulcer, current or past, including complicated ulcer (bleeding or perforation).
  • Uninvestigated dyspepsia without warning signs in younger people (in Spain usually under 55; NICE in the UK uses a similar "test and treat" approach): the "test and treat" strategy. See the dyspepsia guide.
  • Functional dyspepsia after a normal gastroscopy.
  • Gastric MALT lymphoma.
  • First-degree relatives of people with gastric cancer.
  • Atrophic gastritis or intestinal metaplasia, and after resection of early gastric cancer.
  • Long-term aspirin or NSAIDs in people with a history of ulcer (see medicines that harm the digestive system).
  • Unexplained iron-deficiency anaemia, vitamin B12 deficiency and immune thrombocytopenia.
  • The 2024 US guideline also recommends offering testing to adults living with an infected person.

In children, the joint ESPGHAN/NASPGHAN guideline (updated in 2023 and published in 2024) advises against "test and treat": testing is reserved for those needing a gastroscopy for symptoms, and is not recommended for functional abdominal pain.

Diagnosis

The techniques are explained in detail in Helicobacter pylori tests.

Test How it is done Approximate sensitivity / specificity When it is used
¹³C-urea breath test You drink a labelled urea solution and exhaled air is analysed ~95% / ~95% Initial diagnosis and checking eradication (test of choice)
Stool antigen (monoclonal, ELISA) Stool sample ~94% / ~95% Alternative to the breath test, also for confirming cure
Serology (blood antibodies) Blood test ~85-90% / ~80% Useful during bleeding, with atrophy or while on PPIs; useless for confirming cure (antibodies persist for months or years)
Rapid urease test On a biopsy during gastroscopy ~90% / ~95% When endoscopy is already being done
Histology Antrum and body biopsies ~95% / ~95% Also assesses gastritis, atrophy and metaplasia
Culture with sensitivity testing or resistance PCR Biopsies Culture less sensitive; PCR detects clarithromycin (and levofloxacin) resistance After treatment failures or to tailor treatment

Preparation so that the test is reliable (otherwise false negatives occur):

  • Stop proton pump inhibitors at least 2 weeks beforehand (antacids, or H2 blockers according to the guideline, may be used until shortly before; see antacids and alginates).
  • No antibiotics or bismuth in the previous 4 weeks.
  • Active bleeding reduces the sensitivity of biopsy-based tests: a negative result during bleeding should be repeated later.
  • Do not stop a PPI on your own if it was prescribed for an ulcer or recent bleed: ask first.

Treatment

The aim is to eradicate the bacterium. The Fifth Spanish Consensus Conference requires an empirical treatment to achieve at least 90% cure. No antibiotic works alone: several are combined with a high-dose PPI. A practical summary is in the Helicobacter pylori eradication guide and the drugs are covered in antibiotics in gastroenterology.

Line Regimen Duration Conditions and notes
First line Bismuth quadruple: PPI + single capsule of bismuth subcitrate, metronidazole and tetracycline 10 days Also the choice in penicillin allergy
First line (alternative) Non-bismuth concomitant quadruple: high-dose PPI + amoxicillin + clarithromycin + metronidazole 14 days Only where it has shown cure rates ≥ 90%; avoid if clarithromycin has been taken before
Second line after concomitant failure Bismuth quadruple (single capsule) or PPI + amoxicillin + levofloxacin + bismuth 10 / 14 days Levofloxacin only if not used before
Second line after bismuth quadruple failure PPI + amoxicillin + levofloxacin + bismuth 14 days Alternative: non-bismuth concomitant
Third line and beyond Treatment guided by culture or PCR, or rescue regimens with rifabutin or other combinations 10-14 days Always under an experienced specialist

Key points:

  • Classic triple therapy (PPI + amoxicillin + clarithromycin) is no longer recommended empirically in Spain or most of Europe because of clarithromycin resistance. In the UK, NICE guidance still includes triple therapy, but the choice should take local resistance into account.
  • Adherence is crucial: taking every dose on every day doubles the chances of cure. If side effects appear, ask before stopping.
  • Common, mild side effects: metallic taste, nausea, diarrhoea, dark stools and tongue from bismuth (harmless). Metronidazole may interact with alcohol; clarithromycin interacts with statins, anticoagulants and QT-prolonging drugs; tetracycline is not used in pregnancy or young children. Fluoroquinolones (levofloxacin) carry AEMPS, EMA and MHRA warnings about tendon damage, aortic aneurysm and neurological effects, so they are reserved for when justified.
  • The 2024 ACG guideline (USA) recommends 14-day bismuth quadruple therapy as first choice and includes vonoprazan-based regimens; vonoprazan is not marketed in Spain at the time of writing (check CIMA and see vonoprazan).
  • Some probiotics may reduce treatment-related diarrhoea, but they do not replace antibiotics or substantially increase cure rates.

Confirming cure

Eradication must always be confirmed with a breath test or stool antigen test, at least 4 weeks after finishing antibiotics and 2 weeks off PPIs. In gastric ulcers, confirmation can be done with biopsies at the follow-up gastroscopy. Serology cannot be used for this.

Prognosis and complications

With current regimens more than 90% of people are cured with first-line treatment and almost all after rescue therapy. Cure resolves the inflammation, prevents most ulcer relapses and reduces the risk of gastric cancer; the benefit is greater the earlier treatment is given, before extensive atrophy and intestinal metaplasia develop. After eradication some people notice slightly more reflux symptoms, but this is not a reason not to treat.

Follow-up and surveillance

  • After confirmed cure no repeat testing is needed, unless symptoms return.
  • People with extensive atrophic gastritis or intestinal metaplasia in the antrum and body need endoscopic surveillance even after eradication (the European MAPS III guideline, 2025, proposes gastroscopy every 3 years in OLGA/OLGIM stages III-IV). See gastritis.
  • People with gastric ulcer need a follow-up gastroscopy depending on the case (see peptic ulcer).

Prevention

  • There is no vaccine.
  • Better hygiene and safe drinking water have greatly reduced infection in younger generations.
  • Population screening: in countries with a high incidence of gastric cancer (Japan, Korea, parts of China) the infection is sought and treated in the population. The 2022 Council of the EU Recommendation on cancer screening invites countries or regions with high incidence to consider "screen and treat" strategies; Spain and the UK do not currently have a population programme.
  • Treating household members who test positive reduces reinfection within the family and, in relatives of people with gastric cancer, the risk of this cancer.

Living with the infection and its treatment

  • Diet: no diet cures the infection. Garlic, broccoli, yoghurt and honey do not replace antibiotics.
  • Alcohol: avoid it during treatment, especially if it includes metronidazole.
  • Pregnancy and breastfeeding: treatment is usually postponed until after pregnancy; always ask.
  • Work and home life: no isolation is needed, nor any special separation of cutlery or glasses beyond normal hygiene.

Myths and facts

  • "If I have no symptoms, it doesn't need treating." It depends: not everyone is tested, but if it is diagnosed, guidelines recommend treatment because it can cause ulcer and gastric cancer.
  • "A positive blood test after treatment proves I am still infected." False: antibodies persist for a long time; cure is checked with a breath or stool test.
  • "It spreads by kissing and the whole family must always be treated." Not quite: transmission happens mainly in childhood; adult household members can be offered testing, but nobody is treated without a diagnosis.
  • "Helicobacter causes bad breath or hives." There is no solid evidence.
  • "Natural remedies get rid of it." False: no natural product has been shown to cure the infection.

Questions to ask your doctor

  • Why am I being tested? Should I stop omeprazole first? For how many days?
  • Which treatment regimen is right for me? Do I have any allergy or interaction with my medicines?
  • What should I do if I get diarrhoea or nausea during treatment?
  • When should I have the follow-up test?
  • Do I need a gastroscopy because of my age or symptoms?
  • Should my relatives be tested?

Sources

  1. Malfertheiner P, et al. Management of Helicobacter pylori infection: the Maastricht VI/Florence consensus report. Gut. 2022;71:1724-62. doi:10.1136/gutjnl-2022-327745
  2. Gisbert JP, et al. V Conferencia Española de Consenso sobre el tratamiento de la infección por Helicobacter pylori. Gastroenterol Hepatol. 2022;45:392-417. doi:10.1016/j.gastrohep.2021.07.011
  3. Chey WD, et al. ACG Clinical Guideline: Treatment of Helicobacter pylori infection. Am J Gastroenterol. 2024;119:1730-53. doi:10.14309/ajg.0000000000002968
  4. Homan M, et al. Updated joint ESPGHAN/NASPGHAN guidelines for management of Helicobacter pylori infection in children and adolescents (2023). J Pediatr Gastroenterol Nutr. 2024;79(3):758-785. doi:10.1002/jpn3.12314
  5. Li Y, et al. Global prevalence of Helicobacter pylori infection between 1980 and 2022: a systematic review and meta-analysis. Lancet Gastroenterol Hepatol. 2023;8:553-64. doi:10.1016/s2468-1253(23)00070-5
  6. Dinis-Ribeiro M, et al. Management of epithelial precancerous conditions and early neoplasia of the stomach (MAPS III). Endoscopy. 2025;57:504-54.
  7. Sugano K, et al. Kyoto global consensus report on Helicobacter pylori gastritis. Gut. 2015;64:1353-67. doi:10.1136/gutjnl-2015-309252
  8. Council of the European Union. Council Recommendation of 9 December 2022 on strengthening prevention through early detection: a new EU approach on cancer screening. 2022. EUR-Lex
  9. International Agency for Research on Cancer. IARC Monographs, vol. 61: Schistosomes, liver flukes and Helicobacter pylori. 1994.
  10. National Institute for Health and Care Excellence. Gastro-oesophageal reflux disease and dyspepsia in adults: investigation and management (CG184).
  11. MedlinePlus. Helicobacter pylori infections.

Sources reviewed and updated in November 2026.

Spotted a mistake? Write to partenopides@gmail.com