⚙️
Connect your GitHub Repository
This site reads your GI wiki directly from GitHub, staying in sync with your Obsidian vault automatically.
Your GitHub account username
The repo where your Obsidian vault is stored
Path to the wiki folder inside your repo
💡 First time? Create a free GitHub account, upload your vault, and enable GitHub Pages. See SETUP.md for step-by-step instructions.

Framework for when periprocedural antibiotics are — and are not — indicated for gastrointestinal (GI) endoscopy. Bottom line: prophylaxis is not given solely to prevent infective endocarditis; it is reserved for a handful of scenarios that prevent local infection (incomplete biliary drainage at endoscopic retrograde cholangiopancreatography [ERCP], percutaneous endoscopic gastrostomy or jejunostomy [PEG/PEJ], endoscopic ultrasound [EUS]-guided fine-needle aspiration [FNA] of cysts) plus cirrhotics admitted with GI bleeding and patients on peritoneal dialysis. Per the American Society for Gastrointestinal Endoscopy (ASGE) 2015 guideline (asge-2015-antibiotic-prophylaxis).

Contents

Key Principle — Not for IE

  • Do not give antibiotic prophylaxis solely to prevent infective endocarditis (IE) for any GI endoscopic procedure, regardless of cardiac lesion (aligns with the American Heart Association [AHA]). (Rec 1, Moderate quality)
  • No causal link between endoscopy and IE; ~25 temporally associated IE cases across millions of procedures; routine daily activity (brushing/flossing/chewing) causes bacteremia often exceeding endoscopy rates.
  • Exception: patients with a high-risk cardiac condition (list below) and an established GI tract infection in which enterococci may be part of the infecting flora should receive antibiotic coverage. (Rec 2 — "we suggest", Low quality)
PitfallProphylaxis is never for endocarditis alone

No GI endoscopic procedure, and no cardiac lesion, justifies antibiotics given only to prevent IE — not prosthetic valves, not prior IE (asge-2015-antibiotic-prophylaxis, Rec 1). The one carve-out treats an infection the patient already has.

Highest-Risk Cardiac Conditions (the exception list)

