NP Blog / GI, Renal & Genitourinary / H. Pylori Testing and Treatment: Diagnosis, Guidelines, Practice Questions
H. Pylori Testing and Treatment: Diagnosis, Guidelines, Practice Questions

H. Pylori Testing and Treatment: Diagnosis, Guidelines, Practice Questions

Written & reviewed by nurse educators·13 min read·Updated 2026-11-30
The short answer

Active Helicobacter pylori infection is diagnosed using a urea breath test, stool antigen test, or gastric biopsy. The 2024 American College of Gastroenterology guideline recommends 14 days of optimized bismuth quadruple therapy when antibiotic susceptibility is unknown. All treated patients require confirmation of eradication at least 4 weeks after completing antibiotic therapy.

Helicobacter pylori infection is diagnosed using a urea breath test, stool antigen test, or gastric biopsy, and the preferred empiric treatment is 14 days of optimized bismuth quadruple therapy. Every treated patient requires a test of cure at least 4 weeks after completing antibiotics, with appropriate withholding of medications that interfere with testing. The 2024 American College of Gastroenterology (ACG) guideline emphasizes antibiotic resistance, appropriate regimen selection, and documented eradication rather than relying on symptom improvement.

What H. pylori is and why it happens

Helicobacter pylori (H. pylori) is a gram-negative, spiral-shaped bacterium that colonizes the gastric mucosa. It produces urease, an enzyme that converts urea into ammonia and carbon dioxide. Ammonia creates a less acidic environment around the organism, allowing it to survive within the stomach.

Persistent infection causes gastric inflammation and may disrupt the protective mucosal barrier. Changes in gastric acid secretion and mucosal defense contribute to gastric and duodenal ulcer formation.

Transmission is believed to occur primarily through oral-oral and fecal-oral routes. Infection is often acquired during childhood and may persist throughout adulthood without treatment.

Factors associated with infection include:

  • Living in crowded households.
  • Exposure to contaminated food or water.
  • Poor sanitation.
  • Household exposure to an infected person.
  • Childhood residence in regions with a high prevalence of infection.

Chronic infection is associated with peptic ulcer disease, atrophic gastritis, gastric intestinal metaplasia, gastric adenocarcinoma, and gastric mucosa-associated lymphoid tissue (MALT) lymphoma.

H. pylori infection may also contribute to unexplained iron deficiency anemia and immune thrombocytopenia.

Eradication reduces infection-related ulcer recurrence and gastric cancer risk, although patients with established premalignant gastric changes may require continued specialist surveillance.

Symptoms and signs

Many patients with H. pylori infection have no symptoms. When symptoms occur, they frequently overlap with gastritis, functional dyspepsia, and peptic ulcer disease.

Common manifestations include:

  • Burning or aching epigastric pain.
  • Postprandial discomfort.
  • Early satiety.
  • Abdominal bloating.
  • Nausea and belching.
  • Reduced appetite.

Duodenal ulcer discomfort may temporarily improve after eating and recur when the stomach is empty. Gastric ulcer discomfort may worsen with meals. However, these patterns cannot reliably distinguish ulcer location or establish H. pylori infection.

Clinical findingClinical interpretation
Epigastric discomfort without concerning findingsConsider uncomplicated dyspepsia and noninvasive testing.
Recurrent upper abdominal burningConsider gastritis or peptic ulcer disease.
Unexplained iron deficiency anemiaInvestigate gastrointestinal blood loss and consider H. pylori testing.
Hematemesis or melenaSuspect upper gastrointestinal bleeding.
Sudden severe abdominal pain with rigiditySuspect ulcer perforation.
Progressive dysphagia or unintentional weight lossEvaluate for structural disease or malignancy.
Persistent vomitingConsider gastric outlet obstruction or another structural disorder.

Symptoms alone cannot establish the diagnosis. A patient with asymptomatic infection may still develop clinically important gastric disease.

