SymptomMen's health
Penile Pain: Causes and When to Get Help
Penile pain is pain in the shaft, head (glans) or foreskin of the penis, during urination, during erections or all the time. Common causes are inflammation of the head of the penis (balanitis), sexually transmitted infections, urinary tract infections and Peyronie's disease. Some causes are emergencies: an erection lasting more than 4 hours (priapism), a snap with sudden swelling during sex (penile fracture), and a foreskin stuck behind the head (paraphimosis) all need immediate care.
Also called: Penis pain, painful penis, genital pain in men, pain in the shaft of the penis
At a glance
- Common causes
- Balanitis, STIs (chlamydia, gonorrhea, herpes), urinary infection, prostatitis, Peyronie's disease.
- Emergencies
- Priapism, penile fracture, paraphimosis.
- Pain when peeing
- Usually urethritis, a UTI or a kidney stone.
- Pain with erections
- Peyronie's disease, priapism, tight foreskin.
- Treatment
- Depends on cause: antibiotics or antivirals, creams, hygiene, and urgent procedures for emergencies.
When to get help
Call 911 or go to the ER
- An erection lasting more than 4 hours, or a painful erection without arousal (priapism)
- A popping or cracking sound during sex followed by pain, rapid loss of erection, swelling and bruising (penile fracture)
- A retracted foreskin that will not return over the head, with swelling and pain (paraphimosis)
- Rapidly spreading redness, swelling or blackened skin of the penis or scrotum with fever
- Unable to pass urine with a painful, swollen lower belly
See a doctor within a day or two
- Penile pain with fever, chills or back pain
- Severe, colicky pain in the side or groin spreading to the tip of the penis (possible kidney stone)
- Painful blisters or sores on the penis
- Discharge from the penis with burning when peeing
Book a routine appointment
- A new bend, lump or indentation in the penis, or pain with erections
- Redness, itching or soreness of the head of the penis that keeps coming back
- A tight foreskin that will not pull back or splits during sex
- A sore or growth on the penis that does not heal within 3 to 4 weeks
Usually safe to manage at home
- Mild soreness after vigorous sex or masturbation that settles in a day or two
- Mild irritation from a new soap or condom brand that clears once you stop using it
Causes of penile pain by pattern
| Pattern | Likely causes |
|---|---|
| Burning when peeing, discharge | Urethritis (STI), urinary tract infection |
| Red, sore, itchy head of penis | Balanitis, thrush, irritant reaction |
| Painful blisters or sores | Genital herpes, rarely other STIs |
| Pain with erections, bend or lump | Peyronie's disease, tight foreskin |
| Prolonged painful erection | Priapism |
| Sudden pain and swelling during sex | Penile fracture |
| Pain at tip with side or groin pain | Kidney or ureteral stone |
| Deep pain at base, perineum, after ejaculation | Prostatitis, chronic pelvic pain |
Infections and inflammation
Balanitis
Balanitis is inflammation of the head of the penis, often with the foreskin too. It causes redness, soreness, itching, a rash and sometimes a smelly discharge. It is common in uncircumcised men and in men with diabetes. Causes include yeast (thrush), bacteria, poor hygiene, and irritation from soaps, lubricants or latex.
Urethritis and STIs
Urethritis is inflammation of the urethra, usually from chlamydia, gonorrhea, Mycoplasma genitalium or trichomonas. It causes burning or stinging when urinating, discharge and sometimes pain at the tip of the penis. Chlamydia often causes few symptoms.
Genital herpes causes painful small blisters that burst into shallow sores, often with tingling beforehand, and flu-like symptoms during the first outbreak.
Urinary tract infection and prostatitis
UTIs are less common in men than women but cause burning, frequency and urgency. Prostatitis causes pain at the base of the penis, in the perineum (between scrotum and anus), during or after ejaculation, and sometimes fever.
Structural and erection-related causes
Peyronie's disease
Peyronie's disease is scar tissue (plaque) that forms in the penis, causing a curve, lump, indentation or shortening during erections. Pain is common in the early, active phase and often settles within 12 to 18 months, though the curve may remain. It can make sex difficult and is linked to erectile dysfunction.
Priapism
Priapism is an erection lasting more than 4 hours that is not related to sexual arousal. The painful type (ischemic priapism) traps blood in the penis and can permanently damage erectile tissue within hours. Causes include erectile dysfunction injections, some antidepressants and antipsychotics, sickle cell disease, cocaine and cannabis.
Phimosis and paraphimosis
Phimosis is a tight foreskin that cannot pull back, which can cause pain during erections and sex, and infections. Paraphimosis is when a retracted foreskin gets stuck behind the head and swells, cutting off blood flow. It is an emergency.
Injury
- Penile fracture: a tear in the tough covering of the erectile tissue during vigorous sex, usually with a pop, immediate pain, loss of erection and dark bruising ("eggplant deformity"). It needs surgery, ideally within a day.
- Zipper injuries, bites and friction injuries.
Other causes
- Kidney stones: pain moves from the back or side to the groin and can be felt in the tip of the penis as the stone moves down.
- Bladder stones: pain at the tip of the penis, especially at the end of urination.
- Skin conditions: lichen sclerosus, lichen planus, psoriasis and eczema.
- Penile cancer: rare. A painless or painful sore, lump or color change on the head or foreskin that does not heal.
- Nerve pain: pudendal neuralgia or pain referred from the lower back.
How doctors find the cause
A doctor will ask when the pain started, whether it is constant or happens with urination, erections or sex, about discharge, sores, sexual partners, injuries, medicines and drug use. They examine the penis, foreskin, testicles and groin, and may check the prostate.
Tests may include a urine test and urine culture, NAAT testing for chlamydia and gonorrhea, swabs from sores or discharge, blood glucose, and ultrasound for Peyronie's disease, fracture or priapism. A CT scan finds kidney stones.
Treatment
- Balanitis: gentle daily washing with warm water, no soap on the head of the penis, and an antifungal or antibiotic cream depending on the cause. A mild steroid cream may be added for irritation.
- STIs: antibiotics or antivirals, with testing and treatment of partners. Avoid sex until treatment is complete.
- UTI and prostatitis: antibiotics, often for several weeks for prostatitis.
- Peyronie's disease: watchful waiting in the early phase, traction devices, injections into the plaque, or surgery once stable.
- Priapism: draining blood from the penis with a needle and injecting medicine to shrink the blood vessels, in the ER.
- Paraphimosis: reducing swelling and manually returning the foreskin, sometimes with a small cut. Circumcision may follow.
- Penile fracture: surgical repair.
- Pain relief: acetaminophen (paracetamol) or ibuprofen at the label dose, and cool compresses for swelling.
Frequently asked questions
Why does my penis hurt when I pee?
Pain or burning when urinating is usually caused by urethritis from an STI such as chlamydia or gonorrhea, a urinary tract infection, or prostatitis. Kidney or bladder stones can also cause pain at the tip. See a doctor for testing, because treatment depends on the cause.
What causes pain in the shaft of the penis?
Common causes are Peyronie's disease (with a bend or lump), injury from vigorous sex, urethritis, and, during a prolonged erection, priapism. Sudden pain and swelling after a pop during sex suggests a penile fracture and needs emergency care.
Why does the head of my penis hurt?
Soreness of the head is often balanitis, caused by yeast, bacteria or irritation from soap, especially under a foreskin. Herpes sores and friction can also cause it. Pain at the tip when peeing points to urethritis, a UTI or a stone.
Is penile pain during an erection serious?
It can be. An erection lasting over 4 hours is an emergency. Pain with a new curve or lump suggests Peyronie's disease, which needs a urologist but is not urgent. Pain from a tight foreskin during erections is treatable with creams or circumcision.
Sources
This guide was written from current patient and clinical guidance, including:
- American Urological Association: Urology Care Foundation, Peyronie's Disease
- American Urological Association: Priapism guideline
- CDC: Sexually Transmitted Infections Treatment Guidelines, 2021
- NHS: Balanitis
- MedlinePlus: Penis pain