Discover free eBooks, guides and med spa templates on our new resources page

Diagnostic Codes

ICD-10 Code F42: Obsessive-Compulsive Disorder (OCD)

Key Takeaways

Key Takeaways

F42 is the ICD-10-CM code series for obsessive-compulsive disorder

F42.9 for unspecified OCD, F42.2 for mixed presentations

Documentation must specify obsessional thoughts, compulsive acts, or both

Differentiate from F60.5 (OCPD) and R46.81 (obsessive-compulsive behavior)

Authorization requirements vary by payer and diagnosis specificity

Understanding ICD-10 Code for OCD

Obsessive-compulsive disorder affects approximately 2-3% of the global population, yet coding it accurately remains one of the most misunderstood areas of mental health billing. The ICD-10-CM F42 code series captures the diagnosis, but selecting the right subcategory determines whether your claim processes smoothly or triggers a documentation review.

Mental health practices billing Medicare, Medicaid, or commercial insurers must distinguish between F42.2 (mixed obsessional thoughts and acts), F42.3 (hoarding disorder), F42.4 (excoriation disorder), F42.8 (other obsessive-compulsive disorder), and F42.9 (obsessive-compulsive disorder, unspecified). Each subcategory reflects a different clinical presentation and triggers distinct documentation requirements.

This guide walks through the F42 code structure, documentation standards for insurance authorization, and common coding errors that delay reimbursement. We’ll also cover how to differentiate OCD from obsessive-compulsive personality disorder (F60.5) and obsessive-compulsive behavior (R46.81)-two frequently confused diagnostic categories.

ICD-10-CM Code Structure for OCD

The F42 code series sits within the ICD-10-CM chapter for mental, behavioral, and neurodevelopmental disorders. According to the WHO ICD-10 classification, F42 is categorized under anxiety, dissociative, stress-related, somatoform, and other nonpsychotic mental disorders (F40-F48).

The Centers for Disease Control and Prevention maintains the official U.S. clinical modification through its ICD-10-CM web tool, which includes annual updates and coding guidance. For 2026, the F42 category expanded to include more granular subcategories based on DSM-5 diagnostic criteria.

ICD-10 Code F42.2: Mixed Obsessional Thoughts and Acts

This code applies when a patient presents with both persistent intrusive thoughts and compulsive behaviors. Documentation must describe the obsessional content (contamination fears, symmetry concerns, forbidden thoughts) and the corresponding rituals (hand-washing, checking, ordering, mental compulsions).

Insurance reviewers look for evidence that both components cause clinically significant distress or functional impairment. A note stating “patient has OCD” without detailing the obsessions and compulsions will trigger a request for additional documentation.

ICD-10 Code F42.3: Hoarding Disorder

Hoarding disorder became a distinct diagnostic category in DSM-5 and received its own ICD-10-CM code. Use F42.3 when the clinical picture centers on persistent difficulty discarding possessions, regardless of their actual value, resulting in cluttered living spaces that compromise safety or functionality.

Differentiate hoarding disorder from obsessive-compulsive disorder with hoarding symptoms. If hoarding is a manifestation of typical OCD obsessions (fear of losing important information, need for completeness), F42.2 or F42.9 may be more appropriate.

ICD-10 Code F42.4: Excoriation (Skin-Picking) Disorder

Excoriation disorder involves recurrent skin picking resulting in lesions, repeated attempts to stop the behavior, and clinically significant distress or impairment. This code replaced previous classifications that grouped skin-picking under impulse-control disorders or OCD presentations.

When documenting F42.4, describe the picking sites, frequency, triggers, and any associated psychosocial consequences. Medical photographs (when clinically appropriate and consented) strengthen the diagnostic evidence.

ICD-10 Code F42.8: Other Obsessive-Compulsive Disorder

This code captures OCD presentations that don’t fit F42.2, F42.3, or F42.4. Examples include body dysmorphic disorder variants, olfactory reference syndrome, or obsessional jealousy when the clinical picture meets OCD criteria but differs from the primary subcategories.

Use F42.8 when the disorder clearly meets the broader ICD-10-CM OCD criteria but the symptom constellation requires clinical specification beyond the defined subcategories.

ICD-10 Code F42.9: Obsessive-Compulsive Disorder, Unspecified