Diagnosis and workup

Who should be tested for H. pylori?

The 2024 ACG guideline identifies several indications for testing:

  • Uninvestigated dyspepsia appropriate for noninvasive evaluation.
  • Current or previous peptic ulcer disease without documented eradication.
  • Unexplained iron deficiency anemia.
  • Immune thrombocytopenia.
  • Gastric MALT lymphoma.
  • Gastric premalignant conditions and selected patients at increased gastric cancer risk.
  • Adult household members of patients with documented H. pylori infection.
  • Patients taking chronic NSAIDs or beginning daily aspirin therapy.

Testing should generally be performed when a positive result would lead to eradication treatment.

The H. pylori test and treat strategy

The 2017 ACG/CAG Clinical Guideline on Management of Dyspepsia recommends noninvasive H. pylori testing in patients younger than 60 years presenting with dyspepsia who do not require immediate endoscopic evaluation.

The primary care approach is:

  1. Assess symptoms, medication exposure, family history, and gastric cancer risk.
  2. Identify findings suggesting bleeding, obstruction, malignancy, or another serious condition.
  3. Order a urea breath test or stool antigen test when noninvasive evaluation is appropriate.
  4. Prescribe eradication therapy if active infection is confirmed.
  5. Arrange post-treatment testing to document eradication.

Patients aged 60 years or older presenting with new dyspepsia generally require upper gastrointestinal endoscopy. Earlier endoscopy may be appropriate when cancer risk is elevated or concerning clinical findings are present.

An isolated concerning feature in a younger patient does not automatically mandate endoscopy under the 2017 dyspepsia guideline. The decision depends on the severity, combination, and progression of findings.

Choosing the correct H. pylori test

Diagnostic testDetects active infection?Appropriate for test of cure?Clinical use
Urea breath testYesYesPreferred noninvasive option for initial diagnosis and follow-up.
Stool antigen testYesYesPractical alternative to breath testing.
Serum H. pylori IgG antibodyCannot reliably distinguish active from previous infectionNoGenerally avoided when active infection testing is available.
Gastric biopsy with histologyYesYesAppropriate when endoscopy is clinically indicated.
Rapid urease test on gastric biopsyYesMay be used when appropriateEndoscopic diagnosis of infection.
Culture or molecular susceptibility testingYes, depending on the methodNot routinely used for confirmation aloneHelps select antibiotics when resistance or treatment failure is suspected.

The urea breath test measures labeled carbon dioxide produced after bacterial urease metabolizes administered labeled urea. Stool antigen testing detects bacterial antigens in a stool specimen.

Serologic testing is a common examination distractor because antibodies can remain detectable after successful eradication.

Neither symptom improvement nor a positive antibody result confirms persistent active infection.

Medication withholding before testing

Acid suppressants, antibiotics, and bismuth can suppress H. pylori and produce falsely negative results.

The 2024 ACG guideline supports the following medication withholding intervals:

MedicationMinimum withholding interval before active infection testing
Proton pump inhibitor (PPI)2 weeks
Potassium-competitive acid blocker (PCAB)2 weeks
Antibiotics4 weeks
Bismuth4 weeks

Histamine-2 receptor antagonists and antacids may provide temporary symptom relief while PPIs or PCABs are withheld. Follow the testing laboratory's preparation instructions regarding these agents.

A negative result obtained during interfering medication use may require repeat testing under appropriate conditions.

Additional diagnostic evaluation

Additional investigations depend on the presentation rather than being routinely required to diagnose H. pylori.

A complete blood count may identify anemia associated with gastrointestinal bleeding. Ferritin and iron studies help evaluate suspected iron deficiency.

Renal and hepatic function should be reviewed when medication safety or dose selection is a concern.

Upper endoscopy permits direct visualization of ulcers, biopsy of suspicious gastric lesions, and assessment for premalignant gastric changes.

H. pylori testing and treatment online

