ICD-10 Codes for Depression and Anxiety (F32, F33, F41)
Depression and anxiety are high-volume diagnoses where the code hinges on details that are easy to miss — whether a depressive episode is the patient's first or a recurrence, the documented severity, and (since 2021) whether “depression” even means major depressive disorder at all.
Depression: single episode vs. recurrent
Major depressive disorder splits at the top level by episode history: F32 for a single episode, F33 for recurrent episodes. You can't pick correctly without knowing whether the patient has had prior episodes — and within each, severity drives the final character.
| Code | Description |
|---|---|
| F32.0 | Major depressive disorder, single episode, mild |
| F32.1 | Major depressive disorder, single episode, moderate |
| F32.9 | Major depressive disorder, single episode, unspecified |
| F33.0 | Major depressive disorder, recurrent, mild |
| F33.1 | Major depressive disorder, recurrent, moderate |
| F33.2 | Major depressive disorder, recurrent severe without psychotic features |
| F33.9 | Major depressive disorder, recurrent, unspecified |
These are the most-used codes; each series continues with severe (with or without psychotic features) and in-remission options — for example F32.2/F32.3 and F33.2/F33.3 for severe episodes.
F32.A, “Depression, unspecified.” Use F32.A when the note documents only “depression” without calling it major depressive disorder; reserve F32.9 for documented MDD, single episode, when severity isn't stated.
Anxiety
Anxiety disorders sit in category F41. Code the specific type when documented rather than defaulting to “unspecified.”
| Code | Description |
|---|---|
| F41.1 | Generalized anxiety disorder |
| F41.0 | Panic disorder [episodic paroxysmal anxiety] |
| F41.8 | Other specified anxiety disorders |
| F41.9 | Anxiety disorder, unspecified |
| F43.21 | Adjustment disorder with depressed mood |
| F43.23 | Adjustment disorder with mixed anxiety and depressed mood |
When low mood or anxiety is a reaction to an identified stressor, an adjustment-disorder code from F43.2- may fit better than F32/F41. Search the lookup tool for the full list.
How to choose the right code
1. Depression: first episode or recurrent?
A documented first/single episode is F32.-; a history of prior episodes is F33.-. If the record doesn't establish recurrence, don't assume it — single-episode is the safer read, and severity still has to be coded.
2. Is severity documented?
Mild, moderate, severe (with or without psychotic features), or in remission each map to a distinct final character. Use the unspecified code (F32.9 / F33.9) only when severity truly isn't documented — it's a fallback, not a default.
3. Is it “depression” or major depressive disorder?
If the provider documents only “depression” (not MDD), F32.A (depression, unspecified) is the accurate code. Mapping generic “depression” to an MDD code overstates the diagnosis.
4. Anxiety: which type?
Generalized anxiety disorder is F41.1; panic disorder is F41.0. Reserve F41.9 (unspecified) for when the type isn't documented.
Common depression & anxiety coding mistakes
- Defaulting to recurrent (F33) without history. Recurrent MDD requires documented prior episodes. Without that, code the single-episode category (F32).
- Forcing “depression” into F32.9. Since 2021, generic depression is
F32.A. F32.9 is specifically MDD, single episode, unspecified — a more specific claim than the note may support. - Skipping documented severity. When mild/moderate/severe is in the note, the unspecified code under-codes the encounter; use the severity-specific code.
- Coding GAD as unspecified anxiety. If generalized anxiety disorder is documented, it's
F41.1, not F41.9.
A worked example
F33.1F41.1A second episode means recurrent MDD — category F33, not F32 — and the documented moderate severity sets the final character: F33.1. The generalized anxiety disorder is a separate, co-existing diagnosis, coded F41.1 alongside it.
Adjacent codes worth knowing
A few neighbors come up constantly. When low mood or anxiety is a reaction to an identified stressor, an adjustment-disorder code (F43.2-) is more accurate than F32/F41. Social anxiety has its own code (F40.10), distinct from generalized anxiety. And one important caution: bipolar depression is not coded from F32/F33 — a depressive episode in a patient with bipolar disorder belongs in F31.-. Mapping it to major depressive disorder misstates the diagnosis and can affect both the treatment record and risk adjustment.
What the note needs to document
- For depression, whether it's major depressive disorder or unspecified depression
- Single vs. recurrent episode, and the severity (and psychotic features, if any)
- For anxiety, the specific type (generalized, panic, etc.)
- Whether symptoms are a reaction to an identified stressor (adjustment disorder, F43.2-)
Frequently asked questions
It depends on documentation. For major depressive disorder, single episode, unspecified severity, the code is F32.9; recurrent is F33.9. But if the note documents only “depression” without specifying major depressive disorder, the correct code (since 2021) is F32.A, depression, unspecified.
F32.9 is “major depressive disorder, single episode, unspecified” — it asserts MDD. F32.A is “depression, unspecified,” added in 2021 for when the documentation says only “depression” and does not establish major depressive disorder. Using F32.9 for generic depression overstates the diagnosis.
Generalized anxiety disorder is F41.1; panic disorder is F41.0; F41.9 (anxiety disorder, unspecified) is the fallback when the type isn't documented. Code the specific type whenever it's recorded.
Use category F33 with the documented severity: F33.0 (mild), F33.1 (moderate), F33.2 (severe without psychotic features), and so on; F33.9 when severity is unspecified. Recurrent requires documentation of prior episodes.
When the depressive or anxious symptoms are a reaction to an identified stressor, codes from F43.2- (for example F43.21 with depressed mood, or F43.23 with mixed anxiety and depressed mood) may be more accurate than an F32 or F41 code.