ICD-10-CM 2027
ICD-10 code for psychiatric insomnia
From the official ICD-10-CM alphabetic index entry “Insomnia (organic) › psychiatric”. Page updated September 29, 2026.
About coding psychiatric insomnia
The ICD-10-CM code for psychiatric insomnia is F51.05 (Insomnia due to other mental disorder).
Within F51.0, choose F51.05 (Insomnia due to other mental disorder) only when documentation doesn't support a more specific option: primary insomnia (F51.01), adjustment insomnia (F51.02), Paradoxical insomnia (F51.03), Psychophysiologic insomnia (F51.04) and other insomnia not due to a substance or known physiological condition (F51.09).
It is not a CC or MCC, so as a secondary diagnosis it doesn't change the MS-DRG severity level.
In MS-DRG v44.0, it is part of the grouping logic for DRG 887 (Other Mental Disorder Diagnoses, relative weight 1.1139), in MDC 19 (Mental Diseases and Disorders), as a principal or secondary diagnosis. The DRG a claim lands in depends on the principal diagnosis, procedures and any CC/MCC secondary diagnoses.
Common questions about psychiatric insomnia ICD-10 codes
What is the ICD-10 code for psychiatric insomnia?
- F51.05 — Insomnia due to other mental disorder.
Is F51.05 billable?
- Yes. F51.05 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).
Can F51.05 be used as a principal diagnosis?
- Yes. The Medicare Code Editor doesn't restrict F51.05 as a principal diagnosis.
Is F51.05 a CC or MCC?
- No. F51.05 is neither a CC nor an MCC under MS-DRG v44.0.