When burning in the “pit of the stomach,” heaviness after eating, or nausea becomes repetitive, it’s common to think of gastritis and wonder what’s causing it. In many cases, the relationship between gastritis and helicobacter pylori is key, because this bacterium can live in the stomach for years, irritate the gastric mucosa and open the door to problems such as peptic ulcers.
What is Helicobacter pylori and how does it infect the stomach?
Helicobacter pylori is a spiral-shaped bacterium, known for its ability to resist the acidic environment of the stomach. It achieves this thanks to urease, an enzyme that modifies the immediate environment so that the bacteria can survive and adhere to the gastric mucosa.
Helicobacter pylori infection is usually acquired in childhood, mainly through close contact between people. Factors such as living conditions in childhood and overcrowded conditions increase the risk of transmission. Once it settles, it usually colonizes the gastric antrum and remains for decades if left untreated, maintaining persistent inflammation that can develop into chronic gastritis.
Relationship between Helicobacter pylori and chronic gastritis

How H. pylori Damages the Gastric Mucosa
H. pylori doesn’t just “stick” to tissue. It can also damage the cells of the stomach lining through toxins and virulence factors that disrupt the protective barrier. When that defense is weakened, gastric acid and digestive enzymes have an easier time irritating deeper layers, leading to pain, dyspepsia, and, eventually, gastric ulcer or duodenal ulcer.
It has been observed that sustained infection may be associated with long-lasting structural changes in gastric tissue. These include loss of parietal cells, infiltration of inflammatory cells and, in advanced stages, intestinal metaplasia, which is monitored for its link with gastric cancer risk.
From acute gastritis to chronic gastritis: the inflammatory process
The problem usually begins as acute gastritis. If the bacteria remain, the immune system’s response remains active and inflammation is no longer temporary. That constant inflammation is what defines chronic gastritis.
On biopsy, chronic gastritis associated with H. pylori usually shows lymphocyte infiltration, glandular atrophy, and lymphoid follicles. When this process progresses uncontrollably, dysplasia can develop and increase the risk of stomach cancer. There is also an association with MALT-type lymphomas in some clinical scenarios.
Symptoms of Helicobacter pylori gastritis
Early signs of H. pylori infection
At first, many people don’t notice anything. Helicobacter pylori infection can remain silent for years, making it difficult to detect the source of the discomfort early.
When symptoms are present, they are usually vague:
- Intermittent epigastric pain.
- Feeling of rapid fullness or postprandial fullness.
- Mild dyspepsia.
- Occasional nausea, sometimes more noticeable in the morning.
- Gradual decrease in appetite.
A frequent detail is that the pain can improve when eating and worsen in prolonged fasting, such as at night.
When gastritis has obvious symptoms

The symptoms become clearer when the inflammation gains intensity or there are already complications. At this point, the pain is usually more constant and marked in the epigastrium, with abdominal distension and heavy digestion.
Signs may also appear that warrant prompt medical evaluation:
- Nighttime pain that disrupts sleep.
- Frequent nausea and occasional vomiting.
- Unexplained weight loss.
- Iron-deficiency anemia, which may suggest chronic microscopic bleeding.
These findings alone do not confirm the cause, but they do warrant testing to rule out ulcers and assess the risk of complications.
Diagnosis of Helicobacter pylori infection
Confirming H. pylori is not based on symptoms alone, as they resemble other digestive conditions. That is why tests with good precision are used, chosen according to the clinical picture and availability.
Urea Breath Test
Urea breath testing is a non-invasive method with high reliability. The person ingests carbon-13 labeled urea; if H. pylori is present, its urease metabolizes it and labeled carbon dioxide is detected in the breath. Its sensitivity and specificity are usually greater than 95%.
It is considered an important reference in non-invasive diagnosis. In the preparation, it is requested to stop antibiotics well in advance (usually four weeks) and avoid proton pump inhibitors in the previous weeks (often two weeks), because they can alter results.
Stool analysis and antigen detection
Antigen stool analysis identifies proteins of the bacterium using immunological techniques. It is very useful, including in the pediatric population, and also serves to verify eradication after treatment.
Among its advantages:
- It is non-invasive.
- It usually works in 24 to 48 hours.
- It can be practical when it is not feasible to stop certain medications that interfere with other tests.
Endoscopy with gastric biopsy

Endoscopy allows the gastric mucosa to be observed in real time and biopsy to be taken for histopathological study. It is the most complete method when it is necessary to assess the consequences of the infection, confirm ulcers or rule out risk changes such as intestinal metaplasia.
It is usually indicated more strongly if there are warning symptoms, suspected ulcers, bleeding, weight loss or increased risk of gastric cancer. With the samples, the bacteria can be searched, the degree of chronic gastritis can be measured, and, in certain contexts, culture and antibiotic susceptibility can be requested, a point that becomes valuable when there is antimicrobial resistance.
Treatment and eradication of H. pylori
Standard Eradication Therapy
The treatment seeks to eliminate the bacteria and allow the gastric mucosa to recover. Standard eradication therapy usually combines proton pump inhibitors with two or more antibiotics for 10 to 14 days. The goal is to reduce the bacterial load, control acid, and increase the likelihood of eradication.
A key aspect is strict compliance with the indicated scheme. Skipping doses or cutting treatment early increases the risk of treatment failure and promotes antimicrobial resistance. After completing management, it is recommended to confirm eradication with tests such as breath or feces, according to clinical criteria.
FAQ (Frequently Asked Questions)
¿Helicobacter pylori siempre causa síntomas?
No. Many people with Helicobacter pylori remain asymptomatic for years. Even so, they can develop chronic gastritis and, in some cases, ulcers or changes in the gastric mucosa that require control.
¿Qué prueba es mejor: aliento, heces o endoscopia?
It depends on the case. Breath testing and stool testing are non-invasive options with good accuracy for diagnosing Helicobacter pylori infection and confirming eradication. Endoscopy with biopsy is reserved when it is necessary to see lesions, evaluate ulcers, investigate iron deficiency anemia or rule out the risk of gastric cancer.
¿Cuándo se recomienda una endoscopia?
It is usually considered when there are warning symptoms (weight loss, bleeding, persistent vomiting), severe or nighttime pain, suspected gastric ulcer or duodenal ulcer, or factors that increase the risk of stomach cancer. It also helps evaluate intestinal metaplasia and other changes.
¿Después del tratamiento hay que repetir pruebas?
Yes, eradication is often confirmed, because symptoms may improve even if the bacteria are still present. A breath test or stool antigens are usually used, following the indications of discontinuation of certain drugs if applicable.
¿La infección por H. pylori se puede “pegar” dentro de la familia?
It can be transmitted by close contact, especially when sharing the home environment. This is seen more when there are crowded conditions and early exposure in childhood.
¿Qué señales deben alertar sobre una posible úlcera o sangrado?
Severe epigastric pain, nighttime pain, repeated vomiting, dark stools, marked fatigue, or evidence of iron-deficiency anemia. These signs warrant medical evaluation and, often, endoscopy.
Understanding the cause of digestive discomfort helps to act in time and avoid complications such as ulcers or persistent lesions on the mucosa. With proper testing and complete treatment, many people manage to eradicate the bacteria and improve chronic gastritis. Medical evaluation is the responsible step when pain, dyspepsia, or weight loss do not subside.
Taking care of your stomach starts by recognizing the relationship between gastritis and helicobacter pylori.