What is the safest antibiotic 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: December 29, 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.

Safest Antibiotics During Pregnancy

Penicillins, particularly amoxicillin, and first-generation cephalosporins, particularly cephalexin, are the safest antibiotics during pregnancy, with decades of clinical experience demonstrating no teratogenic effects and compatibility throughout all trimesters and during breastfeeding. 1, 2

First-Line Safe Antibiotics

Penicillins (Safest Choice)

  • Amoxicillin is the single most recommended antibiotic for pregnancy, classified as Category A/B with extensive human data showing no harm to the fetus at therapeutic doses 1, 2, 3
  • Amoxicillin is compatible throughout all trimesters and during breastfeeding 1, 2
  • Reproduction studies in mice and rats at doses up to 2000 mg/kg showed no evidence of harm to the fetus 3
  • Penicillin G is first-line for Group B Streptococcus prophylaxis: 5 million units IV initially, then 2.5-3 million units IV every 4 hours until delivery 2

Cephalosporins (Equally Safe Alternative)

  • Cephalexin has moderate-quality evidence supporting safety throughout pregnancy with no demonstrated fetal harm 4, 1, 2
  • First-generation cephalosporins are recommended for patients with non-anaphylactic penicillin allergy 5
  • Cefazolin is suitable for intrapartum prophylaxis with high intra-amniotic concentrations 1
  • Ceftriaxone is safe throughout pregnancy and recommended for gonococcal infections at 250 mg IM single dose 1

Other Safe Options

  • Azithromycin and clindamycin are considered safe alternatives, though azithromycin data remain preliminary 4, 1
  • Clindamycin has moderate evidence supporting safety with no significant risks of congenital anomalies or preterm delivery 4, 1
  • Clindamycin should be used during the first trimester only if clearly needed, but is well-established as safe in second and third trimesters 6
  • Erythromycin base 500 mg orally four times daily for 7 days is safe for chlamydial infections and respiratory infections 1, 5

Antibiotics That MUST Be Avoided

Absolutely Contraindicated

  • Tetracyclines (including doxycycline) must be avoided after week 5 of pregnancy due to tooth discoloration, transient bone growth suppression, and potential maternal fatty liver of pregnancy 1, 2, 5
  • Fluoroquinolones are contraindicated throughout pregnancy due to potential cartilage damage 5
  • Ofloxacin is specifically contraindicated for pregnant women 1
  • Erythromycin estolate is contraindicated due to drug-related hepatotoxicity 1

Avoid Especially in First Trimester

  • Co-trimoxazole (TMP-SMX) should be avoided, particularly during the first trimester, due to increased risk of preterm birth, low birthweight, kernicterus, hyperbilirubinemia, fetal hemolytic anemia, and neural tube defects 4, 1, 2, 5
  • If co-trimoxazole is absolutely necessary in first trimester, supplement with 5 mg/day folic acid 1
  • Sulfonamides should be avoided during first trimester due to association with hyperbilirubinemia 1

Clinical Algorithm for Antibiotic Selection

Step 1: Assess Penicillin Allergy Status

  • No penicillin allergy → Amoxicillin is first-line 1, 2, 5
  • Non-anaphylactic penicillin allergy → Use cephalexin or other first-generation cephalosporin 5
  • Anaphylactic penicillin allergy → Use azithromycin, clindamycin, or erythromycin base 1, 5

Step 2: Consider Trimester-Specific Risks

  • First trimester carries highest risk for teratogenicity; use antibiotics only when clearly needed 5
  • Avoid co-trimoxazole, trimethoprim, and sulfonamides in first trimester 1
  • Second and third trimesters: clindamycin is well-established as safe 6

Step 3: Match Antibiotic to Infection Type

  • Respiratory infections: Amoxicillin first-line; add macrolide for atypical coverage if needed 5
  • Urinary tract infections: Amoxicillin, cephalexin, or nitrofurantoin (avoid near term) 7
  • Chlamydia: Erythromycin base 500 mg four times daily for 7 days or amoxicillin 500 mg three times daily for 7-10 days 2
  • Group B Streptococcus: Penicillin G or ampicillin IV 2

Special Considerations and Exceptions

Severe or Life-Threatening Infections

  • Rifampin is endorsed by CDC and WHO as first-line for tuberculosis in pregnancy, supporting its safety in select cases 4, 1
  • Rifampin-clindamycin combination may be used in select pregnant patients with severe hidradenitis suppurativa 4
  • Ertapenem may be considered in select recalcitrant cases, as animal studies showed no teratogenic evidence 4, 1
  • For bioterrorism-related anthrax or life-threatening illness, ciprofloxacin or doxycycline may be used despite usual contraindications 1

Dosing Adjustments

  • Amoxicillin-clavulanate is compatible during pregnancy but should be avoided in women at risk of preterm delivery due to very low risk of necrotizing enterocolitis in the fetus 1
  • Dosages may need individualization due to increased glomerular filtration rate, increased total body volume, and enhanced cardiac output during pregnancy 7

Breastfeeding Considerations

  • Penicillins and cephalosporins are compatible with breastfeeding and considered low risk 2, 5
  • Clindamycin appears in breast milk at less than 0.5 to 3.8 mcg/mL; monitor infant for gastrointestinal effects 6
  • Macrolides carry very low risk of hypertrophic pyloric stenosis if used during first 13 days of breastfeeding, but are safe after 2 weeks 2, 5
  • Monitor all breastfed infants for gastrointestinal effects when mother receives antibiotics 2, 5
  • Antibiotics in breast milk may cause falsely negative cultures if febrile infant requires evaluation 2, 5

Critical Pitfalls to Avoid

  • Never use tetracyclines after week 5 of pregnancy under any circumstances except life-threatening illness 1, 5
  • Do not assume all macrolides are equal: erythromycin estolate is hepatotoxic and contraindicated 1
  • Screen all pregnant women for asymptomatic bacteriuria and Group B Streptococcus at 35-37 weeks gestation 2
  • Consult obstetrics for severe infections or when considering second-line agents 5

References

Guideline

Antibiotics Safe in Pregnancy

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Safe Antibiotics for Bacterial Infections in Pregnant Women

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Safe Antibiotics for Respiratory Infections in Pregnancy

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

A Review of Antibiotic Use in Pregnancy.

Pharmacotherapy, 2015

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.