Clinical Knowledge › Internal medicine › Infectious diseases › Relevant pharmacology
Beta-lactams (penicillins, cephalosporins, carbapenems)
Beta-lactams are the most widely used antibiotics. All contain a four-membered beta-lactam ring that acylates penicillin-binding proteins (transpeptidases), blocking peptidoglycan cross-linking and causing bactericidal, time-dependent killing of dividing bacteria. The class includes penicillins (benzylpenicillin, amoxicillin, flucloxacillin, piperacillin), cephalosporins (five generations plus cefiderocol), carbapenems (meropenem, imipenem, ertapenem) and the monobactam aztreonam, often combined with beta-lactamase inhibitors such as clavulanate, tazobactam, avibactam, vaborbactam and relebactam. Resistance arises mainly from beta-lactamases (ESBL, AmpC, KPC, OXA-48, metallo-beta-lactamases such as NDM), altered PBPs (PBP2a in MRSA, mosaic PBPs in pneumococci) and porin loss or efflux in Gram-negatives. Beta-lactams are generally safe, including in pregnancy; key harms are hypersensitivity, C. difficile infection, cholestatic hepatitis (co-amoxiclav, flucloxacillin), neurotoxicity and seizures at high doses in kidney failure, interstitial nephritis and a fall in valproate levels with carbapenems. Most penicillin allergy labels are wrong, and cross-reactivity with cephalosporins and carbapenems is low and mainly side-chain driven.
Patient case, mechanism, investigations, management, flashcards and exam-style questions.Open the lesson →

Key facts
- Mechanism: inhibit penicillin-binding proteins (transpeptidases) that cross-link peptidoglycan; bactericidal; time-dependent killing (fT>MIC)
- Mostly renally excreted (except ceftriaxone, flucloxacillin partly biliary): adjust doses in kidney impairment
- No cephalosporin is active against enterococci or Listeria, and none except ceftaroline and ceftobiprole covers MRSA
- Ertapenem lacks activity against Pseudomonas and Acinetobacter; meropenem and imipenem cover both (unless carbapenemase-producing)
- Carbapenems are the drugs of choice for serious ESBL infections (MERINO: piperacillin–tazobactam inferior for ceftriaxone-resistant bacteraemia)
- Aztreonam is not hydrolysed by metallo-beta-lactamases and rarely cross-reacts with penicillins (shares a side chain with ceftazidime)
- About 10% of patients have a penicillin allergy label; over 90% tolerate penicillin on testing; cross-reactivity with cephalosporins is about 1–2% and with carbapenems under 1%
- Carbapenems lower serum valproate dramatically: avoid the combination
Differential diagnosis
| Condition | Clues | Key test |
|---|---|---|
| IgE-mediated penicillin allergy | Urticaria, angio-oedema, wheeze or hypotension within 1 hour | Clinical; tryptase; allergy referral |
| Benign delayed maculopapular rash | Rash after several days, no mucosal or systemic features | Clinical; usually low risk for re-challenge |
| Amoxicillin rash in EBV infection | Widespread rash after amoxicillin for 'tonsillitis' with lymphadenopathy | Monospot or EBV serology |
| Stevens–Johnson syndrome/TEN | Mucosal erosions, skin detachment, fever | Clinical; skin biopsy; never re-challenge |
| DRESS | Rash, fever, eosinophilia, organ involvement 2–8 weeks after start | FBC eosinophils, LFT; RegiSCAR score |
| Acute interstitial nephritis | Rising creatinine, rash, fever, eosinophiluria | Urinalysis, kidney biopsy if unclear |
| C. difficile infection | Diarrhoea during or after cephalosporin or co-amoxiclav | C. difficile toxin test |
Exam pearls
Guideline
IDSA 2024 Guidance on the treatment of antimicrobial-resistant Gram-negative infections, ESCMID 2022 guidelines for multidrug-resistant Gram-negative bacilli, BSACI guideline on penicillin and beta-lactam allergy (2015) with the AAAAI/ACAAI drug allergy practice parameter (2022), and WHO AWaRe antibiotic book (2022)
References
- Tamma PD, Heil EL, Justo JA, Mathers AJ, Satlin MJ, Bonomo RA. Infectious Diseases Society of America 2024 guidance on the treatment of antimicrobial-resistant gram-negative infections. Clin Infect Dis 2024.
- Paul M, Carrara E, Retamar P, et al.. European Society of Clinical Microbiology and Infectious Diseases (ESCMID) guidelines for the treatment of infections caused by multidrug-resistant Gram-negative bacilli. Clin Microbiol Infect 2022.
- Mirakian R, Leech SC, Krishna MT, et al.. Management of allergy to penicillins and other beta-lactams. Clin Exp Allergy 2015.
- Khan DA, Banerji A, Blumenthal KG, et al.. Drug allergy: a 2022 practice parameter update. J Allergy Clin Immunol 2022.
- Harris PNA, Tambyah PA, Lye DC, et al.. Effect of piperacillin-tazobactam vs meropenem on 30-day mortality for patients with E coli or Klebsiella pneumoniae bloodstream infection and ceftriaxone resistance: a randomized clinical trial. JAMA 2018.
- Copaescu AM, Vogrin S, James F, et al.. Efficacy of a clinical decision rule to enable direct oral challenge in patients with low-risk penicillin allergy: the PALACE randomized clinical trial. JAMA Intern Med 2023.
Related topics
By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.