Morning erections happen because the brain cycles through stages of sleep that naturally trigger them, not because of sexual arousal or a full bladder. They’re a normal part of male biology that starts before birth and continues throughout life, though they become more noticeable during puberty when hormones ramp up.
What Triggers Erections During Sleep
Throughout the night, your brain moves through repeating cycles of light sleep, deep sleep, and a phase called REM sleep (the stage where most dreaming happens). Each REM phase triggers an automatic erection through the parasympathetic nervous system, the same branch of your nervous system responsible for “rest and digest” functions. During REM sleep, certain brain signals that normally suppress erections while you’re awake quiet down, and the body’s relaxation response increases blood flow to the penis.
This happens multiple times per night. Men over 60 still average about 2.4 erection episodes per night, totaling roughly 90 minutes of erectile activity. Younger men typically experience more frequent and longer episodes. The last REM cycle of the night tends to be the longest, which is why you’re most likely to wake up with an erection. “Morning wood” is really just the tail end of the final sleep erection caught in progress.
The exact brain pathways controlling these sleep erections are still not fully mapped out. What researchers do know is that the mechanism differs from erections triggered by arousal or physical touch. Sleep erections operate on their own neural circuit, which is why they happen regardless of what you’re dreaming about.
How Testosterone Plays a Role
Testosterone follows a daily rhythm tied to your sleep cycle. Levels are at their lowest in the evening and climb overnight, peaking between 7 and 10 a.m. This surge lines up perfectly with that final REM cycle before waking. While testosterone doesn’t directly cause each individual erection, it sets the baseline. Higher testosterone makes the body more responsive to the signals that trigger sleep erections, which is one reason morning wood becomes especially noticeable during puberty, when testosterone production increases dramatically.
This hormonal pattern also helps explain why morning erections can become less firm or less frequent with age. Testosterone levels gradually decline after about age 30, and sleep quality tends to decrease as well, meaning fewer and shorter REM cycles.
They Start Before Birth
Sleep erections aren’t a puberty thing. Research using ultrasound has documented erections in fetuses during the final weeks of pregnancy, occurring in patterns that correlate with REM-like sleep states. Newborns and infants experience them too. This tells us that the mechanism is hardwired into the nervous system from very early development, long before sex hormones are a factor. Puberty makes them more prominent, but the underlying reflex has been running since before birth.
Why the Body Does This
The leading theory is that sleep erections serve as a maintenance system for penile tissue. When the penis is soft for extended periods, oxygen levels in the erectile tissue drop. Erections flood the tissue with oxygenated blood, keeping it healthy and elastic. Without regular erections, the tissue can become fibrotic, meaning it stiffens and scars in ways that make future erections harder to achieve.
This isn’t just theoretical. Doctors have observed the process in men who lose the ability to have spontaneous erections after prostate surgery. Even when the surgery spares the nerves involved in erections, there’s an immediate loss of nighttime erectile activity. Studies show that this leads to a prolonged low-oxygen state in the erectile tissue, which causes progressive scarring. It’s one reason some post-surgical treatment plans focus on restoring blood flow to the area early, to prevent permanent damage from the loss of those natural overnight erections.
What It Means if They Stop
Regular morning erections are actually a useful signal that the vascular and neurological systems involved in erections are working properly. When doctors evaluate erectile difficulties, one key question is whether nighttime and morning erections still occur. If a man can’t get an erection during sex but still wakes up with one, the physical hardware is likely fine, pointing toward psychological factors like stress or anxiety. If morning erections have disappeared entirely, it suggests something physical, such as blood flow problems, nerve damage, or hormonal changes.
For most boys and young men, morning erections are frequent and reliable. A noticeable, sustained decrease can be worth paying attention to, though short-term changes from poor sleep, stress, or illness are completely normal. The pattern over weeks and months matters more than any single morning.

