ICD-10-CM

Mental Health ICD-10 Coding: F Codes Guide

📅 July 2026 📖 13 min read ✍️ Clear CPC Team
Mental Health ICD-10 Coding: F Codes Guide

Chapter 5 of ICD-10-CM — Mental, Behavioral and Neurodevelopmental Disorders, codes F01 through F99 — carries a small set of rules that the CPC exam tests with outsized frequency, because each one overrides an instinct coders bring from other chapters. Substance use codes follow a strict hierarchy where only one code survives. Depression codes hinge on the words “single” and “recurrent.” Dementia codes obey code-first instructions that reverse the expected order. This guide covers the tested territory of the F chapter, building on the conventions in ICD-10-CM Coding Guidelines and the ordering rules in ICD-10 Sequencing Rules.

How Chapter 5 Is Organized

The chapter groups disorders into blocks that the exam expects you to recognize by range: F01–F09 for mental disorders due to known physiological conditions (including the dementias); F10–F19 for substance-related disorders, arranged by substance; F20–F29 for schizophrenia spectrum and other psychotic disorders; F30–F39 for mood disorders, including bipolar disorder and the depressive episodes; F40–F48 for anxiety, obsessive-compulsive, stress-related, and somatoform disorders; F60–F69 for personality disorders; F80–F89 for developmental disorders including autism spectrum disorder; and F90–F98 for disorders with onset in childhood, including ADHD. The chapter pairs constantly with the psychiatry CPT codes covered in Medicine Section CPT Coding, since a psychotherapy or psychiatric evaluation claim needs an F-chapter diagnosis behind it.

The Substance Use Hierarchy: Use, Abuse, Dependence

The F10–F19 blocks give each substance three severity tiers — use, abuse, and dependence — and the guideline the exam tests relentlessly: when the documentation describes more than one tier for the same substance, assign only one code, following the hierarchy. If both use and abuse are documented, code abuse. If abuse and dependence are documented, code dependence. If use, abuse, and dependence all appear, code only dependence. One substance, one code, highest tier wins.

The structure within each block is consistent: the fourth character sets the tier (for alcohol, F10.1- abuse, F10.2- dependence, F10.9- use), and later characters capture complications — intoxication, withdrawal, induced mood or psychotic disorders. Two supporting rules complete the picture. “In remission” codes (such as alcohol dependence in remission, F10.21) require the provider’s documentation of remission — a coder never infers it. And the unspecified “use” codes are assigned only when the substance use is documented as associated with a mental or behavioral disorder or medical condition — social drinking mentioned in passing is not coded at all. Blood alcohol level, when documented, takes an additional Y90 code.

Nicotine: The Substance the Exam Sneaks In

Tobacco is the most commonly documented substance in the F10–F19 block, and the exam favors it because nicotine’s codes scatter across three chapters. Nicotine dependence lives at F17.2-, with the fifth character naming the product — F17.21- for cigarettes, with parallel characters for chewing tobacco and other products — and the final character capturing complications: F17.210 is nicotine dependence, cigarettes, uncomplicated, while F17.211 is the same dependence in remission, which, like every remission code in this chapter, requires the provider’s explicit documentation. Two Z-chapter neighbors complete the set and supply the distractors. Tobacco use without documented dependence is Z72.0 — a lifestyle code, not an F code — and a former smoker’s history of nicotine dependence is Z87.891, one of the most frequently assigned codes in all of ICD-10-CM because it rides along on so many encounters as a risk factor. The selection logic mirrors the tier hierarchy: dependence documented, code F17.2-; current use without dependence, Z72.0; quit and documented as such, Z87.891 — and never more than one of the three for the same patient on the same claim. Pregnancy adds a sequencing twist: smoking that complicates pregnancy takes an O99.33- code first, with the F17 code secondary, following Chapter 15’s sequencing priority as covered in ICD-10 Pregnancy Coding and O Codes.

Depression: Single vs Recurrent, and Severity

Major depressive disorder splits into two categories on one word: F32 for a single episode, F33 for recurrent episodes — and the exam plants “recurrent” quietly in the history. Within each, the fourth character grades severity: mild, moderate, severe without psychotic features, severe with psychotic features, plus characters for partial and full remission. So moderate recurrent major depression is F33.1, while a single severe episode with psychotic features is F32.3. Unspecified depression, F32.A or F32.9 territory, exists for thin documentation — but when the record grades severity and episode course, the specific code is required, per the highest-specificity principle in ICD-10-CM Coding Guidelines.

Bipolar Disorder Absorbs the Depression

