Skip to main content

Z59.02 ICD-10-CM Code: Unsheltered homelessness

Billing Status: YES. This is a valid, specific, and billable ICD-10-CM reference.

Coding at a Glance

Inpatient Payment Groups (MS-DRG)

Potential MS-DRG participation — not a DRG assignment.

MS-DRGs this diagnosis helps define, as principal or secondary, per the CMS ICD-10-CM/PCS MS-DRG Definitions Manual v43, Appendix B.

  • MS-DRG 951 — OTHER FACTORS INFLUENCING HEALTH STATUS (MDC 23)

A diagnosis appearing in a group's logic does not by itself determine the DRG assigned to a stay; the grouper uses the full claim.

Coding instructions

Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for Z59.02 in the official ICD-10-CM tabular list, quoted as published.

Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2026Effective: October 1, 2025

Notes without a marker are published on Z59.02 itself; “inherited from” names the category or block whose note applies here.

Inclusion Terms

Alternative terms the tabular list files under this code.

  • Lives in a homeless encampment
  • Residing in place not meant for human habitation such as: abandoned buildings, cars, parks, sidewalk
  • Residing on the street

Excludes2 — Not Included Here

Conditions not covered by this code, but which may be reported alongside it when both are present.

Source: inherited from Z59

Coder workflow for Z59.02

MedCoder structured workflow — derived from this code’s own official record

Before you code Z59.02

  1. Confirm the reason for the encounter this Z code records: the circumstance it records. Check whether the code may be reported as first-listed or principal — some Z codes are limited to one position — and do not report a history or status code for a condition documented as current. Z code categories and their reporting positions (Guidelines I.C.21.c, I.C.21.c.15).

    Guide: Z codes as principal or first-listed diagnosis →

Documentation check

The provider’s diagnostic statement
Codes are assigned from the provider’s documented diagnosis, not from clinical criteria, test values or a medication list (Guidelines I.A.19).
The reason for the encounter
Whether the code records the encounter’s purpose, a status, or a history — and whether it may be first-listed (Guidelines I.C.21.c).

Official instructions as workflow

  • Excludes2 — not part of Z59.02(1 note)

    Coding workflow: The conditions named in this note are not included in Z59.02. When the record documents both, both may be reported; the note is a boundary, not a prohibition.

    CompareZ62

    See the official tabular notes · Guidelines I.A.12.b

Every row is derived from this code’s own record — its title, tabular notes, 7th-character family and same-category siblings — with fixed MedCoder wording; nothing is inferred about a patient. The official notes and guideline text are in the sections each row links to, and they control.

Code Overview

Unsheltered homelessness is a billable ICD-10-CM diagnosis code (Z59.02).

MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.

Indexed Clinical Terms (6)

Official source data — entries quoted as published, in the Index’s own lookup phrasing

Clinical term phrases from the official ICD-10-CM Index to Diseases and Injuries that map to this code. These are alphabetic-index entries shown as the Index writes them — lookup phrasing, not necessarily the wording of a final diagnosis.

Official Coding Guidelines

Official source data — quoted verbatim from the CMS/NCHS Official Guidelines

Official source data — quoted verbatim from the CMS/NCHS Official Guidelines

Verbatim excerpts from the ICD-10-CM Official Guidelines for Coding and Reporting (CMS/NCHS) that govern this code.

Chapter 21: Factors influencing health status and contact with health services (Z00-Z99)

indicating the patient is experiencing homelessness would support assignment of a code from subcategory Z59.0-, Homelessness.

Chapter 21: Factors influencing health status and contact with health services (Z00-Z99)

Social determinants of health codes are located primarily in these Z code categories: Z55 Problems related to education and literacy Z56 Problems related to employment and unemployment Z57 Occupational exposure to risk factors Z58 Problems related to physical environment Z59 Problems related to housing and economic circumstances Z60 Problems related to social environment Z62 Problems related to upbringing Z63 Other problems related to primary support group, including family circumstances Z64 Problems related to certain psychosocial circumstances Z65 Problems related to other psychosocial circumstances See Section I.B.14. Documentation by Clinicians Other than the Patient's Provider.

