SYNTHETIC DEMONSTRATION — no real student or patient. Not a medical device.

gi-specialist

H. Pylori Symptoms, Testing, and Treatment Explained

H. pylori is a bacterial infection of the stomach lining that is a leading cause of peptic ulcers and chronic gastritis. Many people have no symptoms, but it can cause stomach pain, nausea, and bloating. It is diagnosed with a breath, stool, or biopsy test and treated with a short antibiotic course plus acid suppression.

Talk to a clinician

Nina Osei, NPNurse Practitioner

checkups, refills & skin. Gale can match you with a licensed clinician for a visit.

Find care →

What is H. pylori and how does it cause problems?

Helicobacter pylori is a spiral-shaped bacterium that colonizes the stomach lining. It survives the stomach's harsh acidic environment by producing an enzyme (urease) that neutralizes acid locally. Over time, H. pylori damages the protective mucus layer of the stomach, allowing acid to irritate the lining — leading to inflammation (gastritis), and in some cases, ulcers 1.

H. pylori is classified by the International Agency for Research on Cancer (IARC) as a Group 1 carcinogen: long-standing, untreated infection is associated with an increased risk of certain types of stomach cancer and MALT lymphoma — though the absolute risk for any individual is low and eradication treatment reduces this risk 13.

The infection is thought to be acquired in childhood, often in settings of crowding or poor sanitation, and can persist for life without treatment.

What are the symptoms of H. pylori?

Many people with H. pylori have no symptoms at all — the infection is discovered incidentally during testing for other digestive complaints.

When symptoms are present, they may include:

  • A dull or burning pain in the upper abdomen (often between meals or at night)
  • Nausea
  • Frequent belching or bloating
  • Feeling of fullness after small amounts of food
  • Loss of appetite
  • In the presence of an ulcer: more intense pain that may be temporarily relieved or worsened by eating

Black, tarry stools or vomiting blood are signs of a bleeding ulcer and require emergency care 2.

How is H. pylori diagnosed?

Several reliable, non-invasive tests are available 1:

  • Urea breath test: You swallow a urea solution and breathe into a bag; H. pylori's urease enzyme produces a detectable compound. Accurate and widely used.
  • Stool antigen test: A stool sample is tested for H. pylori proteins. Accurate and convenient.
  • Blood antibody test: Detects antibodies to H. pylori. Useful for screening but cannot distinguish active infection from past infection, so it is less useful for confirming eradication after treatment.

For people with alarm symptoms (weight loss, difficulty swallowing, bleeding, or anemia), an upper endoscopy with biopsy may be performed, which also allows direct visualization of any ulceration or gastritis.

Important: proton pump inhibitors (PPIs) and antibiotics can produce false-negative results on breath and stool tests. Guidelines recommend stopping PPIs at least 2 weeks before testing 1.

How is H. pylori treated?

Eradication of H. pylori requires a combination of antibiotics and acid suppression. No single antibiotic alone is effective, and treatment regimens have evolved as antibiotic resistance has become a more significant concern 1.

Current guideline-recommended approaches in the United States include 1:

  • Bismuth quadruple therapy: A proton pump inhibitor, bismuth subsalicylate, tetracycline, and metronidazole — typically for 10–14 days. Preferred in areas with higher clarithromycin resistance.
  • Concomitant therapy: A PPI plus three antibiotics (amoxicillin, clarithromycin, metronidazole) given simultaneously.
  • Vonoprazan-based regimens: A newer acid blocker (vonoprazan) can be used in place of traditional PPIs in some regimens.

Your clinician will choose the appropriate regimen based on antibiotic allergy history, prior antibiotic exposures, and local resistance patterns 1.

Completing the full course is essential — stopping early is the most common reason for treatment failure. Side effects like nausea and a metallic taste are common with some regimens.

How do I know if the treatment worked?

Confirming eradication is a recommended step, particularly for anyone who had an ulcer 12. A urea breath test or stool antigen test performed at least 4 weeks after completing antibiotics (and at least 2 weeks after stopping any PPI) is the standard approach.

If the first treatment fails, a different antibiotic combination is used — not the same regimen, to avoid compounding resistance. Salvage regimens are available and effective 1.

What happens if H. pylori is not treated?

Untreated H. pylori infection typically persists indefinitely. The consequences can include:

  • Recurrent peptic ulcers (H. pylori is the most common identifiable cause of ulcers not related to NSAID use) 2
  • Chronic gastritis
  • Increased long-term risk of stomach cancer in a small proportion of infected individuals 3

For people found to have H. pylori infection, current guidelines recommend eradication treatment for virtually all infected individuals, not just those with ulcers 1.

Common questions

Is H. pylori contagious?

H. pylori can spread from person to person through oral-oral or fecal-oral routes — contaminated water, food, or close contact. It is most commonly acquired in childhood. Testing close family members, particularly if they have symptoms, is sometimes recommended.

Can H. pylori come back after treatment?

Recurrence after confirmed eradication is uncommon in high-income settings (generally low rates per year). Reinfection is more likely in settings with poor water quality or sanitation. If symptoms return, retesting is appropriate.

Do I need an endoscopy to diagnose H. pylori?

Not always. Non-invasive tests (urea breath test, stool antigen test) are accurate and appropriate for most people. Endoscopy is reserved for those with alarm symptoms, suspected complications (bleeding, obstruction), or when direct visualization is needed.

Can diet help get rid of H. pylori?

No dietary change can eradicate H. pylori on its own. Antibiotics are required. Some foods (like those containing probiotics) may support gut health during and after antibiotic treatment but are not a substitute for prescribed therapy.

Talk to a clinician

Nina Osei, NPNurse Practitioner

checkups, refills & skin. Gale can match you with a licensed clinician for a visit.

Find care →

H. pylori complications — seek urgent care for these signs

  • Vomiting blood or material that looks like coffee grounds
  • Black, tarry stools (melena) — a sign of stomach or upper GI bleeding
  • Severe, sudden abdominal pain (possible ulcer perforation)
  • Dizziness or fainting with abdominal pain (possible significant blood loss)
  • Rapid weight loss alongside stomach symptoms

Vomiting blood or black tarry stools are signs of gastrointestinal bleeding and require emergency evaluation — call 911 or go to the nearest emergency department immediately.

This article provides general health information about H. pylori infection. Diagnosis and treatment require clinical evaluation and appropriate testing. Antibiotic regimens should be selected and prescribed by a clinician based on your history and local resistance patterns.

References

  1. 1.Chey WD, Howden CW, Moss SF, Morgan DR, Greer KB, Grover S, Shah SC (2024). ACG Clinical Guideline: Treatment of Helicobacter pylori Infection. American Journal of Gastroenterology. doi:10.14309/ajg.0000000000002968H. pylori eradication regimens (quadruple therapy, concomitant therapy, vonoprazan-based), confirmation of eradication testing, recommendation to treat all infected individuals, and impact on cancer risk
  2. 2.National Institute of Diabetes and Digestive and Kidney Diseases (2022). Peptic Ulcers (Stomach or Duodenal Ulcers). NIDDK Health Information. linkH. pylori as the most common cause of peptic ulcers not related to NSAIDs; bleeding ulcer symptoms (black stools, vomiting blood) requiring emergency care
  3. 3.National Institute of Diabetes and Digestive and Kidney Diseases (2023). Digestive Diseases. NIDDK Health Information. linkOverview of digestive diseases including gastric conditions managed by GI specialists; background on H. pylori as a cause of chronic gastritis and its long-term complications

3 sources, numbered by first appearance. General health information, not medical advice — synthetic demonstration content.