Painful urination (dysuria, the burning or stinging you feel when you pee) can be an early sign of several sexually transmitted infections. The most likely STI culprits are chlamydia, gonorrhea, trichomoniasis, and a first episode of genital herpes. But a urinary tract infection or simple bladder irritation causes the same feeling, so it takes a test to tell you which one it is.

Key figures

Chlamydia
curable
Chlamydia trachomatis
Gonorrhea
curable
Neisseria gonorrhoeae
Trichomoniasis
curable
Trichomonas vaginalis
Genital herpes
managed
Herpes simplex virus
Painful urination (dysuria): likely causes. Source: CDC.
Painful urination (dysuria): likely causes
ItemValue
Chlamydiacurable: Chlamydia trachomatis
Gonorrheacurable: Neisseria gonorrhoeae
Trichomoniasiscurable: Trichomonas vaginalis
Genital herpesmanaged: Herpes simplex virus

Which STIs cause painful urination (dysuria)?

Several STIs irritate the urethra (the tube urine flows through) or the surrounding tissue, and that inflammation is what you feel as burning. Each has a slightly different fingerprint, but they overlap enough that no one can reliably sort them out by symptom alone. Here's how each one tends to behave.

Chlamydia

Chlamydia is caused by the bacterium Chlamydia trachomatis, and most U.S. genital infections come from a group of strains called serovars D. K CDC. It's a famously quiet infection: roughly three quarters of infected women and about half of infected men feel nothing at all. When symptoms do show, they usually arrive within one to three weeks of exposure. Women may notice abnormal vaginal discharge and burning on urination; if the infection climbs higher, it can bring lower abdominal or low-back pain, fever, pain during sex, and bleeding between periods. Because it's so often silent, many people only learn they have chlamydia from routine screening.

Gonorrhea

Gonorrhea is caused by the bacterium Neisseria gonorrhoeae, which can infect the genitals, rectum, and throat CDC. In men it's the more dramatic of the two bacterial infections: burning when urinating, a white, yellow, or green penile discharge, and less commonly swollen or painful testicles. Women are usually a different story. Most have no symptoms, but when they do appear it's painful or burning urination, increased vaginal discharge, and bleeding between periods. That visible discharge in men is a useful clue but not definitive, so testing for gonorrhea alongside chlamydia is standard.

Trichomoniasis

Trichomoniasis is caused by a single-celled parasite, Trichomonas vaginalis, and it's the most common curable STI CDC. About seventy percent of infected people have no signs whatsoever. Symptoms, when they occur, can appear anywhere from five to twenty-eight days after infection, and sometimes much later. Women may have itching, burning, redness or soreness of the genitals, discomfort while urinating, and a clear, white, yellowish or greenish discharge with a fishy smell. Men usually feel nothing, but some get itching or irritation inside the penis and burning after urinating or ejaculating. The full picture of trichomoniasis symptoms explains why this one is so easy to miss.

Genital herpes

Genital herpes comes from two viruses, herpes simplex virus type 1 (HSV-1) and type 2 (HSV-2) CDC. Most people have no or very mild symptoms, don't know they're infected, and the majority of HSV-2 infections go undiagnosed. The classic first outbreak is blisters that break into painful sores, which take a week or more to heal, sometimes with flu-like symptoms like fever, body aches, and swollen glands. Sores can appear on or around the genitals, rectum, or mouth. When a sore sits near the urethra, urinating over raw skin produces a sharp, surface-level pain that differs from the deep internal burn of a urinary infection. Repeat outbreaks are shorter and milder, and some people get a warning prodrome of tingling or itching beforehand. If outbreaks are a concern, see options including alternative herpes treatments.

When painful urination is NOT an STI

Plenty of dysuria has nothing to do with sex. The most common non-STI cause is a urinary tract infection (a bacterial infection of the bladder or urethra), which tends to bring frequency, urgency, and a burn that feels deep rather than at the skin. Ordinary bladder irritation from dehydration, certain products, or harmless inflammation can sting too. To separate these from an STI, run a urine STI test and a urine culture side by side, so the lab tells you whether bacteria are growing in the bladder or whether an STI organism is present instead.

How to tell them apart

You mostly can't tell by sight. These infections overlap too much in how they feel, and several are frequently silent, so the symptom won't settle which one (if any) you have. A few patterns nudge the odds: visible penile discharge leans toward gonorrhea or chlamydia, a fishy-smelling discharge with itching points toward trichomoniasis, painful sores suggest herpes, and urgency with no discharge looks more like a UTI. Treat those as hints. A test is what turns a guess into a real answer.

Side-by-side comparison

CauseTypical dischargeOther tell-tale featuresOften silent?
ChlamydiaPossible abnormal dischargeBurning on urination; pelvic pain if it spreadsYes: most cases
GonorrheaWhite, yellow, or green (esp. in men)Burning; swollen/painful testicles less oftenCommon in women
TrichomoniasisClear/white/yellow-green, fishy smellItching, soreness, burning after sex or urinatingYes, about 70%
Genital herpesNone typicalPainful blisters/sores; flu-like symptoms in first outbreakYes, most undiagnosed
UTI (not an STI)None typicalFrequency, urgency, deep bladder burnLess so

How it's tested

For all four STIs, a nucleic acid amplification test (NAAT), a lab test that detects the organism's genetic material, is the preferred method, and it's highly accurate; for gonorrhea, NAAT sensitivity is usually above 90% with specificity around 99% CDC, 2021. Trichomoniasis NAATs run a sensitivity of roughly 95–100% on vaginal swabs and female urine. Herpes is the exception: when sores are present, it's confirmed by type-specific testing of the lesion itself by NAAT or culture, with swab-based tests working best CDC. In practice, a visit means a urine sample, a self-collected swab, or a quick exam depending on what's suspected: usually free or low-cost at health departments, Planned Parenthood, and Title X clinics, with results back in a few days. Here's where to get tested.

What to do next

If you've had unprotected sex and now have dysuria, get tested rather than guessing. If you're calculating timing, check when to test after exposure so you don't test too early to catch the infection. The bacterial STIs and trichomoniasis are curable with the right prescription, and herpes is managed with medication; don't start leftover antibiotics on your own, since the wrong drug won't clear the right bug and can muddy your results. Bring recent partners into the conversation too, because untreated partners re-infect you.

Red flags, when to get seen urgently

  • You have a fever along with the burning, or lower abdominal or low-back pain that's getting worse.
  • You notice swollen, painful testicles, inflammation that can threaten fertility if ignored.
  • You can barely urinate, or urinating is so painful you're avoiding it.
  • You see blood in your urine or heavy, abnormal bleeding between periods.
  • Painful sores are spreading rapidly or you feel flu-like and unwell with a first herpes outbreak.
  • You're pregnant and have any of the above, infections in pregnancy need prompt attention.

Keep exploring on EasySTD: when to re-test, confidential testing by state and Chlamydia testing.