What are the side effects of Keflex (cephalexin)?

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: December 4, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Side Effects of Keflex (Cephalexin)

The most common side effects of cephalexin are gastrointestinal disturbances, particularly diarrhea, which is rarely severe enough to require discontinuation, along with allergic reactions including rash and urticaria. 1

Common Adverse Effects

Gastrointestinal Effects

  • Diarrhea is the most frequent side effect, though very rarely severe enough to warrant cessation of therapy 1
  • Nausea and vomiting have been reported rarely 1
  • Dyspepsia, gastritis, and abdominal pain can occur 1
  • Genital and anal pruritus, genital moniliasis, vaginitis, and vaginal discharge have been reported 1

Allergic and Hypersensitivity Reactions

  • Allergic reactions manifest as rash, urticaria, and angioedema 1
  • Rarely, severe cutaneous reactions including erythema multiforme, Stevens-Johnson syndrome, or toxic epidermal necrolysis can occur 1
  • Anaphylaxis has been reported and requires immediate discontinuation with emergency treatment including epinephrine, oxygen, IV fluids, antihistamines, corticosteroids, and airway management 1
  • Cross-hypersensitivity with penicillins may occur in up to 10% of patients with penicillin allergy history 1

Neurological Effects

  • Dizziness, fatigue, and headache have been observed 1
  • Agitation, confusion, and hallucinations can occur 1
  • Seizures may be triggered, particularly in patients with renal impairment when dosage is not reduced 1

Serious but Rare Adverse Effects

Clostridium difficile-Associated Diarrhea (CDAD)

  • CDAD can range from mild diarrhea to fatal colitis and must be considered in all patients presenting with diarrhea following cephalexin use 1
  • Can occur over two months after antibiotic administration 1
  • Requires discontinuation of cephalexin and appropriate management including fluid/electrolyte management and C. difficile-directed therapy 1

Hepatic Effects

  • Transient hepatitis and cholestatic jaundice have been reported rarely 1
  • Elevated AST, ALT, alkaline phosphatase, bilirubin, and LDH can occur 1

Renal Effects

  • Reversible interstitial nephritis has been reported rarely 1
  • Increased BUN and creatinine may occur 1

Hematologic Effects

  • Eosinophilia, neutropenia, thrombocytopenia, and hemolytic anemia have been reported 1
  • Aplastic anemia, pancytopenia, leukopenia, and agranulocytosis are rare but possible 1
  • Positive direct Coombs' tests have been reported during cephalosporin treatment 1

Musculoskeletal Effects

  • Arthralgia, arthritis, and joint disorders have been observed 1

Coagulation Effects

  • Cephalosporins may be associated with decreased prothrombin activity, particularly in patients with renal/hepatic impairment, poor nutritional state, protracted antimicrobial therapy, or those on anticoagulants 1
  • Prolonged prothrombin time can occur 1

Clinical Context from Guidelines

Tolerability Profile

  • In comparative studies, cephalexin demonstrated good tolerability with overall side effect incidence of approximately 13.7%, with about 60% being gastrointestinal disturbances 2
  • Adverse effects are mostly mild or moderate in severity, with discontinuation rates being low 3
  • The drug is "essentially nontoxic at recommended doses" according to clinical experience 4

Special Populations

  • In pediatric populations, adverse effects including gastrointestinal upsets, rash, and urticaria have been relatively infrequent and have not required drug discontinuance 3
  • The drug possesses "near absence of side effects" in infants and children 5

Prophylactic Use Considerations

  • When used for UTI prophylaxis, potential adverse effects of gastrointestinal disturbances and skin rash are commonly associated with cephalexin 6
  • Intermittent dosing is associated with decreased risk of adverse events including gastrointestinal symptoms and vaginitis 6

Important Clinical Pitfalls

  • Do not ignore diarrhea developing during or after treatment—always consider CDAD, which can be life-threatening 1
  • Monitor patients with penicillin allergy carefully, as cross-reactivity can occur despite being relatively uncommon 1
  • Cephalexin is not associated with photosensitivity reactions, unlike tetracyclines, making it a preferred alternative for photosensitivity-concerned patients 7
  • If facial flushing occurs with urticaria, angioedema, respiratory symptoms, or hypotension, treat as potential anaphylaxis immediately 7

References

Research

Double-blind, double-dummy comparison of azithromycin and cephalexin in the treatment of skin and skin structure infections.

European journal of clinical microbiology & infectious diseases : official publication of the European Society of Clinical Microbiology, 1991

Research

Cephalexin in the therapy of infections of the urinary tract.

Postgraduate medical journal, 1983

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Cephalexin-Related Adverse Effects and Clinical Considerations

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.