Why Keflex (Cephalexin) is Not Appropriate for Empiric CAP Treatment
Keflex (cephalexin) is a first-generation cephalosporin that lacks adequate coverage against key atypical pathogens causing community-acquired pneumonia—specifically Mycoplasma pneumoniae, Legionella species, and Chlamydia pneumoniae—and has poor activity against Haemophilus influenzae, making it unsuitable for empiric CAP therapy.
The Spectrum Gap Problem
The major bacterial pathogens in CAP include Streptococcus pneumoniae, Haemophilus influenzae, Mycoplasma pneumoniae, Legionella species, and Chlamydia pneumoniae 1. Cephalexin fundamentally fails to cover several of these critical organisms:
Missing Atypical Coverage
- No activity against atypical pathogens: Cephalexin has zero coverage for Mycoplasma, Legionella, and Chlamydia—organisms that account for a substantial proportion of CAP cases
- These atypical pathogens require macrolides, doxycycline, or respiratory fluoroquinolones for effective treatment
Poor H. influenzae Activity
- Cephalexin demonstrates inadequate activity against H. influenzae, a common CAP pathogen 2, 3
- Studies specifically note that cephalexin fails in approximately 50% of infections caused by H. influenzae 3
- This is a critical limitation since H. influenzae is one of the designated major treatable bacterial causes of CAP 1
Comparative Potency Issues
- Among oral cephalosporins, cephalexin ranks as one of the least potent with the narrowest antimicrobial spectrum 4
- It lacks the extended spectrum activity of third-generation oral cephalosporins like cefpodoxime, cefdinir, or cefuroxime
- Even against S. pneumoniae, cephalexin has inferior activity compared to recommended agents 4
What Guidelines Actually Recommend
The IDSA/ATS guidelines are explicit about appropriate empiric therapy 5:
For Outpatients Without Comorbidities:
- Macrolide (azithromycin, clarithromycin) OR
- Doxycycline
For Outpatients With Comorbidities:
- Respiratory fluoroquinolone (moxifloxacin, levofloxacin 750 mg) OR
- β-lactam (high-dose amoxicillin, amoxicillin-clavulanate, ceftriaxone, cefpodoxime, or cefuroxime) PLUS macrolide
For Hospitalized Patients (Non-ICU):
- Respiratory fluoroquinolone OR
- β-lactam (cefotaxime, ceftriaxone, ampicillin) PLUS macrolide
Notice that cephalexin appears nowhere in these recommendations 5. The β-lactams specifically mentioned are either parenteral agents (ceftriaxone, cefotaxime) or advanced-generation oral cephalosporins (cefpodoxime, cefuroxime)—never first-generation cephalosporins like cephalexin.
FDA Labeling Confirms the Limitation
The FDA label for Keflex lists respiratory tract infections caused by S. pneumoniae and S. pyogenes as indications, but notably excludes CAP as a specific indication 6. The label emphasizes that "penicillin is the usual drug of choice" for streptococcal infections and makes no claim for empiric pneumonia coverage 6.
Clinical Evidence Limitations
While one small 1983 study showed success with cephalexin in mild-to-moderate community-acquired pneumonia 7, this research has critical limitations:
- Only 34 patients studied
- 65% had S. pneumoniae isolated—meaning the pathogen was known, not empiric treatment
- Excluded patients with atypical pathogens or H. influenzae
- Predates modern understanding of CAP microbiology and current resistance patterns
- Does not reflect contemporary guideline standards
A recent 2026 pediatric study suggested cephalexin as an alternative during amoxicillin shortages 8, but this was for AOM, pharyngitis, and CAP combined—not specifically validated for CAP alone, and in a pediatric population where the microbiology differs from adults.
The Bottom Line
Empiric CAP therapy requires coverage of both typical bacteria (S. pneumoniae, H. influenzae) AND atypical organisms (Mycoplasma, Legionella, Chlamydia). Cephalexin fails on both counts: it misses all atypical pathogens and has poor H. influenzae activity. This makes it fundamentally inadequate for empiric CAP treatment, regardless of severity or patient comorbidities.
If a patient has culture-proven S. pneumoniae pneumonia with documented susceptibility, cephalexin might be considered for targeted therapy—but this is not empiric treatment. For empiric CAP, stick to guideline-recommended regimens that provide comprehensive coverage 1, 5.