Requests

Laboratory tests

How to prevent urinary tract infections

Anyone who has had several urinary tract infections in a row knows that the most important question shifts from “how do I treat it?” to “how do I prevent the next one?”

Clínica Alegre practitioner examining a sample under a microscope, with test tubes beside it

Reviewed by Dr Fernando Alegre

Clinical Director · OMD, registration no. 9688

Written by the Clínica Alegre team9-minute read

In this article

Preventing recurrent urinary tract infections combines everyday habits, some over-the-counter products and, in certain cases, treatments prescribed by a doctor. The problem is that a great deal of advice circulates, and it does not all have the same scientific support.

This article organises the prevention options according to the strength of the available evidence. It explains what works best, what remains uncertain and what is mainly tradition. It is not a substitute for a plan made at an appointment: the best strategy depends on your age, hormonal stage, pattern of infections and other health conditions.

First step: confirm the diagnosis

Trying to prevent something that has not been confirmed can lead to months of pointless measures. Guidelines from the American Urological Association, Canadian Urological Association and Society of Urodynamics, Female Pelvic Medicine and Urogenital Reconstruction (AUA/CUA/SUFU) recommend basing the diagnosis of recurrent UTI on a urine culture, ideally during at least one episode. This identifies the bacterium involved and whether it is sensitive to the usual antibiotics.

Symptoms similar to cystitis can have other causes: vaginal infections, sexually transmitted infections, vaginal dryness during menopause or chronic bladder pain. If urine cultures are repeatedly negative, the prevention plan needs a different approach. The article on tests in this series explains in more detail which tests may be requested.

Before starting preventionWhy
Urine culture during a symptomatic episodeConfirms the infection and the bacterium
Review of regular medicationSome medicines affect bladder emptying
Record of episode datesShows patterns, for example after sex
Assessment of warning signsMen, fever or persistent blood require investigation

Everyday habits

Drinking enough water increases urine volume and how often the bladder is emptied, helping to flush out bacteria. At least one clinical trial in women with a low fluid intake found fewer infections when they began drinking more water. For people who already drink enough, there is no evidence that drinking much more provides any additional benefit. People with heart failure or kidney disease should follow their doctor’s advice on fluids.

Not putting off going to the toilet and emptying the bladder completely are sensible, risk-free measures. Treating constipation also helps, particularly in children and older people, because a very full bowel can make it harder to empty the bladder and increase bacteria in the perineal area.

MeasureEvidenceRisks
Increase water intake in people who drink too littleModerateMinimal for most people
Do not delay urinatingWeak, but plausibleNone
Treat constipationWeak to moderateNone
Urinate after sexWeakNone
Avoid tight or synthetic underwearVery weakNone

Sex and contraception

When infections occur mainly after sex, there are specific measures to consider. Urinating straight afterwards is common advice. Studies are inconclusive, but it is simple and harmless. More importantly, review your method of contraception: spermicides alter the vaginal flora and are linked to more infections, so it may be worth discussing alternatives with your doctor or gynaecologist.

For women with a clear pattern of post-coital infection, the doctor may suggest a single dose of antibiotic after sex instead of continuous treatment. NICE guideline NG112 includes this option. It is a prescription medical decision tailored to how often the woman has sex and her individual history.

Cranberries: what the studies say

Cranberries contain proanthocyanidins, substances that make it harder for some bacteria to attach to the bladder wall in laboratory studies. The Cochrane review by Williams and colleagues, updated in 2023, brought together 50 clinical trials with around 8857 participants. In women with recurrent infections, cranberry products probably reduced the risk of symptomatic, culture-confirmed infections by around a quarter.

The same review is clear about the limitations: no benefit was demonstrated in older people living in institutions, people who have difficulty emptying their bladder or pregnant women. The ideal dose has not been established either, and the amount of active substance varies greatly between juices, capsules and tablets. Anyone taking anticoagulants should speak to their doctor or pharmacist before using these products regularly, and the juices may contain a great deal of sugar.

GroupEffect of cranberries according to Cochrane 2023
Women with recurrent infectionsProbable reduction in infections
Children with urinary tract infectionsProbable reduction in infections
People after bladder proceduresPossible reduction
Older people living in institutionsNo proven benefit
Incomplete bladder emptyingNo proven benefit
Pregnant womenNo proven benefit

Other non-antibiotic options

D-mannose is a sugar that may bind to bacteria and make them easier to eliminate in urine. Early studies looked promising, but the evidence is limited and conflicting, and more recent, higher-quality trials have not confirmed a clear benefit. Oral and vaginal probiotics have also produced inconsistent results. You can discuss them with your doctor, but keep your expectations modest.

There is also a urinary antiseptic medicine called methenamine, which releases a substance with an antibacterial effect in acidic urine and is used in some countries as an alternative to preventive antibiotics. It is only available on prescription and is not suitable for everyone, including some people with kidney or liver disease. Vaccines against urinary tract infections are being studied and availability varies; there is still not enough evidence to recommend them widely.

Vaginal oestrogen during menopause