Telehealth may be appropriate for a stable patient with uncomplicated dyspepsia. The NP can obtain the history, review medications, order laboratory testing, select treatment, and arrange eradication testing remotely.

A virtual encounter does not eliminate the need for diagnostic confirmation or appropriate physical examination when serious disease is suspected. Antibiotics should not routinely be prescribed based solely on symptoms or a positive antibody result.

Treatment

First-line treatment: Optimized bismuth quadruple therapy

The 2024 ACG Clinical Guideline recommends optimized bismuth quadruple therapy as the preferred empiric regimen for treatment-naive adults when antibiotic susceptibility is unknown.

Treatment combines acid suppression with bismuth and antibiotics.

MedicationStandard adult oral doseDuration
Omeprazole or another equivalent PPIOmeprazole 20 mg twice daily or equivalent PPI dose14 days
Bismuth subsalicylate300 to 524 mg four times daily14 days
Bismuth subcitrate, alternative to subsalicylate120 to 300 mg four times daily14 days
Tetracycline500 mg four times daily14 days
Metronidazole500 mg three or four times daily14 days

Select one bismuth formulation, not both. These doses describe the separately prescribed components of optimized therapy. Fixed-dose combination capsules have their own prescribing instructions.

Doxycycline is not a recommended routine substitute for tetracycline in optimized bismuth quadruple therapy.

Alternative eradication regimens

The 2024 ACG guideline also supports empiric alternatives for selected patients without penicillin allergy.

RegimenAdult treatment componentsClinical role
Vonoprazan-amoxicillin dual therapyVonoprazan 20 mg twice daily and amoxicillin 1,000 mg three times daily for 14 daysAlternative initial treatment when appropriate.
Rifabutin-based triple therapyRifabutin, amoxicillin, and omeprazole using an approved regimen for 14 daysAlternative initial treatment or salvage treatment after optimized bismuth quadruple therapy fails.
Clarithromycin-based triple therapyAcid suppression, amoxicillin, and clarithromycinUse when clarithromycin susceptibility has been established and the regimen is otherwise appropriate.
Levofloxacin-based therapyAcid suppression and susceptibility-directed antibiotics including levofloxacinSelected salvage treatment when susceptibility is established and preferred options have been used or are unavailable.

Vonoprazan is a potassium-competitive acid blocker that provides potent gastric acid suppression.

Empiric clarithromycin triple therapy is no longer the preferred approach when susceptibility is unknown. Previous macrolide exposure further raises concern for clarithromycin resistance.

Treatment after eradication failure

Persistent infection requires review of adherence, medication doses, treatment duration, antibiotic exposure, and possible resistance.

If an initial clarithromycin-containing regimen fails and the patient has not received optimized bismuth quadruple therapy, prescribe optimized bismuth quadruple therapy when appropriate.

If optimized bismuth quadruple therapy fails, rifabutin triple therapy is an empiric alternative in a patient without penicillin allergy.

Repeated treatment failure warrants susceptibility-guided management and gastroenterology consultation.

Important adverse effects and interactions

MedicationImportant prescribing consideration
Bismuth subsalicylateAvoid in patients with salicylate hypersensitivity. Review bleeding risk and anticoagulant use.
TetracyclinePhotosensitivity, esophageal irritation, and reduced absorption with iron, calcium, or antacids.
MetronidazoleMetallic taste, gastrointestinal discomfort, alcohol interaction, and potential warfarin interaction.
AmoxicillinHypersensitivity and gastrointestinal adverse effects.
ClarithromycinQT prolongation and clinically important drug interactions.
RifabutinPotential hematologic toxicity and drug interactions.

Medication reconciliation is essential, especially for patients receiving anticoagulants, antiarrhythmics, or multiple interacting medications.

Special populations

Penicillin allergy: Optimized bismuth quadruple therapy is generally preferred because it does not contain amoxicillin. Consider formal allergy evaluation when the reported allergy limits appropriate treatment options.

