Skip to content
Dx

ICD-10-CM 2027 diagnosis code

F42Obsessive-compulsive disorder

Not billable — use a more specific code

F42 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 FY2017 (effective October 1, 2016). Source: official FY2027 ICD-10-CM release from CDC/NCHS and CMS. Page updated September 29, 2026. About our data

About F42

F42 is the ICD-10-CM diagnosis code for obsessive-compulsive disorder. It belongs to block F40-F48 (anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders) and chapter 5 (mental, Behavioral and Neurodevelopmental disorders). It is a header code, so it can't be reported by itself; one of its 5 subcodes must be used instead.

To report this condition, pick the subcode that matches the documentation: F42.2 (acts), F42.3 (disorder), F42.4 (disorder), F42.8 (disorder) and F42.9 (unspecified).

The conditions in its Excludes2 note aren't part of F42, but may be coded alongside it if the patient has both: obsessive-compulsive personality (disorder) (F60.5), obsessive-compulsive symptoms occurring in depression (F32.-, F33.-) and obsessive-compulsive symptoms occurring in schizophrenia (F20.-).

It has been part of ICD-10-CM since the code set took effect on October 1, 2015, and changed in FY2017 (expanded into subcodes).

Specific codes under F42

Coding notes

Excludes2Not included here — may be reported together if both conditions exist
  • obsessive-compulsive personality (disorder) (F60.5)
  • obsessive-compulsive symptoms occurring in depression (F32.-, F33.-)
  • obsessive-compulsive symptoms occurring in schizophrenia (F20.-)

Notes that apply from higher levels

Instructions written at a parent level also apply to F42.

Codes whose notes reference F42

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
  • FY2016 (effective 10/1/2015): Added (first year of ICD-10-CM)
  • FY2017 (effective 10/1/2016): Expanded — no longer billable

Common questions about F42

Is F42 billable?

No. F42 is a header code. Report one of its more specific subcodes instead.