Gut Health

What Is H. Pylori

H. pylori is a stomach bacterium linked to ulcers, chronic inflammation, and nutrient malabsorption. Learn how it works, how to test, and what to do about it.

What Is H. Pylori

Helicobacter pylori (H. pylori) is a gram-negative, spiral-shaped bacterium that burrows into the mucous lining of the human stomach, where it can persist for decades. It is classified as a Group 1 carcinogen by the World Health Organization because of its established role in gastric cancer. Roughly half the global population carries H. pylori, though most carriers remain asymptomatic.

Why It Matters for Longevity

H. pylori matters for longevity because it creates a state of chronic, low-grade gastric inflammation that erodes the stomach's protective mucosa over years and decades. This persistent inflammation contributes to peptic ulcer disease, gastric atrophy, and intestinal metaplasia, a precancerous change in stomach tissue. Beyond the stomach itself, the infection impairs absorption of key micronutrients including iron, vitamin B12, and folate, all of which play roles in energy production, neurological function, and red blood cell formation. Deficiencies in these nutrients can compound over time, contributing to fatigue, cognitive decline, and cardiovascular risk.

The systemic inflammatory burden of chronic H. pylori infection extends beyond the gut. Elevated levels of inflammatory mediators such as interleukin-1 beta, tumor necrosis factor alpha, and C-reactive protein have been observed in infected individuals. Some epidemiological data link chronic H. pylori infection with increased risk of iron deficiency anemia, idiopathic thrombocytopenic purpura, and certain extragastric conditions. For anyone pursuing health optimization, an undetected H. pylori infection represents a correctable source of ongoing immune activation and nutrient depletion that undermines efforts in other areas.

How It Works

H. pylori survives the extreme acidity of the stomach through a specific enzymatic trick: it produces large quantities of urease, an enzyme that converts urea into ammonia and carbon dioxide. The ammonia creates a local alkaline microenvironment around the bacterium, neutralizing stomach acid and allowing colonization of the gastric epithelium. The organism's helical shape and flagella enable it to burrow through the thick mucous layer that protects stomach cells, positioning itself in direct contact with epithelial tissue.

Once established, H. pylori deploys several virulence factors that determine the severity of disease. The CagA protein, encoded by the cytotoxin-associated gene A, is injected directly into host cells via a type IV secretion system. Inside the cell, CagA disrupts normal signaling pathways, altering cell shape, promoting inflammation, and increasing the risk of malignant transformation. Another key factor, VacA (vacuolating cytotoxin A), damages epithelial cells by inducing vacuole formation and triggering apoptosis. Not all H. pylori strains carry these virulence genes, which partly explains why clinical outcomes vary so widely among infected individuals.

The host immune response to H. pylori is paradoxical. The bacterium triggers a robust inflammatory response, recruiting neutrophils, macrophages, and T cells to the gastric mucosa. Yet this immune activation fails to clear the infection. H. pylori evades immune destruction through multiple mechanisms, including modification of its surface lipopolysaccharides to reduce immune recognition and active suppression of regulatory T cell responses. The result is a chronic, self-perpetuating cycle of inflammation and tissue damage that can proceed for decades, gradually progressing from superficial gastritis to atrophic gastritis to intestinal metaplasia in susceptible individuals.

Signs and Signals

H. pylori infection frequently produces no obvious symptoms, which is why it often goes undetected for years or even decades. When symptoms do appear, they tend to cluster around the upper gastrointestinal tract: a burning or gnawing pain in the upper abdomen (often worse on an empty stomach), bloating, excessive belching, nausea, and a feeling of fullness after eating small amounts. Some people experience acid reflux symptoms, though the relationship between H. pylori and reflux is complex and sometimes paradoxical.

More concerning signs suggest tissue damage has progressed. Unexplained iron deficiency anemia, particularly in premenopausal women or men without obvious blood loss, warrants H. pylori investigation. Dark, tarry stools or vomiting material that resembles coffee grounds can indicate a bleeding ulcer and require urgent evaluation. Unintentional weight loss, persistent loss of appetite, and progressive difficulty swallowing are late-stage signals that should not be attributed to routine digestive complaints. Low vitamin B12 levels without a clear dietary explanation can also point toward chronic gastric inflammation interfering with intrinsic factor production.

