Painful Erection

Painful erections are never normal, and there are times when the pain may be a sign of a medical emergency. The pain may be severe and need immediate medical or occur sporadically but resolve once the penis is soft.

An erection ("hard on") occurs when two tube-shaped structures within the penis become engorged with blood due to sexual arousal or stimulation. The pain may be the result of a recent or prior injury, a blood circulation problem, drug use, or a neurological (nerve-related) issue.

This article explores the symptoms and causes of painful erections and explains how the condition is diagnosed and treated. It also describes when a painful erection is a sign of a medical emergency in need of immediate care.

Man experiencing pain with erection

RealPeopleGroup / Getty Images

Painful Erection Symptoms

Pain is the central feature of a painful erection, but the characteristics of the pain can vary based on the underlying cause. For example:

  • The pain can range from dull to severe.
  • The pain may be felt as you get an erection or only during sexual intercourse.
  • The pain may be felt in specific parts of the penis or the entire shaft.
  • The pain may occur whenever you have an erection or only with nighttime erections.

These and other symptoms can point a healthcare provider toward the correct diagnosis and treatment.

Causes of Painful Erection

There are common and uncommon causes of painful erections, some of which are more treatable than others. Each has tell-tale signs and risk factors that can help differentiate one from the other.

Peyronie's Disease

Peyronie's disease (PD) is a condition commonly affecting older people in which the penis suddenly develops an abnormal curve. It is thought to be caused by the buildup of scar tissue due to a history of mild sexual trauma or injury to the penis.

When this occurs, scar tissue can develop on the thick membrane surrounding the sponge-like columns of tissues within the penis (called the corpora cavernosa). This can cause the membranes to suddenly contract at the site of the scar tissue, leading to an abnormal curve.

PD can cause pain during erections due to stretching of the shortened membranes. Depending on the severity of PD, the pain may be felt when getting an erection or only during sexual intercourse. Some people with PD may also feel pain when the penis is flaccid (soft).

Risk factors for PD include:

Pain in Peyronie's Disease

A 2021 study published in Sexual Medicine concluded that 65.2% of people with Peyronie's disease—or roughly 3 of every 5 individuals—experience painful erections.

Priapism

Priapism is an erection that persists for hours without sexual stimulation. There are three types of priapism a person can experience:

  • Ischemic priapism: Also known as low-flow priapism, this is the most common type in which blood cannot leave the penis after an erection. Causes include prescription medications, recreational drugs, certain insect venoms, leukemia (blood cancer), spinal cord injury, and penile cancer.
  • Intermittent priapism: Also known as stuttering priapism, this is a less common variation of ischemic priapism most commonly associated with sickle cell disease (a genetic condition affecting the red blood cells).
  • Non-ischemic priapism: Also known as high-flow priapism, this is when the body continues to pump large amounts of blood into the penis, engorging the penis. It is most often the result of an injury to the perineum (the space between the anus and genitals).

A painful erection is characteristic of ischemic priapism but not non-ischemic priapism. With ischemic priapism, the shaft of the penis will be rigid, but the glans will be soft, and the pain will get progressively worse.

Medical Emergency

Prolonged ischemic priapism, including stuttering priapism, is considered a medical emergency.

Penile Fracture

Penile fracture is the rupture of the fibrous membrane surrounding the corpora cavernosa, called the tunica albuginea. It is caused by blunt force trauma to the penis during sexual intercourse or aggressive masturbation. In some cases, other veins, nerves, or vessels can be injured, including the urethra (the tube through which urine exits the body).

A penile fracture is considered a medical emergency and can lead to a change in penis shape, loss of the ability to maintain an erection (erectile dysfunction), and difficulties urinating.

While pain is usually felt at the time of the fracture, on rare occasions, a person may only experience pain later when they have an erection or sex.

Certain sexual positions can cause a penile fracture by colliding the erect penis against the bony structures of the pelvis. Some injectable drugs used to treat Peyronie's can increase the risk of penile fracture by dissolving scar tissues and weakening the tunica albuginea.

Sleep-Related Painful Erection

Sleep-related painful erection (SRPE) is a rare condition in which a person experiences painful erections during deep rapid eye movement (REM) sleep but has normal, painless erections when awake.

The cause of SRPE is unclear, but most studies suggest that obstructive sleep apnea (OSA) plays a central role. It is thought gaps in breathing spurred by OSA may increase blood flow to the penis and stimulate the production of chemicals called neurotransmitters that may amplify a person's sensitivity to pain.