Verify Before Coding

  • Principal-diagnosis restriction. The Medicare Code Editor lists this code as unacceptable as a principal diagnosis: it describes a circumstance influencing health status rather than a current illness or injury being treated. It is valid as a secondary diagnosis.

From the code registry, the Medicare Code Editor, and the MS-DRG Definitions Manual. Check it against a full claim in Claim Check.

Relationships & Classification

MedCoder structured relationships — computed from published CMS and AHRQ datasets

Other codes that name Z59.02 or its code family, from the CMS ICD-10-CM tabular instructional notes. Tabular-note edges are stored at the code family level that carries each note.

Referenced by 1 Excludes1 note: Z76.4 — Other boarder to healthcare facility (via Z59.0.-).

These codes’ tabular lists mark this diagnosis as mutually exclusive — not reported together unless the conditions are documented as unrelated.

Referenced by 4 Excludes2 notes: Z56 — Problems related to employment and unemployment (via Z59.-), Z62 — Problems related to upbringing (via Z59.-), Z72 — Problems related to lifestyle (via Z59.-), Z73 — Problems related to life management difficulty (via Z59.-).

These codes’ tabular lists name this diagnosis as distinct — both may be reported when both are documented.

MS-DRG Grouper Relationships (FY2026)

Potential MS-DRG participation — not a DRG assignment.

FY2026 MS-DRG: not on the CMS CC/MCC list — as a secondary diagnosis this code does not change MS-DRG severity for that release.

Named in the grouper logic of 1 MS-DRG: DRG 951 (MDC 23).

From the CMS MS-DRG Definitions Manual (Appendices B and C). Actual DRG assignment depends on the complete claim.

Clinical classification (AHRQ CCSR):FAC019 — Socioeconomic/psychosocial factors.

Clinical Classifications Software Refined (CCSR) for ICD-10-CM Diagnoses. Healthcare Cost and Utilization Project (HCUP), Agency for Healthcare Research and Quality.

Related Codes

Principal diagnosis restriction (Medicare Code Editor)

Not acceptable as a principal diagnosis on an inpatient claim.

Same clinical category (CCSR)

AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical category (Socioeconomic/psychosocial factors).

Z57.6 — Occupational exposure to extreme temperature, Z57.7 — Occupational exposure to vibration, Z57.8 — Occupational exposure to other risk factors, Z57.9 — Occupational exposure to unspecified risk factor, Z58.6 — Inadequate drinking-water supply, Z58.81 — Basic services unavailable in physical environment, Z58.89 — Other problems related to physical environment, Z59.0 — Homelessness, Z59.00 — Homelessness unspecified, Z59.01 — Sheltered homelessness, Z59.1 — Inadequate housing, Z59.10 — Inadequate housing, unspecified, Z59.11 — Inadequate housing environmental temperature, Z59.12 — Inadequate housing utilities, Z59.19 — Other inadequate housing, Z59.2 — Discord with neighbors, lodgers and landlord, Z59.3 — Problems related to living in residential institution, Z59.4 — Lack of adequate food, Z59.41 — Food insecurity, Z59.48 — Other specified lack of adequate food, +102 more

Same Index main term, other category

The ICD-10-CM Index to Diseases and Injuries files this code under the main terms “Person”, “Lack of”; these codes share that main term but sit in a different category of the Tabular List.

