Why Does It Hurt When I Get Hard?

Pain during an erection usually signals that something structural, inflammatory, or circulatory is going on in the penis or surrounding tissues. The causes range from scar tissue forming inside the shaft to tight or inflamed skin on its surface, overactive pelvic floor muscles, trapped nerves, or blood that is not flowing in and out the way it should. Some causes are common and manageable; others are genuine emergencies. Figuring out which category your pain falls into matters, because the right next step depends entirely on the cause.

Peyronie’s Disease

Peyronie’s disease is one of the most recognized reasons erections become painful. It happens when fibrous scar tissue, called a plaque, forms inside the tough sheath that wraps around the erectile chambers of the penis. That sheath normally stretches evenly when blood fills the chambers. A plaque prevents the affected area from stretching, which is why the penis curves toward the scar when erect and why the stretch against rigid tissue hurts.1Europe PMC. Contemporary Management Strategies for Peyronie’s Disease: A Comprehensive Review

Pain tends to be worst in the early, active phase of the disease, when inflammation is still building the plaque. Many men find the pain gradually fades over roughly 12 to 18 months as the plaque matures and stabilizes. The curvature, however, often remains. Erectile difficulties are strikingly common alongside Peyronie’s: roughly 20 to 60 percent of men with the condition also have trouble getting or keeping erections firm enough for sex, a rate far higher than in the general population.2Oxford University Press (Sex Medicine). Bridging fibrosis and function: an integrated mechanistic and therapeutic framework for Peyronie’s disease and related erectile dysfunction So if you notice a curve developing along with pain during erections, Peyronie’s is a strong possibility worth getting evaluated.

Skin Conditions on the Penis

Pain during an erection does not always come from inside the shaft. Sometimes the skin itself is the problem. Lichen sclerosus is a chronic inflammatory skin condition that can affect the foreskin, the head of the penis, and the surrounding tissue. Early on it shows up as whitish patches, thin or fragile skin, and redness. As the condition progresses, the skin can become tight and inelastic, which makes erections painful because the skin cannot stretch to accommodate the increased size.3PubMed Central. Penile Lichen Sclerosis: A Surgical Perspective of its Aetiology and Treatment

Men with lichen sclerosus often report cracking, bleeding, or soreness at the frenulum, the thin band of skin on the underside of the head. These symptoms can be mistaken for a recurring yeast infection or irritation from friction, which delays diagnosis. A tight foreskin that used to retract normally and now does not is another red flag. The condition is treatable, usually with potent topical steroid creams, and early treatment can prevent the scarring that leads to more serious problems like narrowing of the urethral opening.

Pelvic Floor Muscles and Nerve Entrapment

Your pelvic floor muscles sit in a hammock-like layer between your pubic bone and tailbone. They support the bladder, bowel, and the base of the penis, and they play an active role in erections. When these muscles become chronically tight or overactive, the increased tension can cause pain that radiates to the perineum, the tip of the penis, or both. This is commonly associated with chronic pelvic pain syndrome, a condition that overlaps substantially with what used to be called chronic prostatitis.4PubMed Central. Functional and Structural Characteristics of the Pelvic Floor in Patients with Chronic Prostatitis/Chronic Pelvic Pain Syndrome (CP/CPPS)

The pain from pelvic floor dysfunction tends to be dull, aching, and sometimes worse after ejaculation. It can also flare with prolonged sitting, stress, or exercise. The clue that your pelvic floor is involved is that the pain is not limited to erections alone. You might also notice discomfort when urinating, sitting for long periods, or after orgasm.

A related but distinct problem involves the pudendal nerve, which carries sensation from the genitals. If this nerve gets compressed or trapped, typically in a channel it passes through near the sit bones, it can cause burning or shooting pain during erections. Surgical decompression of the pudendal nerve has shown encouraging results in small case series, with most patients in one study regaining full potency after the procedure.5PubMed Central. Sexual dysfunction due to pudendal neuralgia: a systematic review Pudendal neuralgia is still underdiagnosed because it mimics other pelvic conditions, so if your pain is burning in character and worsens when sitting, it is worth bringing up with your doctor specifically.

Priapism and Prolonged Erections

Priapism is a prolonged erection, usually defined as lasting more than four hours, that will not go away on its own. It comes in two very different forms, and the distinction matters enormously because one is an emergency and the other usually is not.

