Back arrow

Go back

Can you get a UTI from sex?

Why should you pee after sex, and does it help a UTI? Keep reading to learn more, and how to prevent UTIs if you're sexually active.

Get 20% Discount today

Get it now

Urinary tract infections (UTIs) are one of the most common types of infections in the US. About 50-60% of adults with vulvas and 12% of adults with penises will experience them in their lifetime. While there are many potential causes of UTIs, sex is a frequent trigger. Understanding how UTIs develop, who is most at risk, and how to prevent them can help you stay healthy and comfortable (whether you’re having sex or not). Continue reading to learn more about the connection between sex and UTIs, along with practical tips for UTI prevention.

If you have a UTI, you can consult with a Hey Jane provider within 1 day to get treatment prescribed to your local pharmacy for easy pickup and fast symptom relief. Get started here.

What is a UTI?

A urinary tract infection occurs when bacteria enters the urinary system, which includes the urethra, bladder, ureters, and kidneys. Most UTIs are caused by Escherichia coli (E. coli), a type of bacteria commonly found in your intestines and bottom that can travel to your urinary tract from habits like wiping back to front after using the toilet. While your body usually flushes out bacteria when you pee, sometimes bacteria can take hold and cause an infection.

Symptoms of a UTI include:

  • A strong, persistent urge to urinate
  • Burning or pain during urination
  • Cloudy, dark, or strong-smelling urine
  • Pelvic pain, particularly around the bladder

UTIs aren’t typically serious. But if left untreated, the infection can spread to the kidneys and lead to more serious health issues, making early detection and treatment essential.

Can you get a UTI from sex?

Yes, sex is a common trigger of UTIs (though it’s not the only way a UTI can develop). During sex, bacteria from the genital area or a partner may be spread around and find its way into the urethra. So while sex isn’t necessarily the reason for the bad bacteria, it can play a crucial part in an infection developing. 

People with vulvas typically have shorter urethras which means the opening to their bladder is very close to the opening of their bottom, which is where the bacteria that causes most UTIs lives. Having sex can cause some bacteria to spread back and forth between these openings, which can increase risk of infection.


Can you get a UTI from oral sex? 

Penetrative sex (vaginal or anal) is not the only type of sex that can result in a urinary tract infection. Kissing, sucking, and licking are all actions capable of spreading bacteria around the genital area and into the urethra, so you can get a UTI from oral sex and anal play.

How to prevent UTIs after sex

There is no singular practice to guarantee you won’t get a UTI after sex. However, taking some simple precautions can significantly reduce your risk of developing an uncomfortable infection:

Prevention Tip Description
Pee before and after sex This habit helps flush out bacteria that can develop into a UTI.
Stay hydrated Drinking lots of water can help you pee regularly and flush out any bacteria.
Gently clean your genital area Using warm water is all you need, but you can also use a mild fragrance-free soap to clean around your vulva and rear before sex.
Use condoms If you’re having penetrative sex with a penis or dildo, using condoms can reduce the risk of transferring UTI-causing bacteria.
Avoid using spermicides Spermicides can irritate the urethra, which allows bacteria to enter more easily.
Use lube Lubrication can reduce friction and tearing during intercourse, making it less likely for your urethra to get irritated.
Wear breathable underwear Using cotton underwear can reduce moisture and bacteria growth.
Treat your UTI fast
Start now

Say bye to your UTI

Start now

Can you have sex if you have a UTI?

While it’s technically possible to have sex with a UTI, it’s not usually recommended. Sex can worsen symptoms like pain and irritation, and it may also slow down recovery by pushing bacteria further into the urinary tract. If you are currently being treated with antibiotics, sex likely won’t disrupt that treatment (but it may be uncomfortable).

If you’re in the mood for sex while you have a UTI, consider receiving oral sex with a dental dam (this is safer for all involved) or stimulating other erogenous zones like the nipples, ears, inner thighs, or anywhere that feels pleasurable. Dealing with infection doesn’t mean you’re untouchable—it’s an opportunity to explore new techniques while you take precautions to keep you and your partner(s) healthy. 

Can you transfer a UTI during sex?

UTIs are not sexually transmitted infections (STIs) and are not contagious, so they can’t be directly transferred to a partner during sex. However, UTIs occur when bacteria enters the urinary tract through the urethra, which can occur during sex. 

You can get a UTI from sex. But armed with simple prevention strategies, you can take steps to reduce your risk of infection. Whether it’s practicing good hygiene, staying hydrated, or urinating after intercourse, small changes can make a big difference. If you’re experiencing symptoms of a UTI, it’s important to seek treatment promptly to prevent complications. Consult with a Hey Jane provider within one business day to receive an accurate diagnosis and fast, convenient treatment.

Say bye to your UTI
Start now

Written by

Abbi Havens (MSW)

Abbi (she/her) is an Austin-based writer and editor with a passion for queer theory, sexuality, health, and culture. She received her master's degree with a concentration in LGBTQIA+ Sexual Health and Education Interventions from Washington University in St. Louis.

Want to take action?
Join the Un-Whisper Network

Thanks for joining!
Oops! Something went wrong while submitting the form.
*By signing up, you agree to receive relevant emails in accordance with our Terms of Service & Privacy Policy. You may unsubscribe at any time.
Get started
Consult with a provider in 1 business day
Ready for Roevember logo
Get your free action toolkit

We’ll send our digital toolkit to your inbox—including social media graphics, rally signs, postcards, and more.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
X icon