Back to Health

When Is Pain When Peeing an STI Symptom?

When Is Pain When Peeing an STI Symptom?
Bareback Guide 30 January 2026

Burning or stinging when you pass urine has a medical name, dysuria, and a short list of causes. In men who have condomless sex it most often means urethritis, which is inflammation of the urethra usually caused by gonorrhoea, chlamydia or Mycoplasma genitalium. It can also mean a urinary tract infection, irritation from a product, or occasionally something unrelated to sex entirely. The distinguishing features are the timing and what accompanies it.

What suggests it is an infection you caught?

Three things point towards a sexually transmitted cause. Discharge from the penis, even a small amount, alongside the burning. Onset within roughly two days to three weeks of condomless sex with a new partner. And burning that is felt at the tip of the penis or along the urethra rather than deep in the lower abdomen. Gonorrhoea tends to arrive fast and hard, within a week and with obvious discharge. Chlamydia and Mycoplasma are slower and milder, often just a stinging sensation and a little morning moisture.

What suggests a urinary tract infection instead?

A UTI more typically produces frequent urgent trips to the toilet, cloudy or strong-smelling urine, discomfort low in the abdomen or over the bladder, and no discharge. UTIs are much less common in men than in women, and a man with a genuine urinary infection usually warrants investigation into why it happened. Fever, back or flank pain, shivering or feeling systemically unwell suggests the infection has reached the kidneys and needs same-day medical attention rather than a clinic appointment next week.

Could it be irritation rather than infection?

Yes, and this is underappreciated. Soap, shower gel or bubble bath used directly on the head of the penis is a common cause. Spermicidal lubricant irritates some people. Prolonged or vigorous sex, particularly a long session or one involving toys, can cause mechanical irritation that stings for a day or two afterwards. Some men develop irritation from repeatedly squeezing the urethra to check for discharge. Irritant causes usually settle within a couple of days and are not accompanied by discharge.

What about herpes?

Herpes causes a distinctive version of this. Rather than burning inside the urethra, urine stings sharply as it passes over ulcers on the external skin. If you feel pain when the stream touches you rather than when it leaves you, look carefully for blisters or shallow ulcers. A first outbreak can occasionally cause enough swelling to make urination genuinely difficult, which is one of the situations that needs urgent care.

Which symptoms should not wait?

Go to an urgent care service or A&E the same day for inability to pass urine at all, fever with back or flank pain, or sudden severe pain and swelling in one testicle. That last one matters: testicular torsion is a surgical emergency with a window of a few hours, and while epididymitis from an untreated STI is more common in this context, neither is something to sleep on. Sudden severe testicular pain is an emergency until proven otherwise.

How is it investigated?

A sexual health clinic will take a urine sample and usually a urethral swab, plus rectal and throat swabs if relevant, and offer blood tests for HIV and syphilis. Some clinics examine a slide under a microscope during the appointment and can identify gonorrhoea within minutes, which means treatment on the same visit. A GP can test for a UTI but is generally less well equipped to screen every site properly, so a clinic is the better first stop when sex is a plausible cause.

What should you do in the meantime?

Drink enough water, avoid sex until you have been assessed, and stop putting soap or shower gel on the head of the penis. Do not take leftover antibiotics from a previous episode or from anyone else, because partial treatment can mask an infection sufficiently to make testing unreliable while leaving it uncured. If burning has lasted more than a couple of days, or there is any discharge at all, book a clinic appointment rather than waiting to see whether it passes.