The short explanation
Moving from anal to vaginal sex without changing condoms or washing can carry bowel bacteria, such as E. coli, to the vagina and urethra, which raises the chance of a urine infection and vaginal infections. This is a common and preventable trigger. Useful steps are using a fresh condom when switching from anal to vaginal sex, or washing the penis, fingers or toys with soap and water before switching. Passing urine after sex and using enough lubricant to reduce friction also help.
What depends on your situation
The parts of this that change from woman to woman. Uncertainty is stated, not hidden.
- Anal sex can also pass on sexually transmitted infections, so condoms and regular STI testing are worthwhile, especially with a new partner. Some infections, such as chlamydia and gonorrhoea, can infect the rectum without symptoms.
- If you keep getting urine infections despite these steps, a clinician can look for other causes and discuss preventive options. Talking about sexual practices with a clinician can feel awkward, but it helps them advise you properly, and they hear these questions often.
What this answer cannot determine
The boundary of online education. These need a clinician who can see you.
- This answer cannot tell whether your symptoms are a urine infection or a sexually transmitted infection. Tests are needed.
Questions for your clinician
Take these with you. You can add any of them to an appointment card.
- Do I need a urine test or an STI test, or both?
- What else can I do to prevent infections?
- Should my partner also be tested?
- Is there a preventive option if infections continue?
When to seek help
Clinician-approved guidance for this topic. When in doubt, being seen is never the wrong choice.
Get help the same day
- Get care the same day for fever, back pain, or lower belly pain with discharge.
Book an appointment soon
- See a clinician within a day or two for burning urine or new discharge.
Raise it at a routine appointment
- Book a routine sexual health check if you have a new partner.
Sources
The evidence this explanation is built on.
- Urinary tract infection — adults MedlinePlus (NIH)
- Urinary tract infections (UTIs) NHS
- Urinary tract infections MedlinePlus (NIH)
Who wrote and reviewed this
Every AskHer answer names its author. A clinically reviewed answer also names the clinician who signed it off — if no clinician is named below, it has not been clinically reviewed.
- Author
- AskHer Editorial (AI-assisted) AskHer's editorial team — not an individual clinician Works in English, தமிழ், हिन्दी
- Clinical reviewer
- Nobody yet No clinician has signed this answer off. That is what the “Editorially reviewed” badge means, and why it does not say “Clinically reviewed”. It was written and checked by AskHer’s editorial team against the sources listed above, and it is queued for a clinician who works in this area.
- Review status
- Editorially reviewed
- Last reviewed
- Last reviewed 11 November 2026
- Version
- 1
Correction history
Substantive changes are listed, not quietly edited away.
No corrections have been made since this answer was first published.
Did this answer your question?
Whatever you choose is filed against this version of the answer, never against you, and it is never shown as a count.
“Explain more simply” asks which part was hard to follow, so the author knows what to rewrite. “My question is different” tells the editorial team this answer missed your point, then lets you ask your own question privately. Nothing about you is sent with either.
Saving, following up and reporting are all private. Nothing you do on this page is visible to other readers or to the doctor who wrote it, unless you ask a question.