F42.9 serves as the default when documentation doesn’t provide enough detail to assign a more specific subcategory. Many billing systems flag F42.9 as requiring clarification, particularly for high-cost treatments or extended therapy authorizations.

While F42.9 is clinically valid for initial evaluations or diagnostic impressions pending further assessment, most payers prefer specificity after the first few sessions. AI-powered clinical documentation tools help clinicians capture the level of detail needed to support more precise coding.

ICD-10 OCD Code Chart: F42 Series at a Glance

ICD-10-CM Code Description Clinical Presentation Documentation Focus
F42.2 Mixed obsessional thoughts and acts Both intrusive thoughts and compulsive behaviors present Specify obsessions (content, frequency) and compulsions (type, time consumed)
F42.3 Hoarding disorder Persistent difficulty discarding, cluttered spaces Describe clutter level, safety concerns, functional impairment
F42.4 Excoriation (skin-picking) disorder Recurrent skin picking with tissue damage Document picking sites, frequency, attempts to stop
F42.8 Other obsessive-compulsive disorder OCD presentations not fitting F42.2-F42.4 Explain why subcategories don’t apply, specify symptoms
F42.9 Obsessive-compulsive disorder, unspecified OCD diagnosis without sufficient detail for subcategory Note why specificity is not yet determinable

This chart reflects 2026 ICD-10-CM coding guidelines published by the Centers for Medicare & Medicaid Services. All mental health practices should verify code applicability against the current year’s official code set before submitting claims.

Documentation Requirements for F42 Code Series

Insurance authorization for OCD treatment hinges on documentation that demonstrates medical necessity. The American Psychiatric Association’s DSM-5 criteria form the clinical foundation, but payers evaluate whether the notes substantiate the diagnosis through observable symptoms and functional impairment measures.

A complete diagnostic evaluation for any F42 code should include: onset and duration of symptoms, specific obsessional content or compulsive behaviors, time consumed by symptoms (typically one hour or more per day), impact on occupational or social functioning, and differential diagnosis considerations. Many mental health EMRs now integrate digital intake forms that prompt clinicians to capture these elements systematically.

Clinical Interview Elements

Document the patient’s description of their obsessions or compulsions in their own words. Quote relevant phrases when possible. Record any insight the patient has into the excessive or unreasonable nature of their symptoms-insight level affects treatment planning and prognosis documentation.

Avoid vague statements like “patient reports typical OCD symptoms.” Instead: “Patient describes intrusive thoughts about contamination occurring 20-30 times daily, with subsequent hand-washing rituals lasting 10-15 minutes each episode. Reports washing hands until they crack and bleed.”

Severity Assessment

The Yale-Brown Obsessive Compulsive Scale (Y-BOCS) remains the gold standard for OCD severity measurement. While not required for diagnosis coding, Y-BOCS scores strengthen authorization requests for intensive treatment. Document baseline scores and track changes across treatment episodes.

Functional impairment deserves equal attention. How do symptoms interfere with work, relationships, self-care, or daily activities? Quantify when possible: “Unable to leave house for work three days last week due to checking rituals.”

Medical Necessity Criteria

Commercial insurers and Medicare Administrative Contractors each maintain medical necessity guidelines for mental health services. Most require that the diagnosis significantly impairs functioning and that the treatment plan addresses specific symptom targets with measurable goals.

Your clinical notes should connect the F42 diagnosis to the treatment approach. If billing for exposure and response prevention therapy, document how the patient’s specific obsessions and compulsions will be targeted through graduated exposure hierarchies.

Pro Tip

Run a monthly audit of your OCD diagnosis codes. Flag any claims using F42.9 beyond the initial two sessions. Review whether you’re capturing enough clinical detail to support F42.2 or another specific subcategory. Many practices find that improving note templates reduces F42.9 usage by 40% or more.

Differential Diagnosis: OCD vs OCPD vs Obsessive-Compulsive Behavior

The most common coding error in obsessive-compulsive presentations stems from confusion between obsessive-compulsive disorder (F42 series), obsessive-compulsive personality disorder (F60.5), and obsessive-compulsive behavior (R46.81). Each represents a distinct diagnostic entity with different treatment implications and billing patterns.

