Skip to content

Suicidal Ideation ICD-10 Codes (R45.851) and Risk Documentation

How to code suicidal ideation (R45.851), suicide attempt (T14.91), and nonsuicidal self-harm (R45.88) for therapy claims, plus C-SSRS screening and the risk documentation payers expect.

Last updated: 9 min read

Suicidal ideation is one of the most consequential things a therapist codes and one of the most frequently miscoded. The code itself, R45.851, is straightforward. What trips clinicians up is everything around it: that it is a symptom code and rarely belongs in the primary position, that it cannot be reported alongside a suicide attempt for the same encounter, and that a claim carrying it is expected to be backed by documented risk assessment. This guide covers the codes, the sequencing rules, and what a defensible risk note contains.

If you or someone you are with is in crisis, call or text 988 to reach the Suicide & Crisis Lifeline in the United States, available 24/7. This page is a coding and documentation reference for clinicians, not clinical guidance for a person at risk.


Quick Reference: Suicide and Self-Harm Codes

Code Description Notes
R45.851 Suicidal ideations Current ideation; billable; usually a secondary code
R45.850 Homicidal ideations The other half of the R45.85 pair
R45.88 Nonsuicidal self-harm Self-injury WITHOUT suicidal intent (NSSI)
T14.91XA Suicide attempt, initial encounter Seventh character required; XD subsequent, XS sequela
Z91.51 Personal history of suicidal behavior Past behavior, not current ideation
Z91.52 Personal history of nonsuicidal self-harm Past NSSI

R45.85 is not billable. The header R45.85 (homicidal and suicidal ideations) requires a fifth character. Submit R45.851 for suicidal ideation or R45.850 for homicidal ideation. Plain R45.85 will be rejected for insufficient specificity.


R45.851: Suicidal Ideation

The short answer: the ICD-10-CM code for suicidal ideation is R45.851.

When to use: the client currently reports thoughts of suicide. The code covers the entire severity range, from a passive wish to be dead through active ideation with a specific plan and intent. There is no separate code for passive versus active ideation, and no severity specifier built into the code, which is precisely why the severity has to live in your documentation.

What the code does not tell the reader: frequency, intensity, duration, whether a plan or intent is present, access to means, or what you did about it. A payer or auditor reading R45.851 on a claim learns only that ideation was present. Everything that justifies your clinical decisions has to be in the note.


Why R45.851 Is Rarely the Primary Code

This is the most common sequencing error on therapy claims that involve suicide risk.

R45.851 lives in Chapter 18 of ICD-10-CM, the chapter for symptoms, signs, and abnormal findings. ICD-10-CM guidelines direct you not to report a symptom code as the principal diagnosis when a related definitive diagnosis has been established. In outpatient psychotherapy there is nearly always an established disorder driving the ideation, so:

  • Code the underlying disorder first — for example F33.1 (major depressive disorder, recurrent, moderate).
  • Add R45.851 as a secondary code to capture the current risk picture.

Leading with R45.851 tends to read as an incomplete workup and invites documentation requests. The narrow exception is an encounter where ideation is genuinely the presenting problem and no definitive diagnosis has yet been established, such as an initial contact that has not progressed to a diagnostic formulation.

Practical rule: if you can name the disorder, that disorder is your primary code and R45.851 rides second. Pair them on every claim where risk is a live clinical issue, because dropping R45.851 understates acuity and weakens the case for the level of care you are providing.


Coding a Suicide Attempt (T14.91)

A suicide attempt is coded T14.91, and the code requires a seventh character:

  • T14.91XA — initial encounter
  • T14.91XD — subsequent encounter
  • T14.91XS — sequela

The X is a placeholder filling the sixth position so the seventh character lands where the code structure expects it. Plain T14.91 is not billable.

Excludes1: do not code ideation and attempt together. ICD-10-CM places an Excludes1 note between R45.85 and T14.91. Excludes1 means "not coded here" — the two are not reported together for the same encounter. If the client attempted suicide at this encounter, code the attempt, not the ideation.

