ICD-10-CM FY2027 · Factors influencing health status and contact with health services

Z87.890 Personal history of sex reassignment

Not billable. Z87.890 is a heading. Code to a more specific code below (5 codes directly under it).
Changed in FY2027. Z87.890 was a billable code until October 1, 2026, when it became a heading with more specific codes beneath it: Z87.8901 (from FY2027), Z87.8902 (from FY2027), Z87.8903 (from FY2027), Z87.8904 (from FY2027), Z87.8909 (from FY2027). Claims need one of the current codes.
Short title
Personal history of sex reassignment
Category
Z87 Personal history of other diseases and conditions
Section
Z77-Z99 Persons with potential health hazards related to family and personal history and certain conditions influencing health status
Chapter
21 Factors influencing health status and contact with health services (Z00-Z99)
Was billable
FY2016 to FY2026

Choose a specific code

Z87.890 is not billable. These codes sit under it:

  • Z87.8901 Personal history of social gender transition Billable New 2027
  • Z87.8902 Personal history of medical gender transition Billable New 2027
  • Z87.8903 Personal history of surgical gender transition Billable New 2027
  • Z87.8904 Personal history of intersex surgery Billable New 2027
  • Z87.8909 Personal history of unspecified gender transition Billable New 2027

Applicable to

Other terms and synonyms classified to this code.

  • Personal history of gender transition

Coding notes

Excludes2: not included here

The condition below is not part of this code, but a patient may have both. You may report both codes together when both are present.

  • personal history of self harm (Z91.5-)

Code first

Sequence the underlying condition below first, then this code.

  • any follow-up examination after treatment (Z09)

Code also

Two codes may be needed; sequence based on the circumstances of the encounter.

  • any follow-up examination (Z08-Z09)

Notes

  • Z codes represent reasons for encounters. A corresponding procedure code must accompany a Z code if a procedure is performed. Categories Z00-Z99 are provided for occasions when circumstances other than a disease, injury or external cause classifiable to categories A00-Y89 are recorded as 'diagnoses' or 'problems'. This can arise in two main ways:
  • (a) When a person who may or may not be sick encounters the health services for some specific purpose, such as to receive limited care or service for a current condition, to donate an organ or tissue, to receive prophylactic vaccination (immunization), or to discuss a problem which is in itself not a disease or injury.
  • (b) When some circumstance or problem is present which influences the person's health status but is not in itself a current illness or injury.

Official index entries that lead here

How the ICD-10-CM Alphabetic Index words this diagnosis. Coders look up the condition in the Index, then confirm the code here.

  • Sex › reassignment surgery status
  • History › personal (of) › sex reassignment
  • Status (post) › sex reassignment surgery status
  • History › personal (of) › surgery NEC › sex reassignment

Quick answers

Is Z87.890 billable?

No. Z87.890 is a heading. Report one of the more specific codes under it.

Code history

  • FY2016 (October 1, 2015): became a valid billable code.
  • FY2027 (October 1, 2026): no longer valid for billing.

ICD-10-CM took effect in the US on October 1, 2015 (FY2016). Codes change every October 1 and sometimes April 1.

Source: ICD-10-CM FY2027 Tabular List and Index, CMS/NCHS, effective October 1, 2026. Notes shown are the official instructional notes, including those inherited from the category, section and chapter. Last verified against the CMS files December 1, 2026. How we check.