F51.05
Insomnia due to other mental disorder
F51.05 (also written F5105) is a billable ICD-10-CM diagnosis code for insomnia due to other mental disorder. It is part of the FY2027 code set, effective October 1, 2026. It is one of the 15 codes in category F51 (Sleep disorders not due to a substance or known physiological condition). The Alphabetic Index lists it under 5 entries. Its coding notes include a Code also instruction and 8 Excludes2 entries.
Code also
Two codes may be needed to describe the condition. This note gives no sequencing order.
- associated mental disorder
Excludes2
Not included here. Both codes may be reported if the patient has both conditions.
- alcohol related insomnia (F10.182, F10.282, F10.982)
- drug-related insomnia (F11.182, F11.282, F11.982, F13.182, F13.282, F13.982, F14.182, F14.282, F14.982, F15.182, F15.282, F15.982, F19.182, F19.282, F19.982)
- insomnia NOS (G47.0-)
- insomnia due to known physiological condition (G47.0-)
- organic insomnia (G47.0-)
- sleep deprivation (Z72.820)
- organic sleep disorders (G47.-)
Also from chapter/block level (1 note)
- symptoms, signs and abnormal clinical laboratory findings, not elsewhere classified (R00-R99)
Care settings
How CMS programs treat this code. These are CMS claim edits and list entries, not coverage or eligibility rules.
Home Health Primary
Accepted as the primary (principal) diagnosis on a home health claim. The Home Health Grouper assigns it to the Behavioral Health clinical group.
Source: CMS Home Health Grouper Software v07.2.26, effective October 1, 2026IPF Primary
IPF MS-DRG adjustment. A principal diagnosis of this code groups to this MS-DRG:
| MS-DRG | Description | Factor |
|---|---|---|
| 887 | Other mental disorder diagnoses | 1.00 |
Includes
Further defines or gives examples of the content of the category.
Also from chapter/block level (1 note)
- disorders of psychological development
Alphabetic Index terms
Terms the official Alphabetic Index lists for this code. 5 entries