7 min read | October 29, 2025

Can You Get a UTI From Sex? How to Have UTI-Safe Sex

Medically Reviewed by: Heather Ott

Written by: Olivia Cullen

Urinary tract infections (UTIs) are very common, especially in women, and sexual activity is one of the leading triggers for these uncomfortable infections.[1] Understanding the connection between UTIs and sex can help you take steps to protect your urinary health.

Why do customers love Uqora?

Innovative urinary care

Innovative urinary care

Research-backed products

Research-backed products

Money-back guarantee

Money-back guarantee

Can You Get a UTI From Sex? How to Have UTI-Safe Sex

If you’ve ever experienced the burning, urgency, and discomfort of a UTI after intimacy, you’re not alone. The connection between sex and urinary tract infections is well-established but often misunderstood. Many people wonder: can you get a UTI from sex? The answer is yes — sexual activity can increase your risk of developing a UTI, though it’s not the only cause. That said, UTIs are not sexually transmitted infections (STIs). They occur when bacteria enter the urinary tract, not from a sexually transmitted pathogen.[1]

This guide will explore the link between UTIs and sexual activity, why it happens, and, most importantly, practical steps you can take before, during, and after sex to reduce your risk. With the right preventive actions, you can enjoy a healthy sex life while minimizing UTI occurrences.

What Is a UTI & Why Does It Happen?

UTIs occur when harmful microorganisms invade any portion of your urinary tract. This system encompasses several important organs: Your kidneys, ureters, bladder, and urethra.[1]

UTIs are extremely common, especially among women. Women deal with these infections about four times more often than men do. Around 40% of American women will face at least one UTI during their lives, and each year, roughly 1 in 10 women experiences a UTI. Young adult women between the ages of 16 and 35 face the highest risk. Unfortunately, recurrences are common; nearly half of women who get a UTI will have another within twelve months.[2] 

The most common underlying cause of UTIs is bacteria. These harmful microbes find a way into your system through the urethra opening and can then travel upward to infect your bladder. The primary bacteria responsible for UTIs is E.coli, responsible for more than 90% of all bladder infections.  These bacteria normally reside in your lower intestinal tract but cause problems when they enter your urinary system.[3]

Watch for these common UTI symptoms: urine that appears cloudy or has an unpleasant odor, needing to urinate more frequently than usual, burning or pain during urination, and occasionally seeing blood in your urine.[2] Don't ignore these warning signs — medical care is essential if you notice these symptoms.

Can You Get a UTI From Sex?

The short answer? Yes—sexual activity can increase your risk of getting a urinary tract infection (UTI). Regular sexual activity often correlates with higher UTI frequency, and starting relations with a new partner can elevate this risk.[1] But it’s not as simple as sex “causing” a UTI. What’s really happening is that certain activities during intimacy can help bacteria find their way into the urethra, setting the stage for an infection.

During sex, bacteria from the genital area, anus, or even hands and mouths can be introduced to the urethral opening. From there, the physical motion of sex can help push those bacteria upwards into the urinary tract. Once inside, bacteria can multiply and lead to infection.

Women are especially prone to this because of anatomy. The female urethra is shorter and located closer to the anus, giving bacteria a much shorter distance to travel to reach the bladder.[4]

Other factors that increase UTI risk during sex include:[1]

  • Anatomical factors: Women have shorter urethras than men. This makes it easier for bacteria to travel through the urethra and reach the bladder.
  • Some forms of birth control: Some types of birth control, like diaphragms and spermicides, can increase risk.
  • Menopause: Declining estrogen levels can cause changes to the vagina, making your vaginal tissues thinner and drier, and reducing the levels of Lactobacillus (the good bacteria) in your vagina.[5,6] A combination of these factors could make you more susceptible to UTIs.[7] As estrogen declines, some people experience vaginal atrophy, a condition where the vaginal walls become thinner, drier, and more fragile. This can lead to irritation, discomfort during sex, and a higher risk of urinary tract infections.[5,6]

It’s important to remember: UTIs are not sexually transmitted infections (STIs). They’re not “caught” from a partner. Rather, they happen when bacteria—often from your own body—end up where they don’t belong.

