Most urinary tract infections are preventable with a combination of everyday habits, and the single most effective change you can make is also the simplest: drink more water. UTIs happen when bacteria, usually E. coli from the digestive tract, travel into the urethra and multiply in the bladder. Women are far more susceptible because of the short distance between the urethra, vagina, and anus. But regardless of your anatomy, the strategies below can significantly cut your risk.
Drink Enough Water to Flush Bacteria
Your bladder is essentially a self-cleaning system, but only if you give it enough fluid to work with. Frequent urination physically flushes bacteria out of the urinary tract before they can attach to the bladder wall and cause an infection. In a 12-month randomized trial of premenopausal women with recurrent UTIs, those who added an extra 1.5 liters of water per day (about six extra cups) had significantly fewer infections than those who didn’t change their intake.
The key detail: this benefit was seen in women who previously had low fluid intake. If you’re already drinking plenty of water, adding more may not make a dramatic difference. But if you regularly go hours without a drink, or your urine is consistently dark yellow, increasing your water intake is the first and most evidence-backed change to make. Aim for enough fluid that you’re urinating every few hours during the day and your urine stays pale.
Urinate After Sex
Sexual activity is one of the strongest risk factors for UTIs in women, because it physically pushes bacteria toward and into the urethra. Emptying your bladder soon after intercourse helps flush out any bacteria that were introduced. While no large trial has pinpointed an exact window, the general guidance is to urinate as soon as possible afterward and drink a couple of extra glasses of water. This isn’t a guarantee, but it’s a low-effort habit with a clear biological rationale.
Wipe Front to Back
E. coli is the most common pathogen found in UTIs, and it originates in the intestines. Wiping from back to front after using the toilet can drag bacteria from the anal area toward the urethra. Research on post-toilet wiping habits in women confirms that the direction matters: wiping from front to back, both after urination and after bowel movements, reduces the chance of introducing harmful bacteria into the urinary tract.
Rethink Your Contraception
If you use a diaphragm with spermicide and you’re prone to UTIs, your birth control may be part of the problem. Spermicides disrupt the natural balance of bacteria in the vagina, promoting colonization by E. coli. In studies comparing contraceptive methods, diaphragm users had roughly 2 to 2.5 times the risk of developing a UTI compared to women using oral contraceptives. The infection rate was about three times higher: 26.6 per 1,000 patient-months for diaphragm users versus 8.9 for those on the pill. Switching to a different contraceptive method is worth discussing if UTIs keep recurring.
Cranberry Products: What Actually Works
Cranberries contain compounds called proanthocyanidins (PACs) that prevent E. coli from latching onto the bladder wall. But most cranberry juice cocktails and many supplements don’t contain enough PACs to make a difference. A meta-analysis found that a daily intake of at least 36 mg of PACs reduced UTI risk by 18%. Below that threshold, there was no statistically significant benefit.
This means that a glass of sweetened cranberry juice from the grocery store probably won’t help. Look for cranberry supplements that list the PAC content on the label and deliver at least 36 mg per day. Capsules or concentrated extracts are more reliable than juice for reaching that dose.
D-Mannose: Promising but Unproven
D-mannose is a sugar found naturally in some fruits that, in theory, works similarly to cranberry PACs by preventing bacteria from sticking to the bladder lining. Clinical trials have tested daily doses ranging from 500 mg to 3 grams, and some small studies showed results comparable to low-dose antibiotics. One trial of 205 women compared 2 grams of D-mannose daily to no treatment over 24 weeks and found possible benefit. Another compared it head-to-head with an antibiotic and found no significant difference in UTI rates.
However, a Cochrane review concluded that there is currently “little to no evidence to support or refute the use of D-mannose” for UTI prevention across all populations. The existing studies are small and rated as very low certainty. D-mannose is generally well tolerated, but if you try it, treat it as a supplement with potential rather than a proven prevention method.
Probiotics and Vaginal Health
A healthy vagina is naturally dominated by Lactobacillus bacteria, which produce lactic acid and keep the environment inhospitable to E. coli. When this balance is disrupted, whether by antibiotics, hormonal changes, or spermicides, UTI risk goes up. Restoring that balance with specific probiotic strains is an appealing idea, and there’s some early support for it.
The strains with the most research behind them are L. rhamnosus GR-1 and L. reuteri RC-14. One randomized trial found that Lactobacillus-based probiotics reduced UTI risk by 58% compared to placebo. That said, the overall body of evidence is still thin, and experts stop short of making definitive recommendations. If you want to try probiotics, look for products that contain these specific strains rather than generic “women’s health” blends.
Estrogen Therapy After Menopause
UTIs become more common after menopause for a specific biological reason. When estrogen levels drop, the vaginal lining thins, vaginal pH rises, and Lactobacillus populations decline. This creates a more welcoming environment for the bacteria that cause UTIs.
Topical vaginal estrogen (applied as a cream, ring, or tablet) can reverse these changes. It restores Lactobacillus populations, lowers vaginal pH back toward premenopausal levels, and improves the health of the vaginal tissue. This is a well-established treatment for postmenopausal women with recurrent UTIs and works locally without the systemic effects of oral hormone therapy. If you’re postmenopausal and experiencing frequent UTIs, this is one of the most effective options available.
When UTIs Keep Coming Back
Recurrent UTIs are typically defined as two or more episodes within six months. At that point, a clinician will want to confirm the pattern with urine tests showing both bacteria and signs of inflammation, not just symptoms alone. This matters because other conditions can mimic UTI symptoms.
For women with confirmed recurrent infections who haven’t responded to the lifestyle strategies above, there are non-antibiotic medical options. One is methenamine hippurate, a medication that works by converting to formaldehyde in acidic urine, which kills bacteria. Because it isn’t a traditional antibiotic, it doesn’t contribute to antibiotic resistance, making it an attractive long-term option. Low-dose preventive antibiotics are also used, sometimes taken daily or only after sexual activity, but the goal for most clinicians is to exhaust non-antibiotic approaches first.
Habits That Don’t Help
Vaginal douching and scented feminine hygiene products are sometimes marketed as cleanliness tools, but they disrupt the natural bacterial balance of the vagina and can increase infection risk. The vagina is self-cleaning. Warm water and, if needed, a gentle unscented liquid soap on the external area are sufficient. Avoid reusable bath sponges that harbor bacteria, and opt for clean, disposable alternatives or simply your hands.

