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

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: November 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.

Treatment of Urinary Tract Infection in Pregnancy

Nitrofurantoin 100 mg orally four times daily for 5-7 days is the recommended first-line treatment for urinary tract infections in pregnant women, with cephalexin 500 mg orally four times daily for 7-14 days as an alternative option. 1

Diagnostic Approach Before Treatment

  • Always obtain a urine culture before initiating antibiotics to guide antibiotic selection and confirm diagnosis 1
  • Screen for asymptomatic bacteriuria at least twice during pregnancy, with optimal timing at 12-16 weeks of gestation 1
  • This screening is critical because untreated bacteriuria increases pyelonephritis risk to 20-37% compared to only 1-4% in treated women 1

First-Line Antibiotic Regimens

For uncomplicated cystitis and asymptomatic bacteriuria:

  • Nitrofurantoin 100 mg orally four times daily for 5-7 days is the preferred first-line agent 1, 2

    • Safe throughout pregnancy except avoid near term due to risk of hemolytic anemia in the newborn 2
    • Achieves high bactericidal concentrations in urinary tract with minimal resistance development 3
  • Cephalexin 500 mg orally four times daily for 7-14 days as an alternative 1

    • Particularly useful when resistance to other agents is suspected 2
  • Fosfomycin 3 g single dose specifically for uncomplicated cystitis 1, 2

    • Convenient single-dose administration improves compliance 2
    • Equally effective as multi-day regimens for uncomplicated cystitis 2, 4

Treatment Duration

  • Minimum 4-7 days for symptomatic UTI and asymptomatic bacteriuria 1, 2
  • A 7-14 day course ensures complete eradication, particularly with cephalosporins 1
  • Shorter courses (1-3 days) are not recommended in pregnancy 2

Post-Treatment Monitoring

  • Repeat urine culture 1-2 weeks after completing treatment to confirm microbiological cure 1
  • This step is essential—failure to confirm cure leads to missed persistent infections that increase pyelonephritis risk 1

Special Clinical Scenarios

Pyelonephritis or severe infections:

  • Requires initial parenteral therapy and hospitalization given significant maternal and fetal risks 1

Group B Streptococcus bacteriuria:

  • Treat immediately at any concentration when detected 1
  • This differs from other organisms where colony count thresholds apply 1

Recurrent UTIs:

  • Daily low-dose prophylactic antibiotics (nitrofurantoin 50 mg or cephalexin 250 mg postcoitally) can prevent recurrences 2, 3

Antibiotics to Avoid

  • Trimethoprim-sulfamethoxazole is contraindicated:

    • First trimester: neural tube defect risk 1, 2
    • Third trimester: kernicterus/neonatal hyperbilirubinemia risk 1, 2
  • Fluoroquinolones should be avoided throughout pregnancy due to concerns about cartilage development 1, 2

  • Ampicillin is no longer recommended due to high resistance rates 5

Critical Pitfalls to Avoid

  • Never treat without obtaining urine culture for susceptibility testing 1
  • Do not use antibiotics that don't achieve adequate urinary concentrations 2
  • Always confirm microbiological cure with repeat culture—this prevents progression to pyelonephritis 1
  • Remember that asymptomatic bacteriuria requires treatment in pregnancy (unlike non-pregnant populations) 2

References

Guideline

Treatment of Urinary Tract Infections in Pregnant Women

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Treatment of Urinary Tract Infections in Pregnancy

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

Effective prophylaxis for recurrent urinary tract infections during pregnancy.

Clinical infectious diseases : an official publication of the Infectious Diseases Society of America, 1992

Research

Urinary tract infections during pregnancy.

American family physician, 2000

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.