PharmingoGet the app
Cell-Wall Inhibitors · Cephalosporins

Cephalosporins: Climbing the Generations

Picture a ladder of antibiotics where each rung you climb trades one strength for another — losing some grip on Gram-positive bugs but reaching further into stubborn Gram-negative ones, until at the very top a single drug does the impossible for a β-lactam: it kills MRSA. That ladder is the cephalosporins, and understanding its logic tells you exactly which one to reach for.

14 min read🎯 Linked lesson: Cephalosporins· Updated 2026-08-13
THE SCENE

A patient arrives at the emergency department with a stiff neck, fever, and confusion — bacterial meningitis, an infection racing to overwhelm the brain. The antibiotic given within minutes is ceftriaxone, a third-generation cephalosporin. Why that one, out of a family with dozens of members? Because it does something the earlier cephalosporins can't: it penetrates into the cerebrospinal fluid to reach the infection, while covering the very bacteria that cause meningitis. Choosing the right cephalosporin is choosing the right rung of a ladder.

Same mechanism, sturdier ring

Cephalosporins are β-lactams too. Like penicillins, cephalosporins are β-lactam antibiotics: they block the PBP enzymes so the bacterial wall can't cross-link, and the cell bursts — bactericidal, and just as safe for us, since we have no wall. Their advantage is a β-lactam ring that is more resistant to many β-lactamase enzymes, giving them a broader reach. They're organized into 'generations,' and the ladder follows a rough rule worth memorizing: as you climb from first to later generations, coverage shifts FROM Gram-positive bacteria TOWARD Gram-negative ones, and the drugs gain useful extras like crossing into the brain or covering Pseudomonas.

The five generations

First generation (cefazolin, cephalexin) is strong on Gram-positive cocci — the go-to for skin infections and, as cefazolin, the standard drug given before surgery to prevent wound infection. Second generation (cefuroxime, cefoxitin) adds more Gram-negative reach, and cefoxitin uniquely covers some anaerobes. Third generation (ceftriaxone, cefotaxime, ceftazidime) is broadly Gram-negative and can cross into the cerebrospinal fluid — ceftriaxone is a true workhorse (meningitis, pneumonia, gonorrhoea), and ceftazidime reaches Pseudomonas. Fourth generation (cefepime) is broad against both Gram-positive and Gram-negative, including Pseudomonas, favoured for serious hospital infections. And fifth generation (ceftaroline) achieves what no other β-lactam can — it covers MRSA. One crucial gap runs through almost the whole family: cephalosporins do NOT cover enterococci (remember 'LAME': Listeria, Atypicals, MRSA, Enterococci — the classic cephalosporin blind spots, MRSA being covered only by ceftaroline).

Key points
  • Cephalosporins are β-lactams (block PBPs) but more β-lactamase-resistant and broader.
  • Climbing generations: Gram-positive → Gram-negative, gaining CNS entry & Pseudomonas.
  • Ceftriaxone (3rd gen) is the workhorse: meningitis, pneumonia, gonorrhoea.
  • Ceftaroline (5th gen) uniquely covers MRSA among β-lactams.
  • Blind spots (LAME): Listeria, Atypicals, MRSA, Enterococci.
💡 CLINICAL PEARL

Ceftriaxone hides a dangerous newborn interaction. It can bind calcium and precipitate in the blood, so giving it to a neonate who is also receiving intravenous calcium can form lethal crystals in the lungs and kidneys — and separately, ceftriaxone displaces bilirubin, worsening newborn jaundice toward kernicterus. So ceftriaxone is avoided in neonates, where cefotaxime (a similar third-generation drug without these problems) is used instead. A brilliant adult drug, quietly hazardous at the very start of life.

⚠️ Common mistakes
  • Relying on a cephalosporin to cover enterococci or (except ceftaroline) MRSA. It won't.
  • Giving ceftriaxone to a neonate on IV calcium — risk of fatal precipitation; use cefotaxime.
  • Assuming penicillin allergy always forbids cephalosporins. Cross-reactivity is low (side-chain dependent).
  • Using an early generation for meningitis. You need a CNS-penetrating third generation.
🎓 Questions students ask
If a patient is allergic to penicillin, can they take a cephalosporin?
Usually yes, with care. Cross-reactivity between penicillins and cephalosporins is far lower than the old textbooks claimed — often around 1–2% — and it depends mainly on whether the two drugs share a similar chemical side chain, not the β-lactam ring itself. For a patient with a history of severe, immediate penicillin anaphylaxis, caution and specialist input are wise; for milder histories, a cephalosporin with a different side chain is generally safe.
Why is cefazolin the standard drug before surgery?
Because most surgical-site infections come from Gram-positive skin bacteria (staph and strep), and cefazolin covers them reliably, is cheap, well tolerated, and long enough acting to protect through an operation. Given just before the incision, it puts a protective drug level in the tissues exactly when contamination is most likely. It's a textbook example of targeted prophylaxis.
Why do the later generations lose Gram-positive strength?
As cephalosporins were engineered to punch through the tough outer defences of Gram-negative bacteria and resist their enzymes, the chemistry that helped against Gram-negatives tended to weaken binding to the Gram-positive PBPs. So the ladder is a trade-off, not a pure upgrade — which is exactly why a first-generation drug can still be the better choice for a simple Gram-positive skin infection.
Test yourself

As you move from first- to later-generation cephalosporins, coverage generally:

🫁 In one breath
  • Cephalosporins are broader, more β-lactamase-stable β-lactams (block PBPs, bactericidal).
  • Generations shift Gram-positive → Gram-negative; ceftriaxone crosses into CSF.
  • Ceftaroline (5th gen) uniquely covers MRSA; blind spots = LAME.
  • Avoid ceftriaxone in neonates on IV calcium — use cefotaxime.
📚 Sources
  • Katzung BG. Basic & Clinical Pharmacology — Beta-Lactam Antibiotics (cephalosporins).
  • Brunton LL, et al. Goodman & Gilman's The Pharmacological Basis of Therapeutics — Cephalosporins.
  • Rang HP, Dale MM, et al. Rang & Dale's Pharmacology — Cephalosporins.
  • Murray PR, et al. Medical Microbiology — Beta-lactam antibiotics.
  • Whalen K. Lippincott Illustrated Reviews: Pharmacology — Cephalosporins.

More in Cell-Wall Inhibitors →

Learn pharmacology and anatomy the fun way

Short lessons, interactive quizzes, a real 3D anatomy model, and a streak you'll actually keep.

Download on the App StoreGet it on Google Play