How Does Morning Wood Happen? Causes Explained

Morning erections happen because your nervous system shifts gears during sleep. Throughout the night, your body cycles through stages of sleep, and during the dreaming phase (REM sleep), the part of your nervous system that normally suppresses erections goes quiet. With that brake released, the body’s natural pro-erection signals take over, filling the penis with blood. The erection you wake up with is typically the last in a series of three to five that occurred overnight.

What Happens in Your Brain During Sleep

Your erections are controlled by a tug-of-war between two branches of your autonomic nervous system. One branch, the sympathetic nervous system, acts like a brake on erections. It keeps you in a non-aroused state during most of your waking hours. The other branch, the parasympathetic system, promotes erections by triggering the release of chemical signals, most importantly nitric oxide, that relax smooth muscle in the penis and allow blood to flow in.

During REM sleep, neurons in a specific area of the brainstem called the locus coeruleus shut down. These are the neurons responsible for sympathetic, “fight or flight” activity. With that inhibitory system offline, the pro-erection pathways dominate. Your brain also releases oxytocin from a region called the paraventricular nucleus during these periods, which activates excitatory nerve pathways running from the spinal cord to the penis. The result: erections that have nothing to do with sexual thoughts or dreams, even though they happen during the dreaming stage of sleep.

How Many Erections Happen Each Night

A typical night of sleep includes four or five REM periods, and each one can produce an erection. Early research on young men found that these erection cycles averaged about 85 minutes apart, with each erection lasting roughly 25 minutes. The one you notice in the morning is simply the last of the series, coinciding with your final REM cycle before waking up. If you happen to wake during a non-REM phase, you may not notice an erection at all, even though several occurred earlier in the night.

The Role of Testosterone

Testosterone follows a daily rhythm, peaking in the early morning. In men aged 30 to 40, testosterone levels at 8 a.m. are roughly 30 to 35% higher than levels measured in the late afternoon. This hormonal surge likely contributes to the strength and reliability of that final nighttime erection. The morning peak becomes less dramatic with age: by 70, the difference between morning and afternoon testosterone levels shrinks to about 10%, which partly explains why morning erections become less frequent and less firm over time.

It Starts Before Birth

Morning wood isn’t something that begins at puberty. Ultrasound studies have documented erections in male fetuses as early as 36 weeks of gestation. Researchers observing 50 fetuses over 60-minute windows found that about 22.5% of observations caught the penis in a tumescent state. Some fetuses had two or even three erections during a single observation window, with each lasting between 5 and 17 minutes. The frequency and duration matched what’s been observed in newborns, confirming that this is a hardwired neurological reflex present from the very start of life.

Changes With Age

Nocturnal erections are most frequent and most rigid in adolescence and early adulthood. As men age, both the number of erections per night and their firmness gradually decline. This tracks with several overlapping changes: the blunting of the morning testosterone peak, reduced time spent in REM sleep, and age-related changes in blood vessel flexibility. A 25-year-old might reliably wake with a firm erection most mornings, while a 65-year-old may notice it only occasionally. A gradual decline is normal, but a sudden or complete disappearance at any age can signal a vascular or neurological issue worth investigating.

What Morning Erections Say About Your Health

Because these erections depend on healthy blood flow and intact nerve signaling rather than psychological arousal, they’ve long been used as a crude diagnostic signal. The logic is straightforward: if a man who struggles with erections during sex still gets firm erections overnight, the physical plumbing is working and the issue is more likely psychological, whether from stress, anxiety, or relationship factors. If nocturnal erections are also absent or weak, it points toward a physical cause like reduced blood flow, nerve damage, or hormonal deficiency.

That said, the picture isn’t always clean. Some neurological conditions and hormone deficiencies can impair daytime erections while leaving nighttime erections partially intact. Physical and psychological causes also frequently overlap in the same person. Formal overnight erection testing was once common in urology clinics but has fallen out of routine use because of these limitations. Still, paying attention to whether you’re waking with erections remains a useful, low-tech way to gauge your vascular and neurological health over time.

Does Morning Wood Serve a Purpose?

One widely cited theory is that nocturnal erections help maintain penile tissue health by flooding the organ with oxygenated blood several times per night. The penis is largely made of smooth muscle, and like any tissue, it needs adequate oxygen to stay healthy and avoid scarring. Periods without erections, such as after prostate surgery, are associated with loss of penile length and tissue changes, which supports the idea that regular blood flow matters. However, the research isn’t conclusive enough to say that tissue maintenance is the “reason” nocturnal erections evolved. It may simply be a beneficial side effect of the nervous system shift that happens during REM sleep, rather than a function the body specifically developed.