Skip to content
Dx

ICD-10-CM 2027 diagnosis code

Z87.893Personal history of gender detransition

✓ Billable / specificNew for 2027POA exemptNot a principal dx

Z87.893 is a valid, billable ICD-10-CM code for personal history of gender detransition. It can be reported on claims for dates of service from October 1, 2026 – September 30, 2027.

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.893

Z87.893 is the ICD-10-CM diagnosis code for personal history of gender detransition. 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 billable, so it can be reported on its own for dates of service from October 1, 2026 through September 30, 2027.

Within Z87.89 (personal history of other specified conditions), Z87.893 is specifically for personal history of gender detransition. Related codes cover sex reassignment (Z87.890), nicotine dependence (Z87.891), anaphylaxis (Z87.892) and other specified conditions (Z87.898).

Code first: any follow-up examination after treatment (Z09).

It is not a CC or MCC, so as a secondary diagnosis it doesn't change the MS-DRG severity level.

In MS-DRG v44.0, it is part of the grouping logic for DRG 951 (Other Factors Influencing Health Status, relative weight 0.5577), in MDC 23 (Factors Influencing Health Status and Other Contacts with Health Services), as a principal or secondary diagnosis. The DRG a claim lands in depends on the principal diagnosis, procedures and any CC/MCC secondary diagnoses.

It is not acceptable as the principal diagnosis for an inpatient stay; it may be reported as a secondary diagnosis.

It is exempt from present-on-admission (POA) reporting, so no POA indicator is required.

It was added in FY2027, effective October 1, 2026.

Coding notes

Code alsoTwo codes may be needed; sequencing depends on circumstances
  • personal history of sex reassignment (Z87.890-)

Notes that apply from higher levels

Instructions written at a parent level also apply to Z87.893.

MS-DRG v44.0 grouping

All DRGs →

Inpatient MS-DRGs this diagnosis can group to, as the principal or a secondary diagnosis, depending on the rest of the claim.

MDC 23 · Factors Influencing Health Status and Other Contacts with Health Services

Code history

  1. 2016
  2. 2017
  3. 2018
  4. 2019
  5. 2020
  6. 2021
  7. 2022
  8. 2023
  9. 2024
  10. 2025
  11. 2026
  12. 2027
  • FY2027 (effective 10/1/2026): Added

Common questions about Z87.893

Is Z87.893 billable?

Yes. Z87.893 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).

Can Z87.893 be used as a principal diagnosis?

No. It is not acceptable as the principal diagnosis for an inpatient stay; it may be reported as a secondary diagnosis.

Is Z87.893 a CC or MCC?

No. Z87.893 is neither a CC nor an MCC under MS-DRG v44.0.

What DRG does Z87.893 group to?

Z87.893 is used in the MS-DRG v44.0 logic for MS-DRG 951 (Other Factors Influencing Health Status). Which one applies depends on whether it is the principal diagnosis and on the rest of the claim.

Did Z87.893 change for 2027?

Yes. For FY2027 (effective October 1, 2026) it was added to the code set.