ICD-10-CM 2027
ICD-10 code for chronic insomnia
From the official ICD-10-CM alphabetic index entry “Insomnia (organic) › chronic”. Page updated September 29, 2026.
About coding chronic insomnia
The ICD-10-CM code for chronic insomnia is F51.04 (Psychophysiologic insomnia). The official index lists 1 more specific code, so check the documentation for details such as type, cause, site or severity before settling on F51.04.
Within F51.0 (insomnia not due to a substance or known physiological condition), F51.04 is specifically for Psychophysiologic insomnia. Related codes cover primary insomnia (F51.01), adjustment insomnia (F51.02), Paradoxical insomnia (F51.03), insomnia due to other mental disorder (F51.05) 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.
More specific chronic insomnia codes (official index)
- somatized tension F51.04 — Psychophysiologic insomnia
Common questions about chronic insomnia ICD-10 codes
What is the ICD-10 code for chronic insomnia?
- F51.04 — Psychophysiologic insomnia. More specific codes apply when the documentation supports them: F51.04.
What is the ICD-10 code for somatized tension chronic insomnia?
- F51.04 — Psychophysiologic insomnia.
Is F51.04 billable?
- Yes. F51.04 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).
Can F51.04 be used as a principal diagnosis?
- Yes. The Medicare Code Editor doesn't restrict F51.04 as a principal diagnosis.
Is F51.04 a CC or MCC?
- No. F51.04 is neither a CC nor an MCC under MS-DRG v44.0.