Facts only, sources on every article, written for all bodies. Anyone can improve a page.

Urinary tract infections and sex

Why sex triggers UTIs in some bodies, what prevention is actually supported by trials, and what to do about recurrent infection.

Edit this article History (1)Last updated 9/10/2026

A urinary tract infection (UTI) is a bacterial infection of the bladder or urethra, usually caused by E. coli from the person''s own bowel flora. Around 50–60% of women experience at least one in their lifetime (Foxman, 2014), and sex is one of the clearest triggers.

Why sex is involved

Mechanical movement during penetrative or manual sex can push periurethral bacteria into the short female urethra. A classic case-control study (Hooton et al., NEJM, 1996) found recent intercourse was the strongest single risk factor for cystitis in young women, with risk rising with frequency, along with spermicide and diaphragm use. "Honeymoon cystitis" describes the pattern after a period of increased sexual activity.

People with a penis get UTIs far less often because of a longer urethra; a UTI in this group is treated as complicated and investigated, especially over 50 when the prostate may be involved.

Symptoms

Burning on urinating, frequency and urgency, lower abdominal pressure, cloudy or strong-smelling urine, sometimes blood. Fever, flank or back pain, nausea or confusion suggest kidney involvement (pyelonephritis) and need same-day care. In older adults, new confusion may be the only sign.

Symptoms can also be caused by thrush, BV, chlamydia, gonorrhoea, herpes or genitourinary syndrome of menopause — a negative urine dipstick with ongoing symptoms means the diagnosis should be reconsidered, not the antibiotic repeated.

Prevention: what the evidence supports

  • Urinating after sex. Widely advised and biologically plausible; the evidence is observational and modest, but it is harmless.
  • Hydration. The best-quality evidence here: a 2018 randomised trial (Hooton et al., JAMA Internal Medicine) found drinking an extra 1.5 L of water daily reduced recurrent cystitis episodes from a mean of 3.2 to 1.7 per year.
  • Stopping spermicide use (including spermicide-coated condoms and diaphragms) in people with recurrent UTIs — consistent evidence of increased risk.
  • Vaginal oestrogen after menopause. A Cochrane review and multiple RCTs show clear reductions in recurrent UTI; NICE recommends it for postmenopausal women with recurrence.
  • Cranberry products. The 2023 Cochrane review (Williams et al.) concluded cranberry juice or capsules reduce recurrent UTI risk in women with recurrence and in children — a real but moderate effect. It is not a treatment for an active infection.
  • D-mannose. The large 2024 UK MERIT trial (JAMA Internal Medicine) found no significant benefit over placebo, contradicting earlier smaller studies.
  • Methenamine hippurate. The 2022 ALTAR non-inferiority trial (BMJ) found it comparable to daily antibiotic prophylaxis, making it a reasonable antibiotic-sparing option.

Not supported: douching, avoiding baths, wiping direction (no consistent evidence), or avoiding sex.

Recurrent UTIs

Defined as two infections in six months or three in a year. Options include post-coital single-dose antibiotic prophylaxis (well-supported in trials for sex-associated recurrence), continuous low-dose prophylaxis, methenamine, and vaginal oestrogen. A urine culture should be obtained before starting long-term treatment, and persistent symptoms with sterile cultures need referral — interstitial cystitis and pelvic floor dysfunction are commonly mislabelled as recurrent UTI.

Intimacy alongside recurrent UTIs

Fear of triggering infection reduces sexual frequency and satisfaction in many people with recurrent UTIs. Practical adjustments: generous lubricant to reduce friction, avoiding spermicide, going from anal to vaginal contact never without changing condom or washing, and treating any vaginal dryness rather than pushing through it.

Sources

  • Hooton TM et al., New England Journal of Medicine, 1996 (risk factors for cystitis).
  • Hooton TM et al., JAMA Internal Medicine, 2018 (increased water intake RCT).
  • Williams G et al., Cochrane Database of Systematic Reviews, 2023 (cranberry).
  • Harding C et al., BMJ, 2022 (ALTAR methenamine trial).
  • Hayward G et al., JAMA Internal Medicine, 2024 (MERIT D-mannose trial).
  • NICE guideline NG112, recurrent UTI, 2018.

Educational reference, not medical advice. Every article is community-edited and cites its sources; verify anything that affects your health with a clinician who knows your history.