2027 ICD-10-CM Diagnosis Code F51.01Primary insomnia
ICD-10-CM Codes›F01–F99›F50-F59›F51
- Billable — Valid for Submission
- Chronic Condition
F51.01 is a billable ICD-10-CM diagnosis code for primary insomnia. It is valid on HIPAA claims for fiscal year 2027 (October 1, 2026 through September 30, 2027) and groups to MS-DRG 887. Coders also document this condition as hypersomnia of non-organic origin. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Sleep wake disorders.
Code Identity
Code Classification
Approximate SynonymsGuidance
Alternate terms and clinical phrases that map to this code.
- Hypersomnia of non-organic origin
- Nonorganic insomnia
- Non-organic sleep disorder
- Primary insomnia
Instructional NotesGuidance
Instructions from the official ICD-10-CM Tabular List that apply to F51.01: its own notes plus those printed at F51.0, F51, and Chapter 5. A note printed at a category, block or chapter applies to every code under it.
Includes
Further defines, or gives examples of, the content of the category.
- disorders of psychological development
Applicable To
Conditions this code is used for: synonyms of the title or, for "other specified" codes, the conditions assigned to it. The list is not exhaustive.
- Idiopathic insomnia
Excludes2
Not included here: the excluded condition is not part of this code, but a patient may have both, so both codes may be reported.
- 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.-)
Source: CMS ICD-10-CM Tabular List. How to read instructional notes.
Referenced in Other NotesGuidance
Instructional notes printed at other codes that name F51.01, its category, or a range that includes it.
Excludes1 1
These codes carry an Excludes1 note naming F51.01: they are not reported together with it, unless the two conditions are unrelated.
Excludes2 6
These codes carry an Excludes2 note naming F51.01: its condition is not part of those codes, and both may be reported when the patient has both.
- G47.0 Insomniaidiopathic insomnia (F51.01)
- G47.0 Insomniaprimary insomnia (F51.01)
- F98 Other behavioral and emotional disorders with onset usually occurring in childhood and adolescencesleep disorders not due to a substance or known physiological condition (F51.-) names F51.-, which includes this code
- G47 Sleep disordersnonorganic sleep disorders (F51.-) names F51.-, which includes this code
- G47.0 Insomniainsomnia not due to a substance or known physiological condition (F51.0-) names F51.0-, which includes this code
- G47.0 Insomnianonorganic insomnia (F51.0-) names F51.0-, which includes this code
Index to Diseases and InjuriesGuidance
Alphabetical index entries that point to this code.
idiopathic F51.01
nonorganic origin F51.01
not due to a substance or known physiological condition F51.01
primary F51.01
Clinical ClassificationClinical
AHRQ’s CCSR groups this code into broader clinical categories.
Clinical InformationClinical
Primary Insomnia
a sleep disorder characterized by difficulty initiating or maintaining sleep; this difficulty does not occur in the context of another sleep disorder and is not etiologically linked to a mental disorder, substance use, or a general medical condition.
Patient EducationClinical
Sleep Disorders
While you are sleeping your brain and body functions are still active. Sleep is a natural process that helps your body restore energy, supports learning and memory, and keeps you healthy.
The full article covers:
- What is sleep?
- What are sleep disorders?
- What causes sleep disorders?
- What are the symptoms of sleep disorders?
- How are sleep disorders diagnosed?
- What are the treatments for sleep disorders?
Read the full article at MedlinePlus
Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.
Convert F51.01 to ICD-9-CMHistory
The closest ICD-9-CM equivalents under the General Equivalence Mappings.
Code HistoryHistory
Questions About F51.01Overview
What is the ICD-10 code for primary insomnia?
The ICD-10-CM code for primary insomnia is F51.01 (sometimes written as F5101). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.
Is F51.01 a billable code?
Yes. This is a billable ICD-10-CM code, specific enough to report primary insomnia on HIPAA-covered claims from October 1, 2026 through September 30, 2027.
What MS-DRG does F51.01 group to?
When primary insomnia is the principal diagnosis on an inpatient stay, it groups to MS-DRG 887 (other Mental Disorder Diagnoses), which carries a relative weight of 1.1154. Higher weights mean higher Medicare reimbursement.
What is the ICD-9 equivalent of F51.01?
Under the General Equivalence Mappings, primary insomnia converts to ICD-9-CM 307.42 (persistent insomnia). The mapping is approximate, so confirm the match fits the documentation.