Cephalexin (Keflex) Use in Patients with Penicillin Allergy
Cephalexin (Keflex) should generally be avoided in patients with penicillin allergy due to its relatively high cross-reactivity rate of 16.45% with penicillins, particularly in patients with amino-penicillin allergies. 1
Cross-Reactivity Risk Assessment
The risk of cross-reactivity between penicillins and cephalosporins varies based on the specific cephalosporin:
- Aminocephalosporins (including cephalexin/Keflex): 16.45% cross-reactivity 1
- Cephalosporins with intermediate similarity scores: 5.60% cross-reactivity 1
- Cephalosporins with dissimilar side chains: Only 2.11% cross-reactivity 1
The FDA label for cephalexin specifically warns that cross-hypersensitivity among beta-lactam antibiotics has been clearly documented and may occur in up to 10% of patients with a history of penicillin allergy 2. The label further states that careful inquiry should be made to determine whether the patient has had previous hypersensitivity reactions to cephalexin, cephalosporins, penicillins, or other drugs before therapy is instituted 2.
Clinical Decision Algorithm
Assess penicillin allergy history:
- Type of reaction (immediate vs. delayed)
- Severity of previous reaction
- Timing of reaction (recent vs. remote)
- Specific penicillin involved (particularly amino-penicillins like amoxicillin/ampicillin)
Consider alternatives based on risk stratification:
High-risk patients (anaphylaxis, severe immediate reactions within past 5 years):
Low-risk patients (remote history >5 years, non-severe reactions):
- Consider cephalexin with appropriate monitoring
- Have emergency measures available (epinephrine, oxygen, antihistamines) 2
Important Considerations
Recent evidence suggests that the historical 10% cross-reactivity rate between penicillins and cephalosporins is likely overestimated for many cephalosporins 5, 3. However, first-generation cephalosporins like cephalexin specifically have higher cross-reactivity rates, especially in patients with amino-penicillin allergies 6, 3.
The cross-reactivity is primarily related to similarities in the R1 side chain structure between the penicillin and cephalosporin 3. Cephalexin shares similar side chains with amino-penicillins (amoxicillin, ampicillin), increasing the risk of cross-reactivity in patients allergic to these specific penicillins 6, 3.
Monitoring and Safety Precautions
If cephalexin must be used in a penicillin-allergic patient:
- Observe patients closely during and after administration
- Be prepared to manage allergic reactions with epinephrine and other emergency measures
- Have oxygen, IV fluids, antihistamines, corticosteroids, and airway management equipment readily available 2
Contraindications
Cephalexin is absolutely contraindicated in patients with known allergy to cephalosporins 2.