What Can You Take for a Urinary Tract Infection?

A urinary tract infection requires antibiotics to fully clear. Over-the-counter pain relievers can ease symptoms while you wait to see a provider or while antibiotics take effect, but they won’t eliminate the bacteria causing the infection. Most uncomplicated UTIs resolve within 3 to 7 days of starting antibiotic treatment.

Antibiotics Are the Primary Treatment

Several antibiotics are considered first-line options for uncomplicated UTIs. The most commonly prescribed is nitrofurantoin, typically taken for 5 to 7 days. Another option, sulfamethoxazole/trimethoprim, works as a shorter 3-day course. Fosfomycin is unique in that it’s approved as a single-dose treatment, meaning one packet of powder mixed with water can be enough to clear the infection.

Which antibiotic your provider chooses depends on local resistance patterns (some bacteria in certain regions have become resistant to specific drugs), your allergy history, and whether you’ve had UTIs before. Men generally need at least 7 days of treatment regardless of which antibiotic is used. If your symptoms don’t improve within 2 to 3 days of starting antibiotics, contact your provider, as the bacteria may be resistant to the one you were prescribed.

Over-the-Counter Pain Relief for Symptoms

Phenazopyridine is the main OTC product specifically designed for UTI discomfort. It works by numbing the lining of your urinary tract, reducing the burning, urgency, and frequency that make UTIs so miserable. OTC tablets come in 50 to 99.5 mg strengths, and the typical approach is taking two tablets three times daily. You’ll notice your urine turns bright orange or red while taking it. That’s normal and harmless, though it will stain clothing and contacts.

The recommended duration is just 2 days. That’s enough to bridge the gap until antibiotics kick in and short enough to avoid side effects. Some people try taking phenazopyridine alone for up to 5 days, hoping the infection resolves on its own, but this approach isn’t well supported and risks letting the infection worsen.

Why Anti-Inflammatories Alone Aren’t Enough

You might wonder whether ibuprofen or another anti-inflammatory could handle a UTI without antibiotics. A large meta-analysis compared this approach directly and found that people taking only anti-inflammatories were about 6.5 times more likely to develop a kidney infection than those on antibiotics. They were also nearly 3 times more likely to still have bacteria in their urine after treatment, and 3 times more likely to need a rescue course of antibiotics because their symptoms persisted or got worse. Anti-inflammatories can take the edge off pain alongside antibiotics, but they’re a poor substitute for them.

Hydration Makes a Real Difference

Drinking extra water during a UTI helps flush bacteria from your urinary tract more quickly. A randomized trial of 140 women with recurrent UTIs found that adding just 1.5 liters of water per day (roughly six extra cups) on top of their normal intake significantly reduced UTI recurrence. While you’re actively fighting an infection, aiming for 2 to 3 liters of total daily water intake gives your body the best chance to help clear bacteria between bathroom trips.

Cranberry Products Need the Right Dose

Cranberry is better for prevention than treatment of an active infection, and it only works if the dose is high enough. The active compounds in cranberries, called proanthocyanidins (PACs), prevent certain bacteria from sticking to the walls of your urinary tract. 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 measurable benefit.

The problem is that most cranberry juice cocktails and many supplements don’t contain enough PACs to hit that 36 mg mark. If you want to try cranberry for prevention, look for supplements that list their PAC content on the label. Cranberry juice with added sugar won’t do much, and even unsweetened juice may not be concentrated enough.

D-Mannose Didn’t Hold Up in Trials

D-mannose, a sugar supplement widely promoted for UTI prevention, performed no better than placebo in the largest trial to date. In a randomized study of nearly 600 women taking 2 grams of D-mannose daily, 51% still experienced a subsequent UTI compared to 55.7% in the placebo group. That difference was not statistically significant. The researchers concluded it should not be recommended for preventing recurrent UTIs.

Prevention Options for Recurrent UTIs

If you’re dealing with frequent UTIs (generally defined as two or more in six months, or three or more in a year), there are several strategies beyond standard antibiotics worth discussing with your provider.

Methenamine Hippurate

This non-antibiotic medication works by converting to formaldehyde in acidic urine, creating an environment hostile to bacteria. A meta-analysis comparing it to preventive antibiotics found it performed just as well at reducing symptomatic UTI episodes, with a similar side effect profile. For people concerned about antibiotic resistance from repeated courses, methenamine hippurate is a viable alternative for long-term prevention.

Vaginal Estrogen for Postmenopausal Women

Dropping estrogen levels after menopause change the vaginal environment in ways that make UTIs far more common. Vaginal estrogen, available as a cream, tablet, or ring, restores the presence of protective Lactobacillus bacteria in the vagina and urinary tract. The American Urological Association specifically recommends vaginal estrogen therapy for peri- and postmenopausal women with recurrent UTIs. Importantly, it needs to be vaginal estrogen. Oral hormone replacement therapy taken as a pill has not been shown to reduce UTI risk.

Probiotics

Lactobacillus species naturally inhabit both the vagina and urinary tract, where they help inhibit the growth of UTI-causing bacteria. Several species, including L. crispatus, L. gasseri, and L. jensenii, have demonstrated the ability to suppress urogenital pathogens in lab studies. Treatments that restore Lactobacillus dominance in the vaginal microbiome have been associated with fewer recurrent UTI symptoms and increased Lactobacillus in the urinary tract. Probiotic supplements or vaginal formulations containing these strains may offer some protective benefit, though evidence is still stronger for vaginal estrogen in postmenopausal women.

Signs the Infection Has Spread

An untreated or undertreated UTI can travel from your bladder to your kidneys. If you develop fever, pain in your back or side, nausea, or vomiting alongside your UTI symptoms, the infection may have progressed to a kidney infection. This requires prompt medical attention and often stronger or longer antibiotic treatment. Kidney infections can become serious quickly, so don’t wait out these symptoms hoping they’ll pass.