A hard-on is an erection, the stiffening and enlargement of the penis that happens when blood fills its internal chambers. It can be triggered by sexual arousal, physical touch, or sometimes nothing conscious at all. Understanding how erections work gives useful insight into sexual health and overall cardiovascular fitness.
How an Erection Actually Works
The penis contains two tube-shaped chambers called the corpora cavernosa that run along its length. These chambers are made of spongy tissue filled with tiny blood vessels and hollow spaces. When you become aroused, whether from something you see, touch, imagine, or remember, your brain sends signals to the blood vessels in these chambers. The arteries feeding the penis relax and widen, allowing a rush of blood to flow in. As the spongy tissue swells, it compresses the veins that would normally drain blood away, trapping it inside. That trapped blood is what makes the penis rigid.
The chemical trigger behind this process is nitric oxide, a signaling molecule released by nerves and blood vessel walls in the penis. Nitric oxide kicks off a chain reaction that ultimately relaxes the smooth muscle tissue lining the chambers, allowing them to expand and fill. When stimulation stops or after ejaculation, the chemical signals fade, the arteries narrow back down, the veins reopen, blood drains out, and the penis returns to its soft state.
The Nervous System’s Role
Erections are controlled by a balance between two branches of your involuntary nervous system. The parasympathetic branch, sometimes called the “rest and digest” system, promotes erections. The sympathetic branch, your “fight or flight” system, tends to inhibit them. This is why stress, anxiety, or nervousness can make it difficult to get or maintain an erection: the sympathetic system is overriding the signals that would otherwise allow blood flow to increase.
This balance also explains erections that happen during sleep. During the deepest phase of sleep (REM sleep), sympathetic nerve activity drops significantly. With that inhibitory brake released, the pro-erection pathways take over. The result is that a healthy person cycles through several erections per night, each lasting a period of minutes before subsiding. Morning erections are simply the last one in the cycle, noticed because you happen to wake up during or right after it.
Average Size During an Erection
A large review of over 15,000 men found that the average erect penis measures 5.1 inches in length and 4.5 inches in circumference. For comparison, the average flaccid length is 3.6 inches. There’s a wide range of normal in both directions, and flaccid size is a poor predictor of erect size. Some penises grow substantially when erect (“growers”), while others stay closer to their resting size (“showers”).
What Erections Reveal About Heart Health
Because erections depend entirely on healthy blood flow, they serve as a surprisingly useful gauge of cardiovascular health. The arteries supplying the penis are smaller than those feeding the heart. That means damage to blood vessel walls, a condition called endothelial dysfunction, tends to show up as erection problems years before it causes chest pain or other heart symptoms.
The process is the same in both cases. When the inner lining of blood vessels becomes damaged (from high blood pressure, high cholesterol, smoking, or diabetes), the vessels lose their ability to dilate properly. Over time, plaque builds up and narrows the arteries further. In the penis, this means less blood gets in and erections become weaker or harder to maintain. In the heart, it means reduced blood supply to cardiac muscle. Persistent difficulty getting erections, especially in men under 50 with no obvious psychological cause, is worth taking seriously as a potential early cardiovascular warning sign.
How Erections Change With Age
In younger men, erections can happen quickly and with minimal stimulation. Over time, several factors gradually shift that picture: hormone levels decline, blood circulation becomes less efficient, and nerve sensitivity decreases. These changes are normal and happen to virtually everyone, but the degree varies widely. By age 70, roughly 70% of men experience some difficulty getting or maintaining an erection.
The refractory period, the recovery window after ejaculation before another erection is possible, also lengthens with age. A teenager might need minutes. A man in his 40s or 50s might need hours or longer. This isn’t a sign of dysfunction; it reflects normal changes in the hormonal and neurological systems that regulate arousal.
Morning and Nighttime Erections
A healthy person typically has three to five erections per night during REM sleep cycles, each lasting up to 25 minutes or so. You’re usually unaware of them unless you wake up during one. These involuntary erections are a sign that the blood vessels and nerves involved in erection are working properly. If you notice that morning erections have stopped entirely, it can be an early indicator of erectile dysfunction, hormonal changes, sleep disorders, or chronic stress.
When an Erection Becomes an Emergency
An erection that lasts longer than four hours, with or without sexual stimulation, is a condition called priapism, and it requires emergency medical treatment. The most concerning type involves blood that becomes trapped and can’t circulate. Without fresh oxygenated blood flowing through, the tissue inside the penis starts to suffer damage. Symptoms include a rigid shaft with a soft tip and progressively worsening pain. A less common, usually less dangerous form involves excess arterial blood flow. It’s typically not painful and the shaft isn’t fully rigid, but it still needs evaluation if it persists beyond four hours. In either case, the four-hour mark is the critical threshold to keep in mind.