Erection meaning: how nerves and blood make the penis firm
The basics
An erection is the penis growing larger and firm as blood fills the spaces inside its erectile tissue, set off by signals from the brain, the spinal cord and the nerves of the penis [8]. The research read for this page includes studies of healthy men in labs and sleep labs, lab studies of penile tissue, animal work in rats, labeled as such, and reviews of how erections are controlled [1][2][3][4][5][7][8][10]. A doctor is the person to ask about any change in a person's erections.
Key takeaways
- An erection begins with nerve signals, and blood fills the erectile tissue once the smooth muscle inside it relaxes [5][8].
- Studies in human tissue and in rats linked nitric oxide, a chemical messenger made in the nerves of the penis, to the start of an erection [6][7].
- Erections during sleep are tied to REM sleep, and a review said ageing makes them less frequent [10].
- This page explains the body's own steps; medicines and other options are on Ellum's sexual health goal page.
- Reviews define erectile dysfunction (ED) as not being able to get or keep an erection firm enough for sex [12][13].
What is an erection? The meaning in plain words
An erection is the change that turns a soft penis into a firm one. A 2011 review of how erection and ejaculation are controlled described an erection as an event run by the brain, nerves, hormones and blood vessels together, ending in blood filling the small spaces inside the erectile bodies of the penis [8]. The review's abstract states no funder [8].
In everyday speech, "erection" usually means the firm state itself. Doctors and researchers also split it into parts they can measure: how large the penis grows, how firm it gets, and how often erections come during sleep [2][3][11].
Erections do not need a sexual thought to start. They also come on their own during sleep, most often in REM sleep, as the section on morning erections below explains [10].
Erection definition: the words doctors use
- Tumescence. Swelling of the penis as it fills with blood; sleep researchers call night-time erections nocturnal penile tumescence [3][4][11].
- Rigidity. Firmness; overnight recordings measure rigidity along with swelling, and a 2012 ultrasound study measured how the tissue changed as erections built from none to full [2][11].
- Corpora cavernosa and corpus spongiosum. The erectile bodies that fill with blood during an erection [8].
- Sleep-related erections. Erections that come during sleep, most often in REM sleep [10].
- Erectile dysfunction (ED). Not being able to get or keep an erection firm enough for sex, as reviews define it [12][13].
What is erectile tissue made of?
Erectile tissue is the tissue inside the penis that can fill with blood. The 2011 review named the bodies involved as the corpora cavernosa and the corpus spongiosum, and described an erection as blood filling the small spaces, called sinusoids, inside them [8].
That tissue contains smooth muscle, the kind of muscle that works without conscious effort. A 1989 paper in the New England Journal of Medicine opened with the statement that relaxation of the smooth muscle of the corpora cavernosa is necessary for an erection [5].
That 1989 lab study, funded by the US National Institutes of Health through its NIDDK and NHLBI institutes, tested strips of erectile tissue removed during penile implant surgery from 63 men with impotence, the study's word, 21 of whom had diabetes and 42 of whom did not [5]. The researchers first made the strips contract, then measured how well they relaxed in three ways: through their nerves, through the lining cells of their blood spaces, and through chemicals acting on the muscle directly [5]. Relaxation through the nerves and through the lining cells was weaker in tissue from the men with diabetes, while direct relaxation of the muscle did not differ between the two groups [5]. Because the study used removed tissue, its abstract gives no study length and no side-effect results [5].
Nerves reach this tissue directly. In human tissue and in rats, a 1997 study found the nerve form of the enzyme that makes nitric oxide in penile tissue, and in rats it traced that enzyme to the nerves to the corpora cavernosa, down to fibres inside the erectile tissue [6]. That abstract, on work in human tissue and in rats, states no funder, no study length and no side-effect results [6].
How does an erection work, step by step?
The steps below follow the order the research describes, from a signal in the nervous system to a firm penis. Each step names who was studied, and the animal work is labeled.
- A signal starts in the brain or spinal cord. The 2011 review, with no funder stated in its abstract, described three sets of nerve cells in the spinal cord that serve the sexual organs, called sympathetic, parasympathetic and somatic, and a nerve junction in the pelvis, the pelvic plexus, that signals pass through on their way to the penis [8].
- Nerves make nitric oxide in the erectile tissue. In rats, a 1992 study funded by three US National Institutes of Health institutes found the enzyme that makes nitric oxide in the nerves to the corpora cavernosa and in nerve networks around the penile arteries, and blocking that enzyme abolished erections set off by nerve stimulation [7]. The abstract of the study in rats gives no study length and no side-effect results [7]. In rats, the 1997 study likewise found that blocking the enzyme held back erections set off by nerve stimulation [6].
- The smooth muscle relaxes. In the 1989 study of erectile tissue from 63 men having implant surgery, funded by two US National Institutes of Health institutes and with no study length given in its abstract, the muscle relaxed when its nerves were stimulated, when its lining cells were triggered, and when chemicals acted on the muscle directly [5].
- The arteries widen and blood flows in. A 1993 study of 20 healthy men aged 45 to 60 with normal sexual function, with no comparison group and no funder stated in the abstract, brought on erections with a drug given by injection into the penis together with an erotic video, and measured the penile arteries by Doppler ultrasound before and after [1]. In that study, the deep arteries of the penis widened by 70% and the arteries near the surface by 20%, blood flow rose about fourfold in the deep arteries and threefold in the surface arteries, and the peak speed of the blood about tripled in the deep arteries and doubled in the surface arteries [1]. All 20 men had rigid erections, and the abstract reports no complications; it gives no study length [1].
- The penis fills and firms. A 2012 study of 37 healthy volunteers, with no comparison group and no funder stated in the abstract, used an ultrasound tissue reading at the head, shaft and root of the penis as erections built from none to full [2]. The reading fell at all three places as the erection built, ending at less than a third of its starting value at full erection, and the authors described the method as tracking the change in rigidity [2]. The abstract gives no study length and no side-effect results [2].
Scroll sideways to see all columns.
| Step | Who was studied | Length | Side effects, by group | Funder, as the record states | What the study found |
|---|---|---|---|---|---|
| Nerves make nitric oxide | Rats [7] | Not stated in the abstract [7] | Not reported in the abstract [7] | US National Institutes of Health: NIDA, NIDDK and NIMH [7] | In rats, the enzyme that makes nitric oxide sat in the nerves to the corpora cavernosa, and blocking it abolished nerve-triggered erections [7] |
| Nerves make nitric oxide | Human and rat penile tissue, plus live rats [6] | Not stated in the abstract [6] | Not reported in the abstract [6] | Not stated in the abstract [6] | In human tissue and in rats, the nerve form of the enzyme was present; in rats, blocking it held back nerve-triggered erections [6] |
| Smooth muscle relaxes | Erectile tissue from 63 men having implant surgery, 21 with diabetes and 42 without [5] | Not stated in the abstract [5] | Not reported in the abstract; a tissue study [5] | US National Institutes of Health: NIDDK and NHLBI [5] | Relaxation through the nerves and the lining cells was weaker in tissue from the men with diabetes; direct relaxation did not differ [5] |
| Arteries widen, blood flows in | 20 healthy men aged 45 to 60, no comparison group [1] | Not stated in the abstract [1] | No complications in any of the 20, as the abstract states [1] | Not stated in the abstract [1] | The deep arteries widened by 70% and the surface arteries by 20%; blood flow rose about fourfold and threefold [1] |
| Penis fills and firms | 37 healthy volunteers, no comparison group [2] | Not stated in the abstract [2] | Not reported in the abstract [2] | Not stated in the abstract [2] | An ultrasound tissue reading fell from no erection to full erection at the head, shaft and root of the penis [2] |
This page covers the body's own steps, not medicines. Medicines and other options are gathered on Ellum's sexual health goal page. Ellum keeps a separate page on Sildenafil.
How scientists worked out that blood causes erections
A 2015 historical review traced how the explanation of erections changed; its abstract states no funder [9]. In ancient times, Galen held that erections came from a build-up of air, and his view dominated medieval medicine [9]. In the Renaissance, Da Vinci concluded that erections were caused by blood, and in the 18th century Von Haller, from Switzerland, was the first to explain that erections were under the control of the nervous system [9]. In the 19th century, animal studies showed that stimulating the erection nerves relaxed muscle in the corpora cavernosa, yet the idea of smooth muscle relaxation stayed disputed until the first World Congress on Impotence, held in Paris in 1984 [9].
What causes an erection? The brain, spinal cord and nerves
An erection starts in the nervous system. The 2011 review, whose abstract states no funder, described pathways running down from the brain to spinal centres for erection, and said the brain can excite or hold back those centres [8]. It placed the brain areas involved inside a wider network that regulates sexual responses, and said research had shown that two brain chemicals, dopamine and serotonin, have central roles [8]. The same review said an erection is not needed for ejaculation and that each can happen without the other, so the two are separate events in anatomy and physiology [8].
In rats, stimulating the nerves to the penis with an electric current brought on erections, which is how the 1992 and 1997 studies tested the role of nitric oxide [6][7]. Erections that come in sleep, with no sexual trigger, are covered in the next section.
Ellum's page on masturbation and testosterone looks at a related question about hormones and sexual activity.
Why do men wake up with an erection?
A 2026 review of sleep and erections, with no funder stated in its abstract, said sleep-related erections occur mainly during rapid eye movement (REM) sleep [10]. The review described these erections as bringing oxygen to penile tissue at intervals through the night [10].
A 2016 study of 40 sexually active healthy men aged 20 to 60, split into four age groups of ten, recorded night-time erections with a sensor worn in bed; none of the men had a sexual problem or disturbed sleep, and the funder and study length are not stated in the abstract [4]. Night-time erection measures fell with age, with a strong negative link, and differed between the age groups, though the men in their thirties and forties did not differ [4]. Scores on a five-item erection questionnaire were only weakly tied to age and were not tied to the night-time measures, and the abstract reports no side-effect results [4].
The 2026 review also said ageing makes sleep-related erections less frequent, and it linked obstructive sleep apnoea and long-term sleep loss with fewer of them [10]. A 1993 study funded by the US Public Health Service followed 67 married volunteers aged 45 to 74 for four nights in a sleep lab, with no comparison group [3]. In that study, bioavailable testosterone, the part of testosterone in the blood that is not tightly bound, tracked several measures of sleep erections, but every one of those links lost significance once age was allowed for [3]. When the men were split by age, a link with how long sleep erections lasted held only in those aged 55 to 64 [3]. Total testosterone, estradiol, luteinising hormone and prolactin were mostly unrelated to the sleep-erection measures, and the abstract reports no side-effect results [3].
For how testosterone changes with age and through the day, see Ellum's page on when testosterone peaks; for low testosterone as a condition, see the testosterone deficiency guide.
A 2019 review of English-language studies on overnight erection recordings, with no funder stated in its abstract, said the recordings were still considered useful for telling erection problems with a mental cause from those with a physical cause, while noting open disputes about how far they can be trusted [11]. It also said the recordings can be thrown off by depression, smoking, ageing, unpleasant dream content and sleep disorders [11]. A doctor is the person to ask about missing morning erections.
What does erectile dysfunction mean?
This section is short on purpose: it explains the term, and the options sit on Ellum's sexual health goal page.
A 2021 review of nerve-related causes, whose abstract states no funder, defined erectile dysfunction (ED) as "the persistent inability to attain and maintain an erection sufficient to permit satisfactory sexual performance" [12]. A second 2021 review, on coronary artery disease and with no funder stated in its abstract, worded the definition as the inability to attain or maintain an erection sufficient for successful intercourse [13].
Ellum's page on nicotine and testosterone has a section on smoking and erections. A doctor is the person to ask about erection problems.
What is not known
- How long erections last (not studied here). As of November 2026, the searches run for this page found no study in people that measured how long erections last.
- How blood stays in the penis (not covered). None of the abstracts read for this page described how blood is kept in the penis once it has filled, so this page does not explain that step.
- The nitric-oxide step in living men (not tested here). The experiments that blocked nitric oxide were done in rats, and the only human evidence here for that step is the 1997 finding in human tissue and in rats that the nerve form of the enzyme is present [6][7].
- One group per study. The studies of healthy men on this page each measured one group with no comparison group, and only the 1993 hormone study names a funder [1][2][3][4].
Talk to a doctor
Not medical advice. Any change in erections, including fewer morning erections, is a question for a doctor, who can weigh it against the rest of a person's health.
Ellum and Ellum Clinic are run by the same team. The clinic is a telehealth practice opening state by state, and it's how we make money: we earn when a reader becomes a patient.
Frequently asked questions
What is an erection?
An erection is the penis becoming larger and firm as blood fills its erectile tissue, after signals from the brain, the spinal cord and the nerves of the penis. A 2011 review described it as blood filling the small spaces inside the corpora cavernosa and corpus spongiosum, under the control of nerve cells in the spinal cord and pathways from the brain [8].
What causes an erection?
Nerve signals cause an erection: they come from the spinal cord and the brain and reach the erectile tissue, where the smooth muscle eases and the tissue fills with blood. The 2011 review described spinal centres for erection that pathways from the brain can excite or hold back, with dopamine and serotonin in central roles [8]. Erections also come with no sexual trigger during sleep [10].
Why do men wake up with an erection?
Erections come on their own during sleep, linked with the REM stage [10]. A 2026 review said these sleep-related erections occur mainly in REM sleep and become less frequent with age [10].
What is erectile tissue?
Erectile tissue is the tissue inside the penis that fills with blood during an erection, made up of the corpora cavernosa and the corpus spongiosum [8]. Its smooth muscle has to relax for an erection to happen [5].
What does nitric oxide do in an erection?
Nitric oxide is a chemical messenger made by the nerves that reach the erectile tissue, and studies in human tissue and in rats tied it to how erections start [6][7]. The step-by-step section above sets out those studies, and the nitric oxide described here is the body's own.
Not convinced yet?
- Sexual health goal page: medicines and other options, gathered in one place.
- When testosterone peaks: how testosterone changes with age and through the day.
- Nicotine and testosterone: smoking, hormones and erections.
Sources
- The Journal of Urology, 1993. Human study: 20 healthy men aged 45 to 60 with normal sexual function; penile artery width and blood flow measured by Doppler ultrasound before and during a drug-induced erection with an erotic video; no comparison group. PMID 8417216. https://pubmed.ncbi.nlm.nih.gov/8417216/
- Radiology and Oncology, 2012. Human study: 37 healthy volunteers; an ultrasound tissue reading at the head, shaft and root of the penis at grades of erection; no comparison group. PMID 23077447. https://pubmed.ncbi.nlm.nih.gov/23077447/
- Archives of Sexual Behavior, 1993. Human study: 67 married volunteers aged 45 to 74, four nights in a sleep lab; hormones compared with sleep-erection measures; no comparison group. PMID 8494488. https://pubmed.ncbi.nlm.nih.gov/8494488/
- Andrologia, 2016. Human study: 40 sexually active healthy men aged 20 to 60 in four age groups; night-time erection recordings and an erection questionnaire. PMID 26498135. https://pubmed.ncbi.nlm.nih.gov/26498135/
- New England Journal of Medicine, 1989. Lab study of human tissue: erectile tissue from 63 men having penile implant surgery, 21 with diabetes and 42 without; smooth muscle relaxation tested. PMID 2927481. https://pubmed.ncbi.nlm.nih.gov/2927481/
- Yonsei Medical Journal, 1997. Lab study of human and rat penile tissue plus experiments in rats: where the enzyme that makes nitric oxide sits, and what blocking it did. PMID 9409189. https://pubmed.ncbi.nlm.nih.gov/9409189/
- Science, 1992. Animal study in rats: where the enzyme that makes nitric oxide sits in penile nerves, and what blocking it did. PMID 1378650. https://pubmed.ncbi.nlm.nih.gov/1378650/
- The Journal of Sexual Medicine, 2011. Review of the literature on the nerve control of erection and ejaculation. PMID 21967393. https://pubmed.ncbi.nlm.nih.gov/21967393/
- Sexual Medicine, 2015. Historical review of how the explanation of erections changed. PMID 26797073. https://pubmed.ncbi.nlm.nih.gov/26797073/
- International Journal of Impotence Research, 2026. Review of sleep stages and erections. PMID 41735516. https://pubmed.ncbi.nlm.nih.gov/41735516/
- Sexual Medicine Reviews, 2019. Review of English-language studies on overnight erection recordings. PMID 30612976. https://pubmed.ncbi.nlm.nih.gov/30612976/
- Medicines (Basel), 2021. Review of nerve-related erectile dysfunction, including its definition. PMID 33430218. https://pubmed.ncbi.nlm.nih.gov/33430218/
- Biomedicines, 2021. Review of erection anatomy and erectile dysfunction in people with coronary artery disease. PMID 33923709. https://pubmed.ncbi.nlm.nih.gov/33923709/