Yes, cephalexin and cefazolin are both first-generation cephalosporins, but cross-reactivity is NOT a significant concern in this patient.
Despite both being first-generation cephalosporins, cefazolin has a unique R1 side chain that is completely dissimilar to cephalexin and can be safely administered to patients with cephalexin allergy, even if the original reaction was anaphylactic. 1
Understanding the Classification and Cross-Reactivity
Both Are First-Generation Cephalosporins
- Cephalexin: oral first-generation cephalosporin
- Cefazolin: parenteral first-generation cephalosporin
However, generation alone does not predict cross-reactivity—the critical determinant is R1 side chain similarity 1.
Why Cefazolin Is Safe Despite Cephalexin Allergy
Cefazolin has a unique side chain structure with negligible cross-reactivity:
- Cefazolin does not share R1 side chains with cephalexin 1
- Among patients with confirmed penicillin allergy, cefazolin allergy occurs in only 3.0% (95% CrI: 0.01%-17.0%) 1
- In patients with unverified penicillin allergy, the reaction rate to cefazolin is just 0.7% (95% CrI: 0.1%-1.7%) 1
- Multiple studies demonstrate very low cross-reactivity between cefazolin and other beta-lactams despite being first-generation 1, 2
Clinical Approach for This 89-Year-Old Patient
For non-anaphylactic cephalexin allergy:
- Cefazolin can be administered via direct challenge without skin testing, as the R1 side chains are dissimilar 1
- No additional precautions beyond standard monitoring are required
For anaphylactic cephalexin allergy:
- Current guidelines suggest (conditional recommendation) performing cephalosporin skin testing before administering parenteral cephalosporins with nonidentical R1 side chains 1
- However, given cefazolin's unique side chain and extremely low cross-reactivity data, many experts consider it safe even without skin testing
- If skin testing is performed and negative, follow with a drug challenge to confirm tolerance 1
Important Caveats
Renal function considerations:
- With eGFR 39 mL/min, cefazolin dosing requires adjustment
- Standard surgical prophylaxis: 2g IV pre-op, then 1g q8h if procedure >4 hours
- For therapeutic use: reduce frequency based on creatinine clearance
Drugs that DO share side chains with cephalexin and should be avoided:
- Cefadroxil (shares R1 side chain with cephalexin) 1
- Cefaclor (shares R1 side chain with cephalexin) 1
- Cefprozil (shares R1 side chain with cephalexin)
- Amoxicillin/ampicillin (share R1 side chains with cephalexin) 1
The old "10% cross-reactivity" myth:
- Historical estimates of 10% cross-reactivity between penicillins and cephalosporins were falsely elevated due to pre-1980 penicillin contamination of cephalosporins 1
- Modern data shows cross-reactivity is R1 side chain-dependent, not class-dependent 1, 2
Bottom Line Algorithm
- Confirm the nature of cephalexin reaction (immediate vs. delayed, severity)
- If non-anaphylactic: Administer cefazolin directly with standard monitoring
- If anaphylactic history: Consider skin testing (though evidence suggests very low risk given dissimilar side chains), or proceed with monitored challenge
- Adjust dose for renal impairment (eGFR 39 mL/min)
- Avoid cephalosporins with similar R1 side chains (cefadroxil, cefaclor, cefprozil)
The Dutch SWAB guidelines explicitly state that cefazolin is safe in penicillin allergy regardless of severity or timing, reinforcing its unique safety profile 2.