Skip to main content

R45.88 ICD-10-CM Code: Nonsuicidal self-harm

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 883 — DISORDERS OF PERSONALITY AND IMPULSE CONTROL (MDC 19)

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.

Risk Adjustment (CMS-HCC)

Payment categories this diagnosis maps to under CMS-HCC V28, payment year 2026.

  • HCC 155 — Major Depression, Moderate or Severe, without Psychosis

Other models: CMS-HCC V22 HCC 58 · RxHCC V08 HCC 132

Risk scores depend on the enrollee's full accepted diagnosis set and segment; a category mapping alone does not determine payment.

Coding instructions

Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for R45.88 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 R45.88 itself; “inherited from” names the category or block whose note applies here.

Inclusion Terms

Alternative terms the tabular list files under this code.

  • Nonsuicidal self-injury
  • Nonsuicidal self-mutilation
  • Self-inflicted injury without suicidal intent

Excludes2 — Not Included Here

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

Source: inherited from R40-R46

Code Also

Additional codes that may be required to fully describe the encounter.

  • injury, if known

Coder workflow for R45.88

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

Before you code R45.88

  1. Check whether an established diagnosis that explains this sign or symptom is documented. If one is, review whether the documented diagnosis changes the coding pathway: a symptom that is integral to a confirmed diagnosis is not reported separately, while one not routinely associated with it may be. Signs and symptoms are reported when no definitive diagnosis is established (Guidelines I.B.4, I.B.5, I.B.6, I.C.18.b).

    Guide: Symptom code vs confirmed diagnosis →

Choose the right path

  1. Is an established diagnosis that explains this sign or symptom documented?
    Yes → Review whether the documented diagnosis changes the coding pathway: a symptom integral to it is not reported separately.
    No → Continue — the sign or symptom code stands when no definitive diagnosis is established.

Consider R45.88. Then review the Code Also note, and confirm the code is valid for the date of service in the Verify section.

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

Official instructions as workflow

  • Excludes2 — not part of R45.88(1 note)

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

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

  • Code Also — related condition(1 note)

    Coding workflow: Review the related condition when both are documented and the instruction applies. A Code Also note does not fix sequencing; the order follows the circumstances of the encounter.

    See the official tabular notes · Guidelines I.A.17

Coding decision scenarios

Pattern scenarios for this code’s structure — decision rules, not clinical cases

Documentation: The sign or symptom is documented, and the same record establishes a diagnosis that routinely includes it.

Coding question: Is R45.88 reported in addition to the diagnosis?

Path: Review the documented diagnosis and whether the classification treats this finding as integral to it.

