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.
Patient case, mechanism, investigations, management, flashcards and exam-style questions.Open the lesson →

Key facts
- Principles: high risk or severe consequence, predictable pathogen, narrow effective agent, shortest effective duration, documented indication and review date
- Surgical prophylaxis: give within 60 minutes before incision (120 minutes for vancomycin and fluoroquinolones); cefazolin 2 g IV (3 g if 120 kg or more) is the usual choice
- Re-dose cefazolin after about 4 hours or after major blood loss; WHO recommends against continuing prophylaxis after the operation ends
- Clean wounds without implants usually need no prophylaxis; dirty or contaminated wounds need treatment, not prophylaxis
- Asplenia: vaccines (pneumococcal, MenACWY, MenB, Hib, annual influenza), daily phenoxymethylpenicillin especially in the first years and in children, and a standby antibiotic supply
- Endocarditis (ESC 2023): amoxicillin 2 g orally 30–60 minutes before dental procedures involving gingival manipulation only for high-risk patients (prosthetic valve, previous IE, some congenital heart disease)
- Meningococcal contacts: single-dose ciprofloxacin (or rifampicin or IM ceftriaxone) as soon as possible for household and close contacts
- Doxy-PEP (CDC 2024): doxycycline 200 mg within 72 hours after sex for MSM and transgender women with a bacterial STI in the past year
Differential diagnosis
| Condition | Clues | Key test |
|---|---|---|
| Prophylaxis versus treatment of established infection | Purulent, contaminated or perforated wound already infected at operation | Operative findings; treat for a defined course |
| Surgical site infection despite prophylaxis | Wound erythema and discharge on day 5–7 after surgery | Wound swab, imaging for collection |
| Prophylaxis-related C. difficile infection | Diarrhoea after prolonged postoperative antibiotics | C. difficile toxin testing |
| Breakthrough infection from resistance | Recurrent UTI on trimethoprim prophylaxis with resistant E. coli | Urine culture and susceptibility |
| Drug toxicity from long-term prophylaxis | Pulmonary or hepatic reactions on long-term nitrofurantoin | LFTs, chest imaging; stop drug |
| Overwhelming post-splenectomy infection | Fever and rapid shock in an asplenic patient despite prophylaxis | Blood cultures; immediate IV ceftriaxone |
Exam pearls
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
- Bratzler DW, Dellinger EP, Olsen KM, et al.. Clinical practice guidelines for antimicrobial prophylaxis in surgery. Am J Health Syst Pharm 2013.
- World Health Organization. Global guidelines for the prevention of surgical site infection, second edition. World Health Organization, Geneva 2018.
- 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.
- Delgado V, Ajmone Marsan N, de Waha S, et al.. 2023 ESC Guidelines for the management of endocarditis. Eur Heart J 2023.
- 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.
- 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
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.