Testing Options

The urea breath test is widely regarded as the gold standard non-invasive method for detecting active H. pylori infection. The patient ingests a small amount of labeled urea; if H. pylori's urease enzyme is present in the stomach, it breaks the urea down into labeled carbon dioxide, which is measured in exhaled breath. This test has high sensitivity and specificity when performed correctly, but accuracy depends on discontinuing proton pump inhibitors at least two weeks beforehand and antibiotics at least four weeks beforehand.

The stool antigen test offers comparable accuracy and is often more convenient, particularly for retesting after treatment. It detects H. pylori proteins directly in stool samples and, like the breath test, reflects active infection rather than past exposure. Blood antibody (serology) testing can confirm prior exposure to the bacterium but cannot distinguish between active and resolved infection, which limits its clinical utility for guiding treatment decisions.

Endoscopy with gastric biopsy provides the most comprehensive assessment. Tissue samples can be tested for H. pylori using rapid urease testing, histological examination, or culture with antibiotic sensitivity testing. This approach is particularly valuable for patients with alarm symptoms (bleeding, weight loss, dysphagia), those who have failed initial eradication therapy, or individuals over 50 with new-onset dyspepsia. The GI-MAP stool test, used in functional medicine settings, includes H. pylori detection along with virulence factor analysis, which can help stratify risk.

Restoration Approach

Restoring gastric health after H. pylori eradication involves more than confirming bacterial clearance. The stomach lining may have sustained months or years of inflammatory damage, and the microbiome of the upper gastrointestinal tract has been further disrupted by the antibiotic regimen itself. A phased approach to restoration addresses these layers sequentially.

In the immediate post-treatment period, supporting the recovering gastric mucosa with adequate zinc intake, bone broth or collagen-rich foods, and temporary avoidance of gastric irritants (alcohol, spicy foods, NSAIDs) can facilitate mucosal healing. Certain probiotic strains, particularly Saccharomyces boulardii and Lactobacillus rhamnosus GG, have been studied for their ability to reduce antibiotic-associated diarrhea and support microbial recovery after eradication therapy. Introducing fermented foods gradually over the weeks following treatment helps re-establish microbial diversity in the broader gut.

Longer-term restoration focuses on optimizing stomach acid production and nutrient repletion. Chronic H. pylori infection can suppress acid output, and some individuals benefit from dietary strategies that support healthy acid levels, such as adequate protein intake and mindful meal pacing. Retesting iron, ferritin, B12, and folate levels several months after eradication can reveal whether absorption has normalized or whether targeted supplementation is still needed. For individuals who had significant atrophic changes, periodic endoscopic surveillance may be recommended to monitor for regression or progression of precancerous tissue changes.

The EDGE Framework

Eliminate

Before pursuing any gut optimization protocol, address H. pylori infection if present. Proton pump inhibitors, while sometimes necessary, can mask symptoms and alter test accuracy; they should be discontinued under guidance before diagnostic testing. Habits that compound gastric damage, such as excessive alcohol intake, chronic NSAID use, and smoking, amplify the tissue injury H. pylori causes and should be addressed concurrently. Removing these interferences restores the conditions needed for accurate diagnosis and effective treatment.

Decode

Symptoms of H. pylori infection are often nonspecific: gnawing or burning upper abdominal pain, bloating, early satiety, nausea, and in some cases dark or tarry stools indicating bleeding. However, many carriers have no symptoms at all, which makes proactive testing important for anyone with unexplained digestive complaints, iron deficiency, or a family history of gastric cancer. A urea breath test or stool antigen test provides a reliable snapshot of active infection. Post-treatment retesting is essential because first-line eradication fails in a meaningful percentage of cases.

Gain

Successfully eradicating H. pylori removes a persistent source of gastric inflammation, allowing the mucosal lining to heal and restoring normal acid production and nutrient absorption. Iron and B12 levels often improve after clearance, which can resolve otherwise unexplained anemia and fatigue. Eradication also substantially reduces the lifetime risk of peptic ulcer recurrence and lowers the probability of progression toward gastric cancer, particularly when achieved before atrophic changes become established.