Ischemic priapism, the more common and more dangerous type, occurs when blood becomes trapped in the erectile chambers and cannot drain. The stagnant blood loses oxygen, the tissue becomes starved, and pain builds steadily. This is a true urological emergency: if untreated beyond several hours, permanent damage to the erectile tissue can result. First-line treatment involves draining the blood with a needle and injecting a medication called phenylephrine to constrict the blood vessels and restore normal flow.6PubMed. A narrative review of initial treatment for ischemic priapism

High-flow priapism, by contrast, accounts for only about 5 percent of cases. It happens when an injury to the penis or perineum damages an artery, creating a fistula that pumps too much blood into the erectile chambers. The erection is usually partial rather than fully rigid and, unlike the ischemic type, it is typically painless.7Radiology Case Reports. Diagnosis and treatment of post-traumatic nonischemic priapism: A case report8PubMed Central. The role of the urologist in managing high flow priapism Because high-flow priapism does not starve the tissue of oxygen, it is less urgent, but it still needs evaluation and treatment.

The practical takeaway: a painful erection that will not subside after several hours, especially if the shaft is fully rigid and the head is soft, points to ischemic priapism, and you should get to an emergency room without waiting.

Medications That Can Trigger Painful Erections

Several classes of medication can cause or contribute to painful erections, sometimes by triggering priapism. Antipsychotics and certain antidepressants are the most frequently implicated. Trazodone, a sedating antidepressant commonly prescribed off-label for insomnia, is one of the better-known culprits. Its mechanism involves blocking alpha-adrenergic receptors, which are part of the system that tells blood vessels in the penis to constrict and allow the erection to subside. Block those receptors, and the erection can persist far longer than it should.9PubMed Central. Trazodone-Induced Ischemic Priapism Successfully Managed With Conservative Therapy: A Case Report

Trazodone is not the only medication that does this. Venlafaxine, an antidepressant in a different class, has also been associated with priapism through a similar alpha-adrenergic blocking effect.10PubMed Central. Venlafaxine-associated priapism: Case report and review of priapism linked to psychotropic medications If you recently started a new psychiatric medication and notice erections that are unusually prolonged or painful, report it to your prescriber promptly. In most cases the issue resolves with a dose adjustment or medication switch, but ignoring it risks a full ischemic priapism episode.

Sickle Cell Disease

For men living with sickle cell disease, painful erections are not an occasional oddity but a well-documented and recurring threat. Up to about 35 percent of men with sickle cell disease experience ischemic priapism at some point. The underlying problem involves the misshapen red blood cells characteristic of the disease. These cells are prone to clogging small blood vessels, including the ones responsible for draining blood out of the penis. At the same time, the breakdown of red blood cells disrupts nitric oxide signaling, which normally helps regulate blood vessel tone in the erectile tissue.11Europe PMC. Priapism in sickle cell anemia: emerging mechanistic understanding and better preventative strategies

The result is a vicious cycle. Sickled cells block outflow, blood stagnates, oxygen drops, more cells sickle, and the blockage gets worse. Many men with sickle cell disease experience “stuttering” priapism, recurring shorter episodes lasting an hour or two, which can escalate to a full, prolonged episode requiring emergency treatment. If you have sickle cell disease and notice even brief painful erections, your hematologist or urologist should know, because preventive strategies exist and early intervention can prevent the tissue damage that leads to permanent erectile dysfunction.

Penile Fracture

A penile fracture is the most dramatic cause of sudden pain during an erection. Despite the name, there is no bone involved. What actually ruptures is the tunica albuginea, the same tough fibrous sheath that is affected in Peyronie’s disease. During vigorous sexual activity, if the erect penis bends sharply against a partner’s body, the pressure can tear this sheath. The hallmarks are unmistakable: a popping or snapping sound, immediate sharp pain, rapid loss of the erection, and fast-developing swelling and bruising that gives the penis a dark, swollen appearance sometimes described as an eggplant deformity.12PubMed Central. Accidental Penile Trauma Resulting in a Fracture: A Case Report

This is a surgical emergency. Prompt repair of the torn sheath produces much better long-term outcomes than letting it heal on its own, which tends to result in scarring, curvature, and erectile problems. MRI can show the exact location and size of the tear, which helps surgeons plan the repair, though many centers operate based on clinical findings alone when the diagnosis is obvious.13PubMed. MR imaging of acute penile fracture If this happens to you, do not wait or hope it will feel better in the morning. Go to the emergency department.

