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: December 30, 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 in Pregnancy

Nitrofurantoin, beta-lactams (amoxicillin, cephalexin), and fosfomycin are safe and effective first-line antibiotics for treating UTIs during pregnancy, with trimethoprim-sulfamethoxazole reserved as an alternative agent while avoiding the first and third trimesters. 1, 2

First-Line Treatment Options

Nitrofurantoin is the most extensively studied and recommended antibiotic for UTI treatment in pregnancy:

  • Dosing: 100 mg twice daily for 5-7 days 3
  • Has been used safely for over 35 years with an excellent safety record and no significant R-factor resistance 4
  • Effective for both treatment and prophylaxis of recurrent UTIs during pregnancy 5
  • Can be used throughout pregnancy, including the first trimester 2
  • Serious adverse events (pulmonary or hepatic toxicity) are extremely rare at 0.001% and 0.0003% respectively 3

Beta-lactam antibiotics are also considered safe throughout pregnancy:

  • Amoxicillin 500 mg three times daily for 3-7 days provides cure rates of approximately 80% 6
  • Cephalexin 250-500 mg can be used for treatment or prophylaxis 5, 1
  • These agents are generally well-tolerated with minimal fetal risk 1

Fosfomycin is an effective single-dose option:

  • 3 g single dose is recommended as first-line therapy for uncomplicated cystitis 7
  • Considered safe and effective in pregnancy 1

Second-Line and Alternative Agents

Trimethoprim-sulfamethoxazole has important trimester-specific restrictions:

  • Avoid in the first trimester due to potential interference with folic acid metabolism and theoretical risk of neural tube defects 7, 8
  • Avoid in the third trimester due to risk of neonatal hyperbilirubinemia and kernicterus 7, 8
  • Can be used in the second trimester when other options are unsuitable 2
  • Dosing: 160/800 mg twice daily for 3-7 days 7
  • Provides cure rates greater than 80% when used appropriately 6

Critical Clinical Considerations

Screening and diagnosis:

  • All pregnant women should be screened for bacteriuria with urine culture at least once in early pregnancy (12-16 weeks) 3
  • Treatment of asymptomatic bacteriuria in pregnancy reduces pyelonephritis risk from 20-37% to 1-6% 3
  • Urine culture is mandatory for diagnosis; pyuria screening has only 50% sensitivity 3

Treatment duration:

  • Optimal duration remains incompletely defined, with studies showing similar outcomes for 3-7 day regimens 3
  • Single-dose therapy shows higher failure rates compared to 3-7 day courses 3
  • Most clinical trials used 7-day courses or continuous therapy to term 3

Antibiotics to Avoid

Fluoroquinolones and tetracyclines should be avoided throughout pregnancy due to potential fetal harm:

  • Tetracyclines cause tooth discoloration and bone growth abnormalities 8
  • Fluoroquinolones have concerns regarding cartilage development 7

Important Caveats

  • Untreated UTIs pose significant maternal-fetal risks including pyelonephritis, preterm birth, low birth weight, and spontaneous abortion 1
  • Pregnant women should not be denied appropriate antibiotic treatment when indicated, as untreated infections commonly lead to serious complications 2
  • When prescribing sulfonamides or nitrofurantoin in the first trimester, this remains appropriate when no suitable alternatives exist 2
  • Follow-up urine culture 7 days after treatment completion is recommended to confirm cure 6

References

Research

A Review of Antibiotic Use in Pregnancy.

Pharmacotherapy, 2015

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Nitrofurantoin: an update.

Obstetrical & gynecological survey, 1989

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

Recommended treatment for urinary tract infection in pregnancy.

The Annals of pharmacotherapy, 1994

Guideline

Uncomplicated Urinary Tract Infections Treatment Guidelines

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

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.