R62.59 — Other lack of expected normal physiological development in childhood (development, specified type NEC), R62.7 — Adult failure to thrive (development, failure to thrive, adult), R63.0 — Anorexia (appetite), T73.1 — Deprivation of water (water), T74.02 — Child neglect or abandonment, confirmed (care, of infant, confirmed), T76.02 — Child neglect or abandonment, suspected (care, of infant), Z00.6 — Encounter for examination for normal comparison and control in clinical research program (admitted for clinical research, as a control subject), Z55.3 — Underachievement in school (achievement in school), Z58.6 — Inadequate drinking-water supply (safe drinking water), Z58.81 — Basic services unavailable in physical environment (basic services in physical environment), Z60.2 — Problems related to living alone (living, alone), Z60.8 — Other problems related to social environment (emotional support), Z62.0 — Inadequate parental supervision and control (supervision of child by parent), Z62.898 — Other specified problems related to upbringing (play experience in childhood), Z63.6 — Dependent relative needing care at home (sick or handicapped in family), Z71.0 — Person encountering health services to consult on behalf of another person (consulting on behalf of another), Z72.3 — Lack of physical exercise (physical exercise), Z72.820 — Sleep deprivation (sleep), Z73.2 — Lack of relaxation and leisure (relaxation), Z74.2 — Need for assistance at home and no other household member able to render care (care, in home), +17 more

Contextual Map

Every relationship of Z59.02 in one view: hierarchy, official tabular instructions in both directions, clinical classification, risk adjustment, MS-DRG participation, index terms and change history — each edge carrying the CMS source it derives from.

Run Z59.02 with these 5 related codes in Claim Check

Hierarchy

Referenced by Excludes1 notes

Referenced by Excludes2 notes

Clinical classification (CCSR)

MS-DRG Grouper

MDC crossing

  • MDC 23 — Factors Influencing Health Status and Other Contacts with Health Services[MDC crossing]: “Factors Influencing Health Status and Other Contacts with Health Services — the grouper's crossing between diagnoses and procedures: a principal diagnosis sets the MDC, and same-MDC procedures move the stay to its surgical DRGs. 1,235 same-MDC procedures group here; browse them on the MDC page.”— CMS MS-DRG Definitions Manual · FY2026

Index entries

  • Homelessness, unsheltered[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Lack of, shelter[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Lives in a homeless encampment[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Person (with), living (in), without, shelter[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Residing, in place not meant for human habitation (abandoned building) (car) (park) (sidewalk)[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Residing, on the street[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026

Nearest codes (32)

Change history

Sources for this page

Codes, titles, notes, index terms and mappings on this page are transcribed from the datasets below. Relationships MedCoder computed and text MedCoder wrote are labelled where they appear.

Code, title, tabular notes and index terms Official source data
CMS/CDC ICD-10-CM FY2026 tabular list, index and tables, effective October 1, 2025 Release, file and checksum · Publisher’s page
Coding guidelines Official source data
ICD-10-CM Official Guidelines for Coding and Reporting (FY2026), quoted by section Release, file and checksum · Publisher’s page
Claim edits Official source data
CMS Definitions of Medicare Code Edits — v43.1 (April 2026) Release, file and checksum · Publisher’s page
Inpatient payment groups Official source data
CMS MS-DRG Definitions Manual (incl. Appendix B diagnosis index, Appendix C CC/MCC list, Appendix E procedure index) and IPPS Final Rule tables — v43 Release, file and checksum · Publisher’s page
Change history and date-of-service validity Official source data
CMS ICD-10-CM release addenda, ingested release by release into the change ledger Release, file and checksum · Publisher’s page
Comparisons, relationships and the contextual map MedCoder structured relationship
Computed by MedCoder from the tabular notes and tables above; every derived relationship is marked as derived where it appears
Summary and FAQ answers MedCoder explanation
Written by MedCoder to explain the sources above: drafted with AI assistance, checked by a person against the release files, and labelled as MedCoder text where it appears. Not official text.

Labels on this page: Official source data · MedCoder structured relationship · MedCoder explanation. How to read the labels · All data sources and release dates

Cite this page

Reference this page in a research guide, syllabus or article. The release is included because code content changes each year.

MedCoder.ai. "Z59.02 — Unsheltered homelessness." ICD-10-CM FY2026. https://medcoder.ai/icd10/code/z59.02-unsheltered-homelessness

Change history

  • FY2022 — October 1, 2021
    Added to the code set
    Unsheltered homelessness
    FY2022 changes

Nearest Codes in This Family

Official ICD-10-CM classifications closest to Z59.02 in its code family, with their registry titles.

View all codes in the Z59 family