The exception is conditional on this list, so the list is the decision (asge-2015-antibiotic-prophylaxis, Table 2 — AHA's cardiac conditions with the highest risk of an adverse outcome from IE):

  • Prosthetic cardiac valve (mechanical or bioprosthetic)
  • Previous infective endocarditis
  • Cardiac transplant recipients who develop cardiac valvulopathy
  • Congenital heart disease (CHD), limited to:
    • Unrepaired cyanotic CHD, including palliative shunts and conduits
    • Completely repaired CHD with prosthetic material/device (surgical or catheter) — only for the first 6 months after the procedure
    • Repaired CHD with residual defects at or adjacent to the site of a prosthetic patch or device

What "coverage" means here: when such a patient has an established GI infection (e.g. cholangitis), or is already receiving antibiotics to prevent wound infection/sepsis from a GI procedure, the regimen should include an agent active against enterococci — penicillin, ampicillin, piperacillin, or vancomycin. Enterococci are singled out because they are the only GI-tract organisms likely to cause IE; AHA reiterates that no study has shown this prevents enterococcal IE.

Bacteremia Risk by Procedure

Bacteremia is a surrogate for IE risk, not an indication to treat — it drives none of the recommendations below. ASGE 2015 names the highest rates as esophageal dilation, variceal sclerotherapy, and instrumentation of obstructed bile ducts; everything else sits in the low range.

ProcedureBacteremia rate
Esophageal dilation (bougienage)12%–22% — higher with malignant strictures and with passage of multiple dilators
Variceal sclerotherapyup to 52%, mean 14.6%
Endoscopic variceal ligation1%–25%, mean 8.8%
ERCP, obstructed duct (stones/strictures)18%
ERCP, non-obstructed duct6.4%
Esophagogastroduodenoscopy (EGD) ± biopsyup to 8%, mean 4.4% (usually <30 min, no infectious events)
colonoscopyup to 25%, mean 4.4%
Colonic stent insertion6.3%
Flexible sigmoidoscopy<1%
EUS ± FNA, upper GI cystic or solid lesions4.0%–5.8%
EUS-FNA, solid rectal / perirectal lesions2%
Brushing and flossing teeth20%–68%
Chewing food7%–51%

Bacteremia rates by endoscopic procedure, against the rates of routine daily activity
Source: rates as reported in the ASGE 2015 guideline text (Bacteremia Associated with Endoscopic Procedures)
ASGE Guideline: Antibiotic Prophylaxis for GI Endoscopy (2015)
ERCP = endoscopic retrograde cholangiopancreatography · EUS = endoscopic ultrasound · FNA = fine-needle aspiration · GI = gastrointestinal

When Prophylaxis IS Indicated

  • ERCP in a patient with prior liver transplantation, or with known/suspected biliary obstruction, where incomplete drainage is possible → give prophylaxis covering biliary flora (enteric gram-negative organisms and enterococci) and continue it after the procedure if biliary drainage is incomplete. (Rec 4, Moderate quality) ASGE recommends against prophylaxis when obstructive biliary disease is not suspected or complete drainage is anticipated. (Rec 3, High quality) Drainage achieved with difficulty counts — hilar cholangiocarcinoma and primary sclerosing cholangitis (PSC) are the worked examples.
    • Already in cholangitis? Treat the cholangitis with antibiotics — additional single-dose ERCP prophylaxis is not recommended on top of treatment.
    • Even with prophylaxis, liver transplant recipients remain at higher risk (1.2% infection rate vs 0.28% overall).
    • Updated 2026 — three supported scenarios, and one of them is new. The published literature most strongly supports prophylaxis for: (i) anticipated or actual incomplete relief of biliary obstruction (PSC, biliary cyst), (ii) cholangioscopy, and (iii) prior orthotopic liver transplantation. ASGE has since moved the post-transplant indication from universal to conditional — antibiotics for anticipated incomplete drainage (ischemic cholangiopathy, multiple intrahepatic strictures, contrast injection without stent placement) — on newer data showing low ERCP-associated infection rates in that group. There are no data supporting routine prophylaxis for pancreatoscopy; individualize on patient risk factors and the nature of the intervention. Prophylaxis may also be worthwhile when extraluminal contamination is suspected — concern for intraprocedural perforation or bile duct injury. (acg-asge-2026-ercp-quality-indicators)
    • Withholding it where no benefit is likely is part of the same quality indicator — inappropriate use drives antibiotic resistance and drug adverse events. Appropriate-indication prophylaxis is a measured ERCP indicator (target >98%; see ercp-quality-indicators).
    • Unstudied ERCP scenarios (ASGE 2015 states no data either way): pancreatic cystic lesions communicating with the main pancreatic duct (infectious events appear uncommon in practice), and prevention of post–self-expandable metal stent (SEMS) acute cholecystitis (incidence 1.9%–12%; antibiotics "may help" but have not been studied).
  • PEG/PEJ placement → parenteral cefazolin 1 g intravenous (IV) 30 minutes before the procedure (or an antibiotic with equivalent coverage of cutaneous organisms); pooled odds ratio (OR) for peristomal infection 0.36 (95% confidence interval [CI] 0.26–0.50). Where methicillin-resistant Staphylococcus aureus (MRSA) is endemic, preprocedure screening (nose, throat, perineum, broken skin) with decolonization of positives reduces MRSA peristomal infection. PEJ is unstudied but treated the same. (Rec 8, High quality)
  • EUS-FNA of cystic lesions (mediastinal and pancreatic/peripancreatic cysts) → antibiotics before, often continued 3–5 days, to prevent cyst infection. Contested for pancreatic cysts: the first randomized controlled trial (RCT) (Colán-Hernández 2020, n=226) found infection risk low (0.44% overall, the single event in the placebo arm) and placebo non-inferior to ciprofloxacin (200 mg IV before/during FNA, then 500 mg orally every 12 h × 7 doses) — arguing prophylaxis is not routinely needed for pancreatic-cyst FNA. ASGE 2015 still suggests it (Rec 7, Low quality); duplication/mediastinal cysts were excluded from the RCT, so it does not address them.
    • Mediastinal cysts — conflict: ASGE 2015 suggests prophylaxis for their FNA (Rec 6, Low quality); the newer ACG/ASGE 2025 EUS quality indicators advise against routinely sampling them at all, because antibiotics have not been shown to prevent cyst infection or mediastinitis.
    • Interventional EUS (pseudocyst drainage, biliary drainage, fine-needle injection, fiducial placement): ASGE 2015 says the role of prophylaxis has not been studied — most published series gave periprocedural antibiotics plus a short course after, with uncommon postprocedural infection. ACG/ASGE 2025 says to strongly consider antibiotics for all interventional EUS.
    • Lower GI tract cystic lesions: ACG/ASGE 2025 reports an infection rate (including perirectal abscess) of ~15% despite prophylaxis after transrectal FNA/fine-needle biopsy (FNB) of cystic lesions — same caution as mediastinal cysts.
  • Cirrhosis admitted with acute GI bleeding → antibiotics for all such patients at admission, regardless of endoscopy — IV ceftriaxone (or oral norfloxacin if intolerant). The clearest benefit is fewer infections; the rebleeding and mortality signals rest on older trials — duration and the prophylaxis-vs-none evidence: antibiotic-prophylaxis-cirrhosis. See also variceal-upper-gi-bleeding, portal hypertensive bleeding, and spontaneous bacterial peritonitis (SBP).
  • Continuous ambulatory peritoneal dialysis → suggested before lower-GI endoscopy to prevent peritonitis. Risk of peritonitis after colonoscopy without prophylaxis was 6.3% in a retrospective study (biopsy/polypectomy did not further increase it); no peritonitis occurred in those given antibiotics, though the difference was not statistically significant. (Rec 12; based on observational data only)
    • Regimen (International Society for Peritoneal Dialysis): ampicillin 1 g plus a single dose of an aminoglycoside, ± metronidazole, IV immediately before the procedure. Acceptable alternative: prophylactic antibiotics intraperitoneally the night before.
    • Also required: the abdomen must be emptied of dialysate before any procedure involving the abdomen or pelvis, including colonoscopy.
PearlIncomplete drainage, not the ERCP, is the trigger

Incomplete biliary drainage predicted 91% of all post-ERCP sepsis in one study, and in the few trials showing benefit antibiotics were continued for several days after the procedure — so a single preprocedure dose for an ERCP that drains the duct is the wrong intervention (asge-2015-antibiotic-prophylaxis).

Regimens

The only agents and doses ASGE 2015 actually specifies:

IndicationRegimen as stated
PEG/PEJCefazolin 1 g IV, 30 min before (or equivalent cutaneous coverage)
cirrhosis + acute GI bleedIV ceftriaxone on admission; oral norfloxacin if allergic/intolerant
Peritoneal dialysis, lower-GI endoscopyAmpicillin 1 g + single-dose aminoglycoside ± metronidazole IV immediately before
High-risk cardiac + established GI infectionInclude an anti-enterococcal agent: penicillin, ampicillin, piperacillin, or vancomycin

ASGE 2015 names no specific agent, dose, or duration for ERCP or for EUS-FNA of cysts. For ERCP it gives only the spectrum — enteric gram-negative organisms and enterococci. For cystic FNA it gives only the timing: "before, and often for 3 to 5 days following"; the retrospective series it cites used a fluoroquinolone for 3 days after pancreatic-cyst FNA. It gives no ceftriaxone dose — see antibiotic-prophylaxis-cirrhosis.

When Prophylaxis Is NOT Indicated

  • Solely to prevent IE (any procedure, any cardiac lesion).
  • ERCP with complete drainage and no suspected obstruction.
  • Diagnostic EUS / EUS-FNA of solid lesions (upper or lower GI).
  • Synthetic vascular grafts or other nonvalvular cardiovascular devices (eg, implantable electronic devices) — any procedure.
  • Orthopedic prostheses — any procedure (American Academy of Orthopaedic Surgeons [AAOS] blanket-prophylaxis statement was withdrawn for lack of evidence). (Rec 11, Moderate quality)

Immunocompromise and Neutropenia

There is no ASGE recommendation here — the guidance is graded by neutrophil count, so the count is the decision point (asge-2015-antibiotic-prophylaxis):

GroupGuidance
Immunocompromised with normal neutrophil count (eg, organ transplant recipients, human immunodeficiency virus [HIV])Routine prophylaxis not recommended — no data that they are at increased risk
Severe immunosuppression — absolute neutrophil count (ANC) <500 cells/µL, advanced hematologic malignancy, bone marrow transplantInsufficient evidence for or against; individualize
  • Patients with severe neutropenia (ANC <500 cells/µL) and/or advanced hematologic malignancy are at increased risk of bacteremia and sepsis after endoscopy; the guideline calls prophylaxis "prudent" in this group — especially before high-bacteremia-risk procedures — while stating plainly that it has not been studied in clinical trials. Flag this as expert opinion, not evidence.
  • Note the internal tension: the ERCP section calls prophylaxis prudent in severe neutropenia, while the immunocompromised-patient section says the evidence is insufficient and the decision must be individualized. Both sentences are the same guideline; neither is a graded recommendation.

Quick Reference Table

ScenarioProcedureProphylaxisGrading of Recommendations Assessment, Development and Evaluation (GRADE)
Bile duct obstruction, complete drainageERCPNot recommendedHigh quality
Bile duct obstruction, incomplete drainageERCPRecommended, continue afterModerate quality
Solid lesion, upper GI / lower GIEUS-FNANot recommendedHigh / Moderate (Table 3); Rec 5 grades both Moderate
Mediastinal cystEUS-FNASuggestedLow quality
Pancreatic/peripancreatic cystEUS-FNASuggested (Low quality) — guideline governs; a later RCT (2020) found omitting it non-inferiorLow quality
All patientsPEG/PEJ placementRecommended (cefazolin)High quality
Cirrhosis + acute GI bleedAny/noneOn admission (ceftriaxone)High quality
Synthetic vascular graft / nonvalvular cardiovascular (CV) deviceAnyNot recommendedHigh quality
Prosthetic jointAnyNot recommendedModerate quality
Peritoneal dialysisLower GI endoscopySuggested (ampicillin 1 g + aminoglycoside)Low quality*
Solely to prevent IEAnyNot recommendedModerate quality
High-risk cardiac lesion + established GI infectionAnyInclude anti-enterococcal agentLow quality
ANC <500/µL, advanced heme malignancy, bone marrow transplant (BMT)AnyInsufficient evidence — individualize—

* The guideline grades this inconsistently: Table 3 lists Low quality, while Recommendation 12 lists Very low quality. Treat it as the weakest-supported item on the list either way (observational data only).

See Also

ercp, endoscopic-ultrasound, colonoscopy, upper-endoscopy, pancreatic-cysts, antibiotic-prophylaxis-cirrhosis, variceal-upper-gi-bleeding, spontaneous-bacterial-peritonitis, endoscopy-sedation, preprocedure-testing, primary-sclerosing-cholangitis, nutrition-in-hospitalized-patients, enteral-access, acute-cholangitis, cirrhosis, polypectomy, liver-transplantation


Sources

  1. ASGE Guideline: Antibiotic Prophylaxis for GI Endoscopy (2015)
  2. ACG/ASGE 2025: Quality Indicators for EUS
  3. ACG/ASGE 2026: Quality Indicators for ERCP
  4. Colán-Hernández 2020: Antibiotic Prophylaxis Is Not Required for EUS-FNA of Pancreatic Cystic Lesions (RCT)
Educational reference for clinicians — not medical advice. Verify against the original guideline and use clinical judgment before acting on patient care.