Which ICD-10-CM code should be used for a repeat Helicobacter pylori infection visit to confirm eradication after treatment?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: March 6, 2026View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

ICD-10 Code for Post-Treatment H. pylori Eradication Testing

Use ICD-10 code Z87.19 (Personal history of other diseases of the digestive system) or Z09 (Encounter for follow-up examination after completed treatment for conditions other than malignant neoplasm) for repeat H. pylori testing to confirm eradication after treatment.

Coding Rationale

The appropriate ICD-10 coding for post-treatment H. pylori eradication testing depends on the clinical context:

Primary Code Options:

  • Z87.19 - This code captures the personal history of H. pylori infection and is appropriate when documenting the patient's history of treated infection during follow-up testing

  • Z09 - This code specifically addresses follow-up examination after completed treatment for non-malignant conditions, which directly applies to post-eradication testing

  • B96.81 (Helicobacter pylori as the cause of diseases classified elsewhere) - Can be used if there is concern for persistent infection or if the test is being done to rule out active infection

Clinical Context for Testing

Post-treatment eradication testing is clinically indicated and should be performed universally after H. pylori treatment 1, 2. The guidelines emphasize that:

  • Testing should occur at least 4 weeks after completion of therapy 1
  • Patients must be off proton pump inhibitors for at least 2 weeks before testing to avoid false-negative results 1
  • Urea breath test (UBT) or stool antigen test are the preferred noninvasive methods for confirming eradication 1, 2

Important Coding Caveat

Do NOT use ICD-10 code 041.86 (the ICD-9 equivalent was for active H. pylori infection) for post-treatment testing, as this implies active infection rather than follow-up testing. The ICD-10 equivalent B96.81 should only be used if there is clinical suspicion of persistent or recurrent infection 3.

Insurance Coverage Considerations

When submitting claims, pair the appropriate ICD-10 code with:

  • The specific test being ordered (UBT or stool antigen)
  • Documentation that this is post-treatment eradication testing
  • Note that serology should NOT be used for eradication testing as it remains positive long after successful treatment (the "serologic scar") and is generally not reimbursed by Medicare 1

References

Research

ACG Clinical Guideline: Treatment of Helicobacter pylori Infection.

The American journal of gastroenterology, 2024

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.