Clinical KnowledgeA–Z topicsExams ▾Start free

Clinical Knowledge › Internal medicine › Infectious diseases › Relevant pharmacology

Antimicrobial prophylaxis

Antimicrobial prophylaxis is giving an antimicrobial to prevent infection rather than to treat it. It is justified only when the risk or consequences of infection are high, the likely pathogen is predictable and susceptible, and benefit outweighs harm from adverse effects, Clostridioides difficile infection and resistance. Surgical prophylaxis is the commonest use: a single dose of a narrow-spectrum agent such as cefazolin given within 60 minutes before incision, re-dosed for long operations and not continued after surgery. Medical prophylaxis protects defined hosts: people without a functioning spleen, children with sickle cell disease, patients with rheumatic heart disease, recurrent cellulitis or recurrent urinary infection, people with advanced HIV, haematological malignancy or transplants, and patients with cirrhosis after spontaneous bacterial peritonitis or variceal bleeding. Post-exposure prophylaxis prevents infection after contact with meningococcal disease, pertussis, HIV, influenza, varicella, animal bites and, in selected people, bacterial STIs (doxycycline PEP). Endocarditis prophylaxis before dental procedures is now limited to the highest-risk patients.

Full interactive lesson
Patient case, mechanism, investigations, management, flashcards and exam-style questions.
Open the lesson →
Howell-Jolly bodies after splenectomy
Howell-Jolly bodies after splenectomy Small round dark nuclear remnants inside red cells mark hyposplenism. Such patients need vaccination and antibiotic prophylaxis against encapsulated bacteria. · Paulo Henrique Orlandi Mourao · CC BY-SA 3.0 · Wikimedia Commons

Key facts

Differential diagnosis

ConditionCluesKey test
Prophylaxis versus treatment of established infectionPurulent, contaminated or perforated wound already infected at operationOperative findings; treat for a defined course
Surgical site infection despite prophylaxisWound erythema and discharge on day 5–7 after surgeryWound swab, imaging for collection
Prophylaxis-related C. difficile infectionDiarrhoea after prolonged postoperative antibioticsC. difficile toxin testing
Breakthrough infection from resistanceRecurrent UTI on trimethoprim prophylaxis with resistant E. coliUrine culture and susceptibility
Drug toxicity from long-term prophylaxisPulmonary or hepatic reactions on long-term nitrofurantoinLFTs, chest imaging; stop drug
Overwhelming post-splenectomy infectionFever and rapid shock in an asplenic patient despite prophylaxisBlood cultures; immediate IV ceftriaxone

Exam pearls

The most common error in surgical prophylaxis is not the drug choice but the timing: a dose given after incision or continued for days after surgery adds harm without benefit.
Cefazolin can usually be given to people with a non-severe penicillin allergy label; reserve vancomycin or clindamycin for genuine severe immediate or delayed reactions.
Asplenic patients should carry a standby antibiotic and seek care immediately with fever; prophylaxis reduces, but does not abolish, the risk.
Methenamine hippurate was non-inferior to daily antibiotic prophylaxis for recurrent UTI in women (ALTAR trial), a useful antibiotic-sparing option.
Long-term low-dose penicillin halved recurrence of leg cellulitis, but the effect faded after stopping (PATCH I).
Every prophylaxis prescription needs a stated indication and a stop or review date.

Guideline

ASHP/IDSA/SIS/SHEA clinical practice guidelines for antimicrobial prophylaxis in surgery (2013), WHO global guidelines for the prevention of surgical site infection (2016, 2nd edition 2018), 2023 ESC guidelines for endocarditis, CDC doxy-PEP guidelines (2024) and NICE NG112 recurrent UTI (2018)

References

  1. Bratzler DW, Dellinger EP, Olsen KM, et al.. Clinical practice guidelines for antimicrobial prophylaxis in surgery. Am J Health Syst Pharm 2013.
  2. World Health Organization. Global guidelines for the prevention of surgical site infection, second edition. World Health Organization, Geneva 2018.
  3. Allegranzi B, Bischoff P, de Jonge S, et al.. New WHO recommendations on preoperative measures for surgical site infection prevention: an evidence-based global perspective. Lancet Infect Dis 2016.
  4. Delgado V, Ajmone Marsan N, de Waha S, et al.. 2023 ESC Guidelines for the management of endocarditis. Eur Heart J 2023.
  5. Wilson WR, Gewitz M, Lockhart PB, et al.. Prevention of Viridans Group Streptococcal Infective Endocarditis: A Scientific Statement From the American Heart Association. Circulation 2021.
  6. Bachmann LH, Barbee LA, Chan P, et al.. CDC clinical guidelines on the use of doxycycline postexposure prophylaxis for bacterial sexually transmitted infection prevention, United States, 2024. MMWR Recomm Rep 2024.

Related topics

Antimicrobial stewardshipBeta-lactamsMacrolides, tetracyclinesAminoglycosidesAnti-MRSA agentsFluoroquinolonesTrimethoprim, nitrofurantoinAntiretroviral therapyMetronidazoleAntivirals (non-HIV)

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.