F51.05

Insomnia due to other mental disorder

FY2027Chapter 5: Mental, Behavioral and Neurodevelopmental disorders/F50–F59 Behavioral syndromes associated with physiological disturbances and physical factors

BillableComplete code, valid to report

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.

This code
  • associated mental disorder

Excludes2

Not included here. Both codes may be reported if the patient has both conditions.

Inherited from F51.0 Insomnia not due to a substance or known physiological condition
Inherited from F51 Sleep disorders not due to a substance or known physiological condition
  • organic sleep disorders (G47.-)
Also from chapter/block level (1 note)
Inherited from Chapter 5 Mental, Behavioral and Neurodevelopmental disorders
  • 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, 2026

IPF Primary

IPF MS-DRG adjustment. A principal diagnosis of this code groups to this MS-DRG:

MS-DRGDescriptionFactor
887Other mental disorder diagnoses1.00
A principal diagnosis that groups to none of the 19 designated MS-DRGs gets no MS-DRG adjustment. Otherwise the claim still receives the federal per diem base rate and the other adjustments.

Source: CMS IPF PPS FY 2027 final rule (CMS-1847-F), Addendum A; code lists from the CMS MS-DRG Definitions Manual v44; effective for discharges on or after October 1, 2026

Includes

Further defines or gives examples of the content of the category.

Also from chapter/block level (1 note)
Inherited from Chapter 5 Mental, Behavioral and Neurodevelopmental disorders
  • disorders of psychological development

Alphabetic Index terms

Terms the official Alphabetic Index lists for this code. 5 entries