2027 ICD-10-CM Diagnosis Code F42Obsessive-compulsive disorder

ICD-10-CM Codes›F01–F99›F40-F48›F42

ICD-10-CM F42
CMSSource: CMS FY 2027 ICD-10-CM dataset · Effective Oct 1, 2026 – Sep 30, 2027

F42 is a non-billable ICD-10-CM category code for obsessive-compulsive disorder, so it cannot be submitted on claims. Use a more specific code from this category instead, such as F42.2, F42.3, F42.4, and F42.8. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Obsessive-compulsive and related disorders.

Code Identity

ICD-10-CM Code
F42
Billable Status
No — Non-Billable Category
Code Describes
Obsessive-compulsive disorder
Short Description
Obsessive-compulsive disorder
Same as the full description in the CMS dataset.
Chapter
F40-F48
Anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders

Code Classification

ChapterF01–F99Mental and behavioural disorders
SectionF40-F48Anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders
CategoryF42Obsessive-compulsive disorder
This CodeF42Obsessive-compulsive disorder

Specific Coding for Obsessive-compulsive disorderOverview

Non-specific codes like F42 require more characters. Use one of these billable codes instead:

  • Use F42.2 for Mixed obsessional thoughts and acts

  • Use F42.3 for Hoarding disorder

  • Use F42.4 for Excoriation (skin-picking) disorder

  • Use F42.8 for Other obsessive-compulsive disorder

  • Use F42.9 for Obsessive-compulsive disorder, unspecified

Instructional NotesGuidance

Instructions from the official ICD-10-CM Tabular List that apply to F42: its own notes plus those printed at Chapter 5. A note printed at a category, block or chapter applies to every code under it.

Includes

Further defines, or gives examples of, the content of the category.

From Chapter 5 (F01-F99) Mental and behavioural disorders applies to 872 codes
  • disorders of psychological development

Excludes2

Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.

On F42 itself
  • obsessive-compulsive personality (disorder) (F60.5)
  • obsessive-compulsive symptoms occurring in depression (F32.-, F33.-)
  • obsessive-compulsive symptoms occurring in schizophrenia (F20.-)
From Chapter 5 (F01-F99) Mental and behavioural disorders applies to 872 codes
  • symptoms, signs and abnormal clinical laboratory findings, not elsewhere classified (R00-R99)

Source: CMS ICD-10-CM Tabular List. How to read instructional notes.

Referenced in Other NotesGuidance

Instructional notes printed at other codes that name F42, its category, or a range that includes it.

Excludes1 1

These codes carry an Excludes1 note naming F42: they are not reported together with it, unless the two conditions are unrelated.

  • R46.81 Obsessive-compulsive behavior
    obsessive-compulsive disorder (F42.-)

Excludes2 4

These codes carry an Excludes2 note naming F42: its condition is not part of those codes, and both may be reported when the patient has both.

  • F60.5 Obsessive-compulsive personality disorder
    obsessive-compulsive disorder (F42.-)
  • F98 Other behavioral and emotional disorders with onset usually occurring in childhood and adolescence
    obsessive-compulsive disorder (F42.-)
  • F98.4 Stereotyped movement disorders
    compulsions in obsessive-compulsive disorder (F42.-)
  • F93.0 Separation anxiety disorder of childhood
    nonpsychotic mental disorders (F40-F48) names F40-F48, which includes this code

Clinical ClassificationClinical

AHRQ’s CCSR groups this code into broader clinical categories.

CCSR MBD006
Obsessive-compulsive and related disorders
Default principal diagnosis: inpatient Yes · outpatient Yes

Clinical InformationClinical

  • Obsessive-Compulsive Disorder

    an anxiety disorder characterized by recurrent, persistent obsessions or compulsions. obsessions are the intrusive ideas, thoughts, or images that are experienced as senseless or repugnant. compulsions are repetitive and seemingly purposeful behavior which the individual generally recognizes as senseless and from which the individual does not derive pleasure although it may provide a release from tension.

Patient EducationClinical

Obsessive-Compulsive Disorder

Obsessive-compulsive disorder (OCD) is a mental disorder in which you have thoughts (obsessions) and rituals (compulsions) over and over. They interfere with your life, but you cannot control or stop them.

The full article covers:

  • What is obsessive-compulsive disorder (OCD)?
  • What causes obsessive-compulsive disorder (OCD)?
  • Who is at risk for obsessive-compulsive disorder (OCD)?
  • What are the symptoms of obsessive-compulsive disorder (OCD)?
  • How is obsessive-compulsive disorder (OCD) diagnosed?
  • What are the treatments for obsessive-compulsive disorder (OCD)?

Read the full article at MedlinePlus

Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.

Code HistoryHistory

FY 2016AddedAdded to the ICD-10-CM code setEffective October 1, 2015, the first year of ICD-10-CM.
FY 2017–2026No changes
FY 2027CurrentCurrent code set, no changesEffective October 1, 2026 through September 30, 2027.

Questions About F42Overview

What is the ICD-10 code for obsessive-compulsive disorder?

F42 is the ICD-10-CM category for obsessive-compulsive disorder, but it is a non-billable header: claims need a more specific code from this category, listed on this page.

Is F42 (Obsessive-compulsive disorder) a billable code?

No. This is a category header that groups the codes for obsessive-compulsive disorder, and headers cannot be submitted on claims. Claims for obsessive-compulsive disorder need a more specific code from this category, such as F42.2, F42.3, and F42.4.