Understanding the clinical distinctions protects against claim denials and ensures patients receive appropriate care. According to CMS ICD code guidance, mixing these categories on the same claim can trigger automated edits requiring manual review.

F42 Series: Obsessive-Compulsive Disorder

Obsessive-compulsive disorder involves unwanted intrusive thoughts (obsessions) and repetitive behaviors or mental acts (compulsions) performed to reduce anxiety. Patients typically recognize their thoughts and behaviors as excessive or irrational-they experience ego-dystonic symptoms that feel alien or distressing.

The disorder causes marked distress and consumes significant time, often interfering with normal routines, occupational functioning, or relationships. Symptoms must persist for months and not be attributable to substances or another medical condition.

F60.5: Obsessive-Compulsive Personality Disorder

Obsessive-compulsive personality disorder reflects a pervasive pattern of preoccupation with orderliness, perfectionism, and control. Unlike OCD, these traits are ego-syntonic-patients view them as reasonable and consistent with their values, not as intrusive or distressing symptoms.

Someone with OCPD might spend hours organizing their workspace because they believe there’s a correct way to arrange things, not because they’re trying to neutralize anxiety about contamination. They see their behavior as appropriate attention to detail, not as excessive or unreasonable.

Key differentiators include: absence of true obsessions, no compulsive rituals performed to reduce anxiety, inflexible adherence to rules and procedures, and pervasive perfectionism interfering with task completion. OCPD rarely qualifies for intensive mental health treatment unless comorbid with another disorder.

R46.81: Obsessive-Compulsive Behavior

R46.81 is a symptom code, not a diagnosis code. Use it when documenting obsessive-compulsive behaviors that don’t meet full diagnostic criteria for OCD or when the behaviors occur secondary to another condition (autism spectrum disorder, tic disorders, dementia).

For example, a patient with moderate Alzheimer’s disease who repeatedly checks door locks might receive both F03.90 (dementia) and R46.81 (obsessive-compulsive behavior) to capture the symptom pattern without implying a primary OCD diagnosis. The R46.81 code helps justify behavioral interventions without requiring the patient to meet full OCD criteria.

Never use R46.81 as the sole diagnosis for extended psychotherapy. It won’t support medical necessity for specialty OCD treatments like exposure and response prevention. Reserve it for documentation of behaviors occurring in the context of another primary diagnosis.

See how Pabau supports mental health documentation

Explore clinical note templates, diagnosis code lookups, and authorization tracking designed for therapy practices.

Mental health practitioner reviewing structured clinical documentation in Pabau mental health EMR interface

Billing Guidelines for ICD-10 OCD Codes

Mental health billing for obsessive-compulsive disorder follows standard psychiatric coding conventions, but certain payer policies create specific requirements for F42 diagnoses. Commercial insurers often require prior authorization for intensive outpatient programs or residential treatment when OCD is the primary diagnosis.

Medicare covers OCD treatment through mental health benefit categories, subject to annual deductibles and coinsurance. Mental health EMR systems streamline the authorization process by linking diagnosis codes to treatment plans and automatically flagging when prior approval is needed.

Primary vs Secondary Diagnosis Placement

When billing for psychotherapy or psychiatric evaluation, the F42 code should occupy the primary diagnosis position if OCD is the main focus of treatment. If another condition takes clinical priority (major depressive disorder with comorbid OCD, for example), list that condition first and the F42 code as secondary.

Some intensive OCD programs require F42 codes in the primary position to meet admission criteria. Verify program requirements before submitting authorization requests to avoid delays in treatment access.

Prior Authorization Considerations

Commercial insurers vary widely in their authorization requirements for OCD treatment. Some approve standard outpatient psychotherapy without prior authorization when billed with F42 codes. Others require preapproval for any mental health service, regardless of diagnosis.

Intensive outpatient programs (IOP) and partial hospitalization programs (PHP) almost universally require prior authorization when OCD is the primary diagnosis. Authorization requests should include: current symptom severity (Y-BOCS scores if available), functional impairment documentation, previous treatment history, and explanation of why less intensive services are inadequate.

Residential treatment centers for OCD typically require the most extensive documentation. Expect payers to request: comprehensive psychiatric evaluation, evidence of failed outpatient treatment, risk assessment addressing safety concerns, and detailed treatment plan with measurable discharge criteria.

