Which antibiotics are safe to use 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: March 6, 2026View editorial policy

Personalize

Help us tailor your experience

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

Antibiotics Safe in Pregnancy

Penicillins and cephalosporins are the safest first-line antibiotics during pregnancy and should be prioritized for most infections. 1

Safest Options (Compatible Throughout Pregnancy)

Beta-Lactams - First Choice

  • Amoxicillin: Compatible throughout all trimesters and considered low risk 1
  • Amoxicillin-clavulanic acid: Compatible, though avoid in women at risk of preterm delivery due to very low risk of necrotizing enterocolitis 1
  • Ampicillin: Recommended for intrapartum GBS prophylaxis (2g IV initial dose, then 1g IV every 4 hours until delivery) 2, 3
  • Penicillin G: Preferred agent for GBS prophylaxis due to narrow spectrum (5 million units IV initial dose, then 2.5-3.0 million units every 4 hours) 2, 3
  • Cephalexin: Suggested for systemic infections in pregnancy with moderate evidence of safety 4
  • Cefuroxime: Compatible throughout pregnancy with human data indicating no teratogenicity at therapeutic doses 1
  • Ceftazidime: Compatible, with cephalosporins generally safe in pregnancy 1
  • Cefazolin: Preferred for penicillin-allergic patients not at high risk for anaphylaxis (2g IV initial dose, then 1g IV every 8 hours) 2, 3
  • Piperacillin-tazobactam: Compatible, with all penicillins considered low risk 1

Macrolides - Generally Safe

  • Azithromycin: Probably safe with moderate evidence; very low risk of hypertrophic pyloric stenosis only in first 13 days of breastfeeding 1, 4
  • Erythromycin: Probably safe in T2/T3, though avoid erythromycin estolate due to maternal hepatotoxicity 1

Other Safe Options

  • Nitrofurantoin: Generally safe and effective, preferred 4-7 day course over single dose 5, 6
  • Fosfomycin: Single dose effective for bacteriuria clearance, though limited pregnancy outcome data 5
  • Clindamycin: Suggested for use with moderate evidence of safety; can be used with rifampin for severe hidradenitis suppurativa 4

Use With Caution (Possibly Safe in Specific Situations)

Second-Line Agents

  • Metronidazole: Use only if no safer alternatives available; possibly safe but stop breastfeeding 12-24 hours after single 2g dose 1
  • Vancomycin: Probably safe in T2/T3, compatible; limited T1 experience 1
  • Meropenem: Possibly safe in T1, probably safe in T2/T3 1
  • Ciprofloxacin: Possibly safe but most clinicians avoid; animal studies suggest cartilage damage risk though human data suggest low risk 1
  • Rifampin: Possibly safe but give with vitamin K to prevent neonatal bleeding; first-line for tuberculosis only 1

Antibiotics to AVOID

Contraindicated or High Risk

  • Doxycycline and tetracyclines: AVOID in T2/T3 - associated with tooth discoloration and bone growth suppression; may exacerbate maternal fatty liver 1, 4
  • Aminoglycosides (gentamicin, tobramycin): AVOID if possible - eighth cranial nerve toxicity risk (streptomycin documented); use only for severe infections when other antibiotics fail 1
  • Co-trimoxazole (trimethoprim-sulfamethoxazole): AVOID especially in T1 - associated with hyperbilirubinemia, fetal hemolytic anemia, preterm birth, low birthweight, and kernicterus 1, 4
  • Trimethoprim: AVOID in T1 - use short courses only if necessary with folic acid supplementation 1
  • Fluoroquinolones: Generally avoided due to theoretical arthropathy risk in children, though human data suggest lower risk than previously thought 7, 6
  • Erythromycin: AVOID - may increase risk of adverse outcomes including elevated liver enzymes 4
  • Dapsone: AVOID - increased risk of preterm birth, low birthweight, and hemolysis 4

Key Clinical Considerations

Penicillin Allergy Management

For patients with penicillin allergy history 2, 3:

  • Low-risk (no anaphylaxis history): Use cefazolin as preferred alternative
  • High-risk (anaphylaxis, angioedema, respiratory distress, urticaria):
    • If GBS isolate susceptible to clindamycin AND erythromycin: Use clindamycin 900mg IV every 8 hours
    • If resistance or unknown susceptibility: Use vancomycin 1g IV every 12 hours

Important Caveats

  • Physiologic changes in pregnancy alter pharmacokinetics - increased glomerular filtration, expanded volume, enhanced cardiac output may require dose adjustments for renally cleared antibiotics 6, 8
  • Duration matters: For asymptomatic bacteriuria in pregnancy, 4-7 day courses are more effective than single-dose therapy, particularly for nitrofurantoin and beta-lactams 5
  • Breastfeeding: Beta-lactam antibiotics are generally safe during lactation; avoid tetracyclines and fluoroquinolones due to developmental concerns 9, 6

Related Questions

What are the differential diagnoses for a female patient with chronic periumbilical pain radiating to the left groin and lower back?
What evidence exists for the efficacy and safety of full-body red-light therapy?
What are the differential diagnoses for ankle pain in a 7‑year‑old male?
What are the causes of unilateral lower‑limb hypertrophy in a developmentally normal infant without fever, facial dysmorphism, edema, or measurable limb‑length discrepancy?
What are the differential diagnoses for a patient presenting with back pain and left upper abdominal pain?
What laboratory and clinical tests should be used to determine whether my relative, who has been on long‑term vitamin B12 injections for presumed pernicious anemia despite negative intrinsic‑factor and parietal‑cell antibodies and no current anemia, actually needs continued B12 supplementation?
When is diabetes mellitus considered de‑controlled?
What are the recommended treatment and prophylaxis measures for varicella infection in patients of different ages and risk groups?
What pharmacologic options are appropriate for relieving abdominal bloating and flatulence in a patient with gastroparesis?
What is the recommended management for pulmonary nodules from follicular thyroid carcinoma that do not take up radioiodine?
Are the CBC results (white blood cell count 5.31 ×10⁹/L, neutrophils 1.55 ×10⁹/L, lymphocytes 3.15 ×10⁹/L, monocytes 0.33 ×10⁹/L, basophils 0.04 ×10⁹/L, eosinophils 0.24 ×10⁹/L) normal for an asymptomatic 14‑year‑old female, and is any treatment required?

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.