And here’s the most important part: Getting a UTI after sex isn’t your fault. It doesn’t mean you did something wrong.[1] But understanding how and why sex can increase your risk gives you the power to take preventive steps and protect your urinary health

Tips for Having UTI-Safe Sex

Tips for having UTI-safe sex

While there’s no guaranteed way to prevent UTIs, you can take a few steps to reduce the risk of getting a UTI after sex. These simple steps can help minimize bacterial transfer and growth in the urinary tract. 

Before Sex

Good hygiene before intimacy goes a long way in protecting your urinary health.

  • Wash hands and genital areas thoroughly. Both you and your partner should wash your hands and genital areas with mild, fragrance-free soap. Fingers are a common source of bacteria transfer during intimate touching or stimulation.[2]
  • Skip harsh soaps and douches. These can irritate sensitive tissues around the urethra and disrupt your vaginal microbiome, making it easier for bad bacteria to thrive.[1]
  • Empty your bladder if you feel the urge. Starting intimacy with a full bladder isn’t ideal—it’s better to go beforehand to keep things as clear as possible.

During Sex 

Making thoughtful choices during intimacy can help prevent bacterial transfer into the urinary tract.

  • Avoid anal-to-vaginal contact. E. coli bacteria naturally live in the intestines. If bacteria are introduced from the anus to the urethra, it significantly raises the risk of infection.[8] Always wash thoroughly or change protective barriers if switching activities.
  • Choose water-based lubricants. This can reduce friction that irritates the urethral opening. If you’re prone to UTIs, steer clear of lubricants with spermicide, as these can disrupt the protective balance of good bacteria in the vagina.[3]

After Sex

What you do after intimacy is just as important in reducing UTI risk.

  • Pee after sex. Urinating after intimacy helps flush out bacteria that might have entered the urethra during activity. It’s a simple but effective way to support your body’s natural defense mechanism.[1]
  • Stay hydrated. Drinking water post-intimacy ensures steady urine flow, which further helps clear out any lingering bacteria before they cause problems.[2]
  • Practice good wiping technique. Always wipe front to back after using the bathroom. This prevents transferring bacteria from the rectal area to the urethra.[2]
  • Consider a quick rinse. A gentle shower (rather than a bath) can help wash away bacteria from the vulvar area. Stick with mild, fragrance-free soaps to avoid irritation.[2]
  • Use a pH-balanced vulva cleanser. There are no magic suds for UTI prevention, but for general hygiene and specialized cleansing that supports your urinary health, Uqora's Wash is a pH-balanced vulva cleanser inspired by the chemistry and pH of a healthy vagina. The formula includes lactic acid and hydrogen peroxide — both of which also appear naturally in a healthy vagina — so you can wash your vulva area without compromising your vaginal or urinary health.

Is It Safe to Have Sex With a UTI?

If you’re currently experiencing UTI symptoms, you might wonder if it’s okay to have sex with a UTI. Generally, medical professionals recommend abstaining from sexual activity until your infection has cleared. Having sex can push bacteria deeper into the urinary tract, potentially worsening the infection and delaying healing.[9]

Additionally, sex may be uncomfortable or painful during a UTI, as the urethra and surrounding tissues are already inflamed. Waiting until your symptoms resolve and you’ve completed any prescribed treatment is usually the safest approach[3]

When to Talk to Your Doctor

If you suspect you have a UTI, even with mild symptoms, it’s important to consult with a healthcare provider. While minor UTIs may go away on their own, most UTIs require proper treatment, typically antibiotics.[2]

Prompt treatment is essential, as untreated UTIs can lead to more serious kidney infections. UTI symptoms can lessen in severity after treatment, typically within a few days, though you should complete the full course of any prescribed antibiotics.

FAQs

Can you get a UTI even if you pee after sex?

Yes, you can still get a UTI even if you urinate after sex. While this post-intimacy habit helps reduce your risk by flushing away some bacteria, it doesn’t provide complete protection.

Microorganisms can still enter your urinary tract during intercourse and sometimes remain despite urination. This preventive measure lowers your chances of infection but isn’t a guaranteed safeguard.[3]  

Can a new sex partner cause UTIs?

