Locations:
Search IconSearch

Why You Get UTIs After Sex — and How To Prevent Them

Staying hydrated and peeing after sex can help prevent this common post-sex condition

Couple snuggled up in bed together at night

Getting a urinary tract infection after sex is, unfortunately, a common occurrence. Some urinary tract infections (UTIs) are painless, but that’s not typical, and they’re usually not fun. (If you know, you know.)

Advertisement

Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy

Urologist Sandip Vasavada, MD, explains why UTIs happen after sex, who gets them the most and how to prevent them.

How do you get UTIs?

UTIs, sometimes called bladder infections, happen when bacteria get into your bladder. Your bladder is like a little holding tank for urine, and bacteria can attach to the bladder wall. They enter through the opening of your urethra, the tube that moves urine out of your body.

“If the bacteria don’t clear from the bladder, they settle in and multiply, and an infection happens,” Dr. Vasavada explains.

Who gets UTIs?

Anatomy affects your risk of UTIs. Dr. Vasavada says that anyone can get a UTI, but women are more likely to get them.

“The female urethra is only 3 to 4 centimeters long, so the bacteria only have to travel a short distance from the opening into the bladder,” he continues.

Men typically get fewer UTIs because their longer urethra helps keep bacteria out of the bladder.

“Although if you have prostatitis (prostate inflammation), that can also lead to UTIs,” notes Dr. Vasavada.

You may be more prone to getting UTIs if you:

  • Are sexually active
  • Are in your postmenopause years
  • Were born with a condition affecting the urinary tract

What are UTI symptoms?

If you’ve had multiple UTIs, you’re probably familiar with the telltale signs.

Advertisement

“The hallmark symptoms of UTIs are dysuria (burning) with urination, along with increased urgency and frequency of urination,” shares Dr. Vasavada. “If you have urgency and frequency without the burning, it’s typically not a UTI.”

Less common symptoms include urine that’s:

“Lower-urinary tract infections don’t tend to progress to a more serious infection, but they may make you miserable,” he says.

But a UTI can progress by moving up the urinary system into your kidneys. With this unlikely but more severe infection, you also may have:

  • Fever and chills
  • Nausea
  • Vomiting

Can you get a UTI from sex?

You can certainly develop a UTI without any sexual activity, but post-sex UTIs are common. That’s because you have lots of bacteria on the outside of your genitals.

Sexual activity moves that bacteria around and it can end up at the opening of your urethra, causing an infection.

Can you get a UTI from oral sex?

Yes, you can get a UTI from oral sex. During oral sex, mouth and genital bacteria can get into your urethra and lead to a UTI. Essentially, any type of sexual activity can cause a UTI.

Again, activity around your genitals may move bacteria to your urethra, where it can travel to your bladder.

Difference between a UTI and an STI

It may seem like your partner is giving you a UTI during sex. But that’s not entirely accurate. A UTI isn’t a sexually transmitted infection (STI). Here's the difference.

  • STI: This happens when your partner passes an infectious bacteria, fungus, parasite or virus to you through sexual contact.
  • UTI: While this is bacteria, it’s not transmitted from your partner to you during sex. A UTI happens because of existing bacteria on your genitals that make their way into your bladder.

Can you have sex with a UTI?

“You can still have sex with a UTI, but most people are pretty miserable when they have one, so sex may be the last thing on their mind,” says Dr. Vasavada.

When you’re trying to clear the infection, frequent urgency to pee could also put a damper on intimacy. Sex typically won’t affect the course of the infection while you’re treating it.

But if you haven’t gotten treatment for the UTI yet, having sex could make it worse.

How to prevent a UTI after sex

Try these simple steps to avoid a post-sex UTI:

During postmenopausal years, you’re at higher risk for UTIs. If menopause is behind you and you’re sexually active, UTIs may be frequent visitors. But there’s help.

“Vaginal hormone therapy is very safe and effective for reducing UTIs after menopause,” says Dr. Vasavada.

Advertisement

Some people become very prone to UTIs after sex. For recurring UTIs, your provider may give you a preventive antibiotic to have on hand and take within 12 hours of sexual activity.

How do you stop a UTI after sex?

Even when you do your best to prevent a post-sex UTI, sometimes they happen anyway. What do you do next?

“Your body may be able to rid itself of the UTI with a lot of water and some ibuprofen for the pain,” says Dr. Vasavada. “You don’t have to get treated, but not doing so may prolong the agony.”

Antibiotics are the gold standard for UTI treatment. Typically, it’s a short course of just three days of pills.

“We try to use the more benign antibiotics instead of the strongest ones to minimize the risk of antibiotic resistance, where the antibiotic no longer works,” he explains.

Once your UTI is gone, it’s important to get back to prevention practices to avoid getting another one.

If you know the misery of repeated UTIs, there’s a small ray of hope in the form of a potential vaccine.

“These are available in some European countries, and they’re going through the approval process in other countries,” shares Dr. Vasavada. “The vaccine targets the most common bacteria in UTIs. The results so far are pretty good, but there are still questions to answer about safety.”

Advertisement

Learn more about our editorial process.

Related Articles

Person talking with physician about bladder and UTI pain; physician is using a picture as a talking point.
Is a Bladder Infection the Same as a UTI?

A bladder infection is definitely a UTI ... but not all UTIs are bladder infections

Elderly person suffering from a urinary tract infection.
August 15, 2022/Urinary & Kidney Health
Symptoms of Urinary Tract Infections in Older Adults

Signs to look out for include pain and changes in frequency or urgency

An illustration of a urine sample, needle, pills and a stethoscope surrounding a clipboard
August 26, 2021/Urinary & Kidney Health
Why Do I Get Urinary Tract Infections So Often?

Recurrent urinary tract infections are most common in women, seniors

public lock on bathroom showing urinary incontinance
January 20, 2021/Urinary & Kidney Health
Why UTIs Happen Differently in Men and Women

The ins and outs of urinary tract infections

Cranberries and juice
February 5, 2020/Urinary & Kidney Health
Can Cranberry Stop Your UTIs?

3 tips for preventing urinary tract infections

Pregnant woman standing in front of toilet in home bathroom
February 18, 2025/Pregnancy & Childbirth
Why You Have to Pee So Often When You’re Pregnant

Changes in kidney function and new pressure on your bladder may have you running to the restroom a lot more often

Spoon with a strawberry, with chocolate drizzling down over it, and drizzling down over more strawberries in a glass dish
February 10, 2025/Sex & Relationships
Seduction Secrets: Do Aphrodisiacs Boost Desire?

Some foods are thought to rev up your sex drive, despite lack of scientific evidence

Gloved hand filling syringe from a vial
February 3, 2025/Children's Health
No, Vaccines Don’t Cause Autism

Older studies suggesting a link have been completely discredited — vaccinations are safe and effective

Trending Topics

Person in bed sleeping on their side, covers off
Breathing Problems? Try These Sleep Positions

If you’re feeling short of breath, sleep can be tough — propping yourself up or sleeping on your side may help

A couple looking at skyline, with one person slightly behind the other, head bent down
What Is Anxious Attachment Style — and Do You Have It?

If you fear the unknown or find yourself needing reassurance often, you may identify with this attachment style

Glasses and bottle of yellow-colored prebiotic soda, with mint, lemon and ginger garnish
Are Prebiotic Sodas Good for You?

If you’re looking to boost your gut health, it’s better to get fiber from whole foods

Ad