What is the treatment for a urinary tract infection (UTI)?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: June 10, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

From the Guidelines

The primary treatment for a urinary tract infection (UTI) is a course of antibiotics, with first-line options including nitrofurantoin for 5 days, trimethoprim-sulfamethoxazole for 3 days, or fosfomycin as a single dose, as recommended by the most recent guidelines 1. When treating a UTI, it's essential to consider the severity and complexity of the infection. For uncomplicated UTIs, the following antibiotics are commonly prescribed:

  • Nitrofurantoin (Macrobid) 100mg twice daily for 5 days
  • Trimethoprim-sulfamethoxazole (Bactrim) 160/800mg twice daily for 3 days
  • Fosfomycin (Monurol) as a single 3-gram dose These antibiotics are effective against the most common bacteria causing UTIs, including E. coli, which is responsible for approximately 75% of cases 1. In addition to antibiotics, it's crucial to:
  • Drink plenty of water (at least 2-3 liters daily) to help flush bacteria from the urinary system
  • Use over-the-counter pain relievers like ibuprofen or acetaminophen to manage discomfort
  • Avoid irritants like alcohol, caffeine, and spicy foods during treatment
  • Consider using phenazopyridine (Azo) for up to 2-3 days to relieve urinary pain and burning It's also important to note that if symptoms worsen or don't improve within 48 hours of starting antibiotics, medical attention should be sought as this could indicate a resistant infection or other complications 1. Overall, the goal of treatment is to alleviate symptoms, eliminate the infection, and prevent recurrence, while also considering the potential risks and benefits of antibiotic use, as highlighted in the most recent guidelines 1.

From the FDA Drug Label

To reduce the development of drug-resistant bacteria and maintain the effectiveness of sulfamethoxazole and trimethoprim tablets and other antibacterial drugs, sulfamethoxazole and trimethoprim tablets should be used only to treat or prevent infections that are proven or strongly suspected to be caused by susceptible bacteria When culture and susceptibility information are available, they should be considered in selecting or modifying antibacterial therapy. Urinary Tract Infections For the treatment of urinary tract infections due to susceptible strains of the following organisms: Escherichia coli, Klebsiella species, Enterobacter species, Morganella morganii, Proteus mirabilis and Proteus vulgaris It is recommended that initial episodes of uncomplicated urinary tract infections be treated with a single effective antibacterial agent rather than the combination

The treatment for a urinary tract infection (UTI) is with an antibacterial agent. Sulfamethoxazole and trimethoprim can be used to treat UTIs due to susceptible strains of certain organisms, including Escherichia coli, Klebsiella species, Enterobacter species, Morganella morganii, Proteus mirabilis, and Proteus vulgaris. The choice of treatment should be based on culture and susceptibility information when available. Initial episodes of uncomplicated UTIs should be treated with a single effective antibacterial agent 2.

Ciprofloxacin can also be used to treat complicated urinary tract infections and pyelonephritis in pediatric patients, but it is not a drug of first choice in this population due to an increased incidence of adverse events 3.

  • Key points:
    • Use an antibacterial agent to treat UTIs
    • Sulfamethoxazole and trimethoprim can be used to treat UTIs due to susceptible strains of certain organisms
    • Choice of treatment should be based on culture and susceptibility information when available
    • Initial episodes of uncomplicated UTIs should be treated with a single effective antibacterial agent

From the Research

Treatment Options for Urinary Tract Infections (UTIs)

The treatment for UTIs typically involves antimicrobial therapy, with the choice of antibiotic depending on the type of bacteria causing the infection and the patient's medical history.

  • First-line empiric antibiotic therapy for acute uncomplicated bacterial cystitis in otherwise healthy adult nonpregnant females includes:
    • A 5-day course of nitrofurantoin
    • A 3-g single dose of fosfomycin tromethamine
    • A 5-day course of pivmecillinam 4
  • Second-line options include oral cephalosporins such as cephalexin or cefixime, fluoroquinolones, and β-lactams, such as amoxicillin-clavulanate 4
  • For UTIs caused by AmpC-β-lactamase-producing Enterobacteriales, treatment options include nitrofurantoin, fosfomycin, pivmecillinam, fluoroquinolones, cefepime, piperacillin-tazobactam, and carbapenems 4
  • Parenteral treatment options for UTIs due to ESBLs-producing Enterobacteriales include piperacillin-tazobactam, carbapenems, ceftazidime-avibactam, ceftolozane-tazobactam, aminoglycosides, and fosfomycin 4

Special Considerations

  • The management of UTIs among selected populations, including postmenopausal and pregnant women, and for women with frequent recurrent UTIs, requires special consideration 5, 6
  • Factors to be considered in the selection of appropriate antimicrobial therapy include pharmacokinetics, spectrum of activity of the antimicrobial agent, resistance prevalence for the community, potential for adverse effects, and duration of therapy 5, 6
  • Ideal antimicrobial agents for UTI management have primary excretion routes through the urinary tract to achieve high urinary drug levels 5, 6

Antibiotic Resistance

  • High rates of resistance to trimethoprim-sulfamethoxazole and ciprofloxacin preclude their use as empiric treatment of UTIs in several communities, particularly if patients were recently exposed to them or are at risk of infections with extended-spectrum β-lactamases (ESBLs)-producing Enterobacteriales 4
  • The use of new antimicrobials should be done wisely to avoid resistance development 4
  • Implementation of a standard treatment protocol for UTIs can change clinician prescribing practices and decrease the use of inappropriate antimicrobials 7

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.