Yes, starting a new sexual relationship can increase your risk of developing a UTI. While a UTI isn’t a sexually transmitted infection, sex can introduce new bacteria to the urinary tract, especially when your body isn’t yet familiar with your partner’s unique microbiome. This can disrupt your natural balance and make it easier for bacteria to cause infection.

Want to learn more? Read more about how a new sex partner can trigger UTIs.

Do condoms help prevent UTIs?

While UTIs aren’t sexually transmitted infections (STIs), sex can still trigger them. Standard condoms won’t directly prevent UTIs  (since the culprit bacteria often already reside in your own genital region), but they can help minimize bacterial exchange between partners. 

Be aware, though, that condoms coated with spermicide might actually increase your UTI susceptibility.[3] 

Can men get UTIs from sex too?

Yes, men can get UTIs from sex, though they experience these infections much less commonly than women do.[1]

Why am I getting recurrent UTIs?

Recurrent UTIs often happen due to three main factors: exposure to new bacteria (like during sex), bacteria hiding in the bladder lining (biofilms) that survive treatment, and imbalances in the vaginal microbiome that reduce natural protection. These issues can create a cycle of repeat infections.

Get Proactive About Your Urinary Health

Simple habits like staying well-hydrated, peeing after sex, practicing good hygiene, and choosing pH-friendly products can make a meaningful difference in preventing UTIs. Supporting your vaginal microbiome through gentle, science-backed care is another powerful way to help your body defend itself naturally.

At Uqora, we know how frustrating it can be to feel like you’re doing “everything right” and still struggling with UTIs. That’s why we’ve designed products that support you in those critical moments when you need it most.

Uqora’s UTI Emergency Kit is designed to provide fast, comprehensive support at the first sign of urinary urgency or discomfort, helping you manage symptoms and feel more in control before you’re able to see a doctor. The kit includes:

  • UTI test strips to help you quickly assess your symptoms,
  • UTI Infection Control to help slow bacterial progression while you arrange treatment,
  • UTI Pain Relief for targeted, fast-acting comfort while you wait to see a doctor.

Having a plan in place can make managing UTIs feel less overwhelming.

 

References

  1. “Urinary Tract Infection (UTI).” Mayo Clinic, Mayo Foundation for Medical Education and Research, 14 Sept. 2022, www.mayoclinic.org/diseases-conditions/urinary-tract-infection/symptoms-causes/syc-20353447.
  2. Bono, Michael J. “Uncomplicated Urinary Tract Infections.” StatPearls [Internet]., U.S. National Library of Medicine, 21 Feb. 2025, www.ncbi.nlm.nih.gov/books/NBK470195/.
  3. “Urinary Tract Infection (UTI).” Cleveland Clinic, 25 Apr. 2025, my.clevelandclinic.org/health/diseases/9135-urinary-tract-infections.
  4. “Why You Get Utis after Sex - and How to Prevent Them.” Cleveland Clinic, Cleveland Clinic, 22 Apr. 2025, health.clevelandclinic.org/uti-after-sex.
  5. What is vaginal atrophy (GSM or atrophic vaginitis)? (n.d.). Cleveland Clinic. Retrieved June 12, 2025, from https://my.clevelandclinic.org/health/diseases/15500-vaginal-atrophy
  6. Vaginal atrophy-Vaginal atrophy—Symptoms & causes. (n.d.). Mayo Clinic. Retrieved May 16, 2025, from https://www.mayoclinic.org/diseases-conditions/vaginal-atrophy/symptoms-causes/syc-20352288
  7. Park MG, Cho S, Oh MM. Menopausal Changes in the Microbiome-A Review Focused on the Genitourinary Microbiome. Diagnostics (Basel). 2023 Mar 21;13(6):1193. doi: 10.3390/diagnostics13061193. PMID: 36980501; PMCID: PMC10047399.
  8. Lema VM. Urinary Tract Infection In Young Healthy Women Following Heterosexual Anal Intercourse: Case Reports. Afr J Reprod Health. 2015 Jun;19(2):134-9. PMID: 26506666.
  9. Heiser, T. (2023, June 27). Can you prevent a UTI from happening after sex? Here are things to try. Norton Healthcare. https://nortonhealthcare.com/news/uti-after-sex/
Back to blog