American Sexual
Health Association

Can I Get a UTI from Sex?

UTI from sex

Yes, but it’s not what you think. Urinary tract infections (UTIs) are not sexually transmitted infections (STIs). They’re not considered contagious. And yet, they can be a result of sex.

UTIs start when bacteria, fungi, or viruses get into the urethra. They are usually caused by e-coli, which is a bacteria found in feces (poop). During sex it’s easy for some e-coli or other germs to get pushed into urinary tract. Your body can usually get rid of these germs on its own, but sometimes they cause an infection.

UTIs are more likely to happen in people with vaginas simply because the urethra and anus are closer together than in people with penises. But anyone can get a UTI from any kind of sex.

Can I get a UTI from oral sex or anal sex?

Yes. You can get a UTI from any kind of sex.

If you are the person receiving oral sex, bacteria can be introduced to your urethra and travel into the urinary tract. Again, this is more common for someone with a vagina.

As for anal sex, the penetrative/insertive partner can be at risk for UTIs.

Bacteria can also get into the urethra from a finger or sex toy that was not properly washed.

What are the common symptoms of a UTI?

The most common symptom of a UTI is a burning sensation when you pee. Many people say they feel it right at the opening where the pee comes out. It’s also common to feel a frequent urge to pee and at the same time like you can never get the last drop out.

Other symptoms include pelvic pain, blood in your urine, or fever. These might indicate a more serious infection, so it’s a good idea to check in with a health care provider if you feel any of them.

How do you diagnose a UTI?

Health care providers can diagnose a UTI using a urine a sample or you can take a test at home. Some at-home UTI tests have you send a sample to a lab and others offer you the results right away. Choose which ever option will get you a diagnosis—and hopefully some relief—quickly.

How do you treat a UTI?

UTIs are treated with antibiotics. You will need a prescription from a provider to get antibiotics. Some of the home-testing companies offer virtual appointments with a provider who can write you a prescription.

Remember to take the whole course of antibiotics that you’re given, even if you start to feel better after just a few pills.

The frustrating thing is that the same antibiotics that can cure a UTI, can actually cause a yeast infection (especially in people with vaginas). If you get frequent yeast infections, you might want to talk to your health care provider about the possibility of taking anti-fungal medication at the same time as the antibiotic.

Can I have sex when I have a UTI?

It’s usually best to take a break from sex while you’re treating your UTI. Again, UTIs aren’t contagious so it’s not about protecting your partner, but sex likely won’t feel great when you have a UTI. And having sex may even make the symptoms worse by irritating the area or introducing more/new bacteria to the urethra.

Is there anything I can do to prevent UTIs?

Most people will get a UTI in their lifetime and some people will get many. There are a few things you can do to prevent these infections and the discomfort they cause.

  • Drink a lot of water. If you drink more, you pee more, and peeing can help flush bacteria out of your urethra.
  • Don’t hold it. Listen to your body when it tells you it’s time to pee. “Holding your bladder” allows bacteria to sit around in your urinary tract.
  • Pee after sex. It’s not as fun as cuddling, but if you go to the bathroom and empty your bladder right after sex, you can flush out any bacteria that got pushed into the urethra before it causes a problem.
  • Shower before and/or after sex. A quick shower before sex can wash away the bacteria in and around your vulva and anus. A quick shower after sex can rinse off any new bacteria that got introduced to the area. You can always make it part of sex by inviting your partner to join you.
  • Always start at the front. Save the butt stuff for the end to avoid getting bacteria from the anus near the vulva/vagina. And wash everything that’s been near the anus (a finger, a penis, or a toy) before putting it anywhere else.
  • Condoms can help. Wearing a condom during anal sex can help prevent UTIs in men.

More to Explore

Finger prick blood test

FDA Approves First At-Home Syphilis Test 

The FDA recently approved an at-home test for syphilis that can provide initial results in just 15-minutes. Syphilis has been surging in recent years with the number of cases rising 80% between 2018 and 2022 alone.