Skip to content

F51.01 ICD-10-CM Code: Primary insomnia

ICD-10-CM Code View

HCC Buddy Code Card

Digital ICD-10 code-book layout with official code detail, always-visible risk models, Code Trumping, and Buddy coding guidance.

FY 2026 Apr update / Mental, Behavioral and Neurodevelopmental disorders (F01-F99) / Behavioral syndromes associated with physiological disturbances and physical factors (F50-F59)

F51.01

Billable / SpecificICD-10-CMOfficial ICD-10-CMCodebook guidance

Primary insomnia

Primary insomnia is persistent difficulty falling asleep, staying asleep, or getting restful sleep that is not caused by another medical condition, medication, or mental health disorder.

CMS-HCC V28

0

0

RAF 0

CMS-HCC V24

0

0

RAF 0

ACA/HHS

0

0

RAF 0

ESRD/PACE

0

0

RAF 0

RXHCC

0

0

RAF 0

Code Trumping

Basket needed

Code Book Path

Official
F51Sleep disorders not due to a substance or known physiological condition
F51.0Insomnia not due to a substance or known physiological condition
F51.01Primary insomnia

Inclusion Terms

Official
  • Idiopathic insomnia

Excludes 2

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

Related Child Codes

Official
F51.02Adjustment insomnia
F51.03Paradoxical insomnia
F51.04Psychophysiologic insomnia
F51.05Insomnia due to other mental disorder
F51.09Other insomnia not due to a substance or known physiological condition

Includes

Official

ICD-10-CM does not list Includes notes for F51.01 in this effective period.

Excludes 1

Official

ICD-10-CM does not list Excludes 1 notes for F51.01 in this effective period.

Code First

Official

ICD-10-CM does not list Code First sequencing instructions for F51.01 in this effective period.

Use Additional

Official

ICD-10-CM does not list Use Additional Code instructions for F51.01 in this effective period.

Code Also

Official

ICD-10-CM does not list Code Also instructions for F51.01 in this effective period.

Buddy Documentation Tip

HCC Buddy guidance
Verify that insomnia is not secondary to another condition (sleep apnea, pain, depression); if secondary, code the underlying condition instead
Document the duration (typically at least 3 months) and frequency of sleep disturbance to support the diagnosis

Last updated: FY2026 ICD-10-CM Apr update, Apr 1, 2026 through Sep 30, 2026. CMS-HCC V28 is 100% phased in for payment year 2026.

Is F51.01 an HCC code?

No. F51.01 is a billable ICD-10-CM code but does not map to any HCC category in V28, V24, ESRD, or RxHCC.

This code does not map to an HCC category in any model (V28, V24, ESRD, RxHCC).

What This Code Means

F51.01 is the ICD-10-CM diagnosis code for primary insomnia. Primary insomnia is persistent difficulty falling asleep, staying asleep, or getting restful sleep that is not caused by another medical condition, medication, or mental health disorder. F51.01 sits in the ICD-10-CM chapter for mental, behavioral and neurodevelopmental disorders (f01-f99), within the section covering behavioral syndromes associated with physiological disturbances and physical factors (f50-f59).

F51.01 is a billable ICD-10-CM code but does not map to a payment HCC under the CMS-HCC V28, V24, ESRD, or RxHCC risk adjustment models. It can be reported on Medicare Advantage encounter data submissions but it does not contribute to a beneficiary's RAF score and therefore does not affect risk-adjusted payments to the plan.

Verify that insomnia is not secondary to another condition (sleep apnea, pain, depression); if secondary, code the underlying condition instead.

HCC Buddy maintains structured V28 and V24 mapping, RAF weights, and MEAT documentation criteria for F51.01 sourced directly from the CMS-HCC risk adjustment model files and the CMS ICD-10-CM code set.

Coding Tips

  • Verify that insomnia is not secondary to another condition (sleep apnea, pain, depression); if secondary, code the underlying condition instead
  • Document the duration (typically at least 3 months) and frequency of sleep disturbance to support the diagnosis

Child Codes

Code Hierarchy

Work F51.01 in HCC Buddy

Open F51.01 in the Code Book for the full Index-to-Tabular path, MEAT checklist, and V28 HCC mapping, or in the Encoder to code from a keyword search. Pro includes 14 days to try everything.