F42 ICD-10-CM Code: Obsessive-compulsive disorder
Compare with another code for F42Check this code on a claim
Billing Status: NO. This is a non-billable ICD-10-CM code: report a more specific billable code beneath it.
Coding at a Glance
- Official instructions
- 3 Excludes2
Category · FY2027A non-billable heading in the tabular list: report a more specific code beneath it.
What you need to know
Source: CMS/NCHS Official ICD-10-CM tabular notes, quoted. From the CMS/NCHS tabular list for the release in force. A note the category or block publishes applies to this code too, and is marked with where it comes from.
Where it sits Source: CMS/NCHS
Under:Chapter 5: Mental, Behavioral and Neurodevelopmental DisordersF40-F48 Anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders
Codes under F42 (5)
Most relevant related codes MedCoder-derived
Read off the official notes above and this code’s own position in the tabular list. Which to report is a documentation question; Compare shows the two side by side.
Coding instructions
Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for F42 in the official ICD-10-CM tabular list, quoted as published.
Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2027Effective: October 1, 2026
Trace:FY2027 changesChange historyRelease, file and checksum
Excludes2 — Not Included Here
Conditions not covered by this code, but which may be reported alongside it when both are present.
- obsessive-compulsive personality (disorder) (F60.5) Compare F42 vs F60.5 →
- obsessive-compulsive symptoms occurring in depression (F32.-, F33.-) Compare F42 vs F32 →
- obsessive-compulsive symptoms occurring in schizophrenia (F20.-) Compare F42 vs F20 →
Coder workflow for F42
MedCoder structured workflow — derived from this code’s own official record
Before you code F42
- F42 is not reportable as written. Select the more specific code beneath it that the documentation supports. Codes are reported to the highest level of specificity the classification provides (Guidelines I.B.2).
ReviewF42.2, F42.3, F42.4, F42.8, F42.9
See the relationships section · Guide: How to choose an ICD-10-CM code →
Choose the right path
- Does the documentation support one of the more specific codes beneath F42?
Yes → Select that code and continue the checks below on its own page.
No → F42 cannot be reported as written. Where the codes beneath it include an unspecified code, that code applies when the record goes no further; otherwise query for the missing detail.
Report the code beneath F42 that the documentation supports, not F42 itself. Then confirm that code is valid for the date of service on its own page.
Documentation check
- The provider’s diagnostic statement
- Codes are assigned from the provider’s documented diagnosis, not from clinical criteria, test values or a medication list (Guidelines I.A.19).
Official instructions as workflow
Excludes2 — not part of F42(3 notes)
Coding workflow: The conditions named in this note are not included in F42. When the record documents both, both may be reported; the note is a boundary, not a prohibition.
See the official tabular notes · Guidelines I.A.12.b
Every row is derived from this code’s own record — its title, tabular notes, 7th-character family and same-category siblings — with fixed MedCoder wording; nothing is inferred about a patient. The official notes and guideline text are in the sections each row links to, and they control.
Coding context
Guidelines, coding notes, decision aids, relationships (with MS-DRG and CCSR classification), hierarchy, HCC, coverage and the context map: what a coder reaches for after the core. Each section names whether it is official source data, a MedCoder-derived relationship or MedCoder editorial.
Code Overview
MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.
Verify Before Coding
From the code registry, the Medicare Code Editor, and the MS-DRG Definitions Manual. Check it against a full claim in Claim Check.
Relationships & Classification
MedCoder-derived relationships — computed from published CMS and AHRQ datasets
Other codes that name F42 or its code family, from the CMS ICD-10-CM tabular instructional notes. Tabular-note edges are stored at the code family level that carries each note.
Referenced by 1 Excludes1 note: R46.81 — Obsessive-compulsive behavior.
These codes’ tabular lists mark this diagnosis as mutually exclusive — not reported together unless the conditions are documented as unrelated.
Referenced by 4 Excludes2 notes: F60.5 — Obsessive-compulsive personality disorder, F93.0 — Separation anxiety disorder of childhood, F98 — Other behavioral and emotional disorders with onset usually occurring in childhood and adolescence, F98.4 — Stereotyped movement disorders.
These codes’ tabular lists name this diagnosis as distinct — both may be reported when both are documented.
Clinical classification (AHRQ CCSR):MBD006 — Obsessive-compulsive and related disorders (default).
Clinical Classifications Software Refined (CCSR) for ICD-10-CM Diagnoses. Healthcare Cost and Utilization Project (HCUP), Agency for Healthcare Research and Quality.
Related Codes
Same clinical category (CCSR)
AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical category (Obsessive-compulsive and related disorders).
F42.2 — Mixed obsessional thoughts and acts, F42.3 — Hoarding disorder, F42.4 — Excoriation (skin-picking) disorder, F42.8 — Other obsessive-compulsive disorder, F42.9 — Obsessive-compulsive disorder, unspecified, F45.22 — Body dysmorphic disorder, F63.3 — Trichotillomania
Contextual Map
Every relationship of F42 in one view: hierarchy, official tabular instructions in both directions, clinical classification, risk adjustment, MS-DRG participation, index terms and change history — each edge carrying the CMS source it derives from.
Run F42 with these 8 related codes in Claim Check
Hierarchy
- F01-F99 — Chapter 5: Mental, Behavioral and Neurodevelopmental Disorders (F01-F99) (F01-F99)[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- F40-F48 — Anxiety, dissociative, stress-related, somatoform and other nonpsychotic mental disorders[Hierarchy]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
Excludes2
- F20 — Schizophrenia[Excludes2]: “obsessive-compulsive symptoms occurring in schizophrenia (F20.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- F32 — Depressive episode[Excludes2]: “obsessive-compulsive symptoms occurring in depression (F32.-, F33.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- F33 — Major depressive disorder, recurrent[Excludes2]: “obsessive-compulsive symptoms occurring in depression (F32.-, F33.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- F60.5 — Obsessive-compulsive personality disorder[Excludes2]: “obsessive-compulsive personality (disorder) (F60.5)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
Referenced by Excludes1 notes
- R46.81 — Obsessive-compulsive behavior[Excludes1]: “obsessive-compulsive disorder (F42.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
Referenced by Excludes2 notes
- F60.5 — Obsessive-compulsive personality disorder[Excludes2]: “obsessive-compulsive disorder (F42.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- F93.0 — Separation anxiety disorder of childhood[Excludes2]: “nonpsychotic mental disorders (F40-F48)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- F98 — Other behavioral and emotional disorders with onset usually occurring in childhood and adolescence[Excludes2]: “obsessive-compulsive disorder (F42.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
- F98.4 — Stereotyped movement disorders[Excludes2]: “compulsions in obsessive-compulsive disorder (F42.-)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2027
Clinical classification (CCSR)
- MBD006 — Obsessive-compulsive and related disorders[CCSR]— AHRQ CCSR for ICD-10-CM Diagnoses (HCUP)
Nearest codes
- F42.2 — Mixed obsessional thoughts and acts[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- F42.3 — Hoarding disorder[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- F42.4 — Excoriation (skin-picking) disorder[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- F42.8 — Other obsessive-compulsive disorder[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
- F42.9 — Obsessive-compulsive disorder, unspecified[Sibling]— CMS ICD-10-CM tabular structure · icd10cm-fy2027
Change history (2)
- FY2017 — Became a non-billable header[Change history]— CMS release files (code change ledger) · icd10cm-fy2017
- and 1 more
Reference
Index terms and tables, published questions and FAQ, every source behind this page with its release and checksum, the date-of-service check and the complete change history.
Common coding questions
MedCoder editorial
Can F42 be billed directly?
No. F42 (Obsessive-compulsive disorder) is a non-billable ICD-10-CM category code. A more specific billable subcode must be selected based on clinical documentation.
Sources for this page
Codes, titles, notes, index terms and mappings on this page are transcribed from the datasets below. Relationships MedCoder computed and text MedCoder wrote are labelled where they appear.
- Code, title, tabular notes and index terms Official source data
- CMS/CDC ICD-10-CM FY2027 tabular list, index and tables, effective October 1, 2026 Release, file and checksum · Publisher’s page
- Claim edits Official source data
- CMS Definitions of Medicare Code Edits — v44.0 (October 2026) Release, file and checksum · Publisher’s page
- Change history and date-of-service validity Official source data
- CMS ICD-10-CM release addenda, ingested release by release into the change ledger Release, file and checksum · Publisher’s page
- Comparisons, relationships and the contextual map MedCoder-derived relationship
- Computed by MedCoder from the tabular notes and tables above; every derived relationship is marked as derived where it appears
- Summary and FAQ answers MedCoder editorial explanation
- Written by MedCoder to explain the sources above: drafted with AI assistance, checked by a person against the release files, and labelled as MedCoder text where it appears. Not official text.
Current data releases:ICD-10-CM FY2027 · ICD-10-PCS FY2027 · HCPCS October 2026 · MS-DRG v44 · Medicare Code Editor v44.0 · NCCI PTP Q4 2026 · MUE Q4 2026 · NCD code lists 2026-01 · LCD export September 28, 2026 · All releases and sources
Labels on this page: Official source data · MedCoder-derived relationship · MedCoder editorial explanation. How to read the labels · All data sources and release dates · CMS coding rules
Cite this page
Reference this page in a research guide, syllabus or article. The release is included because code content changes each year.
MedCoder.ai. "F42 — Obsessive-compulsive disorder." ICD-10-CM FY2027. https://medcoder.ai/icd10/code/f42-obsessive-compulsive-disorder
Change history
- FY2017 — October 1, 2016Became a non-billable headerFY2017 changes
- FY2016 — October 1, 2015In the code set at ICD-10-CM adoptionObsessive-compulsive disorder
Nearest Codes in This Family
Official ICD-10-CM classifications closest to F42 in its code family, with their registry titles.