STD or UTI? How to Tell the Difference

Published: Updated: Last reviewed: 6 min readDr. Michael Thompson
STD or UTI? How to Tell the Difference
On this page

STDs and UTIs can both cause burning when you pee, so symptoms alone can't reliably tell them apart. UTIs more often cause urgency, frequent urination, and cloudy urine, while chlamydia and gonorrhea more often cause discharge or bleeding. A urine culture checks for a UTI, but only an STD test (NAAT) detects chlamydia or gonorrhea.

Burning with urination is one of the most common reasons people come to see me, and the first question is usually, "Is it a UTI or something else?" Both are possible, and sometimes both are present. In my practice, I regularly see patients who've had several rounds of UTI antibiotics with symptoms that keep coming back, and an STD test finally explains why. Testing for both is often the fastest route to the right treatment.

Why Are STDs and UTIs So Easy to Confuse?

A UTI happens when bacteria, usually from the skin or rectum, travel up the urethra into the bladder. The CDC notes that a UTI is not a sexually transmitted infection, though sexual activity can raise the risk. Chlamydia and gonorrhea, by contrast, are sexually transmitted and can infect the urethra and, in women, the cervix.

Both inflame the same area, so they share symptoms:

  • Burning or stinging when you urinate
  • Discomfort in the lower belly or pelvis
  • A feeling that something is "off" down there

The problem is that common UTI antibiotics aren't the recommended treatment for chlamydia or gonorrhea. Symptoms may ease for a while, but the infection can persist and lead to complications such as pelvic inflammatory disease (PID) in women or epididymitis in men.

How Do STD and UTI Symptoms Differ?

SymptomUTI (bladder infection)Chlamydia / gonorrhea
Burning when urinating
Very common
Common
Frequent urge to urinate
Common, often strong
Less common
Cloudy or bloody urine
Common
Sometimes
Discharge from penis or vagina
Not typical
Common when symptoms occur
Bleeding between periods or after sex
Not typical
Possible with cervical infection
Testicular pain
Not typical
Possible (epididymitis)
Fever, back or side pain
Suggests kidney infection
May suggest PID
No symptoms at all
Uncommon
Very common

Sources: CDC – UTI Basics; CDC STI Treatment Guidelines (2021) – urethritis and cervicitis. These are patterns, not rules.

The CDC's guidelines on urethritis and cervicitis describe painful urination and discharge in men, while cervical infections in women often cause no symptoms at all, or only discharge and bleeding between periods. If you have discharge, a new partner, or a partner with symptoms, an STD becomes much more likely.

When Should You Test for Both?

I recommend testing for both a UTI and STDs when:

  • You've had a new partner or condomless sex in the past few months
  • You're a man with burning on urination. UTIs are less common in younger men, so an STD needs to be ruled out.
  • You have discharge, bleeding after sex, or pelvic pain
  • Your "UTI" came back soon after antibiotics, or the urine culture was negative
  • A partner has been diagnosed with an STD

Blood in the urine has its own list of causes; see our articles on the STD and blood in urine connection and gonorrhea and blood in urine.

Which Tests Do You Actually Need?

  1. Urinalysis (dipstick): shows signs of inflammation or infection but can't tell you which infection.
  2. Urine culture: grows the bacteria that cause UTIs. It doesn't detect chlamydia or gonorrhea.
  3. Chlamydia and gonorrhea NAAT: the CDC's chlamydia guidelines identify NAATs on a first-catch urine sample or vaginal swab as the most sensitive tests. Ask for this specifically.
  4. Trichomoniasis and Mycoplasma genitalium testing: useful if symptoms persist and other tests are negative.

Timing matters too. A test taken too soon after exposure may miss an infection. Check the chlamydia window period and gonorrhea window period. Men can read about what to expect in our chlamydia test for men guide.

How Are STDs and UTIs Treated Differently?

UTIs are treated with antibiotics chosen by your clinician based on your history and, when available, culture results. Chlamydia is usually treated with a 7-day course of doxycycline, and gonorrhea with a single ceftriaxone injection. Your healthcare provider will determine the right drug and dose. With an STD, partners also need testing and treatment, and you should avoid sex for 7 days after treatment and until partners are treated.

Key point: If your symptoms improve on UTI antibiotics but you had a recent sexual exposure, still get an STD test. Feeling better doesn't prove the infection is gone.

Women with itching or unusual discharge may also have a vaginal infection rather than a UTI or STD. Our guide on yeast infection vs. STD explains those differences.

When to Seek Urgent Care

Go to the ER immediately if you have:

  • Fever, chills, and pain in your back or side, with nausea or vomiting (possible kidney infection)
  • Severe lower abdominal or pelvic pain with fever
  • Sudden, severe testicular pain or swelling
  • Inability to urinate

See a clinician within 24 hours if:

  • You have burning with discharge from the penis or vagina
  • You're pregnant and have any urinary symptoms
  • Symptoms return within a few weeks after antibiotics
  • A partner tells you they tested positive for an STD

Frequently Asked Questions

Can a UTI test detect chlamydia?

No. A standard urinalysis or urine culture doesn't detect chlamydia or gonorrhea. You need a NAAT, which can often use the same urine sample if the lab runs it. Ask your clinician to order it.

Can chlamydia be mistaken for a UTI?

Yes. Chlamydia can cause burning when you urinate, and it's often treated as a UTI at first. A negative urine culture with ongoing symptoms is a strong reason to test for STDs. Learn more on our chlamydia overview page.

Can you have a UTI and an STD at the same time?

Yes. They're separate infections, and having one doesn't rule out the other. That's why I often test for both when someone has urinary symptoms and a recent sexual exposure.

Will UTI antibiotics make chlamydia symptoms go away?

They may seem to, but common UTI antibiotics aren't recommended for chlamydia and aren't a reliable cure. Symptoms can fade while the infection continues. Only proper testing and treatment confirm it's gone.

How do I know if I have a UTI or gonorrhea?

You usually can't tell by symptoms alone. Discharge, especially yellow or green, points more toward gonorrhea, while strong urgency without discharge points more toward a UTI. A NAAT and a urine culture together give the answer. See what STD makes it burn when you pee.

Not sure what's causing the burning? Get tested for common STDs alongside your urine test, or try our STD risk assessment quiz first.

This article is for informational purposes only and does not replace advice from your healthcare provider.

✓ Free • 2 min • No signup

UTI or STD?

Burning, discharge, and pelvic pain can mean a UTI or an STD. Answer 6 questions to narrow it down.

Question 1 of 6

What's your main symptom?

This quiz is for educational purposes only and does not replace medical diagnosis. Both UTIs and STDs require professional testing and treatment.

Dr. Michael Thompson is an expert in sexually transmitted diseases with extensive clinical and research experience. He leads campaigns advocating for early diagnosis and prevention of diseases like HIV and gonorrhea. He collaborates with local organizations to educate both youth and adults about sexual health.