Anxiety and Depression ICD-10 Codes: Complete Mental Health Coding Guide

  • Jan 31, 2025

Anxiety and depression are among the most commonly diagnosed mental health conditions. This guide covers ICD-10-CM codes for anxiety disorders (F40-F41), depressive disorders (F32-F33), and related conditions essential for mental health coding.

Quick Reference: Mental Health Code Categories

CategoryCode RangeDescription
F32F32.0-F32.9Major depressive disorder, single episode
F33F33.0-F33.9Major depressive disorder, recurrent
F34F34.0-F34.9Persistent mood disorders (dysthymia)
F40F40.0-F40.9Phobic anxiety disorders
F41F41.0-F41.9Other anxiety disorders
F43F43.0-F43.9Reaction to severe stress, adjustment disorders

Anxiety Disorders (F40-F41)

F41: Other Anxiety Disorders

The F41 category covers non-phobic anxiety disorders.

CodeDescriptionCommon Use
F41.0Panic disorder [episodic paroxysmal anxiety]Recurrent panic attacks
F41.1Generalized anxiety disorderGAD - persistent worry/anxiety
F41.3Other mixed anxiety disordersMixed anxiety features
F41.8Other specified anxiety disordersAnxiety hysteria
F41.9Anxiety disorder, unspecifiedAnxiety NOS

F41.1: Generalized Anxiety Disorder (GAD)

F41.1 is the most commonly used anxiety code in primary care and psychiatry.

Clinical criteria:

  • Excessive worry and anxiety most days for at least 6 months
  • Difficulty controlling worry
  • Three or more associated symptoms (restlessness, fatigue, difficulty concentrating, irritability, muscle tension, sleep disturbance)

Excludes1 (Cannot code together):

  • Anxiety in adjustment disorder (F43.2x)
  • Neurasthenia (F48.8)
  • Separation anxiety (F93.0)

View F41.1 code details →

F40: Phobic Anxiety Disorders

F40 codes are used for specific phobias and social anxiety.

CodeDescription
F40.00Agoraphobia, unspecified
F40.01Agoraphobia with panic disorder
F40.02Agoraphobia without panic disorder
F40.10Social phobia, unspecified
F40.11Social phobia, generalized
F40.210Arachnophobia (fear of spiders)
F40.218Other animal type phobia
F40.230Fear of blood
F40.240Claustrophobia
F40.8Other phobic anxiety disorders
F40.9Phobic anxiety disorder, unspecified

Depressive Disorders (F32-F34)

F32: Major Depressive Disorder, Single Episode

F32 codes are used for the first episode of major depression.

CodeDescriptionSeverity
F32.0MDD, single episode, mildMild symptoms
F32.1MDD, single episode, moderateModerate symptoms
F32.2MDD, single episode, severe without psychotic featuresSevere, no psychosis
F32.3MDD, single episode, severe with psychotic featuresWith delusions/hallucinations
F32.4MDD, single episode, in partial remissionImproving
F32.5MDD, single episode, in full remissionFully resolved
F32.81Premenstrual dysphoric disorderPMDD
F32.89Other specified depressive episodesAtypical depression
F32.9MDD, single episode, unspecifiedDepression NOS
F32.ADepression, unspecifiedMost general code

F33: Major Depressive Disorder, Recurrent

F33 codes are used when the patient has had more than one depressive episode.

CodeDescriptionSeverity
F33.0MDD, recurrent, mildMild recurrent
F33.1MDD, recurrent, moderateModerate recurrent
F33.2MDD, recurrent, severe without psychotic featuresSevere recurrent
F33.3MDD, recurrent, severe with psychotic featuresWith psychosis
F33.40MDD, recurrent, in remission, unspecifiedIn remission
F33.41MDD, recurrent, in partial remissionPartial remission
F33.42MDD, recurrent, in full remissionFull remission
F33.8Other recurrent depressive disordersOther specified
F33.9MDD, recurrent, unspecifiedRecurrent NOS

F34: Persistent Mood Disorders

F34 codes cover chronic, persistent mood conditions.

CodeDescription
F34.0Cyclothymic disorder
F34.1Dysthymic disorder
F34.81Disruptive mood dysregulation disorder
F34.89Other specified persistent mood disorders
F34.9Persistent mood disorder, unspecified

