What antibiotics are safe for treating urinary tract infection (UTI) 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 13, 2026 • View editorial policy

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.

Safe Antibiotics for UTI in Pregnancy

Nitrofurantoin and β-lactam antimicrobials (specifically ampicillin or cephalexin) are the preferred first-line antibiotics for treating UTIs during pregnancy due to their established safety profile. 1

First-Line Treatment Options

The most recent IDSA guidelines (2019) explicitly state that nitrofurantoin and β-lactam antimicrobials (usually ampicillin or cephalexin) are preferred because of their safety in pregnant women 1. These agents have been extensively studied and show no teratogenic effects 2, 3.

Specific Regimens:

For Asymptomatic Bacteriuria or Uncomplicated Cystitis:

  • Nitrofurantoin: 4-7 day course (not single dose) 1

    • Seven days of therapy was more effective than single dose in preventing low birth weight 1
    • Avoid near term (after 36 weeks) due to theoretical risk of hemolytic anemia in newborn
  • β-lactams (ampicillin or cephalexin): 4-7 day course 1

    • First-generation cephalosporins like cephalexin are preferred
    • Third-generation cephalosporins (e.g., cefixime) are also safe and effective 4
  • Amoxicillin-clavulanate: Alternative option 5

Alternative Options with Caveats

Fosfomycin trometamol (3g single dose):

  • Effective for bacterial clearance 1
  • However, limited clinical evaluation in pregnancy - outcomes such as pyelonephritis and preterm labor are not yet well studied 1
  • Recent evidence suggests it may be appropriate for single-dose treatment 6

Antibiotics to AVOID in Pregnancy

Absolutely contraindicated or should be avoided:

  • Fluoroquinolones (ciprofloxacin, levofloxacin): Associated with cartilage damage in animal studies 2
  • Tetracyclines: Risk of tooth discoloration and bone growth inhibition 2
  • Trimethoprim-sulfamethoxazole:
    • Avoid in first trimester (folate antagonism, neural tube defects risk) 7
    • Avoid in last trimester (kernicterus risk from bilirubin displacement) 8
    • Can cause kernicterus before 2 months corrected gestational age 8

Treatment Duration Matters

Critical point: Short-course therapy (single dose) is less effective than 4-7 day regimens in pregnancy 1. The 2019 IDSA guidelines emphasize that while nitrofurantoin and β-lactams are less effective as short-course therapy for acute cystitis in non-pregnant women, pregnant women require the full 4-7 day duration to prevent adverse outcomes including low birth weight 1.

For Pyelonephritis in Pregnancy

If hospitalization required:

  • Intravenous ceftriaxone (1g) 5
  • Amoxicillin combined with aminoglycoside 5
  • Carbapenems for severe cases 5

Clinical Pearls

  • Always obtain urine culture in pregnant women with suspected UTI 5
  • Treat asymptomatic bacteriuria in pregnancy - it reduces pyelonephritis and may reduce preterm birth/low birth weight 1
  • Recent prescribing patterns show nitrofurantoin use has decreased substantially (from 50-65% to 27-49% between 2010-2022), while first-generation cephalosporins have increased, despite nitrofurantoin maintaining 98-99% susceptibility 9
  • Local resistance patterns should guide empiric therapy, but E. coli susceptibility to nitrofurantoin remains excellent (98-99%) 9

References

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.