Is cefalexin (Keflex) safe for use at term pregnancy and what is the appropriate dosing?

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: September 3, 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.

Cephalexin (Keflex) is Safe and Effective in Term Pregnancy

Cephalexin is safe for use at term pregnancy and should be dosed at 500 mg orally every 6-12 hours for most indications, with treatment duration of 4-7 days for urinary tract infections. 1

Safety Profile in Pregnancy

Cephalexin is FDA Pregnancy Category B, meaning reproduction studies in animals have shown no fetal harm at doses up to 1.5 times the maximum human dose, though adequate controlled studies in pregnant women are lacking 1. The drug:

  • Crosses the placenta and reaches adequate concentrations in amniotic fluid and cord serum to inhibit common pathogens, but at levels that have not demonstrated harm 2
  • Shows no detectable teratogenic risk in a large population-based study of 22,865 pregnancies with congenital abnormalities compared to controls 3
  • Is excreted in breast milk at maximum levels of 4 μg/mL (reached at 4 hours post-dose, disappearing by 8 hours), requiring caution but not contraindication in nursing mothers 1

Dosing Recommendations at Term

Standard Dosing (FDA-Approved)

  • Adults: 250-500 mg orally every 6-12 hours 1
  • For UTIs: 500 mg every 12 hours for 7-14 days is adequate 1
  • For more severe infections: Up to 4 grams daily in divided doses may be used 1

Evidence-Based Applications in Pregnancy

For asymptomatic bacteriuria or UTI treatment:

  • Cephalexin 250-500 mg orally is effective when given for 4-7 days (not single-dose therapy, which shows inferior outcomes) 4
  • Beta-lactams like cephalexin are preferred in pregnancy due to safety profile, though they require longer treatment courses than in non-pregnant patients 4

For UTI prophylaxis in high-risk pregnant women:

  • Postcoital prophylaxis with cephalexin 250 mg as a single dose has proven highly effective, reducing UTI recurrence from 130 infections pre-prophylaxis to only 1 infection during pregnancy 5

For cesarean delivery prophylaxis:

  • Cephalexin 500 mg combined with metronidazole 500 mg orally every 8 hours for 48 hours postoperatively has been studied in obese women, though a 2025 trial showed no additional benefit beyond standard IV cefazolin-azithromycin prophylaxis 6, 7

Clinical Considerations and Pitfalls

Key Advantages

  • High urinary concentrations: Achieves 500-1000 μg/mL in urine after 250-500 mg doses, far exceeding MIC for common uropathogens 8
  • Minimal resistance induction: Does not significantly alter introital gram-negative flora 5
  • Excellent oral bioavailability: Completely absorbed in upper intestine, not affected by gastric pH 8
  • Rapid renal clearance: 70-100% excreted unchanged in urine within 6-8 hours 8

Important Caveats

  • Renal adjustment needed: Reduce dose proportionally when creatinine clearance <30 mL/min 8
  • Drug interactions: Monitor metformin closely if co-administered, as cephalexin increases metformin levels by 24-34% and decreases renal clearance by 14% 1
  • False-positive glucose tests: Can cause false-positive urine glucose with Benedict's, Fehling's, or Clinitest tablets 1
  • Treatment duration matters: Single-dose therapy is inferior to 4-7 day courses for pregnancy-related UTIs, particularly for beta-lactams 4

When NOT to Use Cephalexin

  • Severe beta-lactam allergy (use clindamycin 900 mg + gentamicin 5 mg/kg IV instead) 6
  • MRSA colonization (requires vancomycin) 6
  • Infections requiring >4 grams daily (consider parenteral cephalosporins) 1

Comparative Effectiveness

A 1985 trial comparing cephalexin to amoxicillin-clavulanate for bacteriuria in pregnancy showed equivalent cure rates (74% vs 77% at 2 weeks, 60% vs 76% at 6 weeks), with no fetal toxicity attributable to either drug 9. This supports cephalexin as a first-line option with proven safety and efficacy comparable to broader-spectrum alternatives.

Related Questions

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.