Skip to main content

Z65.1 ICD-10-CM Code: Imprisonment and other incarceration

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

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.

Coder workflow for Z65.1

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

Before you code Z65.1

  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).

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

Imprisonment and other incarceration is a billable ICD-10-CM diagnosis code (Z65.1).

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)

See Section I.B.14. for Z55-Z65 Persons with potential health hazards related to socioeconomic and psychosocial circumstances, documentation by clinicians other than the patient’s provider

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

For social determinants of health classified to chapter 21, such as information found in categories Z55-Z65, Persons with potential health hazards related to socioeconomic and psychosocial circumstances, code assignment may be based on medical record documentation from clinicians involved in the care of the patient who are not the patient’s provider since this information represents social information, rather than medical diagnoses. For example, coding professionals may utilize documentation of social information from social workers, community health workers, case managers, or nurses, if their documentation is included in the official medical record.

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 Z65.1 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 2 Excludes2 notes: Z72 — Problems related to lifestyle (via Z65.-), Z73 — Problems related to life management difficulty (via Z65.-).

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).

Z63.31 — Absence of family member due to military deployment, Z63.32 — Other absence of family member, Z63.4 — Disappearance and death of family member, Z63.5 — Disruption of family by separation and divorce, Z63.6 — Dependent relative needing care at home, Z63.71 — Stress on family due to return of family member from military deployment, Z63.72 — Alcoholism and drug addiction in family, Z63.79 — Other stressful life events affecting family and household, Z63.8 — Other specified problems related to primary support group, Z63.9 — Problem related to primary support group, unspecified, Z64.0 — Problems related to unwanted pregnancy, Z64.1 — Problems related to multiparity, Z64.4 — Discord with counselors, Z65.0 — Conviction in civil and criminal proceedings without imprisonment, Z65.2 — Problems related to release from prison, Z65.3 — Problems related to other legal circumstances, Z65.4 — Victim of crime and terrorism, Z65.5 — Exposure to disaster, war and other hostilities, Z65.8 — Other specified problems related to psychosocial circumstances, Z65.9 — Problem related to unspecified psychosocial circumstances, +102 more

Same Index main term, other category

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

Z63.1 — Problems in relationship with in-laws (in-law), Z63.5 — Disruption of family by separation and divorce (marital, involving, divorce), Z63.6 — Dependent relative needing care at home (medical, care, within family), Z63.72 — Alcoholism and drug addiction in family (alcoholism in family), Z63.79 — Other stressful life events affecting family and household (presence of sick or disabled person in family or household), Z63.8 — Other specified problems related to primary support group (family, specified NEC), Z63.9 — Problem related to primary support group, unspecified (family), Z64.0 — Problems related to unwanted pregnancy (unwanted pregnancy), Z64.1 — Problems related to multiparity (multiparity), Z64.4 — Discord with counselors (counselor), Z71.1 — Person with feared health complaint in whom no diagnosis is made (none), Z72.0 — Tobacco use (life-style, tobacco use), Z72.4 — Inappropriate diet and eating habits (life-style, inappropriate eating habits), Z72.51 — High risk heterosexual behavior (life-style, high-risk sexual behavior), Z72.52 — High risk homosexual behavior (life-style, high-risk sexual behavior, homosexual), Z72.53 — High risk bisexual behavior (life-style, high-risk sexual behavior, bisexual), Z72.6 — Gambling and betting (life-style, gambling), Z72.89 — Other problems related to lifestyle (life-style, specified NEC), Z72.9 — Problem related to lifestyle, unspecified (life-style), Z73.89 — Other problems related to life management difficulty (life-management, specified NEC), +89 more

Contextual Map

Every relationship of Z65.1 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 Z65.1 with these 2 related codes in Claim Check

Hierarchy

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

  • Conviction, anxiety concerning (legal), with imprisonment[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Imprisonment, anxiety concerning[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Incarceration, incarcerated, prison, anxiety concerning[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Problem (with) (related to), conviction in legal proceedings, with imprisonment[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Problem (with) (related to), imprisonment or incarceration[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Problem (with) (related to), legal, imprisonment[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026

Nearest codes

Change history

  • FY2016 — In the code set at ICD-10-CM adoption [Change history]— CMS release files (code change ledger) · icd10cm-fy2016

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. "Z65.1 — Imprisonment and other incarceration." ICD-10-CM FY2026. https://medcoder.ai/icd10/code/z65.1-imprisonment-and-other-incarceration

Change history

  • FY2016 — October 1, 2015
    In the code set at ICD-10-CM adoption
    Imprisonment and other incarceration

No changes since FY2016 — additions, deletions, description changes and billable-status changes are tracked through FY2027 (effective October 1, 2026), and none are recorded for this code. Note changes are tracked from FY2027 only.

Nearest Codes in This Family

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

View all codes in the Z65 family