BillingBrief

Home / ICD-10-CM diagnosis codes

F51.01 Primary insomnia

ICD-10-CM · CMS code reference

F51.01 covers primary insomnia, including insomnia the provider documents as idiopathic. Insomnia linked to another mental disorder has its own code, F51.05.

Coding notes

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

Also covers

  • Idiopathic insomnia

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

Related codes

Common questions

Is F51.01 a billable code?

Yes. F51.01 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.