Most nightmares are not a message, a warning, or a sign that something is broken. They are what happens when you wake up during or immediately after REM sleep, while the emotional part of the dream is still running. The single most reliable predictor of frequent nightmares is not stress alone but fragmented sleep — anything that wakes you repeatedly out of the dreaming stage. That is why nightmares tend to arrive in clusters during the exact life phases when sleep breaks apart: postpartum, perimenopause, illness, grief, and periods of recovering from sleep loss.
That reframe matters, because the most common response to a run of bad dreams is to worry about what they mean. The research points somewhere much more practical: fix the fragmentation, and the nightmares usually settle on their own.
What is actually happening in the brain during a nightmare?
Nightmares happen almost entirely in REM sleep, the stage where the brain is highly active, the emotional centres are turned up, and the body is temporarily paralysed. During normal REM, the brain appears to process emotional experience with the stress chemistry dialled down — a phenomenon Matthew Walker and Els van der Helm described as “overnight therapy” in Psychological Bulletin (Walker & van der Helm, 2009). Difficult material gets revisited in a calmer chemical setting, and some of its sting is removed.
A nightmare is roughly what that process looks like when it does not complete. In the leading neurocognitive model, proposed by Tore Nielsen and Ross Levin in Sleep Medicine Reviews (Nielsen & Levin, 2007), nightmares reflect a temporary failure of the brain’s fear-extinction network during REM. The emotional content gets amplified rather than neutralised, and the intensity is often strong enough to wake you — which is what turns a dream into a remembered nightmare. Dreams you sleep through are simply forgotten.
This is also why remembering more nightmares does not necessarily mean having more of them. If you are waking up five times a night, you are sampling your dream life far more often than someone sleeping straight through. The same logic explains why vivid dreams spike in the same seasons of life.
Why does broken sleep make nightmares worse?
Two mechanisms stack.
The first is REM rebound. When you lose REM sleep — through short nights, alcohol, illness, or a newborn — your brain does not simply skip it. It repays the debt, packing longer and denser REM into subsequent nights. Alcohol is the clearest example: Ebrahim and colleagues, reviewing the evidence in Alcoholism: Clinical and Experimental Research (2013), found that alcohol suppresses REM in the first half of the night and produces a rebound in the second half. That rebound is the 3am vivid-nightmare window that so many people describe after a couple of drinks, and it is covered in more depth in our piece on alcohol and sleep.
The second is timing. REM periods get longer and more emotionally charged as the night goes on, so the bulk of your dreaming happens in the last few hours before waking. Anything that wakes you in that window — a baby, a hot flash, a full bladder, a partner, a 4am cortisol rise — is statistically likely to pull you out of a dream mid-scene. That is the mechanism behind waking at 3am and a big part of why nightmares feel like they cluster in the small hours.
Why are nightmares more common after having a baby?
Postpartum nightmares are extremely common and almost never discussed, which makes them frightening when they happen.
Nielsen and Paquette, publishing in Sleep (2007), studied dream content in pregnant, postpartum, and non-postpartum women. Among postpartum women, a striking majority reported dreams involving their infant in danger — being dropped, lost, smothered, or left behind — and many woke with strong anxiety and even searched the bed for the baby. The rates were substantially higher than in the comparison groups.
Three things drive this:
- Severe sleep fragmentation. Night feeds chop REM into pieces and guarantee frequent awakenings out of dreaming sleep.
- REM rebound from chronic short sleep. The lost REM is being repaid nightly.
- Elevated daytime vigilance. A brain that spends the day scanning for infant risk carries that material into REM, where it becomes dream content.
None of this indicates poor bonding, intrusive-thought disorder, or danger to the baby. It is the predictable output of a hypervigilant brain running on fragmented REM. It typically eases as night sleep consolidates — which is also why addressing the sleep itself, as we cover in postpartum insomnia, tends to do more than analysing the dreams.
That said, if the imagery is persistent, intrusive during the day, or accompanied by low mood or dread that does not lift, that is worth raising with your care provider. Not because nightmares are dangerous, but because it is useful information for someone who can see the whole picture.
Why do nightmares increase in perimenopause?
Women report nightmares more often than men across the lifespan — Schredl and Reinhard’s meta-analysis in Sleep Medicine Reviews (2011) found a consistent gender difference in nightmare frequency, most pronounced in younger and midlife adults. Perimenopause then adds a specific set of fragmenting forces on top.
The SWAN study, reported by Kravitz and colleagues in Sleep (2008), found sleep difficulty rising sharply across the menopausal transition in a large multi-ethnic community sample, with the late transition worst affected. The relevant part for dreams is how that sleep is disturbed: not usually a failure to fall asleep, but repeated awakenings.
Vasomotor symptoms are the main driver. A hot flash or night sweat produces a temperature surge and an arousal, and because REM is the stage where your body’s temperature regulation is at its weakest, these awakenings often land squarely in dreaming sleep. The result is a dream interrupted at its emotional peak, which is the definition of a remembered nightmare. If this is your pattern, night sweats and sleep and perimenopause and sleep cover the underlying mechanics.
What else causes nightmares?
Worth ruling in or out before assuming it is psychological:
- Medications. Beta-blockers, some antidepressants, dopamine agonists, and varenicline are among the drugs with documented nightmare associations, reviewed by Thompson and Pierce in Annals of Pharmacotherapy (1999). Withdrawal from REM-suppressing drugs also causes rebound nightmares. Never stop a prescription on your own — but it is a legitimate thing to raise.
- Alcohol and cannabis, both through REM suppression and rebound.
- Fever and illness, which disrupt thermoregulation and sleep architecture.
- Untreated sleep apnea, which produces repeated REM awakenings. See signs of sleep apnea.
- Acute stress and trauma. Nightmares are one of the more reliable markers of unprocessed emotional load, as Levin and Nielsen documented in Psychological Bulletin (2007), and they overlap heavily with the patterns in anxiety and sleep.
On frequency: Sandman and colleagues, in Sleep (2013), surveyed the Finnish adult population and found roughly 3 to 4 percent reported frequent nightmares. Occasional nightmares, by contrast, are close to universal. A bad week is not a disorder.
What actually helps?
The interventions with real evidence behind them are less mysterious than the problem.
Reduce the awakenings first. Every fix that consolidates sleep — cooler room, stable wake time, treating vasomotor symptoms, managing reflux, addressing apnea, moving alcohol earlier or dropping it — reduces the number of chances you have to wake mid-REM. This is the highest-leverage change and the most overlooked.
Imagery rehearsal therapy (IRT) is the best-supported treatment for recurrent nightmares. You write down the nightmare, rewrite the ending into something neutral or better, and rehearse the new version while awake for a few minutes a day. Krakow and Zadra described the protocol in Behavioral Sleep Medicine (2006), and the American Academy of Sleep Medicine’s position paper on nightmare disorder, published by Morgenthaler and colleagues in the Journal of Clinical Sleep Medicine (2018), recommends it as a first-line approach. It is brief, drug-free, and does not require reliving the original dream.
Protect the last third of the night where you can. That is where most REM lives. For new parents this may be a matter of trading one stretch of protected sleep with a partner rather than dividing the night evenly.
Do not treat the content as a verdict. Dream content reflects what your brain has been rehearsing, not what will happen or what you secretly want. Treating it as prophecy adds anxiety, and anxiety adds arousals, and arousals add nightmares.
The calm version
Nightmares are mostly a fragmentation story, not a psychology story. If you are waking repeatedly — from a baby, a hot flash, a drink, a medication — you are sampling your dreaming brain far more often than someone sleeping through, and the dreams you catch are the intense ones. Steady the nights and the dreams usually quiet down on their own. Mendtide watches your night-to-night patterns and shows you which nights were fragmented and what was likely behind it, so you can work on the sleep rather than interrogate the dream.
A nightmare is not a message about who you are. It is a dream you happened to wake up inside of.