What is the recommended dosing of cephalexin (Keflex) for community‑acquired pneumonia in adults and children, and how should the dose be adjusted in impaired renal function?

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 17, 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 NOT recommended for pneumonia treatment

Cephalexin is not included in any current guideline-recommended regimens for community-acquired pneumonia (CAP) in adults or children. The major society guidelines explicitly recommend other antibiotics, and cephalexin lacks adequate coverage for the most common pneumonia pathogens.

Why Cephalexin Should Not Be Used for Pneumonia

Guideline Recommendations Exclude Cephalexin

For Adults with CAP 1:

  • Outpatient (non-severe): β-lactam (ampicillin-sulbactam, cefotaxime, ceftriaxone, or ceftaroline) PLUS macrolide, OR respiratory fluoroquinolone alone
  • Inpatient (severe): β-lactam PLUS macrolide OR β-lactam PLUS fluoroquinolone
  • Cephalexin is notably absent from all treatment algorithms

For Children with CAP 2:

  • Outpatient (<5 years): Amoxicillin 90 mg/kg/day in 2 doses
  • Outpatient (≥5 years): Amoxicillin 90 mg/kg/day in 2 doses (up to 4 g/day)
  • Inpatient: Ampicillin, penicillin G, ceftriaxone, or cefotaxime
  • Again, cephalexin is not mentioned as an appropriate option

FDA Labeling Does Not Include Pneumonia

The FDA-approved indications for cephalexin 3 include:

  • Respiratory tract infections (but specifically streptococcal pharyngitis, NOT pneumonia)
  • Skin and skin structure infections
  • Otitis media
  • Genitourinary tract infections

Pneumonia is conspicuously absent from the approved indications.

Limited and Outdated Evidence

The only research supporting cephalexin for pneumonia is a small 1983 study 4 with just 34 patients comparing cefadroxil and cephalexin for mild-moderate community-acquired pneumonia. This 40-year-old evidence:

  • Predates modern understanding of pneumonia pathogens
  • Involved only mild cases
  • Has been superseded by extensive guideline development based on higher-quality evidence
  • Does not reflect current resistance patterns

What Should Be Used Instead

For Adults (Outpatient CAP) 1:

  • First-line: Amoxicillin-clavulanate OR doxycycline OR a respiratory fluoroquinolone (levofloxacin 750 mg daily or moxifloxacin 400 mg daily)
  • Alternative: Amoxicillin PLUS macrolide

For Children (Outpatient CAP) 2:

  • Age <5 years: Amoxicillin 90 mg/kg/day divided in 2 doses
  • Age ≥5 years: Amoxicillin 90 mg/kg/day divided in 2 doses; add macrolide if atypical pathogen suspected

For Hospitalized Patients:

Both adult and pediatric guidelines recommend intravenous β-lactams (ceftriaxone, cefotaxime, ampicillin) combined with macrolides or fluoroquinolones for adequate coverage of S. pneumoniae, H. influenzae, and atypical pathogens.

Critical Pitfall to Avoid

Do not use first-generation cephalosporins (cephalexin, cefadroxil) for pneumonia. These agents have:

  • Inadequate coverage for H. influenzae (a common pneumonia pathogen)
  • No coverage for atypical pathogens (Mycoplasma, Chlamydophila)
  • Inferior lung tissue penetration compared to recommended agents
  • No support in modern evidence-based guidelines

If a cephalosporin is needed for pneumonia, use third-generation agents (ceftriaxone 1-2 g daily for adults; ceftriaxone or cefotaxime for children) as specified in guidelines 1, 2.

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.