In this article
We now know that it is one of the world's most common chronic infections and causes inflammation of the stomach lining called Helicobacter pylori gastritis (H. pylori gastritis) in everyone who is infected. In most cases this inflammation causes no symptoms, but in some people it progresses to an ulcer, anaemia or, more rarely, stomach cancer.
This article explains what the bacterium is, how it spreads, the problems it can cause and why current European guidelines treat it as a significant infectious disease even when there are no symptoms. It does not cover testing, treatment or confirmation of a cure in detail, as these are discussed in other articles in this series. Nor does it replace assessment by a doctor: the decision about who should be tested and treated rests with the doctor, based on each person's medical history.
A bacterium adapted to a hostile environment
The stomach produces large amounts of hydrochloric acid, making it a very inhospitable place for most microorganisms. Helicobacter pylori overcomes this problem in several ways. Its spiral shape and small flagella allow it to move through the layer of mucus lining the stomach wall and settle near the cells, where conditions are less acidic. It also produces large amounts of an enzyme called urease, which converts urea into ammonia and carbon dioxide. The ammonia neutralises the acid around the bacterium, creating a kind of protective bubble.
This enzyme is more than a biological curiosity: it forms the basis of several diagnostic tests. The labelled urea breath test and rapid urease test performed on biopsies make use of the bacterium's ability to break down urea. The discovery in the 1980s that a bacterium caused most peptic ulcers completely changed the way these conditions are treated.
| Feature of the bacterium | How it helps | Practical importance |
|---|---|---|
| Spiral shape and flagella | Move through gastric mucus | Allows it to colonise the stomach for years |
| Urease production | Neutralise the acid around it | Basis of the breath test and rapid urease test |
| Adhesion to stomach cells | Attach to the lining | Sustains chronic inflammation |
| Virulence factors (vary between strains) | Increase damage to the lining | Help explain why some people become more ill than others |
How it is caught and who is affected
The exact route of transmission is not yet fully understood, but available evidence points to person-to-person spread by the oral route (saliva or vomit) or faecal–oral route, particularly in childhood. Most infections are acquired in the first few years of life and then persist untreated for decades. Sharing a home with infected relatives, poorer sanitation and overcrowded housing are associated with a higher prevalence of infection.
The infection is very common worldwide and affects a large proportion of the adult population, although prevalence varies considerably between countries and generations. In many European countries it has become less common in younger generations as hygiene and housing conditions have improved, but remains common in older adults and people from regions where the infection is highly prevalent. Reinfection after successful treatment is uncommon among adults living in developed countries.
| Factor | Relationship with infection |
|---|---|
| Age when acquired | Mainly in childhood |
| Infected relatives at home | Increases the likelihood of transmission |
| Sanitation and housing conditions | Poorer conditions are associated with more infection |
| Region of origin | Prevalence varies widely between countries |
| Reinfection in treated adults | Uncommon in developed countries |
What happens in the stomach
In everyone who is infected, Helicobacter pylori causes chronic active gastritis: persistent inflammation of the stomach lining. This inflammation is visible under a microscope in biopsies even when the person has no symptoms. What happens next depends on several factors: the characteristics of the bacterial strain, the body's response, genetics and environmental factors such as smoking and diet.
When inflammation is concentrated in the lower part of the stomach (the antrum), acid production tends to increase, encouraging duodenal ulcers. When inflammation extends to the body of the stomach, it can lead over many years to atrophy of the lining and intestinal metaplasia, changes in which the stomach's normal lining is gradually replaced by different tissue. These are considered precancerous gastric changes, although the great majority of people with them never develop cancer.
Conditions associated with Helicobacter pylori
The list of problems associated with the bacterium is long, but it is important to keep it in perspective: most infected people will never develop a complication. Even so, the infection is the leading cause of peptic ulcers not associated with anti-inflammatory medicines and is considered the main risk factor for stomach cancer. The International Agency for Research on Cancer classifies it as a Group 1 carcinogen.
Outside the stomach, the infection has been associated with otherwise unexplained iron-deficiency anaemia, vitamin B12 deficiency and an autoimmune platelet disorder (immune thrombocytopenia). For these conditions, guidelines recommend testing for the bacterium and treating it if present. Evidence for other associations reported in studies is weaker or contradictory and does not, by itself, justify widespread testing.
| Situation | Strength of association | Comment |
|---|---|---|
| Chronic gastritis | Present in everyone infected | Often without symptoms |
| Stomach and duodenal ulcers | Strong | Main cause alongside anti-inflammatory medicines |
| Dyspepsia (upper abdominal discomfort) | Moderate | Some cases improve after treatment |
| Gastric cancer | Strong, but rare in absolute terms | Main known risk factor |
| Gastric MALT lymphoma | Strong | May regress after eradication in its early stages |
| Iron-deficiency anaemia with no apparent cause | Established | An indication for testing |
| Immune thrombocytopenia and B12 deficiency | Established | An indication for testing |
Symptoms: often none
Most people with Helicobacter pylori feel nothing. When symptoms occur, they are usually non-specific: burning or pain in the upper abdomen, feeling very full after meals, nausea, frequent belching or early satiety. These symptoms are very common and have many other possible causes, so they cannot show by themselves whether the bacterium is present.
An ulcer may cause pain that improves or worsens with meals, sometimes at night, but it may also remain silent until a complication such as bleeding occurs. Some signs must never be overlooked because they can indicate a complication or another serious illness: vomiting blood or material that looks like coffee grounds, black sticky stools, unexplained weight loss, difficulty swallowing, persistent vomiting or anaemia. Any of these signs requires urgent assessment.
| Sign | What to do |
|---|---|
| Occasional burning or discomfort in the stomach | Speak to your doctor at an appointment |
| Persistent symptoms, particularly in people over 50 or with relatives who have had gastric cancer | Medical appointment without delay |
| Vomiting blood or passing black stools | Hospital emergency department or 112 |
| Unexplained weight loss or difficulty swallowing | Urgent medical assessment |
| Dizziness, marked pallor or fainting with digestive symptoms | 112 |
Why treatment is recommended even without symptoms
The European Maastricht VI/Florence consensus, published in 2022, recognises Helicobacter pylori gastritis as an infectious disease, regardless of symptoms or its stage. It follows that, as a rule, everyone who is infected should receive treatment, with individual circumstances considered case by case. The rationale rests on three points: the infection is transmissible, always causes inflammation and can progress to serious complications.
Preventing gastric cancer is one of the central arguments. A 2020 systematic review and meta-analysis of randomised trials concluded that eradication treatment in healthy infected people reduced the incidence of gastric cancer and deaths from this cancer, although it showed no effect on overall mortality. The authors emphasised that most trials involved high-risk Asian populations, requiring caution when applying the findings to other countries. The benefit appears greatest when the bacterium is eliminated before advanced changes to the stomach lining develop.
Who should be tested
Population-wide testing is not currently standard practice in Portugal. The decision to look for the bacterium is made by the doctor based on each person's symptoms and risk. European and North American guidelines identify several situations where testing is clearly indicated and others where it should be considered.
The most widely agreed indications include a current or previous peptic ulcer, persistent dyspepsia, gastric MALT lymphoma, iron-deficiency anaemia with no other explanation, immune thrombocytopenia and a first-degree relative with gastric cancer. The doctor may also request testing before long-term treatment with anti-inflammatory medicines or acetylsalicylic acid in people with a history of ulcers. The choice of test and necessary preparation are covered in another article in this series.
| Situation | General recommendation |
|---|---|
| Current or previous peptic ulcer | Test and treat if positive |
| Persistent dyspepsia without alarm symptoms | Test-and-treat strategy, at the doctor's discretion |
| First-degree relative with gastric cancer | Test |
| Iron-deficiency anaemia with no apparent cause | Test |
| Long-term use of anti-inflammatory medicines with a history of ulcers | Discuss with the doctor |
| People without symptoms or risk factors | No general indication for testing in Portugal |
Living with the diagnosis
Learning that you have Helicobacter pylori can cause anxiety, particularly because of its association with gastric cancer. It is important to remember that this is a common infection, that the great majority of infected people never develop a serious complication and that effective treatment is available. The next step is to speak to your doctor about the appropriate treatment and the need to confirm afterwards that the bacterium has been eliminated.
In the meantime, some general measures make sense for stomach health: do not smoke, drink alcohol in moderation, avoid anti-inflammatory medicines unless medically advised and seek help if alarm symptoms develop. Relatives living in the same household can speak to their doctor, who will decide whether there are grounds to test them.
At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.
Frequently asked questions
Is Helicobacter pylori contagious?
It spreads from person to person, mainly in childhood and within families. Transmission and reinfection are less common in adults.
Does having the bacterium mean I will get stomach cancer?
No. The infection increases the risk, but the great majority of infected people never develop gastric cancer. Treating the infection reduces this risk.
Can I have the bacterium without symptoms?
Yes, this is the most common situation. Inflammation is present, but often causes no symptoms.
Should my children be tested?
The indications are more restricted in children. The decision should be made by their paediatrician or doctor.
Can a special diet eliminate the bacterium?
No. No diet or supplement has been shown to eliminate the infection reliably; it is treated with prescription medicines.
Can the infection return after treatment?
Reinfection is uncommon in adults in developed countries, but treatment can fail, which is why confirming eradication is recommended.
Did you enjoy this article?
Scientific references3
- Malfertheiner P, Megraud F, Rokkas T, et al. Management of Helicobacter pylori infection: the Maastricht VI/Florence consensus report. Gut. 2022;71(9):1724-62.
- Ford AC, Yuan Y, Moayyedi P. Helicobacter pylori eradication therapy to prevent gastric cancer: systematic review and meta-analysis. Gut. 2020;69(12):2113-21.
- Chey WD, Howden CW, Moss SF, et al. ACG Clinical Guideline: Treatment of Helicobacter pylori Infection. Am J Gastroenterol. 2024;119(9):1730-53.





