Nightmares: Why They Happen and How They Differ From Night Terrors

A nightmare does something ordinary dreams rarely manage: it breaks through sleep, wakes you fully, and leaves the story behind.

You may wake with your heart racing and the room still carrying the emotional weight of what just happened. The threat is gone, yet the fear has not caught up. Unlike a vague dream that dissolves in seconds, a nightmare can remain unusually detailed—who was there, what went wrong, and the exact moment escape became impossible.

Nightmares are strongly negative dreams that typically wake the dreamer and can be recalled afterward. Fear is common, but it is not the only emotion: anger, grief, disgust, helplessness, shame, and intense frustration can also drive the awakening. Occasional nightmares are common. The puzzle is why the sleeping brain can create an experience vivid enough to feel urgent while it is happening.

What Makes a Dream a Nightmare?

Everyday language uses bad dream and nightmare almost interchangeably. Research often draws a narrower line: a bad dream is unpleasant, while a nightmare becomes intense enough to wake the sleeper. A two-week dream-log study used that distinction, defining nightmares by awakening and unpleasant dreams by negative emotion whether or not sleep ended.

That definition explains why nightmares are usually remembered more clearly. Awakening provides an immediate bridge into waking memory. A disturbing dream that continues without an awakening may disappear before morning, even if it felt just as intense inside the dream.

Nightmares also tend to have an organized narrative. The threat develops, the dreamer tries to respond, and the emotional pressure rises until waking interrupts the scene. The content may be bizarre, but the emotion usually has a recognizable logic: danger cannot be escaped, something important is lost, a responsibility cannot be met, or control keeps slipping away.

Do Nightmares Only Happen During REM Sleep?

Most ordinary nightmares are associated with REM sleep, especially during the later part of the sleep period when REM episodes become longer. REM supports vivid imagery, rapid emotional shifts, and elaborate dream narratives, making it a natural setting for memorable nightmares.

At least post-traumatic nightmares are not exclusively a REM phenomenon. A sleep study of people with post-traumatic nightmares recorded recalled episodes arising from both REM and lighter NREM sleep. Of the 24 nightmares that could be assigned to a stage, 10 arose from REM and 14 from N1 or N2. The result shows that post-traumatic nightmares can cross sleep-stage boundaries; whether the same distribution applies to nightmares more broadly is less certain.

This distinction matters when comparing nightmares with night terrors. Night terrors are not elaborate dreams that became more frightening. They are a different kind of sleep event arising from incomplete arousal out of deep NREM sleep.

Nightmares vs Night Terrors

Nightmares compared with night terrors Two stacked panels compare nightmares and night terrors by timing, sleep stage, behavior, awakening, and memory afterward. Nightmare or night terror? Nightmare Usually later in the sleep period Most often linked with REM sleep The person wakes fully and quickly Movement is usually limited The dream can often be described Fear follows a remembered story Night terror Usually early in the sleep period Arises from deep NREM sleep The person is difficult to awaken Screaming or movement may occur Confusion is common during the event Little or no story is remembered One is a remembered dream. The other is an incomplete awakening.

During a nightmare, the sleeper usually wakes, becomes alert, and can explain what frightened them. During a night terror, the person may sit up, scream, breathe rapidly, or push someone away while remaining partly asleep and difficult to console. They may appear terrified without having a detailed dream story to report afterward.

Timing also differs. Night terrors usually arise from N3 deep sleep during the first part of the sleep period. Nightmares appear more often later, when REM is more abundant. An updated review of sleep terrors emphasizes the same practical contrast: nightmares produce clearer awakening and recall, while sleep terrors involve stronger motor and autonomic behavior with incomplete arousal.

Why Do Nightmares Happen?

There is no single established purpose behind every nightmare. One influential explanation treats dreaming as part of emotional memory processing: sleep reactivates material carrying emotional importance and places it into new combinations. A nightmare may occur when the threat remains too intense, the emotional network keeps reactivating, or the dream fails to reach a less distressing resolution.

The affective network dysfunction model proposes that chronic nightmares involve hyperarousal and difficulty modifying fear memories during dreaming. It is a model rather than a settled explanation, but it helps account for why stress, anxiety, and trauma are closely associated with frequent nightmares without reducing every nightmare to a hidden trauma.