Bipolar disorder (F31) carries its own hierarchy rule: once bipolar disorder is documented, depressive episodes are coded within F31 — bipolar disorder, current episode depressed — never with the F32/F33 major depression codes. The F31 fourth and fifth characters identify the current episode type (hypomanic, manic, depressed, mixed) and severity. A vignette documenting “bipolar disorder, current episode depressed, severe” that offers an F33 answer choice is testing exactly this absorption rule.

Anxiety, Stress, and Somatoform Disorders

The F40–F48 block supplies steady exam vocabulary. Generalized anxiety disorder is F41.1; panic disorder without agoraphobia is F41.0; the phobic disorders sit in F40 with agoraphobia distinguished by panic-disorder status. Post-traumatic stress disorder codes to F43.1- with characters for acute versus chronic, and adjustment disorders (F43.2-) subdivide by presentation — with depressed mood, with anxiety, mixed. The somatoform territory holds a distinction worth knowing: psychological-factor pain codes to F45.41 (pain disorder exclusively related to psychological factors), while F45.42 (pain disorder with related psychological factors) is used with a G89 code identifying the pain itself — a combination-code interaction in the spirit of Combination Codes in ICD-10.

Dementia and the Code-First Rules

The F01–F09 block reverses the sequencing instinct. Vascular dementia (F01.-) classifies dementia due to cerebrovascular disease, with the etiology relationship built into the category itself. The heavily tested pattern is F02 — dementia in other diseases classified elsewhere — which is a manifestation category: the underlying disease is coded first (Alzheimer’s disease G30.-, Parkinson’s disease G20, Huntington’s disease G10), followed by the F02 code, with characters capturing severity and the presence of behavioral disturbances such as agitation or wandering. Unspecified dementia without a documented cause is F03.9-. The exam’s favorite construction: “Alzheimer’s dementia with behavioral disturbance” — G30.9 first, then the F02.8- code with the behavioral character, and any answer leading with the F code is wrong on sequencing alone. These etiology/manifestation pairs follow the convention machinery covered in Excludes1 and Excludes2 Notes and the chapter conventions of the guidelines.

Schizophrenia, ADHD, and Autism

Three more testable families round out the chapter. Schizophrenia (F20.-) divides by type with paranoid schizophrenia (F20.0) the most cited, and schizoaffective disorder (F25.-) as its neighbor-trap. Attention-deficit hyperactivity disorder (F90.-) splits by presentation: predominantly inattentive (F90.0), predominantly hyperactive (F90.1), combined (F90.2). Autism spectrum disorder is F84.0. These are one-fact vocabulary questions — the exam gives the disorder name and expects the category — with the clinical language grounded in Medical Terminology for Coders.

High-Yield F Codes Reference Table

The chapter’s most tested codes fit in one table — the exam draws its vocabulary questions almost entirely from this set:

Code Condition Tested Detail
F10.20 Alcohol dependence, uncomplicated Wins the hierarchy over abuse (F10.1-) and use (F10.9-)
F10.21 Alcohol dependence, in remission Requires provider-documented remission
F32.9 / F33.x Major depression, single vs recurrent “Recurrent” moves the category; severity sets the character
F31.x Bipolar disorder Absorbs depressive episodes — never F32/F33 alongside
F41.1 Generalized anxiety disorder Distinguish from panic disorder F41.0
F43.1- Post-traumatic stress disorder Acute vs chronic characters
F20.0 Paranoid schizophrenia Neighbor-trap: schizoaffective disorder F25.-
F02.8- Dementia in diseases classified elsewhere Code underlying disease (G30.-, G20) first
F90.0/.1/.2 ADHD by presentation Inattentive, hyperactive, combined
F84.0 Autism spectrum disorder One-fact vocabulary item

F Codes and Medical Necessity

Because behavioral health claims pair F codes with time-based psychotherapy CPT codes, the diagnosis does double duty: it identifies the condition and it supports medical necessity for the service billed. Payers routinely require a covered F-chapter diagnosis for psychotherapy codes, and an unspecified code where the record supports specificity is a denial risk — the same necessity logic covered from the payer side in the Compliance & Regulatory Guide for the CPC Exam. For coders, the operational rule is unchanged: code what the provider documents, to the highest specificity documented, and query rather than infer.

Worked Example: One Chart, Three Rules

Documentation reads: “Patient with alcohol abuse and alcohol dependence, currently in a severe recurrent major depressive episode; history also notes Alzheimer’s dementia in the patient’s mother.” Apply the rules in order. Substance hierarchy: abuse and dependence both documented for alcohol — code only dependence (F10.20, uncomplicated, absent documented complications). Depression: recurrent plus severe without psychotic mention — F33.2. Family history: the mother’s Alzheimer’s is not the patient’s condition; it becomes a Z-family history code if relevant, never a G30/F02 pair, connecting to the status-code discipline in Z Codes in ICD-10. Three sentences, three rules, three codes — and every distractor pattern (F10.10 for abuse, F32.2 for single episode, a dementia code for the mother) violates exactly one.

