What is an erection, and how does it work?

Felix Gussone, MD - Contributor Avatar

Reviewed by Felix Gussone, MD, Ro, 

Written by Michael Martin 

Felix Gussone, MD - Contributor Avatar

Reviewed by Felix Gussone, MD, Ro, 

Written by Michael Martin 

last updated: Jan 18, 2022

2 min read

The penis. If you have one, you’re probably very familiar with it, yet its mechanics can still seem pretty exotic. An erection is a pretty amazing process, requiring several body systems to collaborate simultaneously. But it's not just a sign that you're ready for sex; if this process isn’t working properly, it can be an early indicator of larger health issues. Here's a quick look at how erections work. 

Ro Sparks

Harder erections, faster than Viagra/Cialis


What’s an erection?

Erections are surprisingly complicated. Each one takes your hormones, nerves, blood vessels, and even your mood to work together seamlessly in a complex sequence of events. When everything goes right, an erect penis can contain up to eight times the normal amount of blood (Van Driel, 2015). But one missed reaction in that chain can lead to erectile dysfunction.

The stages of getting erect

The penis consists of the shaft and the head (or glans), which houses the meatus (or the opening of the urethra). Two tubes called the corpora cavernosa run down the length of the penis—they're filled with spongy tissue and many tiny blood vessels. So is the corpus spongiosum, which runs down the underside of the penis and houses the urethra.

An erection is perhaps the most obvious sign of sexual arousal. It's a physical response to a chemical reaction in the body. During sexual arousal, those tiny blood vessels in the penis dilate. The spongy tissue fills with blood, and an erection occurs. After ejaculation, or when a man isn’t sexually excited anymore, that blood drains away, and the penis reverts to its flaccid size and appearance

OC What is an erection, and how does it work? image bb203cf1-29d2-4c24-8dc3-7ba9e6e82909

How does an erection work?

Every erection is the result of a relay race that starts in the brain with arousal and culminates in the penis with an erection:

  1. Men become aroused either by thinking about, feeling, or seeing someone or something that sexually excites them.

  2. The brain passes that signal to the body through the spinal cord and nerves.

  3. cGMP causes the corpora cavernosa in the penis to relax, allowing blood to rush into the cavernosal arteries

  4. While blood rushes into the penis, the veins that drain blood from the penis get compressed, causing the increased blood to be trapped in the penis, resulting in an erection.

  5. An enzyme called phosphodiesterase-5 breaks down cGMP, causing the penis to return to its flaccid state.

What if you can't get an erection?

Erectile dysfunction happens when you can't get or maintain an erection sufficient to have satisfying sexual intercourse. ED can be the first warning sign of more serious medical conditions like diabetes, heart disease, high blood pressure, or low testosterone (McMahon 2019). If you're struggling with erectile dysfunction, seek medical advice to find out what might be causing your ED and the treatments that are available. Your sex life—and your overall health—can only benefit.


If you have any medical questions or concerns, please talk to your healthcare provider. The articles on Health Guide are underpinned by peer-reviewed research and information drawn from medical societies and governmental agencies. However, they are not a substitute for professional medical advice, diagnosis, or treatment.

  • McMahon, C.G. (2019). Current diagnosis and management of erectile dysfunction. Medical Journal of Australia , 210 (10):469-476. doi: 10.5694/mja2.50167. Retrieved from https://pubmed.ncbi.nlm.nih.gov/31099420/

  • Van Driel, M. F. (2015). Physiology of penile erection—a brief history of the scientific understanding up till the eighties of the 20th century. Sexual Medicine , 3 (4), 349–357. doi: 10.1002/sm2.89. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4721040/

How we reviewed this article

Every article on Health Guide goes through rigorous fact-checking by our team of medical reviewers. Our reviewers are trained medical professionals who ensure each article contains the most up-to-date information, and that medical details have been correctly interpreted by the writer.

Current version

January 18, 2022

Written by

Michael Martin

Fact checked by

Felix Gussone, MD

About the medical reviewer

Felix Gussone is a physician, health journalist and a Manager, Medical Content & Education at Ro.

Save up to 90% with generic ED meds.

Get started