ICD-10-CM 2027 · Alphabetic Index entry “obsessive-compulsive”

ICD-10 code for OCD

The ICD-10-CM code for OCD is F42.9, Obsessive-compulsive disorder, unspecified. It is billable and valid for FY2027 (October 1, 2026 to September 30, 2027). This is the Index's default when the record says nothing more specific.

Choose the code

The official Index entry for OCD, line by line. Codes ending in "-" need more characters.

  • obsessive-compulsive F42.9 Obsessive-compulsive disorder, unspecified Billable
    • and related disorder due to a known physiological condition F06.8 Other specified mental disorders due to known physiological condition Billable

What the record must say

The Index splits OCD by these words. Each one leads to a different code, so the documentation has to state which applies.

and related disorder due to a known physiological condition

Notes that change the choice

Official notes for F42.9 and the codes above it.

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.

  • obsessive-compulsive personality (disorder) (F60.5)
  • obsessive-compulsive symptoms occurring in depression (F32.-, F33.-)
  • obsessive-compulsive symptoms occurring in schizophrenia (F20.-)

Changes since 2015

Also searched as

ocd · obsessive compulsive disorder

Source: ICD-10-CM FY2027 Alphabetic Index, Neoplasm Table and Tabular List (CMS/NCHS), effective October 1, 2026. Codes and notes are shown exactly as published; the only editorial step is matching the searched names above to the Index entry “Disorder, obsessive-compulsive”. Last verified December 1, 2026.