What is the recommended cefalexin (Keflex) dosing for treatment of an uncomplicated urinary tract infection in an adult?

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 4, 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) for Uncomplicated UTI Treatment

For uncomplicated cystitis in adults, cephalexin 500 mg twice daily for 7 days is an appropriate alternative regimen when first-line agents (nitrofurantoin, trimethoprim-sulfamethoxazole, or fosfomycin) cannot be used, though it should be used with caution due to inferior efficacy compared to preferred agents.

Guideline Positioning

The IDSA/ESMID guidelines clearly position cephalexin as a second-line option for uncomplicated cystitis 1. The guidelines state that β-lactam agents, including cephalexin, are "less well studied but may also be appropriate in certain settings" and note that "β-lactams generally have inferior efficacy and more adverse effects, compared with other UTI antimicrobials" 1. For this reason, β-lactams other than pivmecillinam should be used with caution for uncomplicated cystitis 1.

When to Use Cephalexin

Use cephalexin when:

  • First-line agents (nitrofurantoin, TMP-SMX, fosfomycin) are contraindicated or unavailable
  • Local resistance patterns preclude first-line options
  • Patient has documented susceptibility to cephalexin/cefazolin
  • Patient has allergies or intolerances to preferred agents

Dosing Recommendations

FDA-Approved Dosing

The FDA label for Keflex specifies: 500 mg every 12 hours for uncomplicated cystitis in patients over 15 years of age, continued for 7 to 14 days 2.

Evidence-Based Dosing Considerations

Recent research supports twice-daily dosing as equally effective as four-times-daily dosing:

  • A 2023 multicenter study found no difference in treatment failure between cephalexin 500 mg twice daily (12.7% failure) versus 500 mg four times daily (17% failure, P=0.343) 3
  • A 2025 ED-based study similarly showed no significant difference in treatment failure rates: 18.7% for twice daily versus 15.0% for four times daily (P=0.465) 4
  • Historical data from 1976 demonstrated that 1 g twice daily had equivalent efficacy to divided four-times-daily dosing 5

Recommended practical dosing: 500 mg twice daily for 7 days provides optimal adherence while maintaining efficacy 3, 6.

Important Caveats and Pitfalls

Susceptibility Testing

Critical pitfall: Do not use cephalexin empirically without considering local resistance patterns. The newer CLSI cefazolin-cephalexin surrogate testing has improved susceptibility categorization, but direct susceptibility testing is still preferred when possible 6.

Spectrum Limitations

Cephalexin is NOT active against:

  • Methicillin-resistant staphylococci
  • Most enterococci
  • Most Enterobacter species
  • Pseudomonas species
  • ESBL-producing organisms 2, 6

Pyelonephritis Considerations

For pyelonephritis, the 2024 EAU guidelines note that oral cephalosporins achieve significantly lower blood concentrations than IV routes and recommend that if oral β-lactams are used, an initial IV dose of long-acting parenteral antimicrobial (such as 1 g ceftriaxone) should be administered 7.

Clinical Efficacy

Cephalexin achieves excellent urinary concentrations (500-1000 μg/mL following 250-500 mg doses), far exceeding MICs for susceptible uropathogens 8. However, its overall clinical cure rates remain inferior to first-line agents in head-to-head comparisons 1.

Comparative Effectiveness

A 2024 study comparing cefdinir versus cephalexin showed no significant differences in treatment failure, though cephalexin had numerically better outcomes (11.8% vs 20.7% failure at 14 days, P=0.053) 9.

Practical Algorithm

  1. First, attempt first-line agents: nitrofurantoin, TMP-SMX (if local resistance <20%), or fosfomycin
  2. If contraindicated, consider fluoroquinolones for important indications
  3. If β-lactam required: Use cephalexin 500 mg twice daily for 7 days
  4. Obtain urine culture when using cephalexin to confirm susceptibility
  5. Counsel patients on twice-daily dosing to improve adherence
  6. Follow up if symptoms persist beyond 48-72 hours

The twice-daily regimen offers a practical, fluoroquinolone-sparing alternative with improved adherence compared to four-times-daily dosing, without compromising effectiveness 4, 3, 6.

References

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.