SRPE may also result from intermittent ("stuttering") priapism which tends to occur more at night than during the day.

Penile Tumors

Painful erections are sometimes caused by forming a benign (non-cancerous) tumor on a blood vessel or nerve of the penis.

One such example is a rare tumor called an epithelioid hemangioma which typically causes a painless tumor around the head or neck. Cases have been known to occur within the blood vessels of the penis. During an erection, the tumor can suddenly press on a nearby nerve and trigger acute pain or discomfort.

Another example is a rare, painless tumor called a schwannoma that usually develops on nerves in the head, neck, or limbs. When a schwannoma occurs in the penis, it can cause painful erections during the day but more often during the night. Pain with ejaculation and erectile dysfunction are also common.

Penile Lichen Sclerosus

Penile lichen sclerosus is a rare condition most commonly seen in people with an uncircumcised penis that causes the progressive hardening of the tissues of the foreskin and glans. If left untreated, it can cause scarring that affects not only sexual function but urinary function as well.

Penile lichen sclerosus can cause painful erections by exerting increased vascular pressure on stiff, inflexible tissues. Itching, pain, redness, and swelling are also common.

The cause of penile lichen sclerosus is unknown but is thought by some to be a form of autoimmunity (in which the immune system attacks the body's tissues). The persistent dribbling of urine under the foreskin may also contribute by causing long-term tissue injury.

How to Treat Painful Erection

The treatment of a painful erection varies by the underlying cause as well as the severity of pain.

The first, best step is to allow the penis to return to its normal flaccid state. This may not be easy if an injectable erectile dysfunction drug like Caverject (alprostadil) has been used or even possible without medical assistance if priapism is involved.

In non-emergency situations, placing a cold compress on the penis or perineum for 10 to 20 minutes may help reduce the erection while alleviating pain. (But, avoid over-icing the skin as this can cause frostbite and tissue or nerve damage.)

If there is lingering pain, an over-the-counter pain reliever like Tylenol (acetaminophen) or Advil (ibuprofen) can help.

But, treating acute pain is only part of the solution. A healthcare provider will also want to treat the underlying cause to avoid complications and recurrence.

Condition Treatment options
Peyronie's disease - Xiaflex (collagenase) injections to break up scar tissues
- Verapamil 15% topical gel used to treat many connective tissue diseases
- Penile traction therapy
-Surgery, including tissue grafts and penile implants
Ischemic priapism -Aspiration decompression used to remove excess blood from the penis with a needle and syringe
-Phenylephrine injection to quickly contract (narrow) blood vessels in the penis
-Surgery if other treatments fail
Non-ischemic priapism -No treatment may be needed other than ice application to help reduce the erection
-Surgery may be needed in severe cases to control blood flow to the penis
Penile fracture -Surgery to repair damage to the tunica albuginea and corpora cavernosa
Sleep-related painful erection (SRPE) - Lyvispah (baclofen) which acts as a muscle relaxant
- Proscar (finasteride) to reduce the effects of testosterone and incidence of nighttime erections
- Clozaril (clozapine) to slow the production of neurotransmitters associated with pain hypersensitivity
- Continuous positive airway pressure (CPAP) to treat obstructive sleep apnea
Benign penile tumors -Surgery to remove the tumor
-Stereotactic radiation (less commonly used)
Penile lichen sclerosus -Moisturizing lotions and creams
-Topical steroids to reduce inflammation
-Local steroid injections if topical treatments fail
-Ultraviolet light therapy
-Circumcision

Are There Tests to Diagnose Painful Erection?

The diagnosis of a painful erection involves a physical examination of your penis and a review of your medical history (including any medical conditions you have or any medications you may be taking). You may be referred to a specialist known as a urologist who is trained in diseases of the urinary system and male reproductive tract.

The most common tool used for the diagnosis of penis abnormalities is an ultrasound. This is a non-invasive device that uses sound waves to create detailed images of soft tissues. It can check if your penis has any scar tissues, tumors, nodules, bleeding, tears, or circulation problems.

If the cause remains unclear, magnetic resonance imaging (MRI) may be ordered. This technology uses powerful magnetic and radio waves to create highly detailed images of soft tissues. An MRI can sometimes detect what a penile ultrasound may miss.

A penile blood gas test may be ordered to determine if priapism is ischemic or non-ischemic. For this test, a sample of blood is taken from the penis with a needle and syringe. Dark or black blood is typically a sign of ischemic priapism, while red blood is a sign of non-ischemic priapism.

Other blood tests may be ordered to check for blood diseases associated with priapism, such as sickle cell disease or certain cancers.

If a tumor is found or lichen sclerosis is suspected, a biopsy may be performed to obtain a tissue sample to examine in the lab. This can ensure that the condition is benign and not malignant (cancerous).

When to See a Healthcare Provider

Ischemic priapism is a medical emergency. If left untreated, the blockage of blood circulation can deprive tissues of oxygen needed to survive. The resulting damage to tissues, nerves, and blood vessels can lead to scarring, changes in penile appearance, and erectile dysfunction.

On rare occasions, priapism can lead to a potentially life-threatening condition called gangrene, in which the rapid progression of tissue death may require the amputation of the penis.

It has been estimated that priapism lasting 24 hours is associated with a 50% chance of permanent erectile dysfunction.

When to Call 911

Call 911 or go to your nearest emergency room if you have an erection lasting more than four hours without sexual stimulation or interest.

Summary

A painful erection can be caused by many things, some of which are severe. Possible causes include Peyronie's disease, a penile fracture, penile tumors, penile lichen sclerosus, and a rare disorder called sleep-related painful erection (SRPE).

A painful erection may require diagnosis and treatment by a specialist known as a urologist. The diagnosis may involve a physical exam, blood tests, a biopsy, and imaging tests such as a penile ultrasound or magnetic resonance imaging (MRI).

Priapism is a medical emergency in which an erection lasts for four hours or more, typically with increasing pain. Priapism can lead to permanent damage and irreversible erectile dysfunction if left untreated.

A Word From Verywell

As embarrassing as it may be to discuss an erection problem with a healthcare provider, don't let discomfort stand in your way of getting diagnosed and treated.

Delaying treatment for conditions like Peyronie's disease can make the symptoms far more difficult to treat and increase the risk of complications, such as erectile dysfunction. Moreover, there may be an underlying condition that requires immediate medical care.

Even if the pain is relatively mild, it can still affect your sex life, making it harder to sustain an erection or achieve an orgasm. If you feel awkward discussing erection problems with your primary care provider, ask for a referral to a urologist or speak with a urologist via telehealth services.

Frequently Asked Questions

  • Which medications cause painful erections?

    Medications don't cause painful erections but can contribute to a serious medical condition called priapism, in which an erection lasts for four hours or more, causing pain and injury. Rare incidents of priapism have been reported with:

    • Attention deficit hyperactivity disorder (ADHD) drugs like Ritalin (methylphenidate)
    • Alpha blockers like Flomax (tamsulosin)
    • Antidepressants like Prozac (fluoxetine)
    • Antipsychotic drugs like Risperdal (risperidone)
    • Injectable erectile dysfunction drugs like Caverject (alprostadil)
    • Recreational drugs like marijuana and cocaine
  • Can erectile dysfunction drugs cause painful erections?

    Erectile dysfunction (ED) drugs don't cause erection pain, but they can, on rare occasions, lead to a painful condition called priapism, in which an erection won't go down. Even so, the risk of priapism from ED drugs is low, with just over 400 cases reported to the Food and Drug Administration (FDA) since 1998.

  • Are painful erections a sign of penile cancer?

    Penile cancer can cause swelling at the head of the penis and foreskin, known as balanitis. Balanitis can cause a painful erection by trapping the head of the penis behind the foreskin. Other symptoms of penile cancer include lesions, ulcers, or wart-like growths on the penis, as well as a smelly discharge from under the foreskin.

24 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Van Driel MF. Physiology of penile erection—a brief history of the scientific understanding up till the eighties of the 20th century. Sex Med. 2015;3(4):349-357. doi:10.1002/sm2.89

  2. American Urological Association. Managing patients with penile/glans pain: genito-pelvic dysesthesia.

  3. National Institute of Diabetes and Digestive and Kidney Diseases. Penile curvature (Peyronie's disease).

  4. Flores JM, Salter CA, Nascimento B, et al. The prevalence and predictors of penile pain in men with Peyronie's disease. Sex Med. 2021;9(4):100398, doi:10.1016/j.esxm.2021.100398

  5. Levey HR, Segal RL, Bivalacqua TJ. Management of priapism: an update for clinicians. Ther Adv Urol. 2014;6(6):230–244, doi:10.1177/1756287214542096

  6. Levey HR, Kutlu O, Bivalacqua TJ. Medical management of ischemic stuttering priapism: a contemporary review of the literature. Asian J Androl. 2012;14(1):156–163. doi:10.1038/aja.2011.114

  7. Mirzazadeah M, Fallanhkarkan M, Hossein J. Penile fracture epidemiology, diagnosis and management in Iran: a narrative review. Transl Androl Urol. 2017;6(2):158–166. doi:10.21037/tau.2016.12.03

  8. Sabharwal S, George AJP, Singh JC. Hidden penile fracture: an unusual presentation and review of literature. Urol Ann. 2015;7(2):248–250. doi:10.4103/0974-7796.150495

  9. Reis LO, Cartapatti M, Marmiroli R, de Oliveria Junior, Saade RD, Fregonesi A. Mechanisms predisposing penile fracture and long-term outcomes on erectile and voiding functions. Adv Urol. 2014;2014:768158. doi:10.1155/2014/768158

  10. Endo Pharmaceuticals. Xiaflex (collagenase clostridium histolyticum) for injection, for intralesional use.

  11. Wang Y, Zhang J, Li Hi. Narrative review: pathogenesis, diagnosis, and treatment of sleep-related painful erection.Transl Androl Urol. 2021;10(12):4422-4430. doi:10.21037/tau-21-1045

  12. Johnson MA, McNeillis V, Chiriaco G, Ralph DJ. Rare disorders of painful erection: a cohort study of the investigation and management of stuttering priapism and sleep-related painful erection. J Sex Med. 2021;18(2):376-384. doi:10.1016/j.jsxm.2020.11.010

  13. Barber E, Domes T. Painful erections secondary to rare epithelioid hemangioma of the penis. Can Urol Assoc J. 2014;8(9-10):E647–E649. doi:10.5489/cuaj.1833

  14. Tow CM, Tang J, Chun CM, Chien JLK. A rare case of penile schwannomatosis presenting with painful nocturnal penile tumescence. Basic Clin Androl. 2022;32:4. doi:10.1186/s12610-022-00154-y

  15. Singh JP, Priyadarshi V, Goel HK. Penile lichen sclerosus: an urologist's nightmare! - a single center experience. Urol Ann. 2015;7(3):303–308. doi:10.4103/0974-7796.150490

  16. Howard M, Hall A. Treatment of penile lichen sclerosus with topical corticosteroids for over 25 years’ duration: a case report, SAGE Open Med Case Rep. 2018;6:2050313X18795047. doi:10.1177/2050313X18795047

  17. Bunker CB, Shim TN. Male genital lichen sclerosus. Indian J Dermatol. 2015;60(2):111–117. doi:10.4103/0019-5154.152501

  18. Anele UA, Le BV, Resar LMS, Burnett AL. How I treat priapism. Blood. 2015;125(23):3551–3558. doi:10.1182/blood-2014-09-551887

  19. Panwar VK, Mavuduru RS, Devana SK, Vaiphei K, Bora GS. Priapism with penile gangrene: an unusual presentation of multiple myeloma. Indian J Urol. 2017;33(3):251–252. doi:10.4103/iju.IJU_41_17

  20. Muneer A, Alnajjar HM, Ralph D. Recent advances in the management of priapism. F1000Res. 2018;7:37. doi:10.12688/f1000research.12828.1

  21. New Zealand Medicines and Medical Devices Safety Authority. The hard facts on drug-induced priapism (long-lasting erections).

  22. Rezaee ME, Gross MS. Are we overstating the risk of priapism with oral phosphodiesterase type 5 inhibitors? J Sex Med. 2020;17(8):1579-1582. doi:10.1016/j.jsxm.2020.05.019

  23. Douglawi A, Masterson TA. Updates on the epidemiology and risk factors for penile cancer. Transl Androl Urol. 2017;6(5):785–790. doi:10.21037/tau.2017.05.19

  24. National Cancer Institute. Penile cancer treatment (PDQ)–health professional version.

By James Myhre & Dennis Sifris, MD
Dr. Sifris is an HIV specialist and Medical Director of LifeSense Disease Management. Myhre is a journalist and HIV educator.