Pregnancy: Eradication of uncomplicated infection can generally be deferred. The FDA prescribing information contraindicates the bismuth-metronidazole-tetracycline combination during pregnancy. Complicated ulcer disease requires coordinated obstetric and gastroenterology management.

Children: The updated ESPGHAN/NASPGHAN pediatric guideline, published in 2024, recommends against routinely applying the adult test and treat strategy to children with functional abdominal pain. Investigation should identify the underlying cause of symptoms. Children with gastric or duodenal ulcers should be evaluated for infection, with treatment guided by susceptibility and pediatric dosing when appropriate.

Older adults: Review kidney function, medication interactions, swallowing ability, adherence barriers, and bleeding risk before prescribing. Older age also increases the importance of investigating structural causes of new dyspepsia.

Renal impairment: The FDA prescribing information contraindicates the fixed-dose bismuth-metronidazole-tetracycline combination in severe renal impairment. Select an alternative regimen with appropriate renal dosing and specialist input when necessary.

Nonpharmacologic management

Encourage smoking cessation, adequate hydration, and avoidance of unnecessary NSAIDs. Review whether aspirin or other medications that increase gastrointestinal bleeding risk remain clinically necessary.

Dietary changes may reduce discomfort but cannot eradicate H. pylori. No specific food, supplement, or probiotic replaces antibiotic-based eradication therapy. Evidence remains insufficient to routinely recommend probiotics specifically to improve eradication outcomes.

Monitoring and follow-up

Confirming eradication

The 2024 ACG guideline requires a test of cure for every treated patient, including patients whose symptoms completely resolve.

Use a urea breath test, stool antigen test, or an appropriate biopsy-based test.

The following conditions must be met:

  • Antibiotic therapy was completed at least 4 weeks before testing.
  • Bismuth and other antibiotics have been withheld for at least 4 weeks.
  • PPIs and PCABs have been withheld for at least 2 weeks.

Arrange follow-up testing when prescribing the initial treatment to reduce missed confirmation.

A negative appropriately timed test supports successful eradication. Persistent symptoms despite eradication require evaluation for other causes, including functional dyspepsia, gastroesophageal reflux disease, medication-related injury, or structural gastrointestinal disease.

A persistently positive test indicates treatment failure and requires another appropriate eradication regimen.

Patients with gastric ulcers may require repeat endoscopy to document healing and exclude malignancy. Continued acid suppression depends on ulcer characteristics, ongoing NSAID exposure, and other clinical indications.

When to refer or send to the emergency department

Send the patient for emergency evaluation when findings suggest gastrointestinal hemorrhage, perforation, or another acute abdominal emergency.

Emergency findings include:

  • Hematemesis or coffee-ground emesis.
  • Melena accompanied by weakness, dizziness, or hemodynamic instability.
  • Syncope with suspected gastrointestinal bleeding.
  • Sudden severe abdominal pain with guarding or rigidity.
  • Persistent vomiting with significant dehydration or suspected obstruction.

Refer for gastroenterology evaluation when upper endoscopy is indicated, infection persists despite appropriate treatment, or gastric malignancy or premalignant disease is suspected.

Progressive dysphagia, unexplained weight loss, persistent vomiting, and unexplained iron deficiency anemia require investigation rather than repeated empiric acid suppression.

Patient education

Explain that H. pylori is a bacterial infection that can remain present even when symptoms improve.

Provide a written medication schedule because optimized bismuth quadruple therapy has a substantial pill burden. Encourage the patient to complete the entire prescribed course.

Explain that bismuth may temporarily darken the tongue and stool. However, tarry stool accompanied by dizziness, weakness, or other bleeding symptoms requires urgent evaluation.

Patients taking tetracycline should follow administration instructions concerning dairy products, iron, calcium supplements, and antacids. Taking the medication with sufficient water reduces esophageal irritation.