Sleep-Related Painful Erections

Most men are aware that erections occur during sleep. For a small number of men, these nocturnal erections are consistently and intensely painful, a condition known as sleep-related painful erections. The pain wakes them up, often multiple times per night, leading to chronic sleep deprivation and significant distress. Unlike priapism, these erections are normal in duration and resolve on their own after waking, but the pain during them is severe enough to disrupt sleep for years.

The condition is poorly understood and was historically difficult to treat. A case series of 24 patients found that baclofen, a muscle relaxant typically used for spasticity, produced complete remission of symptoms in most patients who tried it, usually within a few weeks. Eleven of 14 patients treated with baclofen experienced full relief.14PubMed Central. Sleep-Related Painful Erections-A Case Series of 24 Patients Regarding Diagnostics and Treatment Options Other treatments have been tried with mixed results. If your pain happens exclusively during sleep and not during waking erections, this is a distinct diagnosis that many general practitioners may not recognize, so mentioning the sleep-specific pattern to your doctor is important.

How Doctors Figure Out the Cause

When you go to a doctor with painful erections, the evaluation usually starts with a detailed history. When the pain started, whether it came on suddenly or gradually, whether it coincides with a curve or lump in the shaft, whether it happens during sleep or only with sexual activity, and what medications you take: all of these narrow the list of possibilities considerably.

Physical examination can reveal plaques from Peyronie’s disease, skin changes from lichen sclerosus, or tenderness suggesting infection or inflammation. For imaging, color Doppler ultrasound is typically the first step. It shows blood flow patterns inside the penis and can identify plaques, vascular abnormalities, and signs of priapism.15PubMed. Painful penile induration: imaging findings and management MRI is reserved for cases where more detail is needed, such as suspected fracture or when a tumor needs to be ruled out.

If the history and physical suggest pelvic floor dysfunction or pudendal nerve issues, the evaluation shifts to musculoskeletal testing: assessing muscle tone, trigger points in the pelvic floor, and nerve conduction. Pelvic floor physical therapy, performed by a specialist, is both a diagnostic and therapeutic tool in these cases.

Pain After Penile Prosthesis Surgery

Men who have had a penile prosthesis implanted, typically for erectile dysfunction that did not respond to other treatments, sometimes develop chronic pain afterward. This can happen because of infection, mechanical malfunction, or malposition of the device. A study looking at patients who underwent revision surgery or complete removal of their prosthesis because of pain found that the outcome depended heavily on why the pain started. Patients whose pain was caused by a device that was physically in the wrong position improved after reoperation. But among the broader group, over half continued to have pain even after the prosthesis was repositioned or removed entirely. A prior history of a chronic pain condition was associated with pain persisting despite surgery.16Canadian Urological Association Journal. Chronic pain associated with penile prostheses may persist despite revision or explantation

This is a sobering finding for anyone considering a prosthesis, and an important one for men who already have one and are experiencing pain. If the device has shifted or a mechanical part is pressing where it should not be, correction is straightforward and effective. But if no clear mechanical cause is found, additional surgery is unlikely to help, and pain management strategies focusing on nerve desensitization, physical therapy, or medication may be more productive than another operation.

When to Worry and When to Wait

Not every instance of discomfort during an erection requires a rush to the emergency department. Mild soreness after vigorous or prolonged sexual activity can be normal and typically resolves within a day. Similarly, a brief twinge during an erection that does not recur is usually nothing to lose sleep over.

The situations that warrant urgent medical attention are specific:

  • Erection lasting over four hours: This suggests ischemic priapism and requires emergency treatment to prevent permanent damage.
  • Sudden snap or pop followed by rapid swelling: This pattern points to a penile fracture, which needs surgical repair within hours for the best outcome.
  • Severe pain with visible deformity: Any combination of intense pain and abnormal appearance of the erect or flaccid penis should be evaluated the same day.

Situations that deserve a scheduled appointment but are not emergencies include a new curve developing over weeks or months, pain that recurs with each erection but resolves afterward, skin changes on the penis that are getting worse, or erections that have become painful only after starting a new medication. These patterns all point toward treatable conditions, and the earlier they are evaluated, the more options are on the table. The worst approach is to avoid seeking help out of embarrassment. Urologists deal with these problems routinely, and most causes of painful erections respond well to treatment when caught before permanent tissue changes set in.