ICD-10 Code F42 – Obsessive-compulsive disorder (2026): Diagnosis, Symptoms & Billing Guide
2026 ICD-10-CM Diagnosis Code F42 – Obsessive-compulsive disorder
What it is
F42 identifies obsessive-compulsive disorder, a mental health condition marked by intrusive obsessions, repetitive compulsions, or both. Use this code when the documentation clearly states OCD.
Clinical signs
Common findings include unwanted, persistent thoughts and repetitive behaviors or mental acts performed to reduce distress. Clinical features vary; refer to documentation.
When to use this code
Use F42 when the provider documents obsessive-compulsive disorder as the diagnosis. It also fits visits focused on OCD assessment, monitoring, or ongoing management when the condition is confirmed. Check documentation if the note only describes anxiety, rituals, or obsessive traits without an OCD diagnosis.
Do not use for
Do not assign this code for isolated obsessive thoughts, personality traits, or compulsive behaviors without a documented OCD diagnosis. If another mental disorder is specified, code that condition instead.
Coding tip
Confirm that the record states OCD, not just “obsessive” or “compulsive,” before reporting F42.