BillingBrief

Home / ICD-10-CM diagnosis codes

F51.05 Insomnia due to other mental disorder

ICD-10-CM · CMS code reference

F51.05 is insomnia the provider links to another mental disorder, rather than to a substance or a known physiological condition.

What to know

  • Code also the associated mental disorder, so both the insomnia and the mental disorder it is linked to are coded.

Coding notes

From the ICD-10-CM FY2027 (effective October 1, 2026) tabular list. Notes on a parent code or category apply here too.

Excludes2

Not part of this code, but both can be coded when both are documented.

  • 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.-)

Code also

A second code may be needed. Sequencing depends on the encounter.

  • associated mental disorder

Related codes

Common questions

Is F51.05 a billable code?

Yes. F51.05 is a billable ICD-10-CM code in the ICD-10-CM FY2027 (effective October 1, 2026) code set.

Educational reference only. Not medical, legal, or billing advice. Always check the current official code set and payer policy before you bill. About BillingBrief and our sources.