Dreams remain one of the least settled topics in sleep science. Researchers do not have a single accepted answer for why we dream, but they do know that dreaming is tightly linked to REM sleep, memory replay, emotional processing, and the brain’s tendency to build narratives from internally generated activity. What follows is the part science can defend: where dreams show up in the sleep cycle, what functions they may serve, and what research on lucid dreaming, nightmares, and sleep loss actually suggests.
When Do We Dream?
Dreams occur primarily during REM sleep, though lighter dream experiences can also appear in NREM sleep. During REM, the brain can be nearly as active as it is during waking life while the body enters a state of atonia that suppresses voluntary movement. One useful description of REM is a mind without a body: intense neural activity combined with blocked motor output.
REM sleep dominates the second half of the night. The first sleep cycle, roughly 90 minutes, contains relatively little REM; later cycles contain longer REM periods that can stretch to 20-30 minutes. That is why cutting sleep from eight hours to six does not just remove two hours evenly. It disproportionately removes late-night REM, where much of vivid dreaming and emotional processing is concentrated.
What Happens in the Brain During Dreams
Neuroimaging has given researchers a partial map of dream-state brain activity. Horikawa et al. reported that patterns in the visual cortex could be used to decode broad features of dream imagery above chance, suggesting that dream imagery follows recognizable neural signatures rather than pure random noise. [1]
During REM sleep, the prefrontal cortex involved in critical evaluation and self-monitoring is less active than it is during waking life. At the same time, emotional and visual systems can remain highly active. That combination helps explain why bizarre dream scenes can feel perfectly coherent while they are happening: the systems generating imagery and emotion are active, while the systems that normally question the logic are muted.
Older models such as the activation-synthesis hypothesis framed dreams as the cortex building a story out of internally generated signals during REM. Later work complicated that picture by showing that dreaming does not appear to come from a single source. The more defensible conclusion is that dreams reflect multiple overlapping systems: visual imagery, memory replay, emotional salience, and narrative construction.
Theories on the Function of Dreams
Emotional Processing
One major theory is that REM sleep helps reprocess emotionally important experiences. During REM, memories may be replayed in a neurochemical environment with far less norepinephrine than during waking stress. That may allow the brain to revisit emotional content without reproducing the full intensity of the original experience. It is one reason sleeping on a problem often changes how threatening or overwhelming it feels the next day.
Memory Consolidation
Another theory focuses on memory consolidation. Sleep is not passive downtime after learning. During sleep, the hippocampus and cortex appear to replay and reorganize recently encoded information. That replay may help explain why dream narratives often blend fragments of recent experience with older memories, and why sleep after studying improves retention compared with staying awake.
Threat Simulation
Threat simulation theory proposes that dreaming serves as a rehearsal space for danger. Across cultures, negative and threatening dream content is common, which is consistent with the idea that the sleeping brain simulates problems, conflict, or risk in a low-cost environment. The theory is difficult to prove directly, but it remains one of the more influential evolutionary accounts of why dreams skew negative.
Creativity and Novel Associations
REM sleep also appears to support remote associative thinking. Because waking-style top-down control is reduced, the brain can connect distantly related ideas more freely than it typically does during focused daytime thinking. That does not mean every dream is meaningful, but it does help explain why sleep can improve creative problem-solving and why some people wake with unusually original links between ideas. [3]
Lucid Dreaming: What Science Actually Knows
Lucid dreaming is the state of recognizing that you are dreaming while the dream is still in progress. It is not just a pop-culture claim. Keith Hearne and, later, Stephen LaBerge helped establish lucid dreaming as a measurable phenomenon by using pre-arranged eye-movement signals made from within REM sleep. [2]
EEG and related studies suggest lucid dreaming is neurologically distinct from ordinary REM sleep. Compared with non-lucid REM, lucid dreams involve greater activation in regions associated with self-awareness and metacognition. That is why lucid dreaming is often described as a hybrid state: the imagery and emotional intensity of dreaming combined with a partial return of reflective awareness. [5]
Lucid dreaming can be trained, although success rates vary widely. One evidence-backed method is the Mnemonic Induction of Lucid Dreams protocol: wake after several hours of sleep, stay awake briefly, then return to sleep while actively rehearsing the intention to recognize the dream state. Dream journaling and repeated reality checks during the day are also commonly used because they improve recall and the ability to notice oddities inside dreams.
Population surveys in the article’s source material suggest that lucid dreaming is not rare as a one-time experience, but regular lucid dreaming is much less common. Clinical interest is strongest in nightmare treatment. For some people with recurrent nightmares, techniques that change the dream script during waking hours, including imagery rehearsal approaches, can reduce nightmare frequency and distress. [4]
Nightmares, PTSD, and Failed Emotional Processing
Nightmares illustrate what happens when dream processing does not bring relief. In post-traumatic stress disorder, REM sleep may not produce the usual reduction in emotional charge. Traumatic memories can be replayed without enough dampening, leaving them as raw as the original event rather than gradually integrated.
This helps explain why PTSD nightmares often do not fade on their own. Treatments such as imagery rehearsal therapy and, in some cases, prazosin have been studied because they aim to change the emotional or neurochemical conditions under which nightmares recur.
For people without PTSD, recurring stress-related nightmares are often addressed more indirectly. Improving overall sleep quality, reducing pre-sleep arousal, and using CBT-I style habits can lower nightmare frequency over time.
Dream Journaling: Evidence and Practice
Dream recall fades quickly after waking. Much of the content can disappear within minutes unless it is recorded. That is why dream journals work: they do not change dream biology directly, but they train recall by capturing material before it evaporates.
From a practical standpoint, dream journaling can also reveal recurring emotional themes. That does not mean dreams are mystical messages. It reflects the fact that emotionally important material is more likely to be reactivated during sleep. Over time, patterns in dream content can point to concerns that are still active in waking life.
For lucid dreaming, journaling is especially useful because recall and pattern recognition are prerequisites for recognizing the dream state while it is happening. Most practical advice in the article points in the same direction: record immediately upon waking, before checking your phone or getting pulled into the day. Even fragments are worth writing down because they often cue fuller recall.
Sleep Deprivation and Dream Loss
When sleep is shortened, REM is disproportionately sacrificed. That matters because late sleep cycles are especially REM-heavy. Losing those cycles does not just reduce total sleep time. It cuts into the phase most associated with vivid dreaming, emotional calibration, and some forms of memory integration.
The article’s source material repeatedly makes the same practical point: a person sleeping six hours instead of eight can lose far more REM than the raw difference suggests because the final cycles of the night are where REM accumulates. In practical terms, protecting the last 90 minutes of sleep is often more valuable than people assume.
Research on short sleep and long-term outcomes has linked consistently reduced sleep duration with worse cognitive and health outcomes later in life. The mechanisms are not limited to dreaming, but dream loss is one visible sign that sleep architecture has been compressed. If you want better dream recall, fewer nightmare spillovers, or simply better sleep quality, the most reliable starting point is not a dream hack. It is protecting consistent, sufficient sleep so the brain can complete the later REM-rich cycles of the night.
For a broader guide to sleep habits, see Sleep Optimization Blueprint for Knowledge Workers.
Disclaimer: This article is for educational and informational purposes only. It is not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider with any questions about a medical condition.
Last updated: 2026-05-11
About the Author
Published by Rational Growth. Our health, psychology, education, and investing content is reviewed against primary sources, clinical guidance where relevant, and real-world testing. See our editorial standards for sourcing and update practices.
Your Next Steps
- Today: Pick one idea from this article and try it before bed tonight.
- This week: Track your results for 5 days — even a simple notes app works.
- Next 30 days: Review what worked, drop what didn’t, and build your personal system.
References
- Horikawa, T., Tamaki, M., Miyawaki, Y., & Kamitani, Y. Neural Decoding of Visual Imagery During Sleep. Science, 2013. https://www.science.org/doi/10.1126/science.1234330
- Filevich, E., Dresler, M., Brick, T. R., & Kuhn, S. Metacognitive Mechanisms Underlying Lucid Dreaming. Journal of Neuroscience, 2015. https://www.jneurosci.org/content/35/3/1082
- Sabia, S., Fayosse, A., Dumurgier, J., et al. Association of Sleep Duration in Middle and Old Age with Incidence of Dementia. Nature Communications, 2021. https://www.nature.com/articles/s41467-021-22354-2
- Windt, J. M. & Hale, C. Memory, Sleep, Dreams, and Consciousness: A Perspective Based on Memory Consolidation. Frontiers in Psychology, 2025. https://pmc.ncbi.nlm.nih.gov/articles/PMC12398293/
- Dresler, M. et al. The neuroscience of lucid dreaming. https://www.brainfacts.org/thinking-sensing-and-behaving/sleep/2025/the-fascinating-neuroscience-of-lucid-dreaming-072325