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

Digestive health

H. pylori Infection: Symptoms, Testing, and Treatment

H. pylori is a common bacterial infection of the stomach lining. Many people have no symptoms, but it can cause persistent stomach pain, ulcers, nausea, or bloating. Clinicians confirm it with breath, stool, or endoscopy tests and treat it with a short course of antibiotics plus acid-reducing medication.

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 spread?

H. pylori is a bacterium that lives in the lining of the stomach. It is one of the most common chronic bacterial infections globally. Most people who carry it have no symptoms — it can be present for years or even a lifetime without causing problems.

When it does cause harm, it does so by damaging the protective mucus layer of the stomach or small intestine, which can lead to gastritis and ulcers. H. pylori spreads through contaminated food and water and through close contact with an infected person (such as sharing utensils). It is often acquired in childhood, and rates are higher in regions with limited access to clean water or in crowded living conditions 1.

What symptoms does H. pylori cause — and when does it stay silent?

Many people with H. pylori never feel a thing. When symptoms occur, they are usually related to the ulcer or gastritis the infection causes, not the bacteria directly. Common symptoms include:

  • A dull or burning ache in the upper or middle abdomen (between the breastbone and navel)
  • Pain that is temporarily relieved by eating or antacids but then returns
  • Nausea, especially in the morning
  • Feeling full quickly or bloated after small meals
  • Loss of appetite
  • Frequent belching

These symptoms overlap significantly with functional dyspepsia and GERD, which is why testing — not symptom pattern alone — is needed to confirm H. pylori 1.

How is H. pylori tested?

Several reliable, non-invasive options exist 1:

  • Urea breath test: Highly accurate — you swallow a harmless labeled compound and the breath is analyzed for breakdown products only H. pylori can produce. Preferred for confirming active infection and for confirming cure after treatment.
  • Stool antigen test: Detects H. pylori proteins in a stool sample. Also very accurate and useful for confirming eradication.
  • Blood antibody test: Less preferred — it can remain positive even after successful treatment, so it cannot distinguish current from past infection.
  • Upper endoscopy with biopsy: Used when the clinician wants to examine the stomach lining directly, particularly when an ulcer is suspected or alarm features are present.

If you are taking a proton pump inhibitor (PPI) or have recently used antibiotics, you may need to stop these before some tests — your clinician will advise.

What does H. pylori treatment look like?

H. pylori is treated with a combination regimen — typically multiple antibiotics together with an acid-reducing medication (a proton pump inhibitor, or PPI). Depending on the combination used, this is called triple therapy, quadruple therapy, or bismuth-based therapy. Treatment usually lasts one to two weeks 1.

Completing the full course is critical: stopping early allows bacteria to survive and can contribute to antibiotic resistance, which is a growing concern in some regions. A follow-up test — preferably a breath or stool test, not a blood test — is done to confirm the bacteria have been cleared. If the first treatment does not work, a second regimen with a different antibiotic combination is possible 1.

What happens if H. pylori is not treated?

Most people with untreated H. pylori live without major problems, but the infection carries real long-term risks. H. pylori is the leading cause of peptic ulcer disease 2. Over many years, the persistent inflammation it causes has also been linked to a higher risk of certain stomach cancers — making it one of the few known bacterial causes of cancer. This does not mean everyone with H. pylori will develop cancer, but treatment when the infection is detected and symptomatic is generally recommended 1.

Untreated ulcers can occasionally bleed, sometimes seriously. Signs of a bleeding ulcer — black tarry stools or vomiting blood — require emergency evaluation 3.

Common questions

Can H. pylori be cured completely?

Yes, for most people. Eradication rates with modern combination regimens are high when the full course is completed and antibiotic resistance is not a factor. A follow-up breath or stool test confirms success. If the first regimen fails, a different combination is prescribed.

Do I need to tell family members if I test positive for H. pylori?

It is worth discussing with your clinician. H. pylori can spread within households, particularly in close-contact settings. Some guidelines suggest testing household contacts, especially children or first-degree relatives of someone with a confirmed infection or a history of stomach cancer.

Should I stop my ibuprofen or aspirin while being treated?

NSAIDs and aspirin independently irritate the stomach lining and significantly increase the risk of ulcers, especially in combination with H. pylori. Your clinician will review your medications as part of treatment planning. Never stop a prescribed medication without discussing it first.

How long after treatment can I retest to confirm it worked?

Most guidelines recommend waiting at least four weeks after completing antibiotics, and ideally two weeks after stopping a PPI, before retesting with a urea breath test or stool antigen test. Testing too soon can produce a false negative.

Is H. pylori more common in certain regions or backgrounds?

Yes. Infection rates are substantially higher in many parts of East Asia, Latin America, Eastern Europe, and sub-Saharan Africa — often reflecting childhood exposure through water or close living conditions. If you grew up in a high-prevalence region, your clinician may have a lower threshold to test you.

Talk to a clinician

Nina Osei, NPNurse Practitioner

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

Find care →

When to seek urgent or emergency care

  • Black, tarry stools or bloody vomit — signs of a bleeding ulcer requiring emergency care
  • Severe, sudden, or rapidly worsening abdominal pain
  • Vomiting blood or material that looks like coffee grounds
  • Unintentional significant weight loss alongside stomach symptoms
  • Difficulty swallowing or sensation of food getting stuck
  • Persistent vomiting that prevents eating or drinking

If you have black tarry stools, vomit blood or material that looks like coffee grounds, or have severe sudden abdominal pain, call 911 or go to the emergency room immediately. These can be signs of a bleeding ulcer, which is a medical emergency.

This article is general health information and does not constitute a diagnosis or personalized treatment plan. H. pylori testing and treatment require a licensed clinician — do not attempt self-treatment with antibiotics.

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 epidemiology, preferred diagnostic tests (urea breath test, stool antigen test over serology), eradication regimens (triple/quadruple/bismuth), importance of post-treatment confirmation testing, and antibiotic resistance considerations
  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 leading cause of peptic ulcer disease and the long-term risks of untreated infection
  3. 3.Laine L, Barkun AN, Saltzman JR, Martel M, Leontiadis GI (2021). ACG Clinical Guideline: Upper Gastrointestinal and Ulcer Bleeding. American Journal of Gastroenterology. doi:10.14309/ajg.0000000000001245Clinical significance of upper GI bleeding as an emergency complication of untreated peptic ulcer disease associated with H. pylori

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