Skip to content
Upfront RCM

Mental health billing guide

ICD-10 codes therapists use most: anxiety, depression, ADHD and PTSD

ICD-10 codes for anxiety, depression, PTSD, adjustment disorders and ADHD with official FY 2027 titles, plus why unspecified codes and Z codes get denied.

Reviewed by the Upfront RCM billing teamLast reviewed · 8 min read · 8 sources

Quick answer

The main ICD-10 codes for anxiety are F41.1 (generalized anxiety disorder), F41.0 (panic disorder), F40.10 (social phobia, unspecified), F41.8 (other specified anxiety disorders) and F41.9 (anxiety disorder, unspecified). Therapists also use F32 and F33 codes for depression, F43.1 codes for PTSD, F43.2 codes for adjustment disorders and F90 codes for ADHD. Use the most specific code your notes support: some Medicare contractors do not accept F41.9 for psychotherapy.

At a glance

  • None of the common therapy diagnosis codes changed for FY 2027. Chapter 5 gained one code, F64.A, effective October 1, 2026.
  • Code to the highest specificity your note supports. First Coast's Medicare psychotherapy list leaves out F41.9 and F32.9.
  • In outpatient coding, never code a rule-out or probable diagnosis. Code what is established, or the symptoms.
  • Z codes such as Z63.0 can be listed first under ICD-10-CM rules, but First Coast's and WPS's Medicare psychotherapy lists leave them out.
  • The diagnosis on the claim should match the treatment plan and the session note.
On this page
  1. 01ICD-10 codes for anxiety
  2. 02ICD-10 codes for depression
  3. 03PTSD, trauma and stress codes
  4. 04Adjustment disorder codes
  5. 05ADHD and autism codes
  6. 06What changed for FY 2027
  7. 07Why unspecified codes get denied
  8. 08Can a Z code be the primary diagnosis?
  9. 09Match the diagnosis to the treatment plan
  10. 10Common questions
  11. 11References

Every therapy claim needs an ICD-10-CM diagnosis code. These are the ICD-10 codes for anxiety, depression, trauma, adjustment disorders and ADHD that cover most outpatient sessions, with their official titles for fiscal year 2027, which runs from October 1, 2026 to September 30, 2027. You diagnose with DSM-5-TR criteria, but the claim carries the ICD-10-CM code.

ICD-10 codes for anxiety

Anxiety codes sit in category F40 (phobic anxiety disorders) and F41 (other anxiety disorders). Bill the code for the disorder you documented, and keep F41.9 for the rare case where you truly cannot say more.

CodeOfficial ICD-10-CM titleBilling note
F41.1Generalized anxiety disorderThe specific code when GAD criteria are documented
F41.0Panic disorder [episodic paroxysmal anxiety]For a documented panic disorder
F40.10Social phobia, unspecifiedF40.11 is social phobia, generalized
F41.8Other specified anxiety disordersOn First Coast's psychotherapy list
F41.9Anxiety disorder, unspecifiedNot on First Coast's Medicare psychotherapy list
Swipe the table to see every column. Titles from CMS's FY 2027 (v44) MS-DRG definitions manual. Payer notes reflect First Coast billing article A57520 as revised October 2026.

ICD-10 codes for depression

Depression codes split into a single episode of major depressive disorder (F32) and recurrent major depressive disorder (F33), each by severity or remission. Two unspecified codes look alike but mean different things: F32.9 is major depressive disorder, single episode, with severity not stated, while F32.A is depression with no further detail.

CodeOfficial ICD-10-CM title
F32.0Major depressive disorder, single episode, mild
F32.1Major depressive disorder, single episode, moderate
F32.2Major depressive disorder, single episode, severe without psychotic features
F32.4Major depressive disorder, single episode, in partial remission
F32.5Major depressive disorder, single episode, in full remission
F32.9Major depressive disorder, single episode, unspecified
F32.ADepression, unspecified
F33.0Major depressive disorder, recurrent, mild
F33.1Major depressive disorder, recurrent, moderate
F33.2Major depressive disorder, recurrent severe without psychotic features
F33.41Major depressive disorder, recurrent, in partial remission
F33.42Major depressive disorder, recurrent, in full remission
F33.9Major depressive disorder, recurrent, unspecified
F32.3 and F33.3 cover severe episodes with psychotic features or symptoms. F33.40 is recurrent, in remission, unspecified.
Worked example
Example: the same client, two different notes
Note A says
Client depressed, continuing weekly therapy
Code it supports
F32.A Depression, unspecified
Note B says
Major depressive disorder, recurrent, moderate; prior episode in 2023
Code it supports
F33.1 Major depressive disorder, recurrent, moderate