Adjustment and Stress Disorders (F43)

F43 codes capture reactions to stress, including adjustment disorders.

CodeDescription
F43.0Acute stress reaction
F43.10Post-traumatic stress disorder, unspecified
F43.11Post-traumatic stress disorder, acute
F43.12Post-traumatic stress disorder, chronic
F43.20Adjustment disorder, unspecified
F43.21Adjustment disorder with depressed mood
F43.22Adjustment disorder with anxiety
F43.23Adjustment disorder with mixed anxiety and depressed mood
F43.24Adjustment disorder with disturbance of conduct
F43.25Adjustment disorder with mixed disturbance of emotions and conduct
F43.29Adjustment disorder with other symptoms

Common Coding Scenarios

Scenario 1: Generalized Anxiety Disorder

Documentation: Patient presents with persistent worry and anxiety, diagnosed with GAD. Code: F41.1 - Generalized anxiety disorder

Scenario 2: First Episode Major Depression

Documentation: New diagnosis of moderate major depressive disorder, first episode. Code: F32.1 - Major depressive disorder, single episode, moderate

Scenario 3: Recurrent Depression

Documentation: Patient with history of depression, now experiencing third major depressive episode, moderate severity. Code: F33.1 - Major depressive disorder, recurrent, moderate

Scenario 4: Depression with Anxiety

Documentation: Patient has both depression and anxiety symptoms. Codes:

  1. F33.1 - Major depressive disorder, recurrent, moderate (if primary)
  2. F41.1 - Generalized anxiety disorder

Note: Both conditions can be coded if both are documented and treated.

Scenario 5: Adjustment Disorder with Anxiety

Documentation: Patient develops significant anxiety following job loss 2 months ago. Code: F43.22 - Adjustment disorder with anxiety

Scenario 6: Panic Disorder

Documentation: Recurrent panic attacks meeting criteria for panic disorder. Code: F41.0 - Panic disorder [episodic paroxysmal anxiety]

Scenario 7: PTSD

Documentation: Patient has chronic post-traumatic stress disorder following combat exposure. Code: F43.12 - Post-traumatic stress disorder, chronic

Severity Documentation

Accurate severity coding requires provider documentation:

Mild (F32.0, F33.0):

  • Few symptoms beyond minimum required
  • Minor functional impairment
  • Can usually work/go to school

Moderate (F32.1, F33.1):

  • Symptoms and impairment between mild and severe
  • Difficulty with daily activities
  • Most commonly coded severity

Severe (F32.2, F33.2):

  • Many symptoms beyond minimum
  • Significant functional impairment
  • May be unable to work

With Psychotic Features (F32.3, F33.3):

  • Delusions or hallucinations present
  • Requires specific documentation

Frequently Asked Questions

What is the ICD-10 code for anxiety?

F41.9 (Anxiety disorder, unspecified) is the general anxiety code. F41.1 (Generalized anxiety disorder) is more specific when GAD is diagnosed.

What is the ICD-10 code for depression?

F32.9 (Major depressive disorder, single episode, unspecified) or F33.9 (recurrent, unspecified) are commonly used. F32.A is the most general "Depression, unspecified" code.

When should I use F32 vs F33?

Use F32 codes for a first/single depressive episode. Use F33 codes when the patient has a history of previous depressive episodes (recurrent depression).

Can I code both anxiety and depression?

Yes, if both conditions are documented and treated, you can code both. Sequence based on the focus of the encounter or which condition is primary.

What is the difference between F43.21 and F32?

F43.21 (Adjustment disorder with depressed mood) is used when depression is a reaction to an identifiable stressor and doesn't meet full criteria for major depression. F32 codes are for major depressive disorder meeting full diagnostic criteria.

Is F41.1 billable?

Yes, F41.1 (Generalized anxiety disorder) is a valid billable code for GAD.

How do I code "mixed anxiety and depression"?

If both conditions meet full diagnostic criteria, code both separately. If a mixed presentation is documented without full criteria for either, consider F41.8 (Other specified anxiety disorders) or query the provider for clarification.


Last updated: January 2025. Code data reflects ICD-10-CM 2026 version.