For outpatient therapists, T14.91XD and T14.91XS come up more often than the initial encounter code, since the initial encounter is usually an emergency department or inpatient contact. When you pick up a client after a recent attempt, the subsequent-encounter code plus the underlying disorder is the usual construction.


Nonsuicidal Self-Harm (R45.88)

R45.88 covers nonsuicidal self-harm, including nonsuicidal self-injury and self-mutilation — self-injury where suicidal intent is absent.

Intent is the entire distinction between R45.88 and R45.851, and intent is a clinical judgment that has to appear in your note. "Client reports cutting" does not tell a reader which code is correct. "Client reports cutting to relieve emotional tension, denies suicidal intent" does.

Both codes can appear together when both are genuinely present — a client who self-injures without suicidal intent and separately reports suicidal thoughts is accurately described by R45.88 and R45.851 together, provided your documentation supports each.


History Codes: Z91.51 and Z91.52

Z codes describe the past and add risk context to a current presentation:

  • Z91.51 — personal history of suicidal behavior
  • Z91.52 — personal history of nonsuicidal self-harm

A prior attempt is among the strongest predictors of future risk, so carrying Z91.51 on a claim is not bookkeeping — it is part of how the record shows why you are monitoring risk as closely as you are.

Current and historical codes coexist without conflict. A client with an attempt three years ago who reports current ideation is coded R45.851 (current ideation) plus Z91.51 (history), alongside the underlying disorder. The Excludes1 restriction applies to R45.85 and T14.91, not to the Z codes.


Common Code Pairings

Code Pairing Description Notes
F33.1 + R45.851 Recurrent major depression, moderate, with suicidal ideation The most common outpatient pairing
F32.2 + R45.851 Single-episode severe depression with suicidal ideation Severity in the F code, risk in the R code
F43.10 + R45.851 PTSD with suicidal ideation Common in trauma presentations
F60.3 + R45.88 Borderline personality disorder with nonsuicidal self-harm Use R45.88, not R45.851, when intent is not suicidal
F31.4 + R45.851 Bipolar I, depressed, severe, with suicidal ideation Code the mood episode first
F33.1 + R45.851 + Z91.51 Current ideation with a prior attempt History code adds risk context

Screening With the C-SSRS

The Columbia Suicide Severity Rating Scale (C-SSRS), developed by Kelly Posner and colleagues at Columbia University and validated in 2011, is the instrument most widely used to structure suicide risk screening. It is used across primary care, specialty mental health, research, and institutional settings, and the screener version requires no mental health training to administer.

Several versions exist. The Baseline/Screening version assesses ideation and behavior over the lifetime and a defined recent period; the Since Last Visit version is designed for every subsequent contact after an initial administration, which makes it the practical fit for ongoing psychotherapy.

The scale rates ideation severity on five levels:

Level Ideation Notes
1 Wish to be dead Passive ideation
2 Nonspecific active suicidal thoughts General thoughts of killing oneself, no method
3 Active ideation with any method, no intent to act Method considered, intent absent
4 Active ideation with some intent to act, no specific plan Intent present
5 Active ideation with specific plan and intent Highest ideation severity

Behavior is rated separately from ideation, covering actual, interrupted, and aborted attempts, preparatory acts, and nonsuicidal self-injurious behavior. That separation is what makes the instrument useful for coding: the behavior items are where the R45.88 versus R45.851 distinction gets settled, and where a prior attempt supporting Z91.51 surfaces.

Why this matters for your documentation: a C-SSRS level recorded at each visit converts risk from a narrative impression into a tracked variable. "Client denies SI" repeated across twelve notes shows a payer nothing. A documented movement from level 4 to level 1 over the same span shows treatment working. The same logic applies to symptom measures generally — see measurement-based care in therapy.


Risk Assessment Documentation