Avoid alcohol during metronidazole treatment and for the period specified in its prescribing information after completion.

Encourage handwashing, safe food preparation, and appropriate evaluation of adult household contacts.

Emphasize that follow-up testing is necessary even when abdominal discomfort has disappeared.

How the NP exam tests this

Board questions commonly distinguish active infection testing from antibody testing, appropriate initial therapy from outdated empiric regimens, and correctly timed eradication testing from premature follow-up.

Examination trapCorrect clinical decision
Positive H. pylori IgG following treatmentObtain an active infection test rather than assuming treatment failure.
Negative stool antigen test during PPI therapyConsider a false-negative result and repeat testing after appropriate medication withholding.
Uncomplicated dyspepsia in a younger adultUse the noninvasive test and treat strategy when appropriate.
New dyspepsia in a patient aged 60 years or olderArrange upper gastrointestinal endoscopy.
Unknown antibiotic susceptibilityPrefer optimized bismuth quadruple therapy.
Previous clarithromycin treatment failureAvoid repeating empiric clarithromycin therapy.
Complete symptom resolution after antibioticsStill obtain a test of cure.
Functional abdominal pain in a childDo not routinely apply the adult test and treat strategy.

Practice questions

Question 1

A 48-year-old patient presents with recurrent epigastric discomfort and early satiety. A stool antigen test is positive for H. pylori. The patient previously received azithromycin for a respiratory infection and reports generalized urticaria and facial swelling after taking amoxicillin. There is no history of H. pylori eradication therapy. Renal and hepatic function are normal. Antibiotic susceptibility results are unavailable. Which treatment should the NP prescribe?

  • A. Omeprazole, amoxicillin, and clarithromycin for 14 days.
  • B. Omeprazole, bismuth, tetracycline, and metronidazole for 14 days.
  • C. Vonoprazan and amoxicillin for 14 days.
  • D. Omeprazole, amoxicillin, and rifabutin for 14 days.

Answer: B

Optimized bismuth quadruple therapy is the preferred empiric regimen when antibiotic susceptibility is unknown and is appropriate for this patient with a history suggesting immediate penicillin hypersensitivity. The regimen avoids amoxicillin and clarithromycin. Option A contains amoxicillin and uses clarithromycin without established susceptibility. Option C contains amoxicillin and is therefore inappropriate for this patient. Option D also contains amoxicillin despite the reported hypersensitivity.

Question 2

A 57-year-old patient returns after completing optimized bismuth quadruple therapy for biopsy-confirmed H. pylori infection. Antibiotics and bismuth were completed 5 weeks ago. The patient continues taking omeprazole daily because of intermittent reflux symptoms. Epigastric discomfort has resolved, and there is no evidence of gastrointestinal bleeding. The patient requests confirmation that the infection has been eliminated. Which action is most appropriate?

  • A. Obtain a serum H. pylori IgG antibody test today.
  • B. Obtain a stool antigen test today while continuing omeprazole.
  • C. Discontinue omeprazole for at least 2 weeks and then obtain a urea breath test.
  • D. Document successful eradication based on resolution of symptoms.

Answer: C

The patient has completed the required interval after antibiotics and bismuth but must withhold omeprazole for at least 2 weeks before eradication testing. A urea breath test can then reliably assess for persistent active infection. Option A is incorrect because antibodies may remain detectable after eradication. Option B risks a falsely negative result because ongoing PPI therapy suppresses bacterial detection. Option D is incorrect because clinical improvement does not establish microbiological cure.

