Why fear rehearses itself at 4am
Nightmares occur mostly in REM sleep, which is concentrated in the second half of the night — which is why they cluster toward morning. Occasional nightmares are completely normal. When they are frequent and distressing, that is a recognised condition with effective treatments — notably imagery rehearsal therapy, which has good support and is worth asking a clinician about.
Why the small hours
REM periods lengthen as the night progresses, so the vivid, narrative, emotionally-charged dreaming is concentrated toward the end. A 4am nightmare is not a message about 4am — it is simply where the REM is.
What drives them up
- Stress and anxiety — the clearest everyday driver.
- Sleep deprivation — leads to REM rebound, where REM returns more intensely once you finally sleep. Ironically, fearing sleep produces more vivid dreams.
- Alcohol withdrawal after drinking (REM suppressed, then rebounding).
- Some medications — a real and common cause. Never stop or change a prescribed medication because of a website — but do mention nightmares to your doctor, because it is a recognised side effect of several drug classes and there may be options.
A well-supported approach for chronic nightmares: while awake, you write out the recurring nightmare, rewrite the ending into something neutral or empowering, and rehearse the new version mentally in the daytime. Over weeks, the rewritten script tends to displace the original. It is not a trick — it is a recognised therapy, and it is best done with a clinician, particularly where trauma is involved.
Nightmares are frequent, distressing, or connected to a trauma; if you are afraid to go to sleep; if you act out dreams physically (this can be a sign of a treatable sleep disorder and is worth a prompt medical review); or if the distress spills into your days. Recurrent trauma nightmares are treatable, and PTSD is treatable — please speak to a doctor or therapist. You do not have to simply endure this.
Keep going
More from this wing: all 8 pages · related: why we forget, the Dream Decoder, anxiety.
Frequently asked
Why do nightmares happen in the early morning?
What causes frequent nightmares?
How do you stop recurring nightmares?
Sources & further reading
- REM sleep concentrates in the later part of the night, which is why vivid dreams and nightmares tend to occur toward morning (sleep architecture, Stickgold 2005). Sleep architecture ↗
- Imagery rehearsal therapy (IRT) is the best-supported, Level-A treatment for chronic nightmares — rewrite the nightmare’s ending and rehearse it while awake (Krakow RCT, JAMA 2001). Krakow et al., JAMA 2001 ↗
- On IRT as first-line clinical management for chronic nightmares (Krakow & Zadra). IRT clinical management ↗
Not medical advice. Educational content only. Always consult a qualified clinician about your own sleep, health, or medication. Last reviewed July 2026.