Clinical KnowledgeA–Z topicsExams ▾Start free

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.

Full interactive lesson
Patient case, mechanism, investigations, management, flashcards and exam-style questions.
Open the lesson →
Gram-positive cocci in clusters
Gram-positive cocci in clusters Purple cocci in grape-like clusters suggest staphylococci. Until MRSA is excluded, empirical cover may need an anti-MRSA agent alongside a beta-lactam. · Ajay Kumar Chaurasiya · CC BY-SA 4.0 · Wikimedia Commons

Key facts

Differential diagnosis

ConditionCluesKey test
IgE-mediated penicillin allergyUrticaria, angio-oedema, wheeze or hypotension within 1 hourClinical; tryptase; allergy referral
Benign delayed maculopapular rashRash after several days, no mucosal or systemic featuresClinical; usually low risk for re-challenge
Amoxicillin rash in EBV infectionWidespread rash after amoxicillin for 'tonsillitis' with lymphadenopathyMonospot or EBV serology
Stevens–Johnson syndrome/TENMucosal erosions, skin detachment, feverClinical; skin biopsy; never re-challenge
DRESSRash, fever, eosinophilia, organ involvement 2–8 weeks after startFBC eosinophils, LFT; RegiSCAR score
Acute interstitial nephritisRising creatinine, rash, fever, eosinophiluriaUrinalysis, kidney biopsy if unclear
C. difficile infectionDiarrhoea during or after cephalosporin or co-amoxiclavC. difficile toxin test

Exam pearls

Flucloxacillin and co-amoxiclav can cause cholestatic jaundice up to several weeks after stopping, more often in older adults and with longer courses (flucloxacillin is linked to HLA-B*57:01).
Ceftriaxone can form biliary sludge ('pseudolithiasis') and must not be given with IV calcium in neonates because of precipitation.
Cefepime and high-dose penicillins or imipenem can cause encephalopathy, myoclonus and seizures, especially in kidney impairment; the dose was probably not adjusted.
Temocillin, pivmecillinam and fosfomycin are useful oral or narrow options for ESBL urinary infection where available.
Piperacillin–tazobactam with vancomycin is associated with more acute kidney injury than other combinations; monitor creatinine.
Probenecid reduces renal tubular secretion of penicillins, raising their levels; it is used with some regimens to prolong action.

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

  1. 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.
  2. 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.
  3. Mirakian R, Leech SC, Krishna MT, et al.. Management of allergy to penicillins and other beta-lactams. Clin Exp Allergy 2015.
  4. Khan DA, Banerji A, Blumenthal KG, et al.. Drug allergy: a 2022 practice parameter update. J Allergy Clin Immunol 2022.
  5. 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.
  6. 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

Antimicrobial stewardshipMacrolides, tetracyclinesAminoglycosidesAnti-MRSA agentsFluoroquinolonesTrimethoprim, nitrofurantoinAntiretroviral therapyMetronidazoleAntivirals (non-HIV)Antifungal drugs

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.