2026 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 2026 (October 1, 2025 through September 30, 2026). Coders also document this condition as dream anxiety 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 anxiety disorder
- Dream disorder
- Dreaming/nightmare under general anesthesia
- Nightmares
- Nightmares associated with chronic post-traumatic stress disorder
- Unpleasant dream
Tabular List NotesGuidance
Coding notes and annotation back-references applicable to this code.
Inclusion Terms
- Dream anxiety disorder
These terms are the conditions for which that code is to be used. The terms may be synonyms of the code title, or, in the case of "other specified" codes, the terms are a list of the various conditions assigned to that code. The inclusion terms are not necessarily exhaustive. Additional terms found only in the Alphabetic Index may also be assigned to a 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
- Nightmares (REM sleep type) - F51.5
External Cause of Injuries IndexGuidance
References for this code in the External Cause of Injuries Index.
- Disorder(of)
- dream anxiety
- Disorder(of)
- nightmare
- Disorder(of)
- sleep
- nightmares
- Nightmares(REM sleep type)
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
Sleep is a complex biological process. While you are sleeping, you are unconscious, but your brain and body functions are still active. They are doing a number of important jobs that help you stay healthy and function at your best. So when you don't get enough quality sleep, it does more than just make you feel tired.
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
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, 2025 through September 30, 2026.
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.
Footnotes
[1] Chronic - a chronic condition code indicates a condition lasting 12 months or longer and its effect on the patient based on one or both of the following criteria:
- The condition results in the need for ongoing intervention with medical products,treatment, services, and special equipment
- The condition places limitations on self-care, independent living, and social interactions.
