Skip to content

F42 ICD-10-CM Code: Obsessive-compulsive disorder

ICD-10-CM Code View

HCC Buddy Code Card

Digital ICD-10 code-book layout with official code detail, always-visible risk models, Code Trumping, and Buddy coding guidance.

FY 2026 Apr update / Mental, Behavioral and Neurodevelopmental disorders (F01-F99) / Anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders (F40-F48)

F42

Header CodeICD-10-CMOfficial ICD-10-CMCodebook guidance

Obsessive-compulsive disorder

Obsessive-compulsive disorder

CMS-HCC V28

0

0

RAF 0

CMS-HCC V24

0

0

RAF 0

ACA/HHS

0

0

RAF 0

ESRD/PACE

0

0

RAF 0

RXHCC

0

0

RAF 0

Code Trumping

Basket needed

Code Book Path

Official
F4Anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders (F40-F48)
F42Obsessive-compulsive disorder

Inclusion Terms

Official

ICD-10-CM does not list inclusion terms for F42 in this effective period.

Excludes 2

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

Related Child Codes

Official
F42.2Mixed obsessional thoughts and acts
F42.3Hoarding disorder
F42.4Excoriation (skin-picking) disorder
F42.8Other obsessive-compulsive disorder
F42.9Obsessive-compulsive disorder, unspecified

Includes

Official

ICD-10-CM does not list Includes notes for F42 in this effective period.

Excludes 1

Official

ICD-10-CM does not list Excludes 1 notes for F42 in this effective period.

Code First

Official

ICD-10-CM does not list Code First sequencing instructions for F42 in this effective period.

Use Additional

Official

ICD-10-CM does not list Use Additional Code instructions for F42 in this effective period.

Code Also

Official

ICD-10-CM does not list Code Also instructions for F42 in this effective period.

Last updated: FY2026 ICD-10-CM Apr update, Apr 1, 2026 through Sep 30, 2026. CMS-HCC V28 is 100% phased in for payment year 2026.

What This Code Means

F42 is the ICD-10-CM diagnosis code for obsessive-compulsive disorder. F42 sits in the ICD-10-CM chapter for mental, behavioral and neurodevelopmental disorders (f01-f99), within the section covering anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders (f40-f48).

Header codes like F42 cannot be reported on claims directly, they organize child codes that share clinical context but the actual diagnosis must be coded to the highest level of specificity supported by the documentation. Coders should look at F42's child codes and select the one that matches the patient's documented presentation, since payers reject header codes submitted as the primary diagnosis. For risk adjustment workflows, header codes never contribute to a Medicare Advantage member's RAF score on their own; only billable child codes that happen to map to a payment HCC affect risk-adjusted plan payments.

HCC Buddy maintains structured V28 and V24 mapping, RAF weights, and MEAT documentation criteria for F42 sourced directly from the CMS-HCC risk adjustment model files and the CMS ICD-10-CM code set.

Excludes 2, Not included here, may code separately

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

Child Codes

Code Hierarchy

F42Obsessive-compulsive disorder
F42Obsessive-compulsive disorder

Open F42 in the Interactive Encoder

See full code details, coding tips, HCC mappings, and related codes in the interactive encoder. Pro includes 14 days to try the full workflow.