Execute

If you have risk factors or symptoms, start with a urea breath test or stool antigen test, ensuring you have been off proton pump inhibitors for at least two weeks and off antibiotics for at least four weeks before testing. If positive, complete the full course of prescribed eradication therapy without interruption, as partial treatment drives antibiotic resistance. Retest four to six weeks after completing treatment to confirm clearance. Support recovery of the gastric environment with adequate dietary diversity and, if appropriate, targeted probiotics that have been studied alongside eradication regimens.

Biological Systems

What the Research Says

The evidence base for H. pylori is extensive. Its role as the primary cause of peptic ulcer disease was established through work that earned the Nobel Prize in Physiology or Medicine in 2005. Numerous randomized controlled trials have confirmed that antibiotic-based eradication therapy heals ulcers and prevents recurrence far more effectively than acid suppression alone. Large meta-analyses and prospective cohort studies demonstrate that H. pylori eradication reduces the risk of gastric cancer, with the greatest benefit observed when treatment occurs before significant atrophic changes develop in the stomach lining.

Antibiotic resistance is a growing challenge. Clarithromycin resistance rates have risen substantially in many regions, reducing the efficacy of standard triple therapy. This has led to updated guidelines recommending bismuth-based quadruple therapy or susceptibility-guided treatment in areas with high resistance. Research into adjunctive strategies, including certain probiotic strains (particularly Saccharomyces boulardii and specific Lactobacillus species), suggests modest improvements in eradication rates and reduction of antibiotic side effects, though the quality of evidence varies. Vaccine development has been explored for decades, but no effective H. pylori vaccine has reached clinical use. The relationship between H. pylori and extragastric conditions, including cardiovascular disease, neurodegenerative disease, and metabolic syndrome, remains an area of active epidemiological investigation with mixed and inconclusive findings.

Risks and Considerations

Eradication therapy involves a multi-drug antibiotic regimen that can cause gastrointestinal side effects including nausea, diarrhea, metallic taste, and disruption of the broader gut microbiome. Antibiotic resistance can lead to treatment failure, requiring second-line or salvage regimens with broader-spectrum agents. Some researchers have noted that H. pylori colonization may have protective associations with esophageal reflux disease and childhood allergic conditions, though these observations do not outweigh the established cancer and ulcer risks in infected adults with clinical indications for treatment. Individuals considering testing or treatment should work with a clinician experienced in interpreting results and selecting regimens appropriate to local resistance patterns.

Frequently Asked

How do you get H. pylori?

H. pylori is typically acquired in childhood through oral-oral or fecal-oral transmission, often within families sharing food, water, or close living quarters. Most infections persist for decades unless treated. The bacterium is found worldwide, with higher prevalence in regions with crowded living conditions or limited sanitation infrastructure.

Can H. pylori go away on its own?

Spontaneous clearance is rare in adults. Once established in the gastric mucosa, H. pylori produces urease and other enzymes that let it survive stomach acid indefinitely. Most people who test positive carry the organism for life unless they undergo targeted antimicrobial treatment, which typically involves a combination of antibiotics and acid-suppressing medication.

Does everyone with H. pylori get ulcers or cancer?

No. Roughly half the world's population carries H. pylori, but only about 10 to 20 percent develop peptic ulcers, and a smaller fraction develop gastric cancer. Outcomes depend on the bacterial strain, the host's immune response, diet, and other environmental factors. Certain virulence factors like CagA increase pathogenic risk.

How is H. pylori diagnosed?

The most common non-invasive tests are the urea breath test and stool antigen test, both of which detect active infection. Blood antibody tests can show past exposure but cannot confirm current infection. Endoscopy with biopsy provides the most direct confirmation and allows assessment of tissue damage. Proton pump inhibitors and antibiotics should be stopped before testing to avoid false negatives.

What is the standard treatment for H. pylori?

Standard treatment involves triple or quadruple therapy: a proton pump inhibitor combined with two or three antibiotics taken for 10 to 14 days. Eradication rates vary by region due to rising antibiotic resistance. Post-treatment retesting, usually via breath test or stool antigen, is recommended four to six weeks after completing therapy to confirm clearance.

Browse Longevity by Category