2027 ICD-10-CM Diagnosis Code F51.5Nightmare disorder
ICD-10-CM Codes›F01–F99›F50-F59›F51
- Billable — Valid for Submission
- Chronic Condition
F51.5 is a billable ICD-10-CM diagnosis code for nightmare disorder. 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 dream disorder. 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.
- Dream disorder
- Dreaming/nightmare under general anesthesia
- Nightmare disorder
- Nightmares
- Nightmares associated with chronic post-traumatic stress disorder
- Unpleasant dream
Instructional NotesGuidance
Instructions from the official ICD-10-CM Tabular List that apply to F51.5: its own notes plus those printed at 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.
- Dream anxiety disorder
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.
- 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.5, its category, or a range that includes it.
Excludes2 3
These codes carry an Excludes2 note naming F51.5: its condition is not part of those codes, and both may be reported when the patient has both.
- G47 Sleep disordersnightmares (F51.5)
- 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
Index to Diseases and InjuriesGuidance
Alphabetical index entries that point to this code.
Disorder (of) See Also: Disease;
dream anxiety F51.5
nightmare F51.5
nightmares F51.5
Clinical ClassificationClinical
AHRQ’s CCSR groups this code into broader clinical categories.
Clinical InformationClinical
Nightmare Disorder
a sleep disorder characterized by the repeated occurrence of frightening dreams which precipitate awakenings from sleep; on awakening, the individual becomes fully alert and oriented and has detailed recall of the nightmare, which usually involves imminent danger or extreme embarrassment to the individual.
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.5 to ICD-9-CMHistory
The closest ICD-9-CM equivalents under the General Equivalence Mappings.
Code HistoryHistory
Questions About F51.5Overview
What is the ICD-10 code for nightmare disorder?
The ICD-10-CM code for nightmare disorder is F51.5 (sometimes written as F515). It is billable on HIPAA-covered claims from October 1, 2026 through September 30, 2027.
Is F51.5 a billable code?
Yes. This is a billable ICD-10-CM code, specific enough to report nightmare disorder on HIPAA-covered claims from October 1, 2026 through September 30, 2027.
What MS-DRG does F51.5 group to?
When nightmare disorder 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.5?
Under the General Equivalence Mappings, nightmare disorder converts to ICD-9-CM 307.47 (sleep stage dysfunc NEC). The mapping is approximate, so confirm the match fits the documentation.