Dreaming is caused by specific patterns of brain activity during sleep, particularly during REM (rapid eye movement) sleep, when a surge of certain brain chemicals activates emotional and sensory regions while your body remains paralyzed. About 80% of people woken during REM sleep report vivid dreams, though dreaming also occurs outside of REM in a less intense form. The full picture involves brain chemistry, brain structure, emotional processing, and even what you eat or take before bed.
What Happens in Your Brain During Dreams
Dreams are generated by a coordinated shift in brain activity that begins in the brainstem. A region called the pons sends signals that do two things simultaneously: it triggers the brain activity that produces dream experiences, and it sends separate signals to relax your muscles so you don’t physically act out what you’re dreaming. This muscle paralysis is a protective feature, not a side effect.
While this is happening, a relay station deep in your brain called the thalamus starts firing. During most of non-REM sleep the thalamus is quiet, but during REM sleep it becomes active and sends images, sounds, and sensations to the outer layers of the brain responsible for conscious experience. Your brain receives this flood of internal signals and processes them much the way it would handle real sensory information from the outside world.
The amygdala, a small structure involved in processing emotions, also becomes increasingly active during REM sleep. This is a major reason dreams feel so emotionally charged. Fear, joy, anxiety, and desire can feel amplified in dreams because the emotional centers of your brain are running hot while the rational, planning-oriented parts of your brain are relatively quiet. That imbalance explains why dream logic feels perfectly reasonable in the moment but absurd when you wake up.
The Chemical Switch That Triggers REM
Dreaming depends on a precise neurochemical handoff. During waking hours, your brain maintains alertness through steady activity of cells that release serotonin and norepinephrine. These chemicals keep you focused, aware of your surroundings, and grounded in reality. As you fall asleep, those cells gradually reduce their firing rate. By the time you enter REM sleep, they go virtually silent.
As serotonin and norepinephrine drop away, another chemical takes over: acetylcholine. Acetylcholine release in the brainstem increases dramatically during REM sleep compared to both waking and non-REM sleep. Certain cells that are maximally active only during REM sleep, sometimes called “REM-on cells,” drive the vivid sensory and emotional experience of dreaming. In laboratory studies, injecting a substance that mimics acetylcholine directly into the pons triggers prolonged REM sleep episodes, confirming its central role.
This chemical seesaw is key. Serotonin normally suppresses the brain waves responsible for the visual flashes and emotional intensity of dreams. When serotonin drops during REM, that suppression lifts, and dreaming unfolds. Anything that disrupts this balance, whether a medication, a substance, or a neurological condition, can change how often or how intensely you dream.
Why Dreams Aren’t Limited to REM Sleep
REM sleep gets most of the attention, but dreams happen during other sleep stages too. Studies that wake people during non-REM sleep find dream recall rates ranging from 5% to 74%, depending on the stage and how broadly “dreaming” is defined. The difference is in quality. REM dreams are longer, more vivid, more emotionally intense, more hallucinatory, and more bizarre. Non-REM dreams tend to be shorter, more thought-like, and more connected to everyday concerns, closer to daydreaming than to the surreal narratives of REM.
One striking finding reinforces this distinction. In studies where a medication suppressed REM sleep by over 80%, dream recall and dream complexity were not substantially affected. This suggests the brain has backup pathways for generating dreams even when its primary dream-producing state is disrupted.
Leading Theories on Why We Dream
Understanding the mechanics of dreaming still leaves a bigger question: why does the brain do this at all? Several theories compete, and they aren’t mutually exclusive.
The activation-synthesis model, proposed by Harvard psychiatrists J. Allan Hobson and Robert McCarley in 1977, argues that dreams are essentially the brain making sense of random neural noise. During sleep, lower brain regions responsible for basic biological processes fire spontaneously. Higher brain regions responsible for thinking, storytelling, and making sense of information receive those signals and try to weave them into a coherent narrative. The result is a dream. Under this theory, dream content doesn’t carry hidden meaning. Your brain is simply doing what it always does: creating a story from whatever signals it receives, even when those signals are essentially random.
The threat simulation theory, developed by neuroscientist Antti Revonsuo, takes a very different view. It proposes that dreaming is an ancient biological defense mechanism, selected over evolutionary time for its ability to simulate threatening events. By rehearsing dangerous scenarios during sleep, your brain practices threat perception and avoidance without real-world risk. This virtual training ground would have given our ancestors better odds of survival. Supporting this idea, studies of traumatized children show elevated rates of threat-related dream content, as if the dreaming brain is prioritizing rehearsal of the most relevant dangers.
A third perspective focuses on emotional regulation. Brain imaging shows that reward and emotional processing systems are highly active during dreaming. These systems prioritize information with high emotional relevance for reprocessing during sleep. The theory suggests dreaming helps optimize waking behavior by working through emotionally charged experiences overnight, essentially recalibrating your emotional responses so you wake up better equipped to handle similar situations. This may explain why a problem that feels overwhelming at night often seems more manageable in the morning.
What Makes Dreams More Vivid or Frequent
Several external factors can noticeably change your dream life. Stress and emotional upheaval are the most common amplifiers. Because the brain’s emotional centers drive dream generation, periods of anxiety, grief, or major life change tend to produce more intense and more memorable dreams.
Medications that alter brain chemistry frequently affect dreaming. Psychiatric drugs, certain antihistamines, and nicotine have all been linked to dream disturbances. Varenicline, a smoking cessation drug, became notorious for producing dreams described as both hyper-vivid and unusually bizarre. On the other end, substances that suppress REM sleep, like alcohol and barbiturates, can cause a rebound effect: when you stop taking them, REM sleep surges back with unusual intensity, bringing a wave of vivid or disturbing dreams.
Even nutrition plays a role. Vitamin B6 has been studied for its effect on dream recall and vividness. In one study, participants who took 100 mg of B6 before sleep reported dream vividness scores 30% higher than placebo. At 200 mg, scores jumped to 50% higher. A separate study found that 240 mg of B6 before sleep improved dream recall overall. B6 is involved in producing several neurotransmitters, which may explain why supplementing it at high doses intensifies the dreaming experience. (Standard dietary intake of B6 is far lower than these study doses.)
Sleep Disruption and Dream Recall
How well you remember your dreams has less to do with whether you dreamed and more to do with when you woke up. If you wake directly out of REM sleep, you’re far more likely to recall a dream than if you transition naturally into lighter sleep stages first. This is why people who use alarm clocks, sleep irregularly, or wake frequently during the night often report richer dream lives. They aren’t necessarily dreaming more. They’re catching themselves in the act.
REM periods grow longer as the night progresses, with the longest and most vivid dreams occurring in the final hours of sleep. People who cut their sleep short are trimming exactly the portion of the night richest in dreaming. Conversely, sleeping in on weekends or napping during the day can produce unusually vivid dreams because the brain enters REM more quickly when it’s been deprived of it.

