H. pylori causes peptic ulcers by burrowing into the protective mucus layer of the stomach, injecting toxins into the cells lining the stomach wall, and triggering a chronic inflammatory response that the body cannot resolve. The bacterium also hijacks the stomach’s acid-regulating machinery, pushing acid production higher in many cases and weakening the mucosal defenses that normally keep that acid from digesting the stomach itself. Before Barry Marshall and Robin Warren demonstrated the link between this spiral-shaped bacterium and ulcer disease in the early 1980s, peptic ulcers were blamed on stress and spicy food. Their work was eventually recognized with the Nobel Prize in Physiology or Medicine.
Surviving the Acid Bath
The first challenge any stomach-dwelling organism faces is the acid. Gastric juice sits at roughly pH 1 to 2, acidic enough to dissolve metal. H. pylori is not an acid-loving extremophile. It is a neutralophile, an organism that prefers a near-neutral pH around 7. It survives the stomach by manufacturing large amounts of an enzyme called urease, which splits urea (a molecule abundant in gastric juice) into ammonia and carbon dioxide. The ammonia neutralizes acid in the bacterium’s immediate surroundings, creating a thin alkaline shell that keeps the interior of the cell close to neutral pH.1PubMed. Mechanisms of acid resistance due to the urease system of Helicobacter pylori
How effective is this trick? Laboratory experiments measuring the internal pH of H. pylori cells found that in the presence of urea, the bacterium maintained a livable internal environment even when the surrounding fluid dropped to pH 1.2, surviving for several hours under conditions that would kill most bacteria in seconds.2PubMed Central. Energetics of Helicobacter pylori and its implications for the mechanism of urease-dependent acid tolerance at pH 1 Without urea, however, the organism could only handle conditions above about pH 4 to 5. This means H. pylori’s acid survival is not some intrinsic toughness. It depends entirely on a chemical reaction with a substrate the stomach conveniently provides.
Getting to the Stomach Wall
Surviving the acid is only step one. The bacterium does not actually live in the open pool of gastric juice. It uses corkscrew-like flagella to swim through the thick layer of mucus that coats the stomach’s inner surface, heading toward the epithelial cells underneath. H. pylori senses gradients of urea concentration in the mucus and uses chemotaxis to navigate toward the epithelial surface, where conditions are less acidic and nutrients are more available.3PubMed. Unique mechanism of Helicobacter pylori for colonizing the gastric mucus Both urease activity and flagellar motility are considered essential for colonization. Mutant strains lacking either one fail to establish lasting infections in animal models.
Once it reaches the epithelial surface, H. pylori attaches to the stomach lining cells using surface adhesion proteins. It does not typically invade into the tissue the way some pathogens do. Instead, it sets up camp right on the cell surface, where it begins deploying its two most studied weapons.
CagA and the Hijacking of Host Cells
Many H. pylori strains carry a cluster of genes known as the cag pathogenicity island. Strains that have this gene cluster produce a protein called CagA and a syringe-like apparatus that injects CagA directly into the stomach lining cells. Think of it as a molecular needle: the bacterium physically punctures the host cell membrane and pushes CagA inside.4Trends in Microbiology. Molecular mechanisms of epithelial-barrier disruption by Helicobacter pylori
Once inside, CagA interferes with the cell’s internal signaling. One of its most consequential effects is the disruption of tight junctions, the seals between neighboring cells that hold the stomach lining together as a continuous barrier. CagA interacts with scaffolding proteins that maintain these junctions, causing abnormal assembly and eventual breakdown of the barrier.5PubMed Central. Disruption of the epithelial apical-junctional complex by Helicobacter pylori CagA When tight junctions fail, the orderly architecture of the epithelium falls apart. Cells lose their polarity, the top-to-bottom orientation that tells them which surface faces the stomach cavity and which faces deeper tissue. CagA-affected cells can extrude from the surrounding lining and begin dividing abnormally, undergoing shape changes that resemble the kind of transformation seen in early cancer development.6Cell Host & Microbe. Pathogenic Mechanisms of Helicobacter pylori CagA Oncoprotein
The practical result for ulcer formation is that the stomach’s protective lining becomes leaky. Acid, digestive enzymes, and bacteria can now reach tissues that were previously shielded. That is the beginning of an ulcer crater.
VacA and Pore Formation
H. pylori’s second major toxin is VacA, short for vacuolating cytotoxin A. Unlike CagA, which has to be injected, VacA is secreted by the bacterium and taken up by host cells on its own. VacA is a pore-forming toxin: it punches small channels into intracellular membranes, causing fluid-filled vacuoles (swollen sacs) to balloon up inside the cell. The swelling disrupts normal cell function and can eventually kill the cell.7PubMed Central. An Overview of Helicobacter pylori VacA Toxin Biology
VacA’s effects extend beyond epithelial damage. Multiple cell types are susceptible, including the parietal cells that produce stomach acid and several types of immune cells, particularly T cells. By damaging immune cells, VacA helps H. pylori evade the immune response. VacA contributes directly to both peptic ulcer disease and gastric cancer.8PubMed Central. Intracellular Degradation of Helicobacter pylori VacA Toxin as a Determinant of Gastric Epithelial Cell Viability
An Immune Response That Makes Things Worse
Your immune system does notice H. pylori. The infection triggers a strong inflammatory response, flooding the infected stomach lining with neutrophils, macrophages, and lymphocytes. But here is the paradox: that immune response never clears the infection. Instead, the chronic inflammation itself becomes a major source of tissue damage.9PubMed Central. Immune response to H. pylori
A key player in this cycle is interleukin-8 (IL-8), a signaling molecule that gastric epithelial cells release in response to H. pylori, especially CagA-positive strains. IL-8 acts as a chemical beacon, recruiting white blood cells to the site of infection.10PubMed Central. Helicobacter pylori CagA induced interleukin-8 secretion in gastric epithelial cells Those immune cells release reactive oxygen species and other destructive molecules meant to kill the invader. The problem is that H. pylori shrugs off much of this assault while the surrounding tissue absorbs the collateral damage. The chronic oxidative stress eats away at the mucosa, weakening the barrier further and creating the conditions for an ulcer to form.
This is really the core of how H. pylori causes ulcers: not through a single knockout blow, but through a slow siege. The bacterium weakens the protective lining from the outside with its toxins, and the immune system inadvertently weakens it from the inside with friendly fire. Acid and pepsin, which the healthy stomach handles with ease, now erode exposed tissue.
Disrupting the Stomach’s Acid Thermostat
On top of the tissue damage, H. pylori tampers with the hormonal system that controls how much acid the stomach produces. In a healthy stomach, gastrin (a hormone released by G cells in the antrum, the lower portion of the stomach) stimulates acid production, while somatostatin (released by D cells nearby) acts as a brake. H. pylori infection in the antrum increases gastrin release while simultaneously reducing somatostatin levels.11PubMed. How does Helicobacter pylori cause mucosal damage? Its effect on acid and gastrin physiology.
The mechanism involves both the bacterium’s own byproducts and the inflammatory response it provokes. Ammonia produced by urease activity and cytokines like tumor necrosis factor alpha (released during inflammation) both stimulate G cells to produce more gastrin and suppress D cells that would normally keep acid output in check. The result is a stomach that runs hotter than it should, churning out excess acid that pours onto an already weakened lining. This is especially relevant for duodenal ulcers, which form in the first part of the small intestine just past the stomach, where excess acid from the stomach is the dominant injury factor.
Why the Location of Gastritis Determines the Type of Ulcer
Not all H. pylori infections produce the same disease. The outcome depends heavily on where in the stomach the inflammation concentrates. The pattern of gastritis effectively dictates which disease you develop.
When inflammation is strongest in the antrum (antral-predominant gastritis) but the body of the stomach stays relatively unaffected, the acid-producing cells remain intact and gastrin levels rise unopposed. The result is high acid output and a tendency toward duodenal ulcers. When inflammation spreads more evenly across both the antrum and the body of the stomach (pangastritis), the acid-producing cells suffer damage too, and the pattern shifts toward gastric ulcers or, over time, gastric atrophy and a higher risk of stomach cancer.12PubMed Central. History of Helicobacter pylori, duodenal ulcer, gastric ulcer and gastric cancer Research comparing gastritis patterns across different ulcer types found that severe antral inflammation with milder corpus inflammation sharply increased the risk of duodenal and prepyloric ulcers, while severe inflammation in both regions raised the risk of gastric ulcers.13PubMed. Differing patterns of Helicobacter pylori gastritis in patients with duodenal, prepyloric, and gastric ulcer disease
What determines where the inflammation settles? A combination of bacterial strain characteristics, host genetics, and diet, though the interplay is not fully understood. The practical takeaway is that H. pylori does not just cause “ulcers.” It causes a spectrum of gastric diseases, and which one you get depends on the geography of the inflammation in your own stomach.
Co-Factors That Accelerate Ulcer Formation
Most people infected with H. pylori never develop an ulcer. Estimates suggest that only about 10 to 20 percent of infected individuals go on to develop peptic ulcer disease. Several factors tilt the odds.
Nonsteroidal anti-inflammatory drugs (NSAIDs) like ibuprofen and aspirin are the most important co-factor. NSAIDs damage the stomach lining through their own mechanism, suppressing the production of protective prostaglandins. When H. pylori infection and NSAID use coexist, the effects are not merely additive. A meta-analysis found that both independently and significantly raise the risk of peptic ulcer and ulcer bleeding, and together they act synergistically.14The Lancet. Meta-analysis of the relationship between Helicobacter pylori infection and nonsteroidal anti-inflammatory drug gastropathy Clinical observations support this: patients with both risk factors developed ulcers earlier than patients taking NSAIDs alone.15PubMed Central. The association of Helicobacter pylori infection and nonsteroidal anti-inflammatory drugs in peptic ulcer disease
Smoking also worsens outcomes by impairing mucosal blood flow and healing. Heavy alcohol use can irritate the lining independently. And host genetics play a role: variations in genes for certain inflammatory signaling molecules can modestly increase or decrease the risk of developing H. pylori-related ulcers or gastric cancer.16PLOS ONE. Associations between cytokine gene polymorphisms and susceptibility to Helicobacter pylori infection and Helicobacter pylori related gastric cancer, peptic ulcer disease: A meta-analysis The overall picture is that H. pylori sets the stage, but whether an ulcer actually develops depends on the strain’s virulence, the host’s genetic susceptibility, and environmental factors acting on an already compromised lining.
How H. pylori Avoids Being Killed
One of the most frustrating aspects of H. pylori biology is how stubbornly it resists eradication, both by the immune system and by antibiotics. Beyond its acid-neutralizing trick and its ability to suppress immune cells with VacA, the bacterium has another survival strategy: biofilm formation. H. pylori can assemble into structured communities encased in a self-produced matrix of sugars, proteins, and DNA, both in the stomach and in laboratory settings.17PubMed Central. Biofilms and Helicobacter pylori: Dissemination and persistence within the environment and host
These biofilms are more than just clumps of bacteria. They provide physical resistance to immune cells and block antibiotics from penetrating to the bacteria within. They also increase the expression of efflux pumps, molecular doorways that actively eject antibiotics out of bacterial cells before they can do their work.18PubMed. Helicobacter pylori Biofilm and New Strategies to Combat it Biofilms are a key reason why eradication therapy sometimes fails and why reinfection or relapse can occur even after apparently successful treatment. The bacteria sheltered deep within a biofilm may survive a course of antibiotics and re-emerge once the drugs are gone.19PubMed. Strategies adopted by gastric pathogen Helicobacter pylori for a mature biofilm formation: Antimicrobial peptides as a visionary treatment
Treatment Challenges and Antibiotic Resistance
Eradicating H. pylori typically requires a combination of a proton pump inhibitor (a drug that suppresses acid production) plus two or three antibiotics taken simultaneously for one to two weeks. The traditional “triple therapy” used clarithromycin as a backbone antibiotic, and it worked well for years. But rising resistance to clarithromycin has dramatically reduced the effectiveness of this approach in many parts of the world.20PubMed Central. Optimizing clarithromycin-containing therapy for Helicobacter pylori in the era of antibiotic resistance
Resistance rates vary geographically, but in regions where clarithromycin resistance exceeds roughly 15 percent, triple therapy fails in an unacceptably high proportion of patients. Current guidelines increasingly recommend bismuth-based quadruple therapy or concomitant therapy (four drugs at once) as first-line treatment in areas with high resistance.21PubMed Central. Current recommendations for Helicobacter pylori therapies in a world of evolving resistance When first-line treatment fails, clinicians typically switch to a different antibiotic combination for a second attempt. Susceptibility testing, growing the patient’s specific H. pylori strain and testing which antibiotics kill it, is becoming more common to guide retreatment.
The Bigger Ecological Disruption
H. pylori does not operate in a vacuum. The healthy stomach contains a diverse community of other microbes, and H. pylori infection reshapes that ecosystem. When H. pylori is present, it tends to dominate the gastric microbiome, reducing the diversity and abundance of other bacterial species.22PubMed Central. Interactions between H. pylori and the Gastric Microbiome: Impact on Gastric Homeostasis and Disease Whether this loss of microbial diversity itself contributes to ulcer formation or cancer risk is still being studied. What is clear is that the infection creates a fundamentally different gastric environment, one characterized by lower pH at the mucosal surface (paradoxically, because the lining damage allows more acid contact), altered immune signaling, and a less diverse microbial landscape.
Who Gets Infected in the First Place
H. pylori infects roughly half the world’s population, though prevalence varies enormously by region, age, and socioeconomic conditions. Rates are considerably higher in developing countries, where most infections are acquired during childhood. Inadequate sanitation, crowded living conditions, and low socioeconomic status are all associated with higher infection rates, suggesting person-to-person transmission through oral-oral or fecal-oral routes within families and communities.23PubMed. Helicobacter pylori: epidemiology and routes of transmission In developed countries, prevalence has been declining for decades as sanitation and living conditions improve, and each successive birth cohort carries lower infection rates than the one before.
The clinical importance of this pattern is that ulcer disease caused by H. pylori is increasingly a problem of older adults who acquired the infection in childhood decades ago, and of populations in lower-income countries where infection remains common. For younger adults in high-income countries, NSAID use and stress-related mucosal injury are becoming relatively more important causes of peptic ulcer disease as H. pylori prevalence drops.
From Ulcers to Cancer
Peptic ulcers are painful and sometimes dangerous, but the most feared long-term consequence of H. pylori infection is gastric cancer. The bacterium is classified as a Group 1 carcinogen by the International Agency for Research on Cancer. The pathway from infection to cancer is not sudden. It unfolds over decades through the same chronic inflammatory process that drives ulcer formation: persistent oxidative stress and repeated cycles of tissue damage and repair gradually produce changes in cell behavior that can, in a minority of infected people, lead to malignant transformation.24PubMed Central. Helicobacter pylori in the pathogenesis of gastric cancer and gastric lymphoma
H. pylori is also strongly linked to gastric mucosa-associated lymphoid tissue (MALT) lymphoma, a cancer of the immune tissue in the stomach wall. In early-stage MALT lymphoma, simply eradicating the H. pylori infection can lead to complete remission of the cancer, a striking demonstration of how thoroughly the bacterium drives the disease process. This is one of the few situations in oncology where curing an infection can cure a cancer.