Key points

  • Urea breath testing and stool antigen testing identify active H. pylori infection and can confirm eradication.
  • The adult test and treat strategy is appropriate for selected patients younger than 60 years with uncomplicated dyspepsia.
  • New dyspepsia at age 60 years or older generally requires upper gastrointestinal endoscopy.
  • Optimized bismuth quadruple therapy for 14 days is the preferred empiric treatment when antibiotic susceptibility is unknown.
  • Avoid empiric clarithromycin-containing or levofloxacin-containing regimens when susceptibility has not been established.
  • Confirm eradication at least 4 weeks after antibiotics, with PPIs and PCABs withheld for at least 2 weeks and antibiotics and bismuth withheld for at least 4 weeks.
  • Suspected gastrointestinal bleeding, perforation, or significant obstruction requires urgent evaluation.

Frequently asked questions

Common follow-up questions on GI, Renal & Genitourinary.

How is H. pylori diagnosed and treated according to current guidelines?

H. pylori is diagnosed using a urea breath test, stool antigen test, or gastric biopsy and is preferably treated with 14 days of optimized bismuth quadruple therapy when antibiotic susceptibility is unknown. Confirm eradication after treatment.

What is the H. pylori test and treat strategy?

The test and treat strategy involves noninvasive testing for H. pylori in patients younger than 60 years with uncomplicated dyspepsia, followed by eradication therapy if the result is positive. Patients with concerning findings or elevated gastric cancer risk may require endoscopy instead.

Can H. pylori testing and treatment be completed online?

A nurse practitioner can evaluate an appropriate patient through telehealth, order a stool antigen or urea breath test, prescribe eradication therapy, and arrange follow-up testing. Patients with suspected bleeding, perforation, or other serious complications require in-person evaluation.

What are the symptoms, diagnosis, and treatment of H. pylori infection?

Symptoms may include epigastric discomfort, nausea, bloating, early satiety, and indigestion, although many infected patients are asymptomatic. Active infection is confirmed through breath, stool, or biopsy-based testing and treated with an appropriate combination of antibiotics and acid suppression.

When should H. pylori testing after treatment be performed?

Perform a urea breath test, stool antigen test, or appropriate biopsy-based test at least 4 weeks after completing antibiotics. Withhold antibiotics and bismuth for at least 4 weeks and proton pump inhibitors or potassium-competitive acid blockers for at least 2 weeks before testing.

Sources and references

  1. Chey WD, Howden CW, Moss SF, et al. ACG Clinical Guideline: Treatment of Helicobacter pylori Infection. 2024. https://pubmed.ncbi.nlm.nih.gov/39626064/
  2. American College of Gastroenterology. ACG Guideline Highlights: Treatment of Helicobacter pylori Infection. 2024. https://gi.org/wp-content/uploads/2025/01/ACG-Hpylori-Guidelines-Highlights-2024-FINAL.pdf.pdf
  3. Moayyedi P, Lacy BE, Andrews CN, et al. ACG and CAG Clinical Guideline: Management of Dyspepsia. 2017. https://pubmed.ncbi.nlm.nih.gov/28631728/
  4. Homan M, Jones NL, Bontems P, et al. Updated Joint ESPGHAN/NASPGHAN Guidelines for Management of Helicobacter pylori Infection in Children and Adolescents (2023). Published 2024. https://pubmed.ncbi.nlm.nih.gov/39148213/
  5. National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms and Causes of Peptic Ulcers. 2022. https://www.niddk.nih.gov/health-information/digestive-diseases/peptic-ulcers-stomach-ulcers/symptoms-causes
  6. U.S. Food and Drug Administration. Bismuth Subcitrate Potassium, Metronidazole, and Tetracycline Hydrochloride Prescribing Information. 2025. https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=4c7f024d-ba26-43cf-a36f-597e2168cd9f
  7. U.S. Food and Drug Administration. Vonoprazan Prescribing Information. 2026. https://dailymed.nlm.nih.gov/dailymed/fda/fdaDrugXsl.cfm?setid=0cc52ac5-77ec-4d66-a770-762a1a960914
Put this into practice

FNP and AGNP board questions written as primary-care cases, with guideline-based explanations, for the AANP and ANCC exams. Create a free account and pick your track.

Create Free Account →