How to Identify a Nightmare (and What to Do About It)
Source: Willians Huerta / Pexels
You are outside on a clear evening. As you gaze out across the dewy grass, you notice dozens of snakes in the distance, a massive tangle of pythons inexplicably colored neon pink, orange, and green. Just as you spot these gargantuan reptiles, they turn in unison so that every single one of them is looking right at you. They open their mouths, displaying their fangs. And then the pythons writhe in your direction, moving at rapid speed.
Why are you the target? Because you are in a nightmare. Your own nightmare. And you are in the part of the dream right before you wake up in a puddle of your own sweat.
What Is a Nightmare?
Most people have nightmares at some point in their lives, although the frequency and intensity vary by person. Nightmares primarily occur during rapid eye movement (REM) sleep and, therefore, are more likely to occur during the second half of the night, when REM is typically more prevalent. Nightmares are psychologically defined by several main features:
Nightmares have inherently upsetting content. Themes of nightmares often include attempts to avoid death, injury, or violent aggression. Like that neon python dream, they are also commonly bizarre and can involve a sense of helplessness.
Nightmares cause you to wake up from your sleep. If you finish a bad dream and never wake up, it is not technically a nightmare. Because they lead to awakenings, frequent nightmares can be a major impediment to getting long stretches of restorative sleep.
Nightmares bring up intense distress, which can take the form of fear, horror, terror, or other negative emotions. Sometimes, people who wake up from a nightmare are afraid of going back to sleep in case they have another unsettling dream. This can increase physiological arousal in bed and, over time, cause or exacerbate insomnia.
Nightmares can be remembered after waking. If you wake up in distress but cannot remember what happened, your dream is not considered a nightmare by the psychological definition. Nightmares can be recounted in depth by the dreamer afterward—including all the scary, painful details.
Having the occasional nightmare is a normal human experience and does not necessarily mean that you have a psychological disorder. Approximately 3 to 7 percent of people experience frequent nightmares, which can contribute to poor sleep, pervasive negative emotions, and general impaired functioning. Sometimes, nightmares pull from aspects of a past traumatic memory. Having trauma-related nightmares is one of 20 potential symptoms of posttraumatic stress disorder (PTSD), and approximately two-thirds of people with PTSD experience nightmares related to their trauma. However, not all nightmares are related to traumatic memories, and nightmares are underassessed and undertreated in healthcare settings.
A diagnosis of nightmare disorder can be made for people who repeatedly experience nightmares that cause high distress or impede daily functioning. Nightmare disorder can range from mild (less than one nightmare on average per week) to severe (nightmares occurring every night). Although it can be diagnosed on its own, nightmare disorder is often comorbid with mood, anxiety, and psychotic disorders. Nightmare disorder and insomnia disorder can be mutually aggravating: People with insomnia tend to have more negative dream content, and those with nightmare disorder tend to develop dread related to falling asleep.
Can I Stop Having Nightmares?
The good news is that research suggests it is possible to reduce the frequency and intensity of nightmares. Effectively treating nightmares can also improve sleep quality and even reduce symptoms of PTSD, depression, anxiety, and paranoia. Here are some options for improving your dream content, reducing nightmares, and getting better sleep:
Rewrite the ending to the nightmare. As odd as it might sound, the most effective way to stop having repeated nightmares involves making up a new ending to one of your dreams. Image reversal therapy (IRT) is a brief psychotherapy in which patients are led through a process of writing a new, different ending to a nightmare. Patients are encouraged to include as much detail as possible. The new ending can even be bizarre or comical, but usually involves a sense of agency from the dreamer (for example, you might spray those aggressive neon pythons with a firehose and watch them shrink down to earthworms). The patient then rehearses this new, made-up ending in their imagination each night before going to bed—much as an athlete might imagine things going well before a competition. This mental technique creates an “off-road” for the mind to go while dreaming when it starts to head toward a nightmare. IRT has been shown by meta-analyses to be effective for treating trauma-related nightmares and is recommended by the American Academy of Sleep Medicine (AASM) as the first-line treatment for both nightmare disorder and PTSD-related nightmares.
Improve sleep behaviors.Changing unhelpful sleep habits, which is taught through cognitive behavioral therapy for insomnia (CBT-I), can be helpful for reducing nightmares. In addition, cognitive behavioral therapy for nightmares (CBT-N) is an effective nightmare treatment that incorporates both IRT and elements of CBT-I, such as stimulus control and sleep efficiency training.
Seek treatment for co-occurring psychological disorders. IRT or CBT-N should typically be the first treatment to consider when nightmares are the primary area of concern. However, if you have any other mental health diagnoses, treating those conditions may also help minimize nightmares. In particular, an evidence-based trauma treatment (such as cognitive processing therapy, prolonged exposure, or eye movement desensitization and reprocessing) may be helpful for individuals with PTSD to decrease the sense of threat from their surroundings.
Consult a physician about medication options. IRT (which is also included in CBT-N) is the only treatment recommended by the AASM for nightmare disorder or PTSD-related nightmares. It is a psychological treatment that does not require medications. However, AASM does note in their position paper on treatment of nightmare disorder that certain medications, such as prazosin, “may be used.” Be sure to talk to your physician before starting any medication for the purpose of alleviating nightmares.
Nightmares can get in the way of good sleep, bring up negative emotions, and cause a nightly sense of dread. If you are experiencing significant daily distress or impairment from nightmares, seek out a physician, psychologist, or licensed mental health professional to find out if IRT, CBT-N, or another evidence-based treatment may be a good fit for you.
Interested in Cognitive Behavioral Therapy for Nightmares with Image Reversal Therapy (CBT-N/IRT)? Read more about the therapy or get in touch.
Note: A version of this post has been previously published on Dr. Hylton Jean’s Psychology Today Blog, Mapping Your Mental Health Journey.
References
Delage, J. P., Côté, J., Journault, W. G., Lemyre, A., & Bastien, C. H. (2024). The relationships between insomnia, nightmares, and dreams: A systematic review. Sleep Medicine Reviews, 75, 101931. https://doi.org/10.1016/j.smrv.2024.101931
Morgenthaler, T. I., Auerbach, S., Casey, K. R., Kristo, D., Maganti, R., Ramar, K., Zak, R., & Kartje, R. (2018). Position Paper for the Treatment of Nightmare Disorder in Adults: An American Academy of Sleep Medicine Position Paper. Journal of Clinical Sleep Medicine, 14(6), 1041–1055. https://doi.org/10.5664/jcsm.7178
Nadorff, M. R., Nadorff, D. K., & Germain, A. (2015). Nightmares: Under-Reported, Undetected, and Therefore Untreated. Journal of Clinical Sleep Medicine, 11(7), 747–750. https://doi.org/10.5664/jcsm.4850
Pruiksma, K. E., Cranston, C. C., Rhudy, J. L., Micol, R. L., & Davis, J. L. (2018). Randomized controlled trial to dismantle exposure, relaxation, and rescripting therapy (ERRT) for trauma-related nightmares. Psychological Trauma. 10(1), 67–75. https://doi.org/10.1037/tra0000238
Pruiksma, K. E., Miller, K. E., Davis, J. L., Gehrman, P., Harb, G., Ross, R. J., … Peterson, A. L. (2025). An Expert Consensus Statement for Implementing Cognitive Behavioral Therapy for Nightmares in Adults. Behavioral Sleep Medicine, 23(2), 153–171. https://doi.org/10.1080/15402002.2024.2437634
Robert, G., & Zadra, A. (2014). Thematic and content analysis of idiopathic nightmares and bad dreams. Sleep, 37(2), 409–417. https://doi.org/10.5665/sleep.3426
Swart, M. L., van Schagen, A. M., Lancee, J., & van den Bout, J. (2013). Prevalence of nightmare disorder in psychiatric outpatients. Psychotherapy and Psychosomatics, 82(4), 267–268. https://doi.org/10.1159/000343590
American Psychiatric Association. (2022). Diagnostic and Statistical Manual of Mental Disorders (5th ed., text rev.). https://doi.org/10.1176/appi.books.9780890425787.
Sheaves, B., Rek, S., & Freeman, D. (2023). Nightmares and psychiatric symptoms: A systematic review of longitudinal, experimental, and clinical trial studies. Clinical Psychology Review, 100, 102241. https://doi.org/10.1016/j.cpr.2022.102241
Zhang, Y., Ren, R., Vitiello, M. V., Yang, L., Zhang, H., Shi, Y., Sanford, L. D., & Tang, X. (2022). Efficacy and acceptability of psychotherapeutic and pharmacological interventions for trauma-related nightmares: A systematic review and network meta-analysis. Neuroscience and Biobehavioral Reviews, 139, 104717. https://doi.org/10.1016/j.neubiorev.2022.104717