How the CPC Exam Tests Chapter 5

Pattern 1 — The Hierarchy Collapse

Use, abuse, and dependence documented in any combination for one substance. One code survives: the highest tier.

Pattern 2 — Single vs Recurrent

A depression vignette hides “second episode” or “recurrence” in the history, moving the answer from F32 to F33 — with severity finishing the character.

Pattern 3 — Dementia Sequencing

Alzheimer’s or Parkinson’s dementia with or without behavioral disturbance: underlying disease code first, F02 manifestation code second, behavioral character last.

Pattern 4 — Bipolar Absorption

A depressive episode in a documented bipolar patient codes to F31’s current-episode-depressed codes, never to F32/F33.

Common Mistakes

Coding both abuse and dependence for the same substance. The hierarchy permits only one code per substance — dependence over abuse, abuse over use.

Assigning “in remission” without provider documentation. Remission codes require the provider’s explicit statement; a coder cannot infer remission from clean toxicology or elapsed time.

Missing the word “recurrent.” F32 versus F33 turns entirely on episode history, and the severity characters then mirror each other.

Using F32/F33 for a bipolar patient’s depression. Documented bipolar disorder absorbs depressive episodes into F31’s current-episode codes.

Sequencing the F02 dementia code before the underlying disease. F02 is a manifestation code: Alzheimer’s (G30.-), Parkinson’s (G20), or the other physiological cause codes first.

Coding social or casual substance use. The use-tier codes apply only when the use is linked to a documented disorder or condition; incidental mention is not coded.

Coding family psychiatric history as the patient’s diagnosis. A relative’s condition takes a family-history Z code when relevant, never the disorder’s F code on the patient’s claim.

Final Exam Strategy for This Section

Chapter 5 is four rules and a vocabulary list: the substance hierarchy, single-versus-recurrent, bipolar absorption, and dementia’s code-first sequencing — plus category recognition for GAD, PTSD, schizophrenia, ADHD, and autism. Write the four rules on one line each beside your CPC Exam Cheat Sheet tables, run the worked-example chart above until each rule fires automatically, and recycle misses through the CPC Exam Study Guide drill loop. The chapter’s questions are short, the rules are absolute, and the points are among the most reliable on the exam.

🧪 Test Yourself: Mental Health F Codes

5 quick questions drawn from this guide. Click an answer to check it — explanations appear as you go.

1. Documentation states both alcohol abuse and alcohol dependence. Assign:




The hierarchy assigns one code per substance at the highest documented tier — dependence (F10.20) wins over abuse.

2. A patient in a second, moderate major depressive episode codes to:




A second episode makes the disorder recurrent — category F33 — with the severity character matching F32’s scheme.

3. A documented bipolar patient presents in a depressive episode. Code from:




Bipolar disorder absorbs depressive episodes — they are coded within F31, never with the F32/F33 major depression categories.

4. Alzheimer’s dementia with agitation is sequenced:




F02 is a manifestation category: the underlying disease (Alzheimer’s, G30.-) is coded first, the F02 dementia code second.

5. A patient quit smoking five years ago, documented as a former smoker. Assign:




A former smoker takes Z87.891 (history of nicotine dependence). F17.211 requires provider-documented remission of current dependence; Z72.0 is current use without dependence.

Frequently Asked Questions

What is the use-abuse-dependence hierarchy?

When documentation describes more than one severity tier for the same substance, only one code is assigned: dependence when documented with abuse or use, and abuse when documented with use. One substance never gets two tier codes on the same record.

What is the difference between F32 and F33?

F32 codes a single episode of major depressive disorder; F33 codes recurrent major depressive disorder. Both grade severity with matching characters — mild, moderate, severe without psychotic features, severe with psychotic features, and remission states.

How do you code Alzheimer’s dementia?

Code the underlying disease first — Alzheimer’s disease from category G30 — followed by the dementia manifestation code from F02, with characters identifying severity and whether behavioral disturbances such as agitation or wandering are present. Leading with the F code is a sequencing error.

What is the ICD-10 code for generalized anxiety disorder?

Generalized anxiety disorder is F41.1. Its tested neighbors include panic disorder without agoraphobia (F41.0), the phobic disorders in F40, PTSD in F43.1-, and the adjustment disorders in F43.2-.

Can depression in a bipolar patient be coded with F33?

No. Once bipolar disorder is documented, depressive episodes are coded within category F31 as bipolar disorder, current episode depressed, with severity characters. The F32 and F33 major depression categories apply only when no bipolar disorder is documented.