Why Do Men Have Erections in the Morning?

Morning erections happen because you’ve just woken up from a sleep cycle that naturally triggers them. Throughout the night, your body cycles through several stages of sleep, and during the dreaming stage (REM sleep), involuntary erections occur as a normal part of your nervous system’s activity. A healthy man can experience up to five erections per night, each lasting 20 to 30 minutes. The one you notice in the morning is simply the last one in the series, caught in progress when you wake up.

What Happens in Your Brain During Sleep

The key to understanding morning erections lies in what your nervous system does during REM sleep. Your body has two competing systems that influence erections: one that promotes them and one that suppresses them. During waking hours, your sympathetic nervous system (the “fight or flight” system) keeps a baseline level of activity that partially inhibits erections. During REM sleep, specific neurons in the brainstem that drive this suppressive system switch off almost entirely.

When that brake is released, the body’s pro-erection pathways take over by default. Blood vessels in the penis relax and fill with blood, producing a full erection without any sexual stimulation or arousal. This process repeats with each REM cycle through the night. Since your longest and most intense REM periods happen in the final hours of sleep, you’re especially likely to be in the middle of one when your alarm goes off.

The Role of Testosterone

Testosterone follows a circadian 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 morning surge coincides with the tail end of your sleep, and higher testosterone levels support the mechanisms that produce erections. While testosterone alone doesn’t cause morning erections (the REM sleep trigger is the primary driver), it plays a supporting role. Men with significantly low testosterone often notice a decline in both nighttime and morning erections.

Why Your Body Does This

These overnight erections aren’t just a quirk of sleep. They serve a maintenance function for penile tissue. During an erection, oxygen-rich blood floods the spongy tissue inside the penis. This regular oxygenation helps keep the tissue healthy and elastic, reducing the risk of scarring (fibrosis) that can develop when tissue is chronically deprived of blood flow. Think of it as your body running a maintenance cycle, similar to how your brain clears waste products during sleep. Without these regular erections, the tissue can gradually stiffen and lose its ability to expand normally.

How Frequency Changes With Age

Morning erections are a lifelong phenomenon. They occur in infancy, become most frequent during puberty, and gradually decline over the decades. In teenage boys aged 13 to 15, sleep-related erections account for roughly 30% of total sleep time. By ages 60 to 69, that drops to about 20%. Both the duration and the firmness of these erections decrease with age. This is a normal, gradual change rather than something that switches off at a particular birthday.

A noticeable or sudden drop in morning erections at any age, though, can signal an underlying issue. Conditions that affect blood vessels or nerves (diabetes, cardiovascular disease, or hormonal imbalances) tend to reduce overnight erections. Poor sleep quality also plays a role: if you’re not cycling through enough REM sleep due to stress, sleep apnea, or alcohol use, you’ll have fewer erections simply because the trigger isn’t firing as often.

What Morning Erections Tell You About Your Health

Doctors have used overnight erections as a diagnostic tool for decades. The logic is straightforward: if a man has difficulty getting erections during sexual activity but still gets full erections during sleep, the physical hardware (blood vessels, nerves, and tissue) is working fine. That points to a psychological cause, such as stress, anxiety, or relationship issues. If overnight erections are also absent or weak, there’s more likely a physical cause that needs investigation.

In clinical monitoring, a normal result is three to five erection episodes per night, each lasting 10 to 25 minutes during a full night of sleep. You don’t need clinical monitoring to pay attention, though. Regular morning erections are a useful, informal signal that your cardiovascular and nervous systems are functioning well. A persistent absence is worth mentioning to a doctor, not because it’s an emergency, but because it can be an early indicator of vascular problems that affect more than just sexual function.