Z Codes for Mental Health: List and When to Use Them
Codes verified against the CMS FY2027 ICD-10-CM code descriptions (effective October 1, 2026; these codes are unchanged from FY2026). Reviewed . See sources.
What are Z codes in mental health?
Z codes (Z00 to Z99) describe factors that influence health and reasons for an encounter rather than a disease. In behavioral health the most used are the social determinant codes in Z55 to Z65, such as Z63.0 for partner relationship problems and Z59.41 for food insecurity. FY2027 guidelines say social determinant codes are reported as secondary diagnoses only.
Z codes let a claim and a record show the social, family, and life circumstances that shape treatment: housing, employment, relationship conflict, a history of abuse. They do not replace a mental health diagnosis, and payer coverage when a Z code is the only diagnosis is limited.
This page lists the Z codes clinicians use most, with their official FY2027 descriptions and billable status, and summarizes the rules in the FY2027 ICD-10-CM Official Guidelines about who may document them and where they go on the claim.
Common social determinant Z codes (Z55 to Z65)
| Code | Official description (FY2027) | Billable | When it fits |
|---|---|---|---|
| Z55.3 | Underachievement in school | Yes | Education problems affecting care. |
| Z56.0 | Unemployment, unspecified | Yes | Unemployment affecting care. |
| Z56.6 | Other physical and mental strain related to work | Yes | Work stress. |
| Z59.00 | Homelessness unspecified | Yes | Z59.01 sheltered and Z59.02 unsheltered are more specific. |
| Z59.41 | Food insecurity | Yes | The guidelines use this as an example. |
| Z59.869 | Financial insecurity, unspecified | Yes | New in FY2026. Z59.86 is now a heading. |
| Z60.2 | Problems related to living alone | Yes | Only with a documented risk or unmet need. |
| Z60.4 | Social exclusion and rejection | Yes | Exclusion or rejection affecting care. |
| Z62.820 | Parent-biological child conflict | Yes | Parent-child relational problems. |
| Z63.0 | Problems in relationship with spouse or partner | Yes | Partner relationship distress. |
| Z63.4 | Disappearance and death of family member | Yes | Bereavement context. |
| Z63.5 | Disruption of family by separation and divorce | Yes | Separation or divorce. |
| Z65.8 | Other specified problems related to psychosocial circumstances | Yes | Other documented psychosocial problems. |
Can Z codes be the primary diagnosis?
Not the social determinant codes. Section I.B.14 of the FY2027 Official Guidelines says codes for social determinants of health should only be reported as secondary diagnoses. That covers categories Z55 to Z65, which includes Z63.0 and the other relationship codes. The mental health diagnosis being treated goes first.
Other Z codes follow their own rules. The guidelines list a small set of Z codes that may only be first-listed, such as Z04, Encounter for examination and observation for other reasons, and describe counseling Z codes (including Z69 and Z71) used when a client or family member receives counseling for family or social problems. Whether a payer covers a visit with one of these codes listed first is a payer decision, so check the plan.
Who can document social determinant Z codes?
Unlike most diagnoses, social determinant codes do not have to come from the client's provider. The FY2027 guidelines (Section I.C.21.c.17) say they may be assigned from documentation by other clinicians involved in care, such as social workers, community health workers, case managers, or nurses, because this is social information rather than a medical diagnosis. Client self-reported information may also be used if a clinician or provider signs off on it and incorporates it into the record.
Documentation still has to show the problem. The guidelines give an example: living alone supports Z60.2 only when the record shows a risk or unmet need for help at home, not merely that the client lives alone.
Counseling, screening and history Z codes
Section IV.J of the outpatient guidelines says history codes may be used as secondary codes when the past condition affects current care or treatment.
| Code | Official description (FY2027) | Billable | When it fits |
|---|---|---|---|
| Z13.31 | Encounter for screening for depression | Yes | Screening visit. |
| Z69.11 | Encounter for mental health services for victim of spousal or partner abuse | Yes | Counseling Z code (Z69). |
| Z69.010 | Encounter for mental health services for victim of parental child abuse | Yes | Counseling Z code (Z69). |
| Z71.89 | Other specified counseling | Yes | Counseling Z code (Z71). |
| Z73.3 | Stress, not elsewhere classified | Yes | Life management difficulty (Z73), outside Z55 to Z65. |
| Z91.51 | Personal history of suicidal behavior | Yes | History affecting current care. |
| Z91.52 | Personal history of nonsuicidal self-harm | Yes | History affecting current care. |
| Z62.811 | Personal history of psychological abuse in childhood | Yes | Childhood abuse history. |
What changed in Z codes for FY2026 and FY2027?
For FY2026 (effective October 1, 2025), Z59.86, Financial insecurity, became a heading with three billable codes: Z59.861 (difficulty paying for utilities), Z59.868 (other specified) and Z59.869 (unspecified). A claim that still reports Z59.86 is invalid. The FY2027 update (effective October 1, 2026) did not change any of the Z55 to Z65 codes listed on this page; its Z code additions were in other areas, such as exposure and gender transition history codes.
How do Z codes appear on a therapy claim?
A couples session where the identified client has a documented depressive disorder might list F33.1 first and Z63.0 second, with CPT 90847 as the service. A family session addressing parent-child conflict for a child with ADHD might list F90.2 and then Z62.820, billed with 90846 or 90847 depending on whether the child attended. Coverage for relationship-focused work varies, so verify benefits.
What should the session note show?
- The specific social problem in plain words (for example "client reports being unable to pay utilities this month"), not just a code.
- How the problem affects symptoms, treatment, or access to care.
- Who documented it, and for self-report, that a clinician reviewed it and added it to the record.
- The primary mental health diagnosis treated in the session, listed first on the claim.
- Updates when circumstances change, so Z codes are not carried forward after the problem resolves. A GIRP or SOAP note gives each update a home.
Common mistakes
- Listing a social determinant Z code (Z55 to Z65) as the only or first diagnosis on a claim.
- Reporting Z59.86 after FY2026; use Z59.861, Z59.868 or Z59.869.
- Assigning Z60.2 because a client lives alone, without a documented risk or unmet need.
- Carrying old Z codes forward when the circumstance no longer applies.
Frequently Asked Questions
Can Z codes be used as a primary diagnosis?
Social determinant codes (Z55 to Z65) cannot. The FY2027 Official Guidelines say they should only be reported as secondary diagnoses. Some other Z codes, such as Z04, may only be first-listed. Payer coverage for Z-code-only visits varies.
What is Z63.0?
Z63.0 is Problems in relationship with spouse or partner. It is billable but is a social determinant code, so it is reported as a secondary diagnosis.
Can a social worker document Z codes?
Yes. The FY2027 guidelines allow social determinant codes to be assigned from documentation by clinicians who are not the patient's provider, including social workers, community health workers, case managers, and nurses.
Are Z codes billable?
Most Z codes on this page are billable codes, meaning they are valid on a claim. Whether a payer pays for a service with a given Z code is a separate coverage question.
What is the Z code for financial insecurity?
Since FY2026 it is split: Z59.861 for difficulty paying for utilities, Z59.868 for other specified financial insecurity, and Z59.869 for unspecified. Z59.86 is now a heading.
Related references
Sources
- CMS: FY2027 ICD-10-CM code descriptions in tabular order (zip)
- CMS: FY2027 ICD-10-CM code tables, tabular and index (zip)
- CMS and NCHS: ICD-10-CM Official Guidelines for Coding and Reporting, FY2027 (PDF)
- CMS: ICD-10 code files (FY2027 and FY2026 ICD-10-CM)
- CDC NCHS: ICD-10-CM and the ICD-10-CM Browser Tool
Payer rules vary. Confirm diagnosis, coverage, modifier, and documentation rules with each payer before billing. This page is general education, not billing, coding, or legal advice. The diagnosis is the treating clinician's decision.
Draft the session note in SOAP, DAP, or BIRP
WellNotes drafts your session note from what you type or dictate. You choose the diagnosis and codes, and you review every note before it is used.