Back to Afia

F42 — ICD-10 codes for obsessive-compulsive disorder

There is no F42.0 and no F42.1. The OCD family starts at F42.2, and the code most outpatient behavioral health claims carry is F42.9, obsessive-compulsive disorder, unspecified. F42 on its own is a category header and cannot be submitted. Reaching for “F42.0” because it looks like the obvious first code is the single most common error on these claims — it will be rejected as invalid, not merely unspecified. Below: the full family, what hoarding and skin-picking code to, and the CPT pairings.

This page is billing and administrative reference. It describes what a code means and whether it can be submitted. It is not clinical advice and does not tell anyone what to diagnose.

The F42 family

Note what is missing. ICD-10-CM has no F42.0, F42.1, F42.5, F42.6 or F42.7 — the family is not contiguous, and the gaps are not placeholders for codes you have not found.

CodeTitleBillable?
F42Obsessive-compulsive disorder (category header)No
F42.2Mixed obsessional thoughts and actsYes
F42.3Hoarding disorderYes
F42.4Excoriation (skin-picking) disorderYes
F42.8Other obsessive-compulsive disorderYes
F42.9Obsessive-compulsive disorder, unspecifiedYes

Hoarding and skin-picking have their own codes

Two conditions that DSM-5 separated out sit inside F42 rather than anywhere else. Hoarding disorder is F42.3 and excoriation (skin-picking) disorder is F42.4. Both are billable as written. A practice treating either and coding F42.9 is being less specific than the record supports, which is the kind of thing a payer audit looks for.

ICD-10-CM explicitly separates excoriation disorder from factitial dermatitis (L98.1), a dermatological code. That is an Excludes1 — the two are never reported together.

What F42 does not cover

Three exclusions matter in behavioral health, and all three are Excludes2, meaning the other condition may be coded alongside F42 when both are documented:

DSM-5 crosswalk

DSM-5-TR prints the ICD-10-CM code beside each disorder. Obsessive-compulsive disorder carries F42.9; hoarding disorder F42.3; excoriation disorder F42.4. DSM's insight specifiers — good or fair insight, poor insight, absent insight/delusional beliefs — and its tic-related specifier do not change the code. There is no more specific OCD code to move to on the basis of insight, which is why F42.9 dominates in practice rather than signalling a vague assessment.

CPT codes billed with OCD diagnoses

CPTServiceTime
90791Psychiatric diagnostic evaluation (no medical services)—
90832Individual psychotherapy16–37 minutes
90834Individual psychotherapy38–52 minutes
90837Individual psychotherapy53 minutes or more
90847Family psychotherapy, patient present50 minutes typical
90853Group psychotherapy—

A 50-minute session is 90834, not 90837 — 90837 begins at 53 minutes. CMS also sets a floor: psychotherapy under 16 minutes is not reported with these codes at all.

Check it live

Afia is free and answers these by voice or chat — find a code from a condition name, confirm whether a code is billable, validate a whole list at once, or check a session length against a CPT time band. No sign-up.

Frequently asked questions

Is F42 billable?

No. F42 is a category header and will be rejected on its own. The billable OCD codes are F42.2, F42.3, F42.4, F42.8 and F42.9.

What is the ICD-10 code for OCD?

F42.9, obsessive-compulsive disorder, unspecified, is the code most outpatient claims carry. DSM-5-TR prints F42.9 beside obsessive-compulsive disorder.

Is there an F42.0 code?

No. ICD-10-CM has no F42.0 and no F42.1. The family starts at F42.2, and submitting F42.0 is rejected as an invalid code rather than treated as unspecified.

What is the ICD-10 code for hoarding disorder?

F42.3. It is billable as written and sits inside the OCD family rather than anywhere else.

Is OCD the same as obsessive-compulsive personality disorder?

No, and they code differently. Obsessive-compulsive personality disorder is F60.5, in the personality disorder family. ICD-10-CM lists it as an exclusion under F42.

Check a code with Afia — free

Codes on this page were verified against the CMS ICD-10-CM code sets for FY2026 and FY2027 (FY2027 effective 1 October 2026). Last reviewed 19 September 2026. Verify against the current official code set before submitting.