Painful urination in men is most commonly caused by a urinary tract infection, a sexually transmitted infection, or inflammation of the prostate. Treatment depends entirely on which of these is behind it, but most causes resolve fully with the right course of antibiotics or by removing the irritant. Here’s what could be going on and what treatment looks like for each cause.
Urinary Tract Infections
UTIs are one of the most straightforward causes of burning or stinging when you pee. Bacteria enter the urethra and multiply in the bladder, triggering inflammation that makes urination painful. You may also notice a frequent, urgent need to go, cloudy or strong-smelling urine, or pelvic pressure.
For uncomplicated UTIs in men, treatment typically lasts about 7 days of oral antibiotics. Women often get shorter courses, but men need the full week because bacteria can be harder to clear from the male urinary tract. Your doctor will likely collect a urine sample first. The diagnostic threshold for confirming a UTI in men is relatively low: bacterial growth of just 1,000 colony-forming units per milliliter is enough to confirm the infection.
While you’re waiting for antibiotics to kick in, an over-the-counter urinary pain reliever containing phenazopyridine can take the edge off. The standard dose is 200 mg three times a day, but this is purely for symptom relief. It won’t treat the underlying infection, and it will turn your urine bright orange, which is harmless but startling if you’re not expecting it.
Sexually Transmitted Infections
Gonorrhea and chlamydia are the two STIs most likely to cause painful urination in men. Both infect the urethra and produce burning during urination, sometimes with a discharge from the tip of the penis. Gonorrhea tends to produce a thicker, yellowish discharge, while chlamydia may cause a thinner one or none at all.
Gonorrhea is treated with a single injection of ceftriaxone, a powerful antibiotic. If chlamydia hasn’t been ruled out (and it often coexists with gonorrhea), you’ll also take a week-long course of oral doxycycline to cover it. Many clinics treat for both at the same time as a precaution. Symptoms usually improve within a few days of treatment, and sexual partners need to be treated as well to prevent reinfection.
Prostatitis
The prostate gland sits just below the bladder and wraps around the urethra, so when it becomes inflamed, urination can become painful, slow, or both. Prostatitis can strike men of any age and comes in two main forms: acute and chronic bacterial.
Acute bacterial prostatitis hits hard and fast, often with fever, chills, and severe pain in the lower pelvis or lower back on top of the burning urination. If you’re not severely ill, outpatient treatment with oral antibiotics is standard. Once your doctor identifies the specific bacteria from urine or blood cultures, you’ll typically take a targeted antibiotic for 2 to 4 weeks.
Chronic bacterial prostatitis is a longer, more frustrating condition. Symptoms come and go over weeks or months, and treatment requires a longer antibiotic course, usually around 4 weeks. Some men with persistent infections, especially those involving tiny prostate stones or bacterial biofilms, may need treatment extending to 6 or even 12 weeks. When the infection can’t be fully eliminated, long-term low-dose antibiotics can help keep symptoms from flaring.
Enlarged Prostate
Benign prostatic hyperplasia, or BPH, is extremely common in men over 50. As the prostate grows, it physically squeezes the urethra. Your bladder muscles then have to push harder to force urine through the narrowed channel, which can cause discomfort or pain during urination along with a weak stream, dribbling, and frequent nighttime trips to the bathroom.
BPH treatment focuses on relieving that squeeze. Alpha blockers relax the muscles in the prostate and bladder neck, making it easier for urine to flow. Another class of medications helps stop prostate growth or actually shrink the gland over time, gradually improving urine flow. A third option, originally developed for erectile dysfunction, relaxes muscles around the bladder and prostate and can pull double duty by treating both conditions. For mild cases, your doctor may suggest monitoring your symptoms before starting any medication.
Kidney Stones
A stone moving through your urinary tract can scrape and irritate tissue, causing sharp pain during urination. You’ll usually know something more serious is going on because kidney stones also produce intense, wave-like pain in your back or side that can radiate to your groin. Blood in the urine is common.
Small stones (generally under 5 to 6 millimeters) can often pass on their own with high fluid intake and pain management. A medication called tamsulosin, the same alpha blocker used for enlarged prostates, relaxes the muscles in the ureter and can speed up stone passage while reducing the number and intensity of painful episodes. In studies, men taking tamsulosin passed stones faster, needed fewer painkillers, and had fewer colic episodes compared to those relying on fluids and pain relief alone. Treatment continues for up to 28 days or until the stone passes, whichever comes first. Larger stones may require procedures to break them up or remove them.
Chemical and Physical Irritation
Not every case of painful urination involves an infection. Irritation of the urethra from external sources can mimic the burning sensation of a UTI without any bacteria being present. Common culprits include scented soaps, spermicides, certain lubricants, and aggressive sexual activity. Pressure on the urethra from prolonged cycling is another well-known trigger.
Treatment here is simple: identify and remove the irritant. Switch to fragrance-free soap and unscented, water-based lubricants. If cycling is the issue, a properly fitted saddle with a cutout design can relieve pressure on the perineum. Symptoms from chemical irritation typically clear within a few days once the cause is gone. If they don’t, it’s worth getting tested to rule out an infection you might have overlooked.
Warning Signs That Need Urgent Attention
Most causes of painful urination are treatable and not dangerous when addressed promptly. But certain combinations of symptoms suggest the infection has moved beyond the bladder. High fever with shaking chills, pain in your back or side (over the kidney area), nausea, and vomiting point to a kidney infection, which can progress to sepsis if untreated. Urine that looks red, bright pink, or cola-colored signals blood that needs evaluation. Severe pain in the lower abdomen combined with an inability to urinate also warrants immediate care.

