Highlights
- Short answer: Sex is one of the most consistent risk factors for recurrent UTIs. Research also finds that some bacteria can be shared between partners, which may add to the pattern.
- A clinical review lists "sexual intercourse, spermicide use, having a new sex partner" among the most important risk factors for recurrent uncomplicated UTI (Cai, 2021).
- In a study of 10 men with febrile UTIs and their female partners, 6 of the 23 E. coli strains found were shared between partners, all of them UTI-causing (Ulleryd et al., 2015).
- Getting a UTI after sex isn't a sign of poor hygiene or cheating. It is common, and it has real, studied causes.
- Recurrent UTI isn't one disease. A 2026 editorial argues it should be approached by pattern ("post-coital recurrence" is one) rather than by counting episodes (Ahmad and Khan, 2026).
- If this keeps happening, ask your clinician for a urine culture and a prevention plan. Don't guess or self-treat repeatedly.
You have sex. A day or two later, the urgency and burning start. You treat it, it clears, and then it happens again after the next time.
You're not imagining the pattern. Here is what the research says about it.
Why do I get a UTI every time I have sex?
Because the research consistently ties intercourse to recurrent UTI. A review of recurrent UTI risk factors names the most important ones: "sexual intercourse, spermicide use, having a new sex partner, having a mother with a history of UTI, having had UTI during childhood, and asymptomatic bacteriuria treatment" (Cai, 2021).
A separate review in the Tzu Chi Medical Journal reached a similar view: "Sexual intercourse and estrogen deficiency in postmenopausal women might have the strongest association with recurrent UTI" (Jhang and Kuo, 2017).
That doesn't mean sex causes the problem on its own. It means sex is a trigger for people who are prone to it.
What happens to the urinary microbiome after sex?
It shifts. In a small study that followed one woman and her male partner daily for three weeks, the authors report that "the LUT microbiota changed after vaginal intercourse, most notably a high abundance of Streptococcus mitis was observed post-coitus" (LUT is the lower urinary tract) (Mores et al., 2021).
The same team found the S. mitis from her was genomically related to a strain from her partner's mouth, and that, unlike a Lactobacillus strain, it "cannot inhibit the growth of uropathogenic Escherichia coli." They call it a hypothesis that this bloom "may play a role in coitus-related UTI." It was one couple, so treat it as an early clue.
Can your boyfriend give you a UTI?
In some cases, bacteria that cause UTIs can be shared. A 2015 study sampled men with febrile UTIs and their female partners. The result: "Of 23 unique Escherichia coli strains from 10 men with febrile urinary tract infections (UTIs) and their female sex partners, 6 strains (all UTI causing) were shared between partners." The authors concluded: "This indicates that UTIs are sometimes sexually transmitted" (Ulleryd et al., 2015).
That study was small and started with men who had UTIs, so it can't tell us how often it happens among couples in general. It does suggest the partner can be part of the picture. Our recent Reel covered this angle:
Watch this video on Instagram
How long after sex does a UTI start?
We couldn't find a sourced, specific timeframe, so we won't guess one. What the research does describe is the pattern: UTI symptoms that keep following intercourse, which clinicians may call "post-coital recurrence." If your symptoms regularly appear after sex, note the timing and bring it to your clinician.
Does UTI after sex mean cheating?
No. The risk factors above include intercourse itself, not only new partners, so a UTI after sex says nothing about faithfulness. The shared E. coli strains in the study above show that bacteria can pass between partners.
What risk factors make UTI after sex more likely?
| Factor | Source |
|---|---|
| Sexual intercourse | Cai, 2021 |
| Spermicide use | Cai, 2021 |
| A new sex partner | Cai, 2021 |
| Mother with a history of UTI | Cai, 2021 |
| Estrogen deficiency after menopause | Jhang and Kuo, 2017 |
| Reduced fluid intake, delayed urination after sex, wiping front to back, douching, occlusive underwear | Listed as "other risk factors" in Cai, 2021 |
Note that not every habit is proven. Jhang and Kuo write that "fluid intake and diet are not considered independent risk factors now."
What do clinicians recommend for recurrent UTI?
Guidelines agree on getting a urine culture first. The 2022 "guideline of guidelines" reports that rUTI guidelines "emphasised the importance of obtaining urine cultures" and that "Either continuous or post-coital prophylactic antibiotics were supported by all guidelines" (Kwok et al., 2022). That is what the guidelines say, not advice for you. Only a clinician can decide what fits your history.
A 2024 German guideline review also found non-antibiotic options reduced infection rates in studies. Examples were vaginal estrogen, cranberry products and increased fluid intake in some patients (Schmiemann et al., 2024). A 2026 editorial adds that "negative trial evidence for d-mannose reinforces the need for evidence discipline rather than indiscriminate supplement use" (Ahmad and Khan, 2026).
Questions to bring to your appointment:
- Can we confirm each episode with a urine culture?
- Is my pattern linked to sex, to menopause or to something else?
- Which prevention options fit my history?
- Should my partner be part of the conversation?
When should I see a clinician urgently?
If your symptoms are severe, get worse or don't improve, contact a clinician promptly. This article can't tell you what you have.
Seeing both sides of the picture
Most UTI conversations stay with one person. The research above says the partner can be part of the picture. That's why we built the Anteros Partner Test: two people swab at home and see both genital microbiomes side by side in one report. Testing on your own? The Eros Solo Test works for anyone, any body.
Anteros tests are for wellness and informational use. They do not diagnose or treat any condition and do not test for STIs. Share your results with your clinician.
Frequently asked questions
Why do I get a UTI every time I have sex? Intercourse is among the most consistent risk factors for recurrent UTI. A 2021 review lists "sexual intercourse, spermicide use, having a new sex partner" among the most important. Your own anatomy, hormones and bacteria also matter, so ask a clinician to confirm each episode.
Can your boyfriend give you a UTI? Sometimes bacteria can be shared. In a 2015 study of 10 men with febrile UTIs, 6 E. coli strains, all UTI-causing, were shared with their female partners. The study was small. It suggests partners can be part of the pattern, not that a partner is to blame.
Does UTI after sex mean cheating? No. Intercourse itself is a listed risk factor for recurrent UTI, not only a new partner. Shared bacteria between partners, as seen in a 2015 E. coli study, say nothing about faithfulness.
How long after sex does a UTI start? We couldn't find a sourced timeframe, so we won't guess. Clinicians use the term "post-coital recurrence" for infections that follow intercourse. Note when your symptoms start in relation to sex and share the pattern with your clinician.
Can you catch a UTI from a partner? Research says sometimes. A 2015 study found 6 of 23 E. coli strains from men with febrile UTIs and their female partners were shared between partners, and concluded UTIs are "sometimes sexually transmitted." More research is needed.
Is it normal for a UTI to come back? It's common enough to have its own guidelines. Recurrent UTI in women is the subject of AUA/CUA/SUFU guidance, which aims to reduce recurrence and unneeded antibiotic use. If yours returns, ask for a urine culture and a prevention plan.
Can sex make a UTI worse? We couldn't find a solid source on whether sex worsens an existing UTI, so we won't claim it. If you have symptoms, see a clinician. Sex is linked to new infections, according to risk factor reviews.
Do men get UTIs from sex? It can happen. The 2015 study followed men with febrile UTIs and found some shared E. coli strains with their partners. A German guideline review notes that "Further invasive testing is suggested for men."
Sources
- Cai T. Recurrent uncomplicated urinary tract infections: definitions and risk factors. GMS Infect Dis. 2021;9:Doc03. https://doi.org/10.3205/id000072
- Jhang JF, Kuo HC. Recent advances in recurrent urinary tract infection from pathogenesis and biomarkers to prevention. Tzu Chi Med J. 2017;29(3):131–137. https://doi.org/10.4103/tcmj.tcmj_53_17
- Mores CR, et al. Genomic relatedness and clinical significance of Streptococcus mitis strains isolated from the urogenital tract of sexual partners. Microb Genom. 2021;7(2):mgen000535. https://doi.org/10.1099/mgen.0.000535
- Ulleryd P, et al. Colonization with Escherichia coli Strains among Female Sex Partners of Men with Febrile Urinary Tract Infection. J Clin Microbiol. 2015;53(6):1947–1950. https://doi.org/10.1128/JCM.00579-15
- Kwok M, et al. Guideline of guidelines: management of recurrent urinary tract infections in women. BJU Int. 2022;130(Suppl 3):11–22. https://doi.org/10.1111/bju.15756
- Schmiemann G, et al. The Diagnosis, Treatment, and Prevention of Recurrent Urinary Tract Infection. Dtsch Arztebl Int. 2024;121(11):373–382. https://doi.org/10.3238/arztebl.m2024.0068
- Ahmad B, Khan K. Recurrent urinary tract infection is not one disease: moving from antibiotic suppression to phenotype-guided prevention. Ann Med Surg (Lond). 2026;88(9):5546–5549. https://doi.org/10.1097/MS9.0000000000005446
- Anger J, et al. Recurrent Uncomplicated Urinary Tract Infections in Women: AUA/CUA/SUFU Guideline. J Urol. 2019;202(2):282–289. https://doi.org/10.1097/JU.0000000000000296
This article is for general education and is not medical advice. Talk to a licensed clinician about symptoms, testing and treatment. Last updated: October 2026.