Both codes are valid, but F33.1 tells the payer exactly what is being treated and why weekly psychotherapy makes sense. Write the diagnosis in the note the way you would want an auditor to read it.

PTSD, trauma and stress codes

Trauma and stress codes sit in category F43. PTSD has three codes, and the acute or chronic distinction should come from your documentation of how long symptoms have lasted.

CodeOfficial ICD-10-CM title
F43.0Acute stress reaction
F43.10Post-traumatic stress disorder, unspecified
F43.11Post-traumatic stress disorder, acute
F43.12Post-traumatic stress disorder, chronic
F43.81Prolonged grief disorder
F43.89Other reactions to severe stress
Neither First Coast's nor WPS's Medicare psychotherapy list includes F43.81, so check your MAC before billing it as the only diagnosis.

Adjustment disorder codes

Adjustment disorder codes run from F43.20 to F43.25, plus F43.29, and the fifth character names the main symptom picture. F43.20 is the unspecified version; use it only when the note does not describe the type.

CodeOfficial ICD-10-CM title
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

ADHD and autism codes

ADHD codes in category F90 are split by presentation. F84.0 is the diagnosis code ABA providers bill under; the ABA CPT codes guide covers the treatment codes it pairs with.

CodeOfficial ICD-10-CM title
F90.0Attention-deficit hyperactivity disorder, predominantly inattentive type
F90.1Attention-deficit hyperactivity disorder, predominantly hyperactive type
F90.2Attention-deficit hyperactivity disorder, combined type
F90.8Attention-deficit hyperactivity disorder, other type
F90.9Attention-deficit hyperactivity disorder, unspecified type
F84.0Autistic disorder

What changed for FY 2027

Very little changed for therapists on October 1, 2026. Chapter 5 of ICD-10-CM gained one new code, F64.A (gender identity disorder, in remission), with no deleted or revised mental health codes, so every anxiety, depression, trauma, adjustment and ADHD code above carries over unchanged.

Chapter 21 changed more. The personal history code Z87.890 was deleted and replaced with more specific codes, including Z87.893 (personal history of gender detransition). New exposure codes such as Z77.32 (burn pits in war theater), Z77.33 (Agent Orange) and Z77.40 to Z77.49 (blast overpressure) may appear in veterans' records as secondary codes.

Why unspecified codes get denied

Unspecified codes get denied when a payer's coverage list leaves them out or its policy demands more detail, even though they are valid codes. The FY 2027 Official Guidelines say unspecified codes are acceptable when they reflect what is known at that encounter, but also that outpatient codes should be reported to the highest level of specificity the record supports.

  • Medicare contractors publish their own lists of diagnoses that support psychotherapy. As of its October 2026 revision, First Coast's list (Florida, Puerto Rico, U.S. Virgin Islands) includes F32.A and F41.8 but not F41.9 or F32.9, and anything not listed does not support medical necessity.
  • WPS's list does include F41.9 and F32.9, but not F33.9 or F43.81. The same claim can pass in one jurisdiction and fail in another.
  • Commercial plans set their own rules. Kaiser Permanente of Washington, for example, pays unspecified codes only when a more specific code cannot be used and the documentation supports it.
  • A code that does not fit the service draws CO-11 (diagnosis inconsistent with the procedure); a diagnosis outside the plan's coverage draws CO-167 (diagnosis not covered).

Can a Z code be the primary diagnosis?

Yes under ICD-10-CM rules, but it is a poor bet for a psychotherapy claim. The guidelines allow Z codes as a first-listed or secondary code, yet neither First Coast's nor WPS's Medicare psychotherapy list includes relationship and counseling codes such as Z63.0, Z65.8 or Z71.89. Treat Z codes as context that sits behind a mental health diagnosis, and check any commercial plan's policy before billing one first.

Z codes still earn their place as secondary codes. The guidelines tell coders to assign as many social determinant codes (categories Z55 to Z65) as needed to describe the problems documented, and allow them to come from social workers' documentation or patient self-reports signed off by a clinician.

CodeOfficial ICD-10-CM title
Z63.0Problems in relationship with spouse or partner
Z62.820Parent-biological child conflict
Z63.4Disappearance and death of family member
Z63.8Other specified problems related to primary support group
Z60.0Problems of adjustment to life-cycle transitions
Z56.6Other physical and mental strain related to work
Z59.00Homelessness unspecified
Z62.810Personal history of physical and sexual abuse in childhood
Z69.11Encounter for mental health services for victim of spousal or partner abuse
Z65.8Other specified problems related to psychosocial circumstances
Z73.3Stress, not elsewhere classified
Z71.89Other specified counseling
Z codes that add context to therapy claims. Titles from CMS's FY 2027 (v44) MS-DRG definitions manual.

Match the diagnosis to the treatment plan

The diagnosis on the claim should be the one your treatment plan is treating. Medicare contractors such as CGS and NGS require the plan to name the diagnoses and the goals, and OIG's 2023 psychotherapy audit counted plans missing those elements as errors. When the diagnosis changes, update the plan, the note and the claim together.

Before the diagnosis goes on the claim

  • The diagnosis is documented by the treating clinician in this record, not copied from a referral.
  • It is coded to the highest specificity the note supports, with every required character.
  • It is established, not a rule-out, probable or working diagnosis.
  • It matches the diagnosis named in the current treatment plan.
  • It appears on your MAC's or payer's list of diagnoses that support psychotherapy.
  • The primary diagnosis is listed first and each service line points to it.
  • Relevant Z codes are added as secondary codes, not as the only diagnosis.
  • The code set is current: FY 2027 codes for services from October 1, 2026.

Look up any of these codes in the code library, and see the mental health CPT codes cheat sheet for the services they support. If diagnosis denials keep coming back, behavioral health billing help or a coding review can find the pattern.

Common questions

What is the ICD-10 code for anxiety with depression?

Code what you diagnosed. Two disorders, such as generalized anxiety disorder and recurrent major depression, get two codes, for example F41.1 and F33.1, with the condition you mainly treat listed first. An adjustment disorder with both anxiety and depressed mood is one code, F43.23. For any other mixed presentation, check the ICD-10-CM index before choosing F41.8.

Is F41.9 a billable code?

Yes. F41.9, anxiety disorder, unspecified, is a valid billable ICD-10-CM code. Whether it is paid is a payer question: First Coast's Medicare billing article for psychotherapy does not list it, while WPS's does. Use it only when your documentation cannot support a more specific anxiety code.

What is the difference between F32.9 and F32.A?

F32.9 means major depressive disorder, single episode, with the severity not documented. F32.A means depression with no further detail, not necessarily major depressive disorder. If you diagnosed MDD, document the episode and severity and use the specific F32 or F33 code instead of either.

Can a therapist bill Z63.0 for couples counseling?

You can report Z63.0 (problems in relationship with spouse or partner), but it is not on First Coast's or WPS's Medicare psychotherapy lists, so do not expect Medicare to pay psychotherapy with it as the only diagnosis, and check each commercial plan's policy. When one partner has a diagnosed condition being treated, list that diagnosis first and Z63.0 after it.

Did any mental health ICD-10 codes change on October 1, 2026?

Only one was added: F64.A, gender identity disorder, in remission. No codes in Chapter 5 were deleted or revised for FY 2027, so the anxiety, depression, PTSD, adjustment disorder and ADHD codes you used before October 1, 2026 are still valid.

References

  1. [1]CDC NCHS: ICD-10-CM Official Guidelines for Coding and Reporting, FY 2027ftp.cdc.gov
  2. [2]CMS: MS-DRG v44 definitions manual, mental diseases and disorders (FY 2027)cms.gov
  3. [3]CMS: MS-DRG v44 definitions manual, factors influencing health status (FY 2027)cms.gov
  4. [4]First Coast: Billing and coding, psychiatric diagnostic evaluation and psychotherapy services (A57520)cms.gov
  5. [5]WPS: Billing and coding, psychiatry and psychology services (A57480)cms.gov
  6. [6]AOA: ICD-10-CM updates for FY 2027osteopathic.org
  7. [7]Kaiser Permanente Washington: Unspecified ICD-10-CM diagnosis codes payment policywa-provider.kaiserpermanente.org
  8. [8]HHS OIG: Medicare improperly paid providers for some psychotherapy services (A-09-21-03021)oig.hhs.gov

How this guide was checked

Reviewed by the Upfront RCM billing team on November 22, 2026 against the sources above. Medicare amounts are national rates from the CMS fee schedule files, before the patient's share and any local adjustment; see your own area's rates in our Medicare fee schedule lookup, and any code in plain English in the code library. Rules differ by payer and change often, so check the plan's current policy before you bill. Spotted something out of date? Tell us.

Related on Upfront RCM

More mental health billing guides

See where your practice is losing money.

Start with a free billing audit. We review your claims, denials, unpaid claims and a sample of medical records, then walk you through what we found.