Telehealth Billing with F42 Codes

The COVID-19 public health emergency expanded telehealth access for mental health services, and many states have maintained those flexibilities. Most payers now reimburse telehealth-delivered psychotherapy for OCD at the same rate as in-person services when billed with appropriate modifiers.

Use modifier 95 for synchronous telehealth sessions delivered via real-time audio-video. Some payers accept modifier GT for the same purpose. Verify telehealth policies with each payer before assuming parity-a few commercial plans still restrict OCD therapy to in-person delivery.

When conducting exposure therapy via telehealth, document any adjustments to the exposure hierarchy. Notes should explain how virtual delivery maintains treatment fidelity. HIPAA-compliant telehealth platforms provide the security infrastructure needed for remote mental health sessions.

Pro Tip

Track your claim acceptance rates by F42 subcategory. If F42.9 claims process slower than F42.2 claims, your notes likely need more diagnostic specificity. Build assessment templates that prompt for the details needed to support specific subcategory assignment from the initial evaluation forward.

Common Coding Errors and How to Avoid Them

Mental health practices lose revenue each year to preventable OCD coding errors. Most mistakes fall into four categories: insufficient specificity, improper code sequencing, failure to update codes across the treatment episode, and confusion between OCD and related disorders.

According to claims data analysis, F42.9 appears on approximately 60% of OCD-related psychotherapy claims, despite clinical guidelines recommending specificity after initial diagnostic impressions. This overuse of unspecified codes increases claim review rates and slows reimbursement timelines.

Error: Using F42.9 Beyond Initial Sessions

F42.9 (obsessive-compulsive disorder, unspecified) serves as a placeholder during diagnostic clarification. After two to three sessions, your documentation should contain enough detail to justify a specific subcategory. Continuing to bill F42.9 for months signals inadequate assessment or incomplete note-taking.

Solution: Update your diagnosis code when clinical picture clarifies. If a patient initially presented with mixed symptoms but assessment reveals predominantly obsessional thoughts with minimal compulsive behaviors, F42.2 remains appropriate. If hoarding emerges as the central feature, change to F42.3. Document the rationale for code changes in your treatment plan updates.

Error: Coding OCPD as OCD

Clinicians sometimes assign F42 codes to patients with obsessive-compulsive personality disorder (F60.5) because both conditions involve perfectionism and need for control. This coding error misrepresents the clinical picture and may lead to inappropriate treatment authorization.

Solution: Ask whether the patient experiences their thoughts and behaviors as intrusive and distressing (ego-dystonic) or as consistent with their values (ego-syntonic). True OCD involves unwanted intrusions; OCPD involves valued personality traits taken to maladaptive extremes. Use F60.5 when the clinical presentation aligns with personality disorder criteria.

Error: Failing to Code Comorbidities

OCD rarely occurs in isolation. Major depressive disorder, generalized anxiety disorder, and social anxiety disorder frequently co-occur with OCD. Failing to code comorbid conditions understates patient complexity and may result in inadequate reimbursement for the time required to address multiple diagnoses.

Solution: List all clinically significant diagnoses on each claim. The primary diagnosis reflects the main focus of that session, but secondary diagnoses document the full clinical picture. If you’re treating both OCD and depression, both codes should appear on relevant claims, with the order reflecting treatment priorities.

Error: Incomplete Functional Impairment Documentation

Payers deny claims when documentation fails to demonstrate how OCD symptoms impair functioning. A diagnosis code alone doesn’t establish medical necessity-the notes must show why treatment is needed now and how it will address specific functional deficits.

Solution: Document concrete examples of impairment in work, relationships, self-care, or daily activities. Quantify time consumed by symptoms. Describe what the patient cannot do or can only do with significant difficulty because of their OCD. Structured client records help clinicians capture this information systematically without adding documentation burden.

Understanding codes related to F42 helps clinicians differentiate OCD from similar presentations and code comorbidities accurately. These related diagnoses frequently appear alongside OCD in mental health treatment settings.

