Nightmares are ordinary. Most adults have them occasionally; some have them often enough that the anticipation of sleep becomes its own problem. If you’re in the second group, this page is for you: what nightmares are, why they cluster toward morning, which causes are easy to miss, and the one approach with consistent research behind it.
Bad dreams vs. nightmare disorder
Not every disturbing dream is a nightmare in the clinical sense. A bad dream is unpleasant but keeps you asleep. You know it was awful when you wake up naturally, but the dream itself didn’t pull you out. A nightmare does the opposite: it wakes you, usually abruptly, with a clear memory of what happened and a residue of fear, anger, or distress that doesn’t immediately dissolve.
The DSM-5 uses nightmare disorder as the diagnosis when nightmares are recurrent, regularly disruptive to sleep, and causing meaningful distress or functional impairment: missed sleep, dread of bedtime, difficulty concentrating the following day. Most people who read this page won’t meet that clinical threshold, and the approaches here apply regardless of where you fall on that spectrum.
The practical distinction worth knowing: occasional nightmares during periods of high stress are common and usually self-resolving. If nightmares are happening more than once a week, persisting across seasons rather than stress events, or making you genuinely reluctant to sleep, that frequency warrants attention beyond waiting it out.
Why nightmares cluster toward morning
The most common question people have about nightmares is also the most answerable: why do they always seem to strike right before waking, rather than early in the night?
REM sleep, the stage when most vivid and emotionally complex dreaming happens, is heavily back-loaded in the sleep cycle. In your first 90-minute cycle, early in the night, you spend relatively little time in REM. By the third and fourth cycles, in the early morning hours, individual REM periods can extend to forty-five minutes or longer. The dreaming brain in those hours is running longer, more emotionally charged sequences than it ran at midnight.
This is why a nightmare wakes you at 5 a.m. rather than 11 p.m. It’s the same mechanism that explains why the dreams you remember most vividly tend to be the ones you were having when your alarm went off. The architecture of sleep stages concentrates the dream-heavy time precisely in the window where disruption is most noticeable, and where any trigger that intensifies REM does the most damage.
The causes worth checking first
Stress and anxiety are the most cited causes, and they are real: a nervous system that hasn’t fully wound down by bedtime tends to follow you into sleep as emotionally activated dreaming. But stress is also easy to blame when something more specific is the actual driver.
Sleep deprivation
When you consistently get too little sleep, your brain compensates with REM rebound: longer, more intense periods of REM on the nights you do sleep fully. That rebound produces vivid, often disturbing dreams as the backlog clears. If your nightmares are clustered after short-sleep periods, late nights, or travel across time zones, deprivation-driven REM rebound is a likely explanation. The fix is structural: consistent sleep timing, not just more hours on occasional nights.
Alcohol
One of the most commonly missed causes. As covered in detail on our page about alcohol and sleep, alcohol suppresses REM sleep in the first half of the night; as it clears from your system in the second half, REM rebounds hard. The result is a burst of emotionally intense, often distressing dreaming in the small hours, frequently the nightmare that wakes you at 3 or 4 a.m. People who have nightmares on nights they drink, and not on nights they don’t, are often surprised when the connection is pointed out directly.
Medications
Beta-blockers, certain antidepressants, and abrupt discontinuation of medications that suppress REM can all intensify nightmares. If nightmares started or worsened when a medication changed, that connection is worth raising with a prescriber before assuming the dreams are purely psychological.
PTSD and trauma
Trauma-related nightmares often replay elements of the event rather than following a freely associative narrative, and they tend to be more severe and more persistent than nightmares from other causes. They are on the more serious end of the spectrum and are best treated with clinical support, specifically with a therapist trained in imagery rehearsal therapy or cognitive processing therapy, rather than self-directed approaches alone.
Imagery rehearsal therapy
IRT is the technique with the strongest evidence for recurring nightmares, and its logic is simple enough that the self-directed version is genuinely accessible to most people.
The approach was formalized by Barry Krakow and colleagues across the 1990s and 2000s. In a 2001 trial published in JAMA, women with chronic PTSD-related nightmares who received IRT reported significant reductions in nightmare frequency and PTSD severity compared to a control group. Those results have held up across subsequent replications. IRT is now recommended in clinical guidelines for nightmare disorder, and researchers working on chronic nightmare treatment consistently return to it as the strongest starting point.
The core idea is that a nightmare is not an intrusion you have no power over. It is a learned sequence, and learned sequences can be rewritten. IRT works in three steps:
Recall
Write the nightmare down during waking hours: not at 3 a.m. while still distressed, but the next morning, briefly, in enough detail to hold the shape of it. Keeping a dream journal is useful here: the act of writing externalizes the nightmare from something you are inside to something you can look at.
Change
Alter the nightmare in any way you choose. Any element. You don’t have to make it pleasant or resolve it neatly. You don’t have to understand why you’re changing what you’re changing. The change can be small, like a room that is less dark or a presence that becomes neutral, or large. The specific edit matters less than the act of authorship.
Rehearse
Spend five to twenty minutes before sleep mentally running through the new version. Not the original nightmare. The revised one. Do this nightly for at least two weeks.
What makes this more than a relaxation exercise is the rehearsal step. Visualization research suggests that repeatedly imagining an alternative sequence influences how that sequence is retrieved later, which is the same mechanism that makes mental rehearsal effective in athletic training and performance contexts. You are applying it to the script your dreaming brain has been running from.
The audio sample above is the opening of a guided imagery rehearsal: a slow walk to the edge of a dream and into the revised version. The pacing is slower than normal speech because the goal is to reach the same drowsy, threshold state where the original nightmare runs its deepest.
Nightmares are not the only place the subconscious mind processes unresolved emotional material during sleep, but they are the loudest. If nightmares run alongside a broader pattern of rumination before sleep, replaying the day, not being able to put the mind down, the practices on the sleep anxiety page address the waking end of that same loop.
For people curious about how dream modification overlaps with conscious entry into dreaming, lucid dreaming covers the deliberate practice of maintaining awareness inside a dream, a different skill but one that draws on the same capacity for intentional engagement with dream content.
What to do this week
If nightmares are a recent and identifiable problem, started after a stress event, clustered on nights you drank, or appeared after a medication change, address the likely cause first. That is the highest-leverage move and it doesn’t require a two-week practice.
If they’re more chronic or without an obvious trigger, the practical entry point is the smallest version of imagery rehearsal:
Tomorrow morning, write one nightmare down. A paragraph is sufficient. Then change one thing about it. You don’t need to know why you chose that thing. Before sleep tonight, close your eyes and walk through the revised version slowly, for five minutes. That is the whole practice on night one.
The goal for the first two weeks is not to eliminate the nightmare. It’s to restore a sense of agency over it. People who work through imagery rehearsal consistently tend to report that the nightmare changes, becoming less intense, shifting in content, waking them less often, rather than simply stopping. That trajectory is normal and is what the practice is working toward.
How Murmora fits
Murmora’s approach to sleep is built around the same timing IRT uses: a short, specific audio piece at the threshold of sleep, rehearsing the version of the story you want your mind to carry down. The guide voices are available as a starting point if you’d prefer to begin with something other than your own internal narration, and the sparse-whisper format means the practice stays present through the night without keeping you awake.