STI ICD-10 codes sit mainly in the A50–A64 block of ICD-10-CM, “Infections with a predominantly sexual mode of transmission.” Chlamydia codes start with A56, gonorrhea with A54, syphilis with A51–A53, genital herpes with A60 and trichomoniasis with A59. HIV is coded separately (B20 or Z21), and screening and exposure visits use Z codes such as Z11.3 and Z20.2. This guide lists the correct billable codes, explains the rules that trip coders up, and shows how to pair them with common lab tests.
Importance of Accurate Coding in Healthcare
Accurate coding of STIs is crucial for effective treatment and management, reimbursement processes, and public health surveillance. The use of the ICD-10 coding system allows healthcare providers to categorize and communicate patient diagnoses effectively.
This article aims to provide healthcare professionals with an in-depth understanding of the ICD-10 codes related to STIs, the significance of accurate coding, and best practices for documentation and billing.
Understanding Sexually Transmitted Infections
Overview of Common STIs
Common STIs include chlamydia, gonorrhea, syphilis, HIV, herpes, and HPV. Each of these infections has unique transmission routes, symptoms, and potential complications.
- Chlamydia: Caused by the bacterium Chlamydia trachomatis, often asymptomatic, leading to serious reproductive health issues if untreated.
- Gonorrhea: Caused by Neisseria gonorrhoeae, this STI can lead to infertility and increased HIV susceptibility if left untreated.
- Syphilis: Caused by Treponema pallidum, syphilis progresses through stages and can lead to serious complications affecting multiple organ systems.
- HIV: A viral infection that attacks the immune system and can lead to AIDS if untreated.
- Herpes: Caused by the herpes simplex virus (HSV), it presents as painful sores and can recur throughout a person’s life.
- HPV: A viral infection that can lead to genital warts and is associated with several cancers.
Symptoms and Complications
Symptoms of STIs vary widely but may include abnormal discharge, pelvic pain, itching, and sores. If left untreated, STIs can cause severe complications, including infertility, chronic pain, and increased risk of acquiring or transmitting HIV.
Transmission and Risk Factors
STIs are transmitted primarily through sexual contact but can also be spread through other means, such as mother-to-child during childbirth. Key risk factors include unprotected sex, multiple sexual partners, and a history of STIs.
ICD-10 Coding Overview
Introduction to ICD-10 Coding System
The International Classification of Diseases, Tenth Revision (ICD-10), is a standardized coding system used worldwide to classify diseases, symptoms, and other health conditions. It facilitates communication among healthcare providers and supports billing and reimbursement processes.
Structure of ICD-10 Codes
ICD-10 codes are alphanumeric and can consist of up to seven characters. The first character is a letter, followed by numbers that indicate the specific condition. ICD-10-CM codes have three to seven characters: a letter, then numbers, and sometimes more characters after the decimal. For example, A56.02 is chlamydial vulvovaginitis: “A56” is the chlamydia category, “.0” means lower genitourinary tract, and the final “2” names the site. Always report the most specific billable code; three- or four-character headers such as A54.0 are not billable when more detailed codes exist under them.
ICD-10 Codes for Specific STIs
| Infection | Common billable codes | Notes |
| Chlamydia | A56.00 lower GU, unspecified; A56.01 cystitis/urethritis; A56.02 vulvovaginitis; A56.11 female PID; A56.3 rectum; A56.4 pharynx | A74.9 only when the site is not a sexually transmitted site or is truly unknown |
| Gonorrhea | A54.00 lower GU, unspecified; A54.01 cystitis/urethritis; A54.03 cervicitis; A54.5 pharyngitis; A54.6 rectum; A54.9 unspecified | A54.0 is a non-billable header |
| Syphilis | A51.0 primary genital; A51.5 early latent; A51.9 early, unspecified; A52.- late; A53.0 latent, not specified; A53.9 syphilis, unspecified | A51.9 means early syphilis, not syphilis in general |
| Genital herpes | A60.00 urogenital, unspecified; A60.01 penis; A60.04 vulvovaginitis; A60.1 perianal/rectum; A60.9 anogenital, unspecified | B00.9 is herpes simplex NOS, not the genital herpes code |
| HPV | A63.0 anogenital warts; B97.7 HPV as the cause of another disease; R87.810 cervical high-risk HPV test positive | Use B97.7 only as an additional code |
| Trichomoniasis | A59.00 urogenital, unspecified; A59.01 vulvovaginitis; A59.03 cystitis/urethritis; A59.9 unspecified | A59.0 is a non-billable header |
| HIV | B20 HIV disease; Z21 asymptomatic HIV status; R75 inconclusive HIV lab result | See the HIV rules below |
Codes checked against the FY 2026 and FY 2027 ICD-10-CM code sets (the FY 2027 set takes effect October 1, 2026). Official files are on the CMS ICD-10 page
HIV Coding Rules: B20 vs. Z21
- B20: HIV disease, including AIDS or any HIV-related condition documented by the provider. Once B20 has been used, it is reported on every later encounter, even if the patient improves.
- Z21: HIV positive with no symptoms, no related illness and no AIDS diagnosis.
- R75: Inconclusive HIV lab result, such as a positive screen that has not been confirmed.
- Pregnancy: Code O98.7- first, then B20 or Z21.
Screening, Exposure and High-Risk Codes
| Situation | ICD-10-CM code |
| Routine STI screening, no symptoms | Z11.3 |
| HIV screening | Z11.4 |
| HPV screening | Z11.51 |
| Known or suspected exposure to an STI | Z20.2 |
| Exposure to HIV | Z20.6 |
| High-risk sexual behavior (heterosexual / homosexual / bisexual) | Z72.51 / Z72.52 / Z72.53 |
| HIV counseling | Z71.7 |
If the test comes back positive, the screening code stays on the screening encounter, and the infection code is used from the follow-up visit onward.
STIs in Pregnancy
During pregnancy, an O98 code is listed first, followed by the infection code: O98.1- for syphilis, O98.2- for gonorrhea, O98.3- for other sexually transmitted infections such as chlamydia, and O98.7- for HIV.
Importance of Accurate Coding for STIs
Impact on Patient Care
Accurate coding directly impacts patient care by ensuring that appropriate treatments are provided based on specific diagnoses. It allows healthcare providers to track trends, manage populations effectively, and identify high-risk patients for targeted interventions.
Reimbursement Implications
Correct coding is essential for reimbursement from payers. Inaccuracies can lead to claim denials, which affect the financial viability of healthcare practices.
Public Health Surveillance
ICD-10 coding facilitates the collection of data on STI prevalence, which is crucial for public health initiatives aimed at education, prevention, and resource allocation.
Documentation Requirements for STI Coding
Essential Elements of Documentation
Comprehensive documentation is necessary for accurate coding and should include:
- Patient history (including sexual history and prior STIs).
- Clinical findings (symptoms reported during the visit).
- Results from laboratory tests (e.g., urine tests, swabs).
Best Practices for Healthcare Providers
Providers should:
- Use standardized forms for STI screenings.
- Ensure thorough documentation during patient encounters.
- Conduct regular training on coding updates and documentation best practices.
Billing Considerations for STIs
Understanding the Revenue Cycle
The revenue cycle encompasses all administrative and clinical functions that contribute to the capture, management, and collection of patient service revenue. Accurate coding for STIs is a key element in this cycle.
Payer Guidelines and Variations
Each lab test must be linked to a diagnosis that supports it, as explained in our guide to how ICD-10 and CPT codes work together. Common pairings:
| Lab test | CPT | Typical diagnosis codes |
| Chlamydia NAAT | 87491 | Z11.3 (screening), Z20.2 (exposure) or symptom codes |
| Gonorrhea NAAT | 87591 | Z11.3, Z20.2 or symptom codes |
| Syphilis RPR / treponemal antibody | 86592 / 86780 | Z11.3, Z20.2, or A51–A53 when monitoring treatment |
| HIV-1/2 antigen and antibody | 87389 | Z11.4 (screening) or Z20.6 (exposure) |
| Trichomonas NAAT | 87661 | Z11.3 or symptom codes |
Medicare covers STI screening for chlamydia, gonorrhea, syphilis and hepatitis B for eligible beneficiaries under a national coverage determination, along with high-intensity behavioral counseling (G0445). Check frequency limits before billing. Practices that run in-house testing can find more on lab claims in our lab and diagnostic billing guide.
Handling Denied Claims
If a claim for an STI is denied:
- Review the denial reason carefully.
- Gather supporting documentation (medical records, lab results).
- Submit an appeal with a detailed explanation of the diagnosis and treatment plan.
Clinical Management of STIs
Screening and Diagnosis
Regular screening is recommend for sexually active individuals, particularly those at higher risk. Diagnoses may involve a combination of patient history, physical examination, and laboratory tests.
Treatment Guidelines
Each STI has specific treatment protocols, generally involving antibiotics or antiviral medications. Adherence to treatment is critical to prevent complications and transmission.
Patient Education and Counseling
Educating patients about STIs, including symptoms, transmission, prevention strategies, and the importance of treatment adherence, is vital for effective management and reducing stigma.
STI Coding Examples
Illustrative scenario 1: Chlamydia (not an actual patient record)
A 25-year-old woman has vaginal discharge. A NAAT is positive for chlamydia and the provider documents chlamydial cervicitis and vaginitis. Code A56.02 (chlamydial vulvovaginitis), or A56.09 if the provider documents cervicitis only. The earlier version of this example used A54.9, which is a gonorrhea code.
Illustrative scenario 2: New HIV diagnosis (not an actual patient record)
A 40-year-old man comes in for routine screening (Z11.4). His confirmed test is positive, and at the follow-up visit he has no symptoms or HIV-related conditions. The follow-up visit is cod Z21, not B20. If he later develops an HIV-related illness or an AIDS diagnosis, B20 is use from then on.
Future Trends in STI Coding and Management
Updates to ICD-10 Codes
As new strains of infections emerge and treatment guidelines evolve, updates to ICD-10 codes will likely reflect these changes.
Technological Advancements
The integration of telehealth and electronic health records (EHR) can streamline documentation and coding processes, reducing errors and improving patient access to care.
Focus on Prevention and Education
Public health initiatives increasingly emphasize prevention through education, screening, and vaccination (e.g., HPV vaccine), leading to a potential decrease in STI prevalence.
STI ICD-10 Codes: Frequently Asked Questions
What are sexually transmitted infections (STIs)?
STIs are infections transmitted primarily through sexual contact, caused by bacteria, viruses, or parasites.
What is the significance of ICD-10 coding for STIs?
ICD-10 coding helps ensure accurate diagnosis, treatment, billing, and public health reporting.
What are the common ICD-10 codes for STIs?
Common codes include A56.00–A56.4 for chlamydia, A54.00–A54.9 for gonorrhea, A53.9 for syphilis (unspecified), A60.- for genital herpes, A59.00 for trichomoniasis, Z11.3 for STI screening, and B20 or Z21 for HIV.
How does accurate coding affect patient care?
Accurate coding ensures appropriate treatment, effective disease management, and optimal health outcomes.
What documentation is necessary for STI coding?
Essential documentation includes patient history, clinical findings, and lab results.
What are the implications of billing inaccuracies for STIs?
Billing inaccuracies can lead to claim denials, impacting practice revenue and patient care.
How can healthcare providers manage STIs effectively?
Effective management includes routine screening, accurate diagnosis, appropriate treatment, and patient education.
What steps should be taken if a claim for an STI is denied?
Review the denial reason, gather documentation, and submit an appeal with supporting information.
What are the best practices for educating patients about STIs?
Educate patients on prevention, symptoms, treatment options, and the importance of regular screenings.
How can technology enhance STI coding and management?
Technology improves coding accuracy through automation and enhances patient access to care through telehealth services.
What is the ICD-10 code for chlamydia?
Chlamydia of the lower genitourinary tract, unspecified, is A56.00. More specific codes include A56.01 (cystitis and urethritis), A56.02 (vulvovaginitis), A56.3 (rectum) and A56.4 (pharynx). A54.9 is gonorrhea, not chlamydia.
What is the ICD-10 code for STI screening?
Z11.3 is the encounter for screening for infections with a predominantly sexual mode of transmission. HIV screening is Z11.4, and HPV screening is Z11.51.
What is the ICD-10 code for exposure to an STI?
Z20.2 is contact with and (suspected) exposure to infections with a predominantly sexual mode of transmission. Exposure to HIV is Z20.6.
When should Z21 be used instead of B20?
Use Z21 for a patient who is HIV positive with no HIV-related illness and no AIDS diagnosis. Use B20 once the provider documents HIV disease or AIDS; after that, B20 is used on every later encounter.
Is A54.0 a billable code?
No. A54.0 is a subcategory. Report a specific code such as A54.00 (gonococcal infection of the lower genitourinary tract, unspecified) or A54.03 (gonococcal cervicitis).
Final Thoughts
STI coding errors usually come from three places: using a header instead of a billable code, mixing up chlamydia and gonorrhea categories, and coding B20 for an asymptomatic HIV-positive patient. The codes in this guide come from the official ICD-10-CM code set; always confirm against the current year’s files. Infectious disease and sexual health clinics that want help with coding review and claim follow-up can see Zmed Solutions’ infectious disease billing services. Results vary by practice.
Key Market Player
Ready to optimize your medical billing and boost your revenue? Look no further. Zmed Solutions LLC is your trusted partner in professional Medical Billing Services.
Join our growing network of healthcare providers who have already elevated their revenue with our expert services. Don't miss out on what could be your practice's most profitable decision.
Schedule a Consultation Today!
Contact Us Now, and experience the difference. Your financial success starts here!