ICD-10-CM Code Description Relationship to OCD
F41.1 Generalized anxiety disorder Common comorbidity; excessive worry differs from obsessions
F41.0 Panic disorder Panic attacks may occur in response to obsessional triggers
F40.10 Social anxiety disorder, unspecified Overlap in avoidance behaviors; social anxiety is situation-specific
F43.10 Post-traumatic stress disorder, unspecified Intrusive thoughts in PTSD are trauma-related, not obsessional
F32.9 Major depressive disorder, single episode, unspecified Frequent comorbidity; depressive rumination differs from obsessions
F60.5 Obsessive-compulsive personality disorder Ego-syntonic perfectionism vs ego-dystonic obsessions
F95.2 Tourette’s disorder Tics and compulsions may appear similar; tics lack obsessional triggers
F84.0 Autistic disorder Repetitive behaviors in autism serve different function than OCD compulsions

This table reflects commonly overlapping diagnoses in OCD treatment. Always code based on clinical presentation rather than diagnostic assumptions. The NHS clinical coding guidance provides additional context for international coding standards.

Expert Picks

Expert Picks

Need structured OCD assessment tools? Psychiatric Evaluation Template includes Y-BOCS-compatible symptom tracking and functional impairment assessment.

Looking for mental health documentation resources? Medical Forms at Your Healthcare Practice explains how digital intake forms improve diagnostic accuracy.

Wondering about AI documentation support? Introducing Echo AI demonstrates how ambient documentation captures clinical detail needed for specific diagnosis coding.

Conclusion

Accurate ICD-10 coding for obsessive-compulsive disorder requires both clinical knowledge and documentation discipline. The F42 code series offers sufficient granularity to capture OCD presentations precisely, but realizing that precision depends on systematic assessment and thorough note-taking.

Mental health practices that move beyond F42.9 unspecified coding experience faster claim processing, fewer authorization delays, and stronger audit performance. The investment in detailed documentation-describing specific obsessions, compulsions, time consumed, and functional impairment-pays dividends throughout the treatment episode.

As payers increasingly scrutinize mental health claims and require evidence-based treatment justification, proper diagnosis coding becomes a core competency rather than an administrative afterthought. Clinicians who understand the distinctions between F42 subcategories, can differentiate OCD from personality disorders and symptom codes, and document medical necessity comprehensively position their practices for both clinical excellence and financial sustainability.

Frequently Asked Questions

What is the difference between F42.2 and F42.9 ICD-10 codes?

F42.2 indicates mixed obsessional thoughts and compulsive acts, requiring documentation of both intrusive thoughts and ritualistic behaviors. F42.9 is unspecified OCD, used when clinical details don’t yet support a specific subcategory. Most payers expect F42.2 or another specific code after initial evaluation sessions.

Can I bill F42 and F60.5 together?

Yes, if the patient meets criteria for both obsessive-compulsive disorder and obsessive-compulsive personality disorder. However, this combination is rare because the disorders reflect different underlying mechanisms-ego-dystonic obsessions versus ego-syntonic perfectionism. Ensure documentation justifies both diagnoses.

Do all F42 codes require prior authorization?

Authorization requirements vary by payer and service type. Standard outpatient psychotherapy typically doesn’t require preapproval with F42 codes. Intensive outpatient programs, partial hospitalization, and residential treatment almost always require prior authorization. Check with each payer before scheduling intensive services.

When should I use R46.81 instead of F42 codes?

Use R46.81 (obsessive-compulsive behavior) when documenting OCD-like behaviors that don’t meet full diagnostic criteria or occur secondary to another condition. R46.81 is a symptom code, not suitable as the primary diagnosis for extended psychotherapy. Reserve it for behavioral documentation in the context of another primary diagnosis.

How often should I update the F42 diagnosis code during treatment?

Update diagnosis codes when the clinical picture changes or when you gather enough information to move from unspecified (F42.9) to a specific subcategory. Most practices should transition to specific codes by session three. If symptoms shift-hoarding becomes prominent or excoriation emerges-update the code to reflect current presentation.

What documentation supports medical necessity for OCD treatment?

Document specific obsessional content or compulsive behaviors, time consumed by symptoms (typically one hour or more daily), functional impairment in work, relationships, or self-care, previous treatment attempts, and current symptom severity. Y-BOCS scores strengthen authorization requests. Connect treatment interventions to measurable symptom reduction goals.

×