Home / ICD-10-CM / Chapter 21: Factors influencing health status and contact with health services (Z00-Z99) / Persons with potential health hazards related to family and personal history and certain conditions influencing health status (Z77-Z99)

Z87.893: Personal history of gender detransition

ICD-10-CM code Z87.893

New code ยท FY2027

Billable: use this code on claims.

  • New code, effective October 1, 2026 (FY2027). Before that, this condition was coded as Z87.898.

Code breakdown

Z87.893

  1. Z87CategoryPersonal history of other diseases and conditions
  2. 8Character 4Personal history of other specified conditions
  3. 9Character 5Personal history of other specified conditions
  4. 3Character 6Personal history of gender detransition

Coding notes

Code also

  • personal history of sex reassignment (Z87.890-)

Excludes2 (from Z87.8)

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

Code first (from Z87)

  • any follow-up examination after treatment (Z09)

Medicare coverage

Z87.893 is listed as a covered diagnosis in 2 Medicare billing and coding articles:

  • A57130 Billing and Coding: Psychiatric Codes
  • A57780 Billing and Coding: Psychological and Neuropsychological Tests

Check this code

All FY2027 ICD-10-CM changes

ICD-10-CM codes and descriptions are from the CMS and NCHS code files. Coverage is from the CMS Medicare Coverage Database billing and coding articles.