After menopause, the lack of oestrogen changes the vaginal flora and makes infection more likely. A Cochrane review by Perrotta and colleagues concluded that vaginal oestrogen reduced infections in postmenopausal women with recurrent UTIs, based on two small studies, whereas oral oestrogen showed no benefit. The AUA/CUA/SUFU and NICE guidelines recommend considering vaginal oestrogen for these women.

These medicines are prescription-only. Women with a history of breast cancer or other specific conditions should discuss this option with their doctor and, where appropriate, their oncologist. The article in this series on urinary tract infections during menopause explores this subject in more depth.

Preventive antibiotics: when and how

When the measures above are not enough, the doctor may suggest preventive antibiotics, either as a low daily dose for a few months or as a single dose after a trigger such as sex. Both strategies reduce infections while they are being used, but the effect tends to disappear after they are stopped, and prolonged use encourages resistance and side effects.

Another strategy is self-treatment started by the woman herself: when typical symptoms occur, she provides a urine sample for culture and starts the antibiotic previously agreed with her doctor. This only works with a plan established at an appointment, a prescription and regular review. Never use leftover antibiotics or antibiotics prescribed to someone else.

Antibiotic strategyWho may benefit from itCare
Low daily doseVery frequent infections with no clear triggerResistance, side effects, regular review
Single dose after sexInfections associated with sexual activityPlan established by the doctor
Planned self-treatmentWomen with a confirmed diagnosis and good adherenceUrine culture before starting

Myths and poorly supported advice

Much common advice does not stand up to careful scrutiny. The type of underwear worn, taking baths, using panty liners or the direction of wiping after a bowel movement have been discussed for decades, but studies do not consistently show that they make a difference. There is no harm in following this advice if it makes you more comfortable, but it should not replace measures supported by better evidence.

Vaginal douches and scented intimate hygiene products should also be avoided because they can alter the vaginal flora and irritate the lining. Water and a gentle product are enough for intimate hygiene for most women.

Common ideaWhat is known
“Wiping from back to front causes infections”Plausible, but little direct evidence
“Tight clothing causes cystitis”No consistent evidence
“Baths are dangerous”No consistent evidence
“Cranberry juice cures the infection”False: it is a preventive measure, not a treatment
“Vaginal douches provide protection”False: they may increase the risk

When prevention is not enough

If infections continue despite these measures, or if you develop symptoms that differ from usual, you need to be reassessed. Fever, pain in the lower back, blood in the urine that persists after treatment, infections in men or suspected stones are reasons for further investigation. NICE guideline NG112 recommends specialist referral for men with recurrent infections and women with infections of unknown cause or recurrent kidney infections.

A high fever, chills, vomiting or severe pain in the side require medical assessment the same day. Confusion, extreme weakness or very low blood pressure are reasons to call 112. If in doubt, contact SNS 24 on 808 24 24 24.

At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.

Frequently asked questions

Does drinking plenty of water prevent every infection?

No. It mainly helps people who drink too little, but it does not remove the risk.

Can cranberry juice treat an infection that has already developed?

No. Studies have assessed prevention, not treatment.

Does D-mannose work?

The evidence is limited and conflicting. You can speak to your doctor, but it should not replace measures with stronger evidence.

Can I take preventive antibiotics for years?

Your doctor decides how long to use them, weighing the benefit against the risk of resistance and side effects.

Is vaginal oestrogen safe?

Yes, for most women going through menopause, but it requires a prescription and individual assessment, particularly if there is a history of breast cancer.

Does urinating after sex solve the problem?

It is simple and risk-free, but the evidence of benefit is weak.

Are there vaccines against urinary tract infections?

They are being studied and availability varies; there is no general recommendation.

Did you enjoy this article?

Scientific references4
  1. Anger J, Lee U, Ackerman AL, et al. Recurrent uncomplicated urinary tract infections in women: AUA/CUA/SUFU guideline. J Urol. 2019;202(2):282-289.
  2. Williams G, Hahn D, Stephens JH, Craig JC, Hodson EM. Cranberries for preventing urinary tract infections. Cochrane Database Syst Rev. 2023;11(11):CD001321.
  3. Perrotta C, Aznar M, Mejia R, Albert X, Ng CW. Oestrogens for preventing recurrent urinary tract infection in postmenopausal women. Cochrane Database Syst Rev. 2008;(2):CD005131.
  4. National Institute for Health and Care Excellence. Urinary tract infection (recurrent): antimicrobial prescribing. NICE guideline NG112. London: NICE; 2018 (atualizada em 2024).
Article information
Written by
Clínica Alegre team
Clinical review
Dr Fernando Alegre, Clinical Director · OMD, registration no. 9688
Published
2 Dec 2026
Last updated
2 Dec 2026
Topic
Laboratory tests
Reading time
9 min

See also

Related treatments

Want to know what is right for you?

Contact us on WhatsApp or book an assessment, in person or online.

Book an appointment

Book your assessment.

Choose Setúbal or Seixal. We reply within opening hours.

Newsletter

Get the latest news from the Clínica Alegre.

Blog articles and clinic news, delivered to your inbox. Unsubscribe at any time.