R45.851 is read closely by payers and, in the event of an adverse outcome, by attorneys. A defensible risk note at an encounter where ideation is present should capture:

Characteristics of the ideation: frequency, intensity, duration, and whether it is passive or active, rather than a bare "endorses SI."

Plan, intent, and means: whether a plan exists, whether intent to act is present, and whether the client has access to means — each stated explicitly, including when the answer is no.

Protective factors: reasons for living, supports, treatment engagement, future orientation.

Risk formulation: your clinical judgment of risk level and the reasoning behind it, not just the label.

Interventions taken: safety planning, means restriction counseling, contacts with supports or other providers, changes to session frequency.

Level-of-care decision: why outpatient treatment remains appropriate, or what higher level of care you arranged.

Follow-up: when you will next see the client and what would change that interval.

The gap auditors find most often is a claim carrying R45.851 with a progress note that mentions suicidal thoughts but records no assessment of plan, intent, or means, and no statement of what the clinician did in response. The code asserts that risk was present; the note has to show it was evaluated and addressed.


Frequently Asked Questions

What is the ICD-10 code for suicidal ideation?
The ICD-10-CM code for suicidal ideation is R45.851. It is billable and covers thoughts of suicide across the full severity range, from a passive wish to be dead through active ideation with plan and intent. The parent code R45.85 is a non-billable header and will be rejected; it requires a fifth character, either R45.850 (homicidal ideations) or R45.851 (suicidal ideations).
Can R45.851 be billed as a primary diagnosis?
Usually not. R45.851 sits in Chapter 18, the signs and symptoms chapter, and ICD-10-CM guidelines direct you not to use a symptom code as the principal diagnosis when a related definitive diagnosis has been established. In outpatient therapy there is almost always an underlying disorder driving the ideation, so code that disorder first (for example F33.1 for recurrent moderate major depression) and add R45.851 as a secondary code to capture current risk.
Do I code suicidal ideation and a suicide attempt together?
No, not for the same encounter. ICD-10-CM places an Excludes1 note between R45.85 and T14.91 (suicide attempt), and Excludes1 means the two conditions are not reported together. If the client attempted suicide at this encounter, code the attempt (T14.91 with the required seventh character) rather than the ideation.
What is the ICD-10 code for a suicide attempt?
A suicide attempt is T14.91, which requires a seventh character: T14.91XA for the initial encounter, T14.91XD for a subsequent encounter, and T14.91XS for sequela. The X is a placeholder that fills the sixth position, so the seventh character lands correctly. Plain T14.91 is not billable.
What is the difference between R45.88 and R45.851?
R45.88 is nonsuicidal self-harm, which covers self-injury without suicidal intent, including nonsuicidal self-injury and self-mutilation. R45.851 is suicidal ideation. Intent is what separates them, so your note needs to state the intent you assessed rather than leaving the reader to infer it. Where both are genuinely present, both can be coded.
When do I use Z91.51 instead of R45.851?
Z91.51 is personal history of suicidal behavior and describes the past, not the present. Use R45.851 for ideation the client currently reports and Z91.51 for a prior attempt or prior suicidal behavior that is relevant to current risk. A client with an attempt three years ago who reports current ideation gets both codes: R45.851 for the present ideation and Z91.51 for the historical context. Z91.52 is the parallel code for a history of nonsuicidal self-harm.
Does billing R45.851 require documented risk assessment?
In practice, yes. R45.851 is a code payers and auditors read closely, and a claim carrying it is expected to be backed by a risk assessment at that encounter. Document the characteristics of the ideation, whether plan, intent, or access to means are present, protective factors, what you did about it including any safety planning, and the level-of-care decision you reached.

Suicide risk coding comes down to four habits: specify the fifth character, keep R45.851 in the secondary position behind the disorder driving it, respect the Excludes1 between ideation and attempt, and make sure the note behind the code shows a real risk assessment.

Related Resources