Reason: Signs and symptoms integral to a confirmed diagnosis are not coded separately; those not routinely associated with it may be reported when present (Guidelines I.B.5, I.B.6, I.C.18.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

Nonsuicidal self-harm is a billable ICD-10-CM diagnosis code (R45.88).

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 (4)

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.

Verify Before Coding

  • No Medicare Code Editor or MS-DRG Definitions Manual restrictions apply to this code.

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 R45.88 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: F07.0 — Personality change due to known physiological condition (via R45.-).

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

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 883 (MDC 19).

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

Clinical classification (AHRQ CCSR):MBD012 — Suicidal ideation/attempt/intentional self-harm (default); EXT019 — External cause codes: unspecified mechanism; EXT021 — External cause codes: intent of injury, self-harm; INJ027 — Other unspecified injury.

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

Related Codes

Same CMS-HCC risk category (V28)

CMS maps these diagnoses to the same Hierarchical Condition Category (Major Depression, Moderate or Severe, without Psychosis) for risk-adjusted payment.

F32.1 — Major depressive disorder, single episode, moderate, F32.2 — Major depressive disorder, single episode, severe without psychotic features, F33.1 — Major depressive disorder, recurrent, moderate, F33.2 — Major depressive disorder, recurrent severe without psychotic features, T14.91XA — Suicide attempt, initial encounter, T36.0X2A — Poisoning by penicillins, intentional self-harm, initial encounter, T36.1X2A — Poisoning by cephalosporins and other beta-lactam antibiotics, intentional self-harm, initial encounter, T36.2X2A — Poisoning by chloramphenicol group, intentional self-harm, initial encounter, T36.3X2A — Poisoning by macrolides, intentional self-harm, initial encounter, T36.4X2A — Poisoning by tetracyclines, intentional self-harm, initial encounter, T36.5X2A — Poisoning by aminoglycosides, intentional self-harm, initial encounter, T36.6X2A — Poisoning by rifampicins, intentional self-harm, initial encounter, T36.7X2A — Poisoning by antifungal antibiotics, systemically used, intentional self-harm, initial encounter, T36.8X2A — Poisoning by other systemic antibiotics, intentional self-harm, initial encounter, T36.92XA — Poisoning by unspecified systemic antibiotic, intentional self-harm, initial encounter, T36.AX2A — Poisoning by fluoroquinolone antibiotics, intentional self-harm, initial encounter, T37.0X2A — Poisoning by sulfonamides, intentional self-harm, initial encounter, T37.1X2A — Poisoning by antimycobacterial drugs, intentional self-harm, initial encounter, T37.2X2A — Poisoning by antimalarials and drugs acting on other blood protozoa, intentional self-harm, initial encounter, T37.3X2A — Poisoning by other antiprotozoal drugs, intentional self-harm, initial encounter, +350 more

Related risk categories

These categories interact through CMS's HCC hierarchy — one can suppress the other's risk-adjustment weight when both are present on a claim.

Schizophrenia, Psychosis, Except Schizophrenia, Personality Disorders; Anorexia/Bulimia Nervosa, Bipolar Disorders without Psychosis

Same clinical category (CCSR)

AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical categories (Suicidal ideation/attempt/intentional self-harm, External cause codes: unspecified mechanism, External cause codes: intent of injury, self-harm, Other unspecified injury).

O9A.211 — Injury, poisoning and certain other consequences of external causes complicating pregnancy, first trimester, O9A.212 — Injury, poisoning and certain other consequences of external causes complicating pregnancy, second trimester, O9A.213 — Injury, poisoning and certain other consequences of external causes complicating pregnancy, third trimester, O9A.219 — Injury, poisoning and certain other consequences of external causes complicating pregnancy, unspecified trimester, O9A.22 — Injury, poisoning and certain other consequences of external causes complicating childbirth, O9A.23 — Injury, poisoning and certain other consequences of external causes complicating the puerperium, S05.90XA — Unspecified injury of unspecified eye and orbit, initial encounter, S05.91XA — Unspecified injury of right eye and orbit, initial encounter, S05.92XA — Unspecified injury of left eye and orbit, initial encounter, S09.301A — Unspecified injury of right middle and inner ear, initial encounter, S09.302A — Unspecified injury of left middle and inner ear, initial encounter, S09.309A — Unspecified injury of unspecified middle and inner ear, initial encounter, S09.90XA — Unspecified injury of head, initial encounter, S09.91XA — Unspecified injury of ear, initial encounter, S09.92XA — Unspecified injury of nose, initial encounter, S09.93XA — Unspecified injury of face, initial encounter, S19.9XXA — Unspecified injury of neck, initial encounter, S29.9XXA — Unspecified injury of thorax, initial encounter, S39.91XA — Unspecified injury of abdomen, initial encounter, S39.92XA — Unspecified injury of lower back, initial encounter, +415 more

Same Index main term, other category

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

Z81.8 — Family history of other mental and behavioral disorders (history, in family), Z91.51 — Personal history of suicidal behavior (history, suicidal), Z91.52 — Personal history of nonsuicidal self-harm (history, nonsuicidal)

Lab tests where this diagnosis supports Medicare coverage (NCD)

Medicare's National Coverage Determination (NCD) program lists this diagnosis as medical justification for these lab tests.

Thyroid Stimulating Hormone (TSH)

Contextual Map

Every relationship of R45.88 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 R45.88 with this related code in Claim Check

Hierarchy

Referenced by Excludes1 notes

Clinical classification (CCSR)

Risk adjustment (CMS-HCC)

  • HCC 155 — Major Depression, Moderate or Severe, without Psychosis [CMS-HCC]— CMS-HCC V28 · 2026

MS-DRG Grouper

MDC crossing

  • MDC 19 — Mental Diseases and Disorders[MDC crossing]: “Mental Diseases and Disorders — 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.”— CMS MS-DRG Definitions Manual · FY2026

Index entries

  • Injury, self-inflicted, without suicidal intent[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Self-harm (attempted), nonsuicidal[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Self-injury, nonsuicidal[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Self-mutilation (attempted), nonsuicidal[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026

Nearest codes (20)

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
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
Risk adjustment Official source data
2026 Mid-Year Final ICD-10 Mappings + Model Software (cms.gov/files/zip/2026-midyear-final-icd-10-mappings.zip, 2026-midyear-final-model-software.zip) — CMS-HCC V28, PY2026 mid-year final release 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. "R45.88 — Nonsuicidal self-harm." ICD-10-CM FY2026. https://medcoder.ai/icd10/code/r45.88-nonsuicidal-self-harm

Change history

  • FY2022 — October 1, 2021
    Added to the code set
    Nonsuicidal self-harm
    FY2022 changes

Nearest Codes in This Family

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

View all codes in the R45 family