Stress can influence both frequency and content. After the 1989 Loma Prieta earthquake, a study of college students near the affected area found nightmare frequency at roughly twice the level reported by a comparison group in another state. Waking concerns do not replay as literal recordings, but emotionally important events can alter what the dreaming brain keeps returning to.

Nightmares also have non-psychological triggers. Clinical reviews of nightmare disorder describe links with sleep deprivation and disrupted sleep, illness or fever, some medications, alcohol or other substances, and withdrawal—especially from drugs that suppress REM sleep. Other psychiatric and sleep conditions can contribute as well. A sudden change may therefore reflect a changed body, schedule, medication, or substance pattern rather than a hidden emotional message.

What Do Common Nightmare Themes Mean?

Being chased, attacked, trapped, injured, failing at something important, losing someone, or arriving too late are common themes. A large online study of nightmare themes found that nightmares included many emotions and topics, with pursuit, physical aggression, and death or injury involving close people among the recurring categories.

Shared themes do not create a universal dictionary. A chase dream does not prove that every dreamer is “running away from a problem,” and falling does not carry one fixed message. The same image can be attached to completely different waking concerns. What tends to transfer most reliably is the emotional structure—threat, helplessness, failure, loss of control—rather than a secret symbolic translation.

Why Do Some Nightmares Repeat?

A nightmare can return as an almost identical scene or as a family of dreams built around the same emotional problem. The location and characters may change while the pattern survives: escape never works, help never arrives, or the dreamer is always one step too late.

Repetition may reflect a stable sensitivity combined with current stress. A longitudinal study found that previous nightmare frequency predicted later frequency more strongly than current symptoms alone, supporting a diathesis–stress pattern: some people are more prone to nightmares, and stressful periods amplify that tendency.

The dedicated guide to recurring dreams looks more closely at why the same narrative or emotional structure can reappear across months or years.

When a Nightmare Changes the Rest of the Night

The dream may end at awakening, but its effect can continue. The body is alert, the room feels unsafe for a moment, and returning to sleep may mean approaching the same dream again. Frequent nightmares can therefore reduce sleep through both the awakening itself and the reluctance to fall back asleep.

When Is It Nightmare Disorder?

An occasional nightmare is not a disorder. The clinical boundary is repeated, well-remembered nightmares that cause significant distress or impairment—such as sleep avoidance, persistent difficulty returning to sleep, daytime fatigue, reduced concentration, or disruption to mood and daily life. The same clinical review emphasizes that frequency alone is not enough; the waking consequences matter. Persistent nightmares, a sudden major increase, or dangerous nighttime behavior are reasons to discuss the pattern with a qualified healthcare professional.

That is different from simply having vivid dreams. Vividness describes intensity and detail; a nightmare adds strong negative emotion and usually an awakening. The guide to vivid dreams separates those experiences.

Protecting enough sleep opportunity cannot guarantee a peaceful dream, but it prevents one awakening from squeezing an already short night even further. The free Sleep Calculator can estimate a realistic sleep window using your usual sleep-onset time and overnight awakenings.

The Next Distinction to Understand

The easiest way to separate the two experiences is to ask what happened after the fear appeared. A nightmare ends with a person awake enough to remember the dream. A night terror unfolds while the person remains caught between deep sleep and waking, often with dramatic behavior and very little recall.

What It All Comes Down To

Nightmares are remembered emotional events, not meaningless flashes and not automatic messages from a symbolic codebook. They often arise during REM-rich parts of sleep; post-traumatic nightmares have also been recorded in lighter NREM sleep. Their themes tend to organize around threat, loss, failure, and helplessness because those emotions are powerful enough to wake the dreamer.

Night terrors look more dramatic from the outside, yet nightmares leave the clearer story inside. Continue with the night-terrors guide, or browse the Sleep section for more on dreams, REM sleep, unusual nighttime experiences, and sleep quality. Cognitive Train’s brain tests and wider collection of cognitive training tools explore the waking memory and attention systems that determine what remains after a dream ends.