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.

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:

A family history of Peyronie’s disease Engaging in vigorous sexual activity Diabetes Erectile dysfunction Having a connective tissue disease (like Dupuytren’s contracture) Having an autoimmune disease Having had prostate cancer surgery

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.

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 (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.

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.

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.

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

There was an error. Please try again.