That burning, stinging, or sharp pain when urine passes is called dysuria, and it has a short list of common causes. In men, the most frequent ones are urinary tract infections, sexually transmitted infections, and inflammation of the prostate. The exact location of the pain — inside the urethra, at the tip of the penis, or deeper in the pelvis — often points toward which one it is.
Painful urination is not something to ignore or wait out. It usually means tissue along the urinary tract is irritated or infected, and the right treatment depends entirely on what is causing it. Antibiotics help some causes and do nothing for others.
Why Does It Hurt When I Urinate Male?
Urine itself is not the problem. The pain comes from inflamed tissue lining the urethra, bladder, or prostate. When acidic urine flows over that raw, swollen surface, nerve endings fire and you feel burning or stinging.
In men, the urethra is longer than in women — roughly 8 inches compared with about 1.5 inches. That length changes which infections are common and how they behave. A longer tube means bacteria have farther to travel to reach the bladder, which is one reason urinary tract infections are less common in men than in women.
But that same length creates its own set of problems. The urethra passes directly through the prostate gland. When the prostate swells or becomes infected, it can squeeze the urethra and cause pain that feels like it is coming from the urinary tract itself.
The type of pain matters. Burning right at the opening of the penis usually points to the urethra. Pain higher up in the pelvis or perineum — the area between the scrotum and anus — often points to the prostate or bladder.
What Are the Most Common Causes of Painful Urination in Men?
The causes fall into a few distinct groups. Each one produces a slightly different pattern of symptoms, which is why doctors ask detailed questions before testing.
Urinary Tract Infections
A urinary tract infection, or UTI, happens when bacteria — most often E. coli from the digestive tract — travel up the urethra and multiply. In men, this is less common than in women, but when it does occur it is often considered a more serious event because it can involve the prostate or kidneys.
Symptoms typically include burning during urination, a frequent urge to go, cloudy or strong-smelling urine, and sometimes fever. A UTI that reaches the kidney can cause flank pain, chills, and high fever — that is a medical emergency.
Men with an enlarged prostate, kidney stones, or a catheter are at higher risk. So are men with diabetes, because elevated blood sugar can impair the immune response and encourage bacterial growth.
Sexually Transmitted Infections
Gonorrhea and chlamydia are two of the most common STIs that cause painful urination in men. Both infect the urethra and produce a burning sensation, often along with discharge. Chlamydia discharge tends to be thinner and clearer. Gonorrhea discharge is often thicker and yellow or green.
These infections can be silent. Many men have no symptoms at all, which is why screening matters if there has been a potential exposure. Untreated chlamydia and gonorrhea can lead to epididymitis — inflammation of the tube at the back of the testicle — and, in some cases, reduced fertility.
Trichomoniasis and herpes can also cause urethral irritation, though the pattern of symptoms differs. Herpes typically produces blisters or sores, while trichomoniasis may cause a discharge and irritation without visible lesions.
Prostatitis
Prostatitis is inflammation of the prostate gland. It can be acute (sudden and severe, usually bacterial) or chronic (long-lasting, often with no clear infectious cause). Both types can cause painful urination.
Acute bacterial prostatitis usually comes with fever, chills, and pain in the perineum or lower back. Chronic prostatitis is more subtle — a dull ache, urinary urgency, and discomfort that comes and goes over weeks or months. Chronic prostatitis is one of the most common reasons men under 50 see a urologist for pelvic pain.
Urethritis
Urethritis is inflammation of the urethra itself. It can be caused by an infection, but it can also result from irritation — harsh soaps, spermicides, or trauma from catheterization. Non-infectious urethritis is less common but real.
Other Causes
- Kidney stones — a stone passing through the ureter can cause severe pain, often radiating from the back to the groin, along with blood in the urine.
- Bladder stones — less common but can irritate the bladder lining and cause pain at the end of urination.
- Interstitial cystitis — a chronic bladder condition that causes pain and urinary urgency without infection. It is more common in women but does occur in men.
- Medications — some drugs, including certain chemotherapy agents and NSAIDs, can irritate the bladder lining.
- Radiation therapy — pelvic radiation can inflame the bladder and urethra, sometimes months or years after treatment.
When Should I See a Doctor for Painful Urination?
See a doctor promptly if you have painful urination along with any of the following:
- Fever, chills, or nausea
- Blood in the urine
- Pain in your back or side
- Discharge from the penis
- Symptoms that last more than a few days
- A weakened immune system or diabetes
These signs suggest the infection may have moved beyond the urethra into the bladder, prostate, or kidneys. Kidney involvement is the most serious — it can lead to sepsis if untreated.
Do not try to treat this at home with cranberry juice or increased water alone. Those measures may help prevent some UTIs, but they do not treat an active infection. Delaying antibiotics when they are needed allows the infection to spread.
How Is Painful Urination Diagnosed in Men?
Diagnosis starts with a urine sample. A urinalysis checks for white blood cells, red blood cells, and bacteria. A urine culture can identify the specific organism and which antibiotics will work against it.
If an STI is suspected, a swab or urine test for gonorrhea and chlamydia is standard. Blood tests may be used to check for other infections or to assess kidney function.
For recurring symptoms or when prostatitis is suspected, a doctor may perform a digital rectal exam to feel the prostate. Imaging — such as an ultrasound or CT scan — may be ordered if stones or structural problems are possible.
In some cases, a urologist may use a cystoscope — a thin tube with a camera — to look inside the urethra and bladder directly.
What Does Treatment for Painful Urination Involve?
Treatment depends entirely on the cause. This is not a condition where one approach works for everyone.
Bacterial UTIs and STIs are treated with antibiotics. The choice of antibiotic and duration depends on the specific organism and your health history. It is essential to finish the full course even if symptoms improve quickly, because partial treatment can lead to resistant infections.
Prostatitis treatment is more complicated. Acute bacterial prostatitis requires a longer course of antibiotics — often several weeks — because the prostate is difficult for drugs to penetrate. Chronic prostatitis is harder to treat and sometimes does not respond to antibiotics at all. Some clinicians use alpha-blockers, anti-inflammatory drugs, or pelvic floor therapy, though evidence for these approaches varies.
For non-infectious causes, treatment focuses on removing the irritant. That might mean switching medications, avoiding harsh soaps, or treating an underlying condition like kidney stones.
Pain relief can include over-the-counter medications like ibuprofen or acetaminophen, but these treat the symptom, not the cause. They should not replace proper diagnosis and treatment.
What Does the Evidence Show About Prevention?
Some prevention strategies are well-supported. Others are not.
Drinking enough water is consistently linked to lower risk of UTIs because it dilutes urine and encourages more frequent urination, which helps flush bacteria out of the urinary tract. The exact amount varies by person, but aiming for pale yellow urine is a reasonable guide.
Urinating after sex can help reduce the risk of UTIs by flushing bacteria that may have entered the urethra. This is widely recommended by clinicians, though direct trial evidence in men is limited.
Using condoms reduces the risk of STIs that cause urethritis. This is well-established.
Cranberry products are often marketed for UTI prevention. The evidence here is mixed. Some studies suggest a modest benefit for women with recurrent UTIs, but evidence in men is very limited. No clinical guidelines currently recommend cranberry for prevention in men.
Good hygiene — washing the penis regularly, especially before and after sex — can reduce irritation and bacterial buildup. Avoid harsh soaps or douches, which can strip natural oils and cause irritation.
What Else Could Be Causing the Pain?
Not all painful urination is infectious. Sometimes the cause is mechanical, chemical, or neurological.
An enlarged prostate — benign prostatic hyperplasia — can cause urinary symptoms including a weak stream, urgency, and discomfort. It does not usually cause burning, but it can make the urethra more vulnerable to irritation.
Pelvic floor dysfunction can cause pain with urination, especially in men with chronic pelvic pain syndrome. The muscles around the bladder and urethra become tight and painful, and urination can trigger spasms.
Certain foods and drinks — caffeine, alcohol, spicy foods, and acidic fruits — can irritate the bladder in sensitive individuals. This is not an infection, but it can feel like one.
If you have painful urination that persists despite treatment, or if tests come back negative, ask your doctor about these less common causes. They are easy to miss when the focus stays on infection.
Frequently Asked Questions
Can dehydration cause painful urination?
Dehydration makes urine more concentrated, which can irritate the urethra and cause a burning sensation when you urinate. It does not cause infection, but it can make existing irritation worse.
How long does painful urination usually last?
With appropriate treatment, symptoms from a bacterial infection often improve within 48 to 72 hours. If pain persists beyond that or worsens, you need to be re-evaluated.
Does drinking cranberry juice help?
Evidence for cranberry in treating an active infection is weak, and no guidelines recommend it for men. It may have a modest role in prevention for some women, but that does not translate to treatment.
Can painful urination go away on its own?
Mild irritation from soap or dehydration may resolve on its own within a day or two. Pain from a bacterial infection will not — it requires antibiotics and can worsen without them.

