ICD-10-CM Code for History of Suicidal Ideation
The ICD-10-CM code for a history of suicidal ideation is Z91.5 (Personal history of self-harm).
Code Selection and Clinical Context
The appropriate code depends on whether you're documenting current versus past suicidal ideation:
- Current suicidal ideation: Use R45.851 (Suicidal ideation)
- History of suicidal ideation (resolved, not currently present): Use Z91.5 (Personal history of self-harm)
Important Coding Considerations
The distinction between active and historical suicidal ideation is clinically critical. Research demonstrates that R45.81 (suicidal ideation) accounts for approximately 79% of suicide and self-harm-related emergency department presentations when using standard ICD-10 coding 1. However, this represents only current, active ideation.
Common Coding Pitfalls
- Do not use R45.851 for past suicidal ideation - this code indicates current, active thoughts requiring immediate clinical assessment
- Z91.5 encompasses broader self-harm history - this includes past suicidal ideation, suicide attempts, and non-suicidal self-injury
- Standard ICD-10 codes significantly underreport suicidality - detecting less than half of actual presentations in some healthcare systems 1
Related Codes You May Need
Depending on the clinical scenario, consider these additional codes:
- T14.91 (Suicide attempt) - for history of actual attempts
- X60-X84 series - for specific methods of intentional self-harm (historical)
- Y87.0 - Sequelae of intentional self-harm
Clinical Documentation Tips
When documenting history of suicidal ideation, specify:
- Time frame (when the ideation occurred)
- Whether there were associated suicide attempts
- Current mental status and absence of active ideation
- Any ongoing psychiatric treatment or monitoring
This documentation clarity helps distinguish patients with resolved historical ideation from those requiring acute suicide risk assessment, which research shows involves evaluation across multiple domains including self-directed violence history, psychiatric conditions, and social determinants of health 2.