ICD-10-CM 2027 diagnosis code
Z87.890Personal history of sex reassignment
Z87.890 is a header code, so it can't be reported by itself. Choose one of the 5 more specific codes beneath it.
Code last changed in FY2027 (effective October 1, 2026). Source: official FY2027 ICD-10-CM release from CDC/NCHS and CMS. Page updated September 29, 2026. About our data
About Z87.890
Z87.890 is the ICD-10-CM diagnosis code for personal history of sex reassignment. It belongs to category Z87 (personal history of other diseases and conditions), block Z77-Z99 (persons with potential health hazards related to family and personal history and certain conditions influencing health status) and chapter 21 (factors influencing health status and contact with health services). It is a header code, so it can't be reported by itself; one of its 5 subcodes must be used instead.
Within Z87.89 (personal history of other specified conditions), Z87.890 is specifically for personal history of sex reassignment. Related codes cover nicotine dependence (Z87.891), anaphylaxis (Z87.892), gender detransition (Z87.893) and other specified conditions (Z87.898).
To report this condition, pick the subcode that matches the documentation: Z87.8901 (transition), Z87.8902 (transition), Z87.8903 (transition), Z87.8904 (surgery) and Z87.8909 (transition).
Code first: any follow-up examination after treatment (Z09).
It has been part of ICD-10-CM since the code set took effect on October 1, 2015, and changed in FY2027 (expanded into subcodes).
Before ICD-10, this condition was coded in ICD-9-CM as 302.50 (Trans-sexualism with unspecified sexual history).
Specific codes under Z87.890
- Z87.8901Personal history of social gender transitionBillable
- Z87.8902Personal history of medical gender transitionBillable
- Z87.8903Personal history of surgical gender transitionBillable
- Z87.8904Personal history of intersex surgeryBillable
- Z87.8909Personal history of unspecified gender transitionBillable
Coding notes
- Personal history of gender transition
Notes that apply from higher levels
Instructions written at a parent level also apply to Z87.890.
› From Z87.8 Personal history of other specified conditions
- personal history of self harm (Z91.5-)
› From Z87 Personal history of other diseases and conditions
- any follow-up examination after treatment (Z09)
Broader instructions also apply from Z77-Z99 Persons with potential health hazards related to family and personal history and certain conditions influencing health status and Chapter 21: Factors influencing health status and contact with health services.
Alphabetic index entries
4 entriesTerms in the official ICD-10-CM index that lead to Z87.890.
Codes whose notes reference Z87.890
ICD-9-CM equivalent
Converter →- 302.50Trans-sexualism with unspecified sexual historyapproximate
From the CMS 2018 General Equivalence Mappings (GEMs), the final GEMs release.
Code history
- 2016
- 2017
- 2018
- 2019
- 2020
- 2021
- 2022
- 2023
- 2024
- 2025
- 2026
- 2027
- FY2016 (effective 10/1/2015): Added (first year of ICD-10-CM)
- FY2027 (effective 10/1/2026): Expanded — no longer billable
Common questions about Z87.890
Is Z87.890 billable?
- No. Z87.890 is a header code. Report one of its more specific subcodes instead.
What is the ICD-9 code for Z87.890?
- The CMS General Equivalence Mappings map Z87.890 to ICD-9-CM 302.50.
Did Z87.890 change for 2027?
- Yes. For FY2027 (effective October 1, 2026) it was expanded into more specific subcodes, so it is no longer billable.