What dose of cephalexin (Keflex) should be used for urinary tract infection prophylaxis in a pregnant woman with recurrent symptomatic UTIs?

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

Cephalexin Dosing for UTI Prophylaxis in Pregnancy

For pregnant women with recurrent symptomatic UTIs requiring antibiotic prophylaxis, use cephalexin 250 mg as a single oral dose after sexual intercourse (postcoital prophylaxis). 1, 2

When to Initiate Prophylaxis

  • Consider prophylaxis only after the patient has experienced at least 3 symptomatic UTIs within 12 months or at least 2 UTIs within 6 months 3
  • Verify eradication of any active UTI with a negative urine culture 1-2 weeks after treatment before starting prophylaxis 4
  • Unlike non-pregnant women, asymptomatic bacteriuria must be treated in pregnancy before considering prophylaxis 5

Recommended Prophylactic Regimen

Postcoital prophylaxis is the preferred approach:

  • Cephalexin 250 mg orally as a single dose within 2 hours after sexual intercourse 1, 2
  • This regimen demonstrated remarkable efficacy in pregnant women: 130 UTIs occurred during 7 months before prophylaxis versus only 1 UTI during pregnancy after prophylaxis 1
  • In non-pregnant premenopausal women, the same regimen reduced infections from 127 UTIs in 6 months to only 1 UTI over 12 months of prophylaxis 2

Alternative if postcoital prophylaxis is not appropriate:

  • Cephalexin 250 mg orally once nightly (continuous daily prophylaxis) 6
  • This low-dose regimen maintained 22 of 23 patients infection-free for 132 months of observation without inducing bacterial resistance 6
  • Daily prophylaxis uses approximately 3 times more tablets than postcoital prophylaxis but achieves identical results 2

Alternative Agents for Prophylaxis in Pregnancy

  • Nitrofurantoin 50 mg as a single postcoital dose is equally effective but must be avoided in late third trimester due to risk of hemolytic anemia in G6PD-deficient neonates 5, 1
  • Trimethoprim-sulfamethoxazole should generally be avoided in pregnancy, particularly in the first trimester 3

Duration of Prophylaxis

  • Initial course should be 6-12 months based on trial evidence 4
  • Reassess the need for continued prophylaxis at 6-12 months to determine whether to maintain, modify, or discontinue therapy 4

Why Cephalexin Works for Prophylaxis

  • Achieves high bactericidal concentrations in the urinary tract 1, 2
  • Induces minimal or no resistance in the introital gram-negative bacterial flora, even with prolonged use 1, 2, 6
  • At the 250 mg dose, resistant E. coli (>32 mcg/mL) did not develop despite 6 months of nightly prophylaxis 6
  • Safe throughout all trimesters of pregnancy 5

Concurrent Behavioral Modifications

  • Encourage voiding immediately after sexual intercourse 4
  • Maintain adequate hydration (2-3 liters daily) 3, 4
  • Avoid sequential anal-to-vaginal intercourse 4
  • Counsel against spermicides and harsh vaginal cleansers 4

Treatment Dosing (Not Prophylaxis)

If an acute UTI develops despite prophylaxis, treatment doses differ significantly:

  • Cephalexin 500 mg orally four times daily for 5-7 days for acute cystitis 5, 7
  • The FDA label specifies 7-14 days for cystitis therapy 7
  • For severe infections, doses may be doubled, but daily doses should not exceed 4 grams 7

Critical Pitfalls to Avoid

  • Do not use prophylactic doses (250 mg) to treat active UTIs—this underdoses and promotes resistance 7
  • Do not initiate prophylaxis without confirming UTIs are temporally related to sexual activity when using postcoital regimen 4
  • Do not fail to treat asymptomatic bacteriuria in pregnancy before starting prophylaxis—this is a unique requirement in pregnant patients 5
  • Do not continue prophylaxis indefinitely without reassessment every 6-12 months 4
  • Obtain urine culture with susceptibility testing if breakthrough UTIs occur during prophylaxis 4

References

Research

Effective prophylaxis for recurrent urinary tract infections during pregnancy.

Clinical infectious diseases : an official publication of the Infectious Diseases Society of America, 1992

Guideline

Antibiotic Prophylaxis for Recurrent Urinary Tract Infections

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Postcoital Nitrofurantoin Prophylaxis for Recurrent Urinary Tract Infections in Premenopausal Women

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2026

Guideline

Management of Urinary Tract Infection in Pregnancy with Hypogastric Pain

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.