Our Services
Medical Information
Helpful Resources
Published on: 4/13/2026
Painful erections may result from irritation, infection, Peyronie's disease, medication side effects, or trauma. However, a rigid erection lasting more than 4 hours is a medical emergency known as ischemic priapism and requires immediate ER treatment to prevent permanent erectile dysfunction. Sudden severe pain accompanied by a popping sound, swelling, or bruising after injury also demands urgent evaluation.
Key considerations include identifying red flags, knowing when to visit the ER versus scheduling a doctor's appointment, and understanding available treatments. Because painful erections can range from minor irritation to true emergencies, pinpointing your specific symptoms early is critical. Take a free, instant, online symptom check to clarify what's driving your discomfort and get personalized guidance on your next steps—before a manageable issue becomes a lasting problem.
Reviewed for medical accuracy: 07/09/2026
Not seeing your question? No worries.
Submit your own QuestionPain during an erection can be alarming. For many men, erections are not just a sign of sexual health, but overall health. So when an erection becomes painful, it's natural to wonder what's wrong.
The good news is that painful erections causes and treatment are well understood in modern medicine. Some causes are mild and temporary. Others, like priapism, can be serious and require urgent care. Knowing the difference matters.
Below, we'll explain why erections can hurt, what priapism is, what symptoms to watch for, and what steps to take next.
In general, erections should not be painful.
Mild discomfort can occasionally happen due to:
But consistent or significant pain is not normal. If erections regularly hurt, your body is signaling that something needs attention.
Understanding painful erections causes and treatment starts with identifying the underlying condition. Here are the most common reasons.
Priapism is a prolonged erection lasting more than 4 hours that happens without sexual stimulation or continues after stimulation ends.
There are two main types:
This is the most common and most dangerous type.
This is a medical emergency. Without treatment, permanent erectile dysfunction can occur within hours.
Even though it's less urgent, it still requires medical evaluation.
Priapism may be linked to:
If an erection lasts longer than 4 hours, go to the emergency room immediately.
Peyronie's disease causes scar tissue (plaque) to form inside the penis. This can lead to:
Pain is often more noticeable in the early phase of the condition.
Treatment may include:
Many cases stabilize over time, but early evaluation improves outcomes.
Infections can cause inflammation and pain during erections.
Common examples:
Symptoms may include:
Treatment usually involves antibiotics or anti-inflammatory medications.
Injury to the penis can cause painful erections.
This may result from:
A penile fracture often causes:
This is a surgical emergency. Immediate treatment helps preserve long-term function.
Sometimes the pain comes from the skin, not the internal structures.
Conditions include:
Symptoms often include:
These are usually treatable with topical or oral medications.
Some medications can contribute to painful erections, including:
Never stop medication abruptly without consulting a doctor.
Because priapism can be life-threatening to erectile function, it deserves special attention.
During ischemic priapism:
Doctors typically treat it by:
Prompt treatment significantly reduces long-term complications.
If you see a doctor, they may:
Treatment depends entirely on the cause.
Early treatment often prevents long-term issues.
Go to the emergency room if:
These symptoms may indicate a serious condition.
You can schedule a routine visit if:
It's better to check early rather than wait.
Pain can interfere with sexual performance. Anxiety about discomfort may lead to:
If you're experiencing any concerning symptoms related to painful erections or changes in your sexual health, you can quickly check your symptoms using Ubie's free AI-powered symptom checker to better understand what might be happening and get personalized guidance on next steps.
Prevention depends on the cause, but general strategies include:
Healthy blood flow and overall health also play a major role in erectile function.
Painful erections are not something to ignore. The causes range from mild inflammation to serious conditions like priapism.
To summarize painful erections causes and treatment:
The most urgent red flag is an erection lasting more than four hours. That requires immediate medical care to prevent permanent damage.
If your symptoms are persistent, worsening, or interfering with your sex life, speak to a doctor. Anything involving severe pain, trauma, or prolonged erections could be life-threatening to your sexual function and needs professional evaluation.
Getting help early is not overreacting — it's protecting your long-term health.
(References)
* Serefoglu EC, Serefoglu ZM. Erectile Dysfunction and Priapism. Continuum (Minneap Minn). 2021 Oct;27(5):1378-1393. doi: 10.1212/CON.0000000000001016. PMID: 34606138.
* Broderick GA, McMahon C, Smith K, et al. Pathophysiology and management of priapism. Nat Rev Urol. 2020 Jan;17(1):55-68. doi: 10.1038/s41585-019-0261-z. PMID: 31792375.
* Hatzichristodoulou G. Ischemic priapism: diagnosis and management. Ther Adv Urol. 2022 Jul 26;14:17562872221105943. doi: 10.1177/17562872221105943. PMID: 35911425; PMCID: PMC9325988.
* Burnett AL, Hatzichristodoulou G. Non-ischemic priapism: current perspectives. Ther Adv Urol. 2023 Jul 26;15:17562872231189490. doi: 10.1177/17562872231189490. PMID: 37537965; PMCID: PMC10390176.
* Hatzichristodoulou G, Corona G, Goulis DG, et al. EAU Guidelines on Sexual and Reproductive Health. Part 1: Male Sexual Dysfunction. Eur Urol. 2024 Jan;85(1):101-118. doi: 10.1016/j.eururo.2023.09.020. PMID: 37839352.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.