Short answer: there is no single ICD-10 code for anxiety. Unspecified anxiety is F41.9 and generalized anxiety disorder is F41.1. Panic disorder is F41.0, other mixed anxiety disorders F41.3 and other specified anxiety disorders F41.8. Phobic anxiety disorders, including agoraphobia and social anxiety disorder, are coded in category F40.
Picking the most specific code the documentation supports matters for medical necessity, especially for ongoing psychotherapy. Below are the anxiety codes, how they map to DSM-5-TR diagnoses, the conditions that are coded elsewhere (adjustment disorder, PTSD, separation anxiety), screening codes, and the claim errors to avoid. Codes are revised every October 1, so confirm against the current CMS/CDC code files.
Category F41: other anxiety disorders
- F41.0 - Panic disorder [episodic paroxysmal anxiety]. Covers panic attacks and panic states. Panic disorder with agoraphobia is not coded here; it is F40.01.
- F41.1 - Generalized anxiety disorder.
- F41.3 - Other mixed anxiety disorders.
- F41.8 - Other specified anxiety disorders. Inclusion terms include anxiety depression (mild or not persistent), anxiety hysteria, and mixed anxiety and depressive disorder.
- F41.9 - Anxiety disorder, unspecified (anxiety NOS).
- F41 by itself is a category heading and is not billable.
Category F40: phobic anxiety disorders
- F40.00 - Agoraphobia, unspecified; F40.01 - agoraphobia with panic disorder; F40.02 - agoraphobia without panic disorder.
- F40.10 - Social phobia, unspecified; F40.11 - social phobia, generalized. Social anxiety disorder is coded here.
- F40.2- - Specific (isolated) phobias. These are subdivided by type (animal, natural environment, blood/injection/injury, situational and other) and must be coded to the full, most specific code in the subcategory.
- F40.8 - Other phobic anxiety disorders.
- F40.9 - Phobic anxiety disorder, unspecified.
DSM-5-TR anxiety diagnoses and their ICD-10-CM codes
Clinicians usually diagnose with DSM-5-TR terms, while the claim needs the ICD-10-CM code. The most common crosswalks:
- Generalized anxiety disorder: F41.1.
- Panic disorder: F41.0.
- Agoraphobia: F40.00 (DSM-5-TR codes agoraphobia separately; if panic disorder is also present, both diagnoses are recorded).
- Social anxiety disorder: F40.10.
- Specific phobia: the F40.2- code for the phobia type documented.
- Separation anxiety disorder: F93.0 (coded with childhood-onset disorders, but usable at any age).
- Selective mutism: F94.0.
- Other specified anxiety disorder: F41.8. Unspecified anxiety disorder: F41.9.
- Anxiety disorder due to another medical condition: F06.4, with the medical condition coded as well.
- Substance/medication-induced anxiety disorder: a combination code in the substance categories (F10-F19) that captures both the substance use and the anxiety disorder.
Conditions that look like anxiety but are coded elsewhere
Category F41 carries an Excludes2 note for anxiety in acute stress reaction (F43.0), transient adjustment reaction (F43.2-), neurasthenia (F48.8), psychophysiologic disorders (F45.-) and separation anxiety (F93.0). When anxiety is a feature of one of these conditions, the other condition is coded instead of, or in addition to, an F41 code depending on what the provider documents.
- Adjustment disorder with anxiety: F43.22. Adjustment disorder with mixed anxiety and depressed mood: F43.23. Use these when symptoms arise in response to an identifiable stressor and the clinician diagnoses an adjustment disorder rather than an anxiety disorder.
- Post-traumatic stress disorder: F43.10 (unspecified), F43.11 (acute) or F43.12 (chronic).
- Acute stress reaction: F43.0.
- Obsessive-compulsive disorder is no longer grouped with anxiety disorders in DSM-5-TR and is coded in category F42.
Mixed anxiety and depression
Two situations are often confused. When a patient has mild or non-persistent symptoms of both anxiety and depression and neither meets criteria for a separate disorder, ICD-10-CM indexes "mixed anxiety and depressive disorder" to F41.8.
When the patient meets criteria for both a full anxiety disorder and a depressive disorder, code each one, for example F41.1 with the appropriate F32.- or F33.- code. Do not use F41.8 to stand in for two documented diagnoses.
F41.3 (other mixed anxiety disorders) is a different code from mixed anxiety and depressive disorder. Use it only when the documentation supports it.
F41.9 vs. a specific code
F41.9 is valid. The Official Guidelines allow unspecified codes when the documentation does not support anything more specific, which is common in a first primary care visit or an urgent care note.
In behavioral health it should be temporary. After an intake assessment, the record usually supports GAD, panic disorder, social anxiety disorder or another specific diagnosis. Long courses of psychotherapy billed under F41.9 are more likely to draw medical-necessity questions and are harder to defend on appeal than a specific diagnosis with a documented treatment plan.
Screening and symptom codes
- Z13.39 - encounter for screening examination for other mental health and behavioral disorders: for an anxiety screening (for example a GAD-7 questionnaire) in a patient without a diagnosis. Z13.31 is the depression screening code.
- If a screen is positive and the provider diagnoses an anxiety disorder at the same visit, report the F code for the diagnosis.
- R45.0 (nervousness) and similar symptom codes describe symptoms when no anxiety disorder has been diagnosed. Do not report them alongside an F41 code for the same symptoms.
Documentation and billing tips for anxiety claims
- Name the specific disorder in the assessment and state how criteria were met; record measurement scores (such as GAD-7) at intake and follow-up.
- For psychotherapy (CPT 90832, 90834, 90837), record start and stop times or total time, the interventions used and progress toward goals. The time documented must support the code billed.
- Update the diagnosis when it changes, for example from F41.9 to F41.1 after assessment, or from F43.22 to an anxiety disorder if symptoms persist beyond an adjustment disorder.
- Code all documented conditions that affect care, such as coexisting depression or ADHD.
- Watch for CARC 11 (diagnosis inconsistent with the procedure), CARC 146 (diagnosis invalid for the date of service, often a truncated code such as F41 or F40.2) and CARC 197 (authorization absent) where a payer requires authorization for behavioral health services.
Frequently asked questions
What is the ICD-10 code for anxiety?
Unspecified anxiety (anxiety NOS) is F41.9. Specific anxiety disorders have their own codes: F41.1 generalized anxiety disorder, F41.0 panic disorder, F41.8 other specified anxiety disorders, and F40.- codes for phobic anxiety disorders such as social anxiety disorder (F40.10).
What is the difference between F41.1 and F41.9?
F41.1 is generalized anxiety disorder, a specific diagnosis. F41.9 is anxiety disorder, unspecified, used when the documentation does not identify a specific anxiety disorder.
What is the ICD-10 code for anxiety and depression?
Mixed anxiety and depressive disorder, where neither condition meets full criteria, indexes to F41.8. If both a full anxiety disorder and a depressive disorder are diagnosed, code each one separately.
What is the ICD-10 code for social anxiety disorder?
Social anxiety disorder (social phobia) is coded F40.10, social phobia, unspecified. F40.11 is social phobia, generalized.
Is adjustment disorder with anxiety coded as F41?
No. Adjustment disorder with anxiety is F43.22, and adjustment disorder with mixed anxiety and depressed mood is F43.23. They are used when symptoms follow an identifiable stressor and the clinician diagnoses an adjustment disorder.
What is the ICD-10 code for anxiety screening?
Screening for anxiety in a patient without a diagnosis is generally reported with Z13.39, encounter for screening examination for other mental health and behavioral disorders. If a disorder is diagnosed, report its F code.
Anxiety coding errors are rarely about knowing F41.9. They come from staying on an unspecified code after the record supports something more specific, confusing adjustment disorder with an anxiety disorder, and time documentation that does not support the psychotherapy code.
Alpha Medi Assist codes and bills for psychiatrists, therapists and counseling practices, and reviews diagnosis specificity and session documentation before claims go out.

