What antibiotics are safe for treating urinary tract infections (UTIs) during 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 4, 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.

Safe Antibiotics for UTI During Pregnancy

Nitrofurantoin, fosfomycin trometamol, and third-generation cephalosporins (particularly cefixime and cephalexin) are the safest and most effective first-line antibiotics for treating UTIs during pregnancy, with beta-lactams and nitrofurantoin having the most robust safety data. 1, 2, 3

First-Line Treatment Options

For uncomplicated UTIs in pregnancy, the following antibiotics are recommended:

  • Nitrofurantoin is considered safe and effective throughout pregnancy, though some clinicians avoid it near term due to theoretical concerns about neonatal hemolysis 1, 3. The drug reaches high bactericidal concentrations in the urinary tract and induces minimal resistance 4.

  • Fosfomycin trometamol (3g single dose) is generally considered safe and effective, offering excellent compliance with single-dose administration 3, 2. However, evidence specific to pregnancy outcomes is more limited compared to beta-lactams 1.

  • Third-generation cephalosporins (particularly cefixime and cephalexin) are highly effective with excellent safety profiles in pregnancy 2, 3. Cephalexin 250mg as postcoital prophylaxis has demonstrated remarkable efficacy in preventing recurrent UTIs during pregnancy 4.

  • Beta-lactam antibiotics as a class (including amoxicillin-clavulanate and cephalosporins) are generally considered safe throughout pregnancy 5, 3.

Treatment Duration and Approach

The optimal treatment duration is 4-7 days for most antibiotics in pregnancy:

  • Single-dose therapy shows inferior outcomes compared to 4-7 day courses, particularly for nitrofurantoin and beta-lactams 1.

  • A 7-day course of nitrofurantoin was more effective than single-dose therapy in preventing low birth weight, though both prevented pyelonephritis equally 1.

  • Fosfomycin may be effective as single-dose therapy, but pregnancy-specific outcome data remain limited 1.

Critical Importance of Treatment

Treating UTIs in pregnancy is essential because untreated infections significantly increase risks of:

  • Pyelonephritis (which antimicrobials probably reduce with moderate quality evidence) 1
  • Preterm labor and low birth weight (which antimicrobials may reduce) 1, 3
  • Significant maternal and neonatal morbidity and mortality 6

Antibiotics to AVOID in Pregnancy

The following antibiotics should be avoided:

  • Fluoroquinolones are generally avoided throughout pregnancy due to concerns about fetal cartilage development 3, 1.

  • Tetracyclines are contraindicated due to effects on fetal bone and teeth development 3.

  • Trimethoprim-sulfamethoxazole should be avoided, particularly in the first trimester (folate antagonism) and near term (kernicterus risk), though it may be used in the second trimester if necessary 1.

Special Considerations for Asymptomatic Bacteriuria

Pregnant women are the ONE population where asymptomatic bacteriuria MUST be treated:

  • Screening for and treating asymptomatic bacteriuria in pregnancy is strongly recommended, unlike in other populations 1.

  • Treatment reduces pyelonephritis risk and may reduce preterm birth and low birth weight 1.

  • The same antibiotics used for symptomatic UTIs are appropriate for asymptomatic bacteriuria 1.

Prophylaxis for Recurrent UTIs in Pregnancy

For pregnant women with recurrent UTIs:

  • Postcoital prophylaxis with either cephalexin 250mg or nitrofurantoin 50mg as a single dose is highly effective 4.

  • In one study, 130 UTIs occurred before prophylaxis versus only 1 UTI during pregnancy with prophylaxis—a highly significant reduction 4.

  • Continuous prophylaxis throughout pregnancy may be warranted for women with frequent recurrences 4.

Common Pitfalls to Avoid

Key clinical errors to prevent:

  • Do not leave UTIs untreated in pregnancy based on concerns about antibiotic exposure—the risks of untreated infection far outweigh antibiotic risks 1, 3, 6.

  • Do not use fluoroquinolones even though they may be tempting for resistant organisms; choose alternative agents with pregnancy safety data 3.

  • Do not use single-dose therapy with nitrofurantoin or beta-lactams—these require longer courses for optimal outcomes in pregnancy 1.

  • Do not fail to obtain urine cultures before treatment when possible, as this guides therapy and detects resistance 2.

Monitoring and Follow-up

Appropriate monitoring includes:

  • Physiologic changes in pregnancy (increased GFR, increased total body volume, enhanced cardiac output) may require dose adjustments or careful monitoring for some antibiotics 3.

  • Follow-up urine cultures should be obtained to document cure, particularly given the serious consequences of treatment failure in pregnancy 1.

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

A Review of Antibiotic Use in Pregnancy.

Pharmacotherapy, 2015

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

Treatments for symptomatic urinary tract infections during pregnancy.

The Cochrane database of systematic reviews, 2011

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.