F42: Obsessive-Compulsive Disorder ICD-10-CM Reference
Outline
F42 is the ICD-10-CM code family for obsessive-compulsive disorder. In outpatient therapy, the code is not supported by “client is anxious and repetitive” alone. The chart has to show intrusive obsessions, compulsions or mental rituals, the time burden or impairment, and the differential reasoning that separates OCD from generalized anxiety disorder, social anxiety disorder, PTSD, obsessive-compulsive personality disorder, psychotic-spectrum conditions, and substance or medical contributors.
For licensed therapists, psychologists, counselors, and clinical social workers who diagnose and bill under ICD-10-CM, this page belongs to the ICD-10 codes for therapists sub-hub. It focuses on the documentation pattern: what the intake needs to establish, how to map DSM-5 OCD criteria to the ICD-10-CM family, how to document measures such as Y-BOCS or OCI-R, and how to pair the diagnosis with intake and psychotherapy CPT codes without implying that the diagnosis determines the service code.
Educational reference for licensed US mental health practitioners. Coding and documentation requirements vary by payer, state, contract, and setting; verify against the current ICD-10-CM official guidelines, payer policies, and licensure-board rules before applying.
What F42 means in ICD-10-CM
In ICD-10-CM, the obsessive-compulsive disorder family sits in the F40-F48 block for anxiety, dissociative, stress-related, somatoform, and other nonpsychotic mental disorders. The official US code set is maintained through the CMS ICD-10-CM files, while clinicians commonly map the charted presentation against DSM-5-TR obsessive-compulsive and related disorders criteria from the American Psychiatric Association.
The family is used when obsessions, compulsions, or both are clinically significant. In a therapy chart, “obsession” means recurrent intrusive thoughts, urges, or images experienced as unwanted and distressing. “Compulsion” means a repetitive behavior or mental act the client feels driven to perform, often to reduce distress or prevent a feared event, even when the behavior is not realistically connected to the feared outcome or is excessive.
A defensible note needs four pieces of evidence:
- The obsessional content or intrusive mental material, described without unnecessary graphic detail.
- The compulsive behavior, mental ritual, avoidance pattern, reassurance loop, or checking behavior.
- The time burden, distress, or functional impairment.
- The differential reasoning that explains why this is OCD rather than worry, trauma re-experiencing, personality style, delusional belief, or a substance or medical effect.
DSM-5 mapping for therapy documentation
DSM-5-TR criteria are clinical criteria; ICD-10-CM is the claim code set. A therapist’s Assessment section should connect the two without copying a manual into the note. The concise pattern is to document the criteria that are present, name the impairment, and state the differential.
| Documentation question | What the chart should show | Common weak spot |
|---|---|---|
| Are obsessions present? | Intrusive thoughts, urges, or images that are unwanted, distressing, and resisted or neutralized. | The note labels “rumination” as OCD without showing intrusiveness or ego-dystonic quality. |
| Are compulsions present? | Repetitive behaviors or mental acts such as checking, washing, counting, reassurance seeking, reviewing, or silent neutralizing. | Mental rituals are missed because no visible behavior occurs. |
| Is the burden clinically significant? | Time spent, distress level, avoidance, work or school impairment, relationship strain, or inability to complete ordinary tasks. | The diagnosis line is present, but impairment is not documented. |
| Are differentials addressed? | GAD, social anxiety, PTSD, OCPD, psychosis, tic disorders, substance use, medication effects, and medical contributors considered as clinically relevant. | The chart treats every intrusive thought as the same diagnostic object. |
A concise diagnostic paragraph might read: “Client presents with recurrent intrusive contamination fears experienced as unwanted and distressing, followed by handwashing rituals and avoidance of shared surfaces. Rituals occupy approximately two hours daily and impair work arrival time and family routines. Insight is fair; client recognizes the feared outcome is excessive but feels unable to resist the ritual. Presentation is not better explained by generalized worry, trauma re-experiencing, psychotic symptoms, substance use, or medical condition.”
Differential diagnosis therapists should document
The most important differential is usually between OCD and worry. Generalized anxiety disorder is about excessive worry across multiple real-life domains. OCD is organized around intrusive obsessions and neutralizing rituals. The F41.1 generalized anxiety disorder guide covers the GAD side of that distinction; the table below shows the OCD side.
| Differential | Documentation question | Safer chart language |
|---|---|---|
| Generalized anxiety disorder | Is the distress broad real-life worry, or an obsession followed by neutralizing behavior? | “Intrusive harm thoughts are ego-dystonic and followed by mental reviewing and reassurance seeking; worry is not primarily multi-domain GAD.” |
| Social anxiety disorder | Is the fear restricted to negative evaluation in social or performance settings? | “Avoidance occurs because of contamination fears, not fear of embarrassment or scrutiny.” |
| PTSD | Are intrusions tied to Criterion A trauma reminders with avoidance, arousal, and negative cognitions/mood? | “Intrusive content is not a trauma memory or cue-linked flashback; PTSD criteria reviewed and not primary.” |
| OCPD | Is the pattern ego-syntonic perfectionism and control, or ego-dystonic obsessions and compulsions? | “Client experiences rituals as unwanted and distressing, not as preferred orderliness or values-consistent perfectionism.” |
| Psychotic-spectrum condition | Are beliefs fixed despite contrary evidence, with impaired reality testing? | “Insight is fair; client identifies feared outcome as excessive and seeks help resisting rituals.” |
| Substance or medical contributors | Could stimulants, medication effects, neurologic symptoms, or medical illness explain the presentation? | “Substance use, medication changes, and medical contributors reviewed; PCP referral considered if onset or symptom profile suggests medical ruleout.” |
The OCPD differential is especially easy to miss. A client with obsessive-compulsive personality traits may be rigid, perfectionistic, and controlling, but the pattern is often experienced as appropriate or even necessary. A client with OCD typically experiences the obsessional content and ritual as distressing, intrusive, or unwanted, even when insight varies.
Measurement: Y-BOCS, OCI-R, and chart cadence
Measurement does not make the diagnosis by itself, but it can make severity, treatment response, and medical necessity easier to follow. The Yale-Brown Obsessive Compulsive Scale is the most recognized severity instrument for OCD; the original Goodman et al. Y-BOCS validation papers are still widely cited. The Obsessive-Compulsive Inventory-Revised is a brief self-report alternative that can help track symptom dimensions and change over time.
For a therapy intake, the useful cadence is usually baseline, a recheck after the exposure-and-response-prevention plan is established, and then every four to six sessions during active treatment. If ERP is part of the treatment plan, the measure should sit beside the exposure hierarchy rather than replace clinical formulation. The exposure hierarchy worksheet is the better place for ranking avoided cues, feared outcomes, rituals, and response-prevention steps.
A defensible measurement note might read: “OCI-R administered at intake to establish baseline symptom burden; scores and client report indicate checking and mental neutralizing as primary domains. Y-BOCS planned at session three after hierarchy targets are clarified. Measurement results will be interpreted with functional impairment, insight, avoidance, and risk assessment.”
Documentation pattern for a defensible note
A defensible F42 chart does not need to be long. It needs to make the clinical reasoning visible. Sofia’s compliance rule is simple: if a reviewer can find the intrusive content, ritual or avoidance pattern, time burden, differential, risk assessment, and treatment-plan link in under two minutes, the chart is doing its job.
| Note element | What to include | Why it matters |
|---|---|---|
| Presenting obsession | Intrusive thought, image, urge, or doubt, stated with enough specificity to support the diagnosis. | Shows the clinical object is not generic anxiety. |
| Compulsion or avoidance | Observable ritual, mental ritual, reassurance seeking, checking, washing, ordering, reviewing, avoidance, or accommodation. | Connects distress to the maintaining behavior. |
| Burden and impairment | Minutes or hours per day, distress, avoidance, work or school disruption, family accommodation, or delayed routines. | Supports medical necessity and severity. |
| Insight and risk | Degree of insight, suicidality when present, harm-to-others assessment when intrusive harm obsessions appear, and protective factors. | Prevents intrusive thoughts from being misread as intent and keeps risk documentation explicit. |
| Differential | GAD, social anxiety, PTSD, OCPD, psychosis, tic disorder, substance, and medical contributors as clinically relevant. | Shows that the code is a reasoned clinical conclusion. |
| Treatment-plan link | ERP, CBT, ACT-informed response to intrusive thoughts, family accommodation work, measurement cadence, and referral when needed. | Demonstrates ongoing clinical direction. |
Be careful with harm obsessions. A client may report intrusive harm thoughts that are ego-dystonic, unwanted, and terrifying to them. The note still needs a risk assessment, but the assessment should distinguish obsessional content from intent, plan, means, history, and protective factors. Vague wording can make an OCD chart look more dangerous than the clinical picture supports, while skipping the risk assessment creates a different liability.
CPT context for intake and ongoing therapy
The diagnosis code identifies the condition; the CPT code identifies the service delivered. A new-patient intake commonly pairs OCD with 90791 psychiatric diagnostic evaluation when a non-prescribing therapist conducts the diagnostic assessment. Ongoing psychotherapy may use 90834 or 90837 when the time and medical necessity support the code billed.
The procedure code does not become “an OCD code.” It remains the service code. Document the session time, intervention, response, risk work, measurement, and treatment-plan connection separately from the diagnosis. For exposure-focused work, the progress note should also show the clinical rationale for the exposure target, the response-prevention instruction, the client’s response, and the plan for between-session practice when assigned.
How Emosapien supports OCD documentation
Emosapien’s Scribe Agent drafts therapy notes from in-session clinical context while the clinician stays responsible for diagnosis, coding, and final sign-off. In an OCD intake, the useful administrative support is not autonomous code assignment. It is a cleaner draft Assessment that keeps the intrusive content, ritual pattern, impairment, insight, risk language, measurement plan, and differential reasoning in one reviewable place.
That matters because OCD charts become vulnerable when the reasoning is scattered: intrusive content in the history, reassurance loops in the process note, Y-BOCS in a form, risk language in a sidebar, and the diagnosis line sitting alone. A clinician-reviewed draft note can keep those pieces connected, so the final record tells the same story the therapist actually assessed in session.
FAQ
Is F42 specific enough for OCD billing?
It can be, when the chart supports obsessive-compulsive disorder and the payer accepts the code family level used on the claim. Some coding systems or payer edits may expect the most specific available code or descriptor for the year of service. Verify the current ICD-10-CM file and payer rule before submitting.
Is OCD documented differently from generalized anxiety disorder?
Yes. GAD documentation emphasizes chronic multi-domain worry, difficulty controlling worry, associated symptoms, and the six-month duration test. OCD documentation emphasizes intrusive obsessions, compulsions or mental rituals, time burden, impairment, insight, and the differential from worry.
Should every OCD chart include a Y-BOCS score?
No single measure is mandatory for every therapy chart. A Y-BOCS or OCI-R baseline is often useful when OCD is the primary diagnosis, when ERP is planned, or when the payer expects measurement-based care. The chart still needs clinical formulation, impairment, risk assessment, and differential reasoning.
See how Emosapien structures OCD notes
Emosapien keeps the clinician in control of diagnosis and code selection while the Scribe Agent organizes the material that makes an OCD chart reviewable: intrusive content, compulsions or avoidance, impairment, insight, risk assessment, measurement, treatment plan, and differential reasoning. Start a trial to review candidate diagnostic support in your own intake process.