What is the ICD-10 (International Classification of Diseases, 10th Revision) code for high-risk sexual behavior?

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: December 17, 2025View 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 High-Risk Sexual Behavior

The primary ICD-10 code for documenting high-risk sexual behavior is Z72.51 (high-risk heterosexual behavior), with Z72.52 (high-risk homosexual behavior) and Z72.53 (high-risk bisexual behavior) used for specific sexual orientations.

Primary Coding Options

The ICD-10 classification system provides specific codes under the Z72.5 category for high-risk sexual behaviors 1:

  • Z72.51: High-risk heterosexual behavior
  • Z72.52: High-risk homosexual behavior
  • Z72.53: High-risk bisexual behavior

These codes fall under the broader category of "problems related to lifestyle" and are specifically designed to document sexual behaviors that increase risk for sexually transmitted infections and HIV 1.

Related Codes for Clinical Context

When documenting encounters related to high-risk sexual behavior, additional relevant codes include 1:

  • Z20.2: Contact with and (suspected) exposure to infections with a predominantly sexual mode of transmission (most commonly used, accounting for 78.2% of risk-related encounters)
  • Z20.6: Contact with and (suspected) exposure to HIV
  • Z29.81: Encounter for HIV pre-exposure prophylaxis counseling

Clinical Application

Use Z72.5x codes when the primary reason for the encounter is counseling, screening, or intervention related to the patient's high-risk sexual practices 2. These behaviors include multiple sex partners, inconsistent condom use, sex with partners of unknown STI status, and exchange of sex for drugs or money 2, 3.

The CDC guidelines emphasize that persons with high-risk sexual practices should receive 2:

  • Annual HIV testing at minimum
  • STI screening and treatment
  • Behavioral counseling to reduce risky sexual behavior
  • Consistent condom use education
  • Partner notification services when infections are diagnosed

Documentation Considerations

When using these codes, ensure documentation clearly specifies the behaviors that constitute high risk, such as number of partners, condom use patterns, and substance use during sexual activity 4, 3. This specificity supports appropriate screening intervals and preventive interventions 2.

For pregnant women with high-risk sexual behavior, use the same Z72.5x codes in conjunction with pregnancy-related codes, as screening recommendations differ for this population 2.

Common Pitfalls

Do not confuse exposure codes (Z20.x) with behavior codes (Z72.5x) 1. Exposure codes document known or suspected contact with an infected individual, while behavior codes document ongoing patterns of risky sexual practices regardless of known exposures.

The recent analysis of electronic health records revealed that before 2024, only 9.9% of high-risk encounters among men were coded as Z72.52 (homosexual behavior), with most using the less specific Z20.2 code 1. This underscores the importance of using the most specific code available to accurately track populations at risk.

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.