ICD-10-CM 2027 diagnosis code
F42Obsessive-compulsive disorder
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
Notes that apply from higher levels
Instructions written at a parent level also apply to F42.
Broader instructions also apply from Chapter 5: Mental, Behavioral and Neurodevelopmental disorders.
Codes whose notes reference F42
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)
- 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.