Cefazolin prophylaxis is associated with lower surgical site infection risk than vancomycin following elective spine surgery
Michael S. Kim, Melissa R. Romoff, Ryan Beyer, Emily Tse, Hao-Hua Wu, Don Y. Park, Yu-Po Lee, Nitin Bhatia, Sohaib Hashmi, Emily S. Mills

TL;DR
Using cefazolin instead of vancomycin before spine surgery reduces the risk of surgical site infections, according to a large study.
Contribution
This study provides large-scale evidence that cefazolin is more effective than vancomycin in preventing surgical site infections after spine surgery.
Findings
Cefazolin was associated with significantly lower SSI risk in TLIF/PLIF and microdiscectomy procedures.
Cefazolin showed comparable or lower SSI risk than vancomycin across all spine surgery types.
The study supports cefazolin as the preferred antibiotic for spine surgery when no allergy is present.
Abstract
Surgical site infection (SSI) remains a major cause of morbidity following elective spine surgery, with incidence rates up to 3%. Current guidelines recommend cefazolin as the first-line prophylactic antibiotic due to its efficacy against methicillin-sensitive Staphylococcus aureus (MSSA) and coagulase-negative staphylococci (CoNS). However, reported B-lactam allergies are commonly cited in clinical practice as a reason for substitution with vancomycin, which provides inferior coverage for MSSA and limited gram-negative activity. Prior single center studies suggest higher SSI risk with vancomycin, but large-scale evidence remains limited. A retrospective cohort analysis was conducted using the TriNetX US Collaborative Network (2015-2023). Adults undergoing elective spine surgery, including transforaminal or posterior interbody fusion (TLIF/PLIF), multilevel lumbar fusion, posterior…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSurgical site infection prevention · Antimicrobial Resistance in Staphylococcus · Orthopedic Infections and Treatments
Introduction
Postoperative surgical site infection (SSI) remains a major source of morbidity a cost following elective spine surgery, with incidence rates ranging from 0.5% to 3% and annual U.S. expenditures exceeding $3 billion [1,2]. Prophylactic antibiotics are a cornerstone of SSI prevention, and current Infectious Diseases Society of American (IDSA) and North American Spine Society (NASS) guidelines recommend first-generation cephalosporins, particularly cefazolin, as the preferred perioperative agent [[3], [4], [5]]. Cefazolin offers a potent bactericidal activity against methicillin-sensitive Staphylococcus aureus (MSSA) and coagulase-negative Staphylococci (CoNS), which predominate in spine SSIs [[6], [7], [8]], while providing favorable tissue penetration and safety [9]. Vancomycin and clindamycin are reserved for patients with confirmed B-lactam allergy or MRSA colonization [3,5,10].
However, the accuracy of B-lactam allergy labeling represents a major challenge in antimicrobial stewardship. Although 8% to 20% of patients report such an allergy, over 90% can safely receive cefazolin upon formal evaluation [10,11]. Substitution with broader-spectrum alternatives such as vancomycin has been consistently associated with higher SSI rates across multiple orthopedic subspecialties. In arthroplasty, Wyles et al. [12] demonstrated that non-cefazolin regimens doubled prosthetic joint infection risk, while implementing preoperative allergy testing improved cefazolin use and reduced infection. Similar findings have been reported in hip and knee arthroplasty and trauma cohorts, where cefazolin prophylaxis provided superior protection against Staphylococcus species compared with vancomycin or clindamycin [[13], [14], [15]].
Within spine surgery, several institutional and regional studies have reported higher SSI rates when cefazolin is replaced by alternative agents, particularly vancomycin [[16], [17], [18]]. In a large single-center retrospective cohort of over 10,000 primary spine procedures, patients receiving non-cefazolin antibiotics, most commonly vancomycin due to reported penicillin allergy, experienced more than a twofold increase in postoperative infection risk compared with those receiving cefazolin, even after adjustment for BMI and operative factors [16]. Similarly, analyses of elective multilevel posterior spinal fusion have demonstrated vancomycin prophylaxis to be independently associated with increased odds of both superficial and deep SSI, alongside known risk factors such as longer operative time and revision surgery [18]. Beyond single institution studies, a multicenter registry study from Japan leveraged a natural experiment where a national cefazolin shortage was created and found that substitution with alternative broad-spectrum agents was associated with nearly double the risk of reoperation for deep SSI, particularly in thoracolumbar procedures [17]. Despite consistent signals across these studies, their reliance on single-center or limited regional cohorts, procedure-specific populations, and relatively small numbers of infectious events limits generalizability and precludes definitive conclusions regarding national practice patterns and outcomes associated with perioperative antibiotic selection in spine surgery.
To date, no large-scale national study has evaluated the association between perioperative antibiotic choice and postoperative SSI risk across a broad spectrum of elective spine procedures. Accordingly, we leveraged a large national database to examine perioperative antibiotic selection and 90-day SSI outcomes following elective spine surgery. Our goal was to determine whether previously reported institutional trends favoring cefazolin are upheld at the national level. We hypothesized that cefazolin prophylaxis would be associated with significantly lower SSI risk compared with non-cefazolin regimens, consistent with findings across other orthopedic subspecialties.
Methods
Study design and database
This study was a retrospective cohort analysis utilizing the TriNetX US Collaborative Network, a federated database that aggregates de-identified electronic health records from healthcare organizations across the United States, representing over 117 million patients. TriNetX complies with HIPAA standards for data security and confidentiality, and all data are fully de-identified; therefore, this study was exempt from IRB approval.
Cohort selection
Patients aged 18 years or older who underwent elective spine surgery between 2015 and 2023 were identified using Current Procedural Terminology (CPT) procedure codes for posterior lumbar interbody fusion (PLIF), transforaminal lumbar interbody fusion (TLIF), microdiscectomy, posterior cervical fusion, anterior cervical discectomy and fusion (ACDF), and multilevel lumbar fusion (3–6 levels) (Supplementary Material Table 1). The operative date served as the index event.
Patients were included if they received prophylactic postoperative antibiotics (cefazolin, vancomycin, or clindamycin) administered on the day of surgery or within the first 7 postoperative days. Because incision-level antibiotic timing is not reliably captured in TriNetX, this window was selected to identify perioperative and early postoperative prophylactic antibiotic selection patterns documented in routine clinical practice.
Patients were excluded if they were younger than 18 years; underwent surgery for trauma, tumor, or infection-related indications; received an antibiotic other than cefazolin, vancomycin, or clindamycin, received more than one of the study antibiotics; had systemic antibiotic exposure in the 30 days prior to surgery; or received any of the study antibiotics beyond postoperative day 7 (postoperative days 8–30). These criteria were applied to minimize misclassification of therapeutic antibiotic use and to isolate perioperative and early postoperative prophylactic antibiotic selection.
Although clindamycin was included as an eligible prophylactic agent to reflect guideline-recommended alternatives for patients with reported B-lactam allergy, the number of patients receiving clindamycin who met all inclusion and exclusion criteria was insufficient to support robust propensity score matching or procedure-specific comparative analysis. Therefore, propensity score matching and primary analyses were limited to cefazolin and vancomycin cohorts. Clindamycin recipients were excluded from matched comparisons.
Propensity score matching
To reduce confounding, 1:1 propensity score matching (PSM) was performed between antibiotic cohorts using TriNetX’s built-in-nearest-neighbor algorithm. Matching covariates included demographic factors (age, sex, body mass index), comorbidities (diabetes mellitus, chronic kidney disease, peripheral vascular disease), and clinical risk factors (smoking status, chronic corticosteroid use, immunosuppressant use, prior methicillin-resistant S. aureus [MRSA] infection). Standardized mean differences (SMDs) were calculated, with <0.1 indicating acceptable balance between groups. Postmatching cohort characteristics are reported in Table 1, Table 2, Table 3, Table 4, Table 5.Table 1. Postmatching characteristics ACDF (cefazolin vs. vancomycin).Table 1 dummy alt text*Characteristic**Cefazolin (*N *=**4,051)Vancomycin (N =4,051)p-valueSMDAge (mean ± SD)62.5 ± 5.762.5 ± 5.4.87010.0000Sex Male1,522 (38.29%)1,533 (38.97%).80090.0110 Female2,206 (54.46%)2,216 (54.70%).82340.0051Labs BMI (mean ± SD)32.6 ± 7.3428.9 ± 5.16.13030.0150 MRSA324 (7.89%)340 (8.39%).51700.0024Diagnosis Diabetes mellitus809 (19.97%)818 (20.13%).80290.0083 Nicotine dependence838 (20.69%)815 (20.12%).52600.0241 Chronic kidney disease239 (5.90%)268 (6.16%).18340.0240 Long term (current) uses of steroids138 (3.41%)175 (4.32%).03290.0471 Other peripheral vascular diseases187 (4.62%)201 (4.96%).46640.0164Medications Immunosuppressants258 (6.37%)264 (6.52%).78600.0211Table 2Postmatching characteristics lumbar 3–6 (cefazolin vs. vancomycin).Table 2 dummy alt textCharacteristicCefazolin (*N *=**4,051)Vancomycin (N =4,051)p-valueSMDAge (mean ± SD)71.5 ± 3.471.3 ± 2.8.50660.0181Sex Male809 (53.12%)813 (53.38%).88450.0050 Female606 (39.79%)606 (39.79%)1.00000.0000Labs BMI (mean ± SD)34.6 ± 11.529.4 ± 5.26.20690.0542 MRSA40 (2.63%)41 (2.69%).02390.0043Diagnosis Diabetes mellitus412 (27.05%)403 (26.46%).71260.0134 Nicotine dependence244 (16.02%)250 (16.42%).76810.0111 Chronic kidney disease122 (8.01%)140 (9.192%).24480.0412 Long term (current) uses of steroids100 (6.57%)111 (7.29%).43250.0288 Other peripheral vascular diseases89 (5.84%)109 (7.16%).14160.0287Medications Immunosuppressants95 (6.24%)113 (7.42%).19600.0541Table 3Postmatching characteristics posterior cervical (cefazolin vs. vancomycin).Table 3 dummy alt textCharacteristicCefazolin (*N *=**4,051)Vancomycin (N =4,051)p-valueSMDAge (mean ± SD)68.1 ± 4.567.9 ± 5.3.57820.0202Sex Male831 (48.71%)824 (48.30%).81050.0088 Female814 (47.71%)815 (47.77%).97270.0014Labs BMI (mean ± SD)29 ± 6.8731.7 ± 4.37.10540.0461 MRSA74 (4.34%)75 (4.34%).98030.000Diagnosis Diabetes mellitus475 (27.84%)475 (27.84%)1.00000.0071 Nicotine dependence325 (19.05%)330 (19.34%).82790.0064 Chronic kidney disease191 (11.20%)188 (11.02%).87020.0122 Long term (current) uses of steroids70 (4.10%)74 (4.34%).73340.0280 Other peripheral vascular diseases106 (6.21%)118 (6.92%).40680.0101Medications Immunosuppressants143 (8.38%)138 (8.10%).75550.0133Table 4Postmatching characteristics microdiscectomy (cefazolin vs. vancomycin).Table 4 dummy alt textCharacteristicCefazolin (*N *=**4,051)Vancomycin (N =4,051)p-valueSMDAge (mean ± SD)58.5 ± 6.458.5 ± 5.8.96970.000Sex Male1,956 (44.76%)1,951 (44.65%).91430.0021 Female2,139 (48.95%)2,142 (49.02%).94880.0017Labs BMI (mean ± SD)31.6 ± 4.4731.9 ± 7.76.11080.0466 MRSA89 (2.04%)109 (2.49%).00290.0301Diagnosis Diabetes mellitus608 (13.91%)604 (13.82%).90150.0032 Nicotine dependence573 (13.11%)579 (13.25%).82790.0043 Chronic kidney disease184 (4.21%)187 (4.28%).87350.0031 Long term (current) uses of steroids112 (2.56%)127 (2.91%).32520.0218 Other peripheral vascular diseases131 (2.99%)125 (2.86%).70350.0081Medications Immunosuppressants207 (4.74%)201 (4.60%).76100.0078Table 5Postmatching characteristics TLIF/PLIF (Cefazolin vs. Vancomycin).Table 5 dummy alt textCharacteristicCefazolin (*N *=**4,051)**Vancomycin (*N =4,051)p-valueSMDAge (mean ± SD)68.5 ± 3.568.2 ± 5.1.45630.2110Sex Male538 (39.97%)546 (40.57%).75320.0125 Female728 (54.09%)718 (53.34%).69910.0157Labs BMI (mean ± SD)28.3 ± 8.2732.4 ± 8.83.35070.0477 MRSA62 (4.61%)74 (5.50%).11300.0408Diagnosis Diabetes mellitus338 (25.11%)333 (24.74%).82370.0096 Nicotine dependence216 (16.05%)221 (16.42%).79380.0104 Chronic kidney disease113 (8.34%)125 (9.29%).87350.0337 Long term (current) uses of steroids73 (5.42%)78 (5.80%).67540.0164 Other peripheral vascular diseases87 (6.46%)98 (7.28%).40200.0322Medications Immunosuppressants71 (5.28%)87 (6.46%).18950.0503
Because several intraoperative and process-of-care variables relevant to SSI risk (ex: operative duration, blood loss, redosing, wound class, and topical vancomycin powder use) are not consistently available in TriNetX, confounding was mitigated using procedure-specific cohorting and propensity score matching on major patient-level SSI risk factors reliably captured across sites.
Statistical analysis
The primary outcome was postoperative infection, defined by an ICD diagnosis code for surgical site infection or deep wound infection within 90 days of the index procedure (Supplementary Material Table 1). Absolute risks were calculated as event counts and percentages. Risk ratios (RR) were estimated using Cox proportional hazards models. All analyses were performed within the TriNetX integrated analytic platform, with a significance threshold of p < .05.
Results
Following propensity score matching, a total of 12,996 patients were included across 5 elective spine procedure cohorts: 1,346 undergoing TLIF/PLIF, 4,370 microdiscectomy, 1,706 posterior cervical fusion, 1,523 multilevel lumbar fusion (3–6), and 4,051 ACDF (Table 1, Table 2, Table 3, Table 4, Table 5).
Across all procedures, cefazolin demonstrated lower or comparable postoperative infection rates relative to vancomycin (Table 6, Figure 1). Statistically significant differences were observed in the PLIF/TLIF and microdiscectomy cohorts. In PLIF/TLIF, infection occurred in 0.82% of patients receiving cefazolin compared with 2.30% of patients receiving vancomycin, corresponding to a 65% relative risk reduction (RR 0.36; 95% CI 0.18–0.70; p = .0019). Similarly, among microdiscectomy patients, cefazolin was associated with significantly fewer infections (0.34% vs. 0.69%; RR 0.50, 95% CI 0.27–0.93, p = .025).Table 6. Comparison of cefazolin versus vancomycin for surgical site infection (SSI) across spine procedures.Table 6 dummy alt textProcedure typenSSI rate (Cefazolin)**SSI rate (Vancomycin)**Relative risk (95% ci)p-valuePLIF/TLIF1,3460.82%2.30%0.355 (0.179–0.703).0019Microdiscectomy4,3700.34%0.69%0.500 (0.269–0.928).0250Posterior cervical fusion1,7060.88%1.41%0.625 (0.329–1.187).1470Lumbar fusion (3–6 levels)1,5231.25%1.51%0.826 (0.452–1.51).5340ACDF4,0510.30%0.54%0.545 (0.27–1.01).0860Fig. 1Relative risk of surgical infection with cefazolin versus vancomycin across spine procedures. Forest plot showing relative risk and 95% confidence intervals for surgical site infection comparing cefazolin to vancomycin across 5 spine procedure types. Values less 1.0 indicate reduced infection risk with cefazolin. The vertical dashed line represents RR = 1.0 (no difference).Fig 1 dummy alt text
In posterior cervical fusion, cefazolin recipients experienced lower infection rates compared to vancomycin (0.88% vs. 1.41%), though this difference did not reach statistical significance (RR 0.63, 95% CI 0.33–1.10; p = .147). Likewise, no significant differences were observed in multilevel lumbar fusion (1.25% vs. 1.51%; RR 0.83, 95% CI 0.45–1.50, p = .534) or ACDF (0.30% vs. 0.54%; RR 0.55, 95% CI 0.27–1.01, p = .086), although trends consistently favored cefazolin.
Comparisons with clindamycin were not performed due to insufficient patient numbers after applying inclusion and exclusion criteria.
Discussion
In our analysis of 12,996 elective spine procedures, cefazolin prophylaxis was associated with lower or comparable SSI risk compared with vancomycin across all procedure types. The association reached statistical significance for PLIF/TLIF and microdiscectomy, while posterior cervical fusion, multilevel lumbar fusion, and ACDF showed similar but nonsignificant trends. These findings validate prior single-center results using a large, multicenter U.S. database encompassing hundreds of hospitals and surgeons, strengthening the evidence that cefazolin provides optimal prophylactic coverage in spine surgery and emphasizing the importance of appropriate allergy evaluation and antibiotic selection.
The microbiology of spine SSIs further supports these findings. MSSA and CoNS remain the predominant pathogens, for which cefazolin provides potent bactericidal activity [3]. Vancomycin, while valuable for MRSA coverage, is less effective against MSSA and lacks gram-negative activity, which may contribute to the higher SSI risk observed with its use.
The magnitude and statistical significance of observed differences across procedure types reflect both underlying procedural risk and available statistical power. Higher-risk, higher-volume procedures such as TLIF/PLIF are characterized by longer operative times, greater blood loss, and routine instrumentation, resulting in higher baseline SSI rates and greater number of infectious events, thereby increasing power to detect differences between antibiotic groups [[19], [20], [21], [22], [23]]. In contrast, procedures with lower baseline SSI rates, such as microdiscectomy and ACDF, yielded fewer infection events despite large cohort sizes, limiting statistical power even when effect estimates consistently favored cefazolin [3,[24], [25], [26], [27]]. Thus, variability in statistical significance across procedures likely reflects differences in event rates and power rather than biologically divergent effects of antibiotic selection.
In the present study, cefazolin-based perioperative antibiotic selection was associated with a 50% to 65% relative reduction in 90-day SSI risk compared to vancomycin in higher-risk procedures, with effect estimates consistently favoring cefazolin across all evaluated spine surgery categories.
Several recent studies have evaluated infection prophylaxis choice in spine surgery, though most were limited by single-center design. Kazarian et al. [13] conducted a retrospective analysis of 10,122 spine surgeries at a single U.S. academic institution, finding that vancomycin prophylaxis increased infection risk 2.5-fold compared with cefazolin (OR 2.48, p = .017). Their cohort encompassed all spine procedures collectively, without procedure-specific stratification. Similarly, Nakarai et al. [17] examined 3,841 spine operations across 4 Japanese centers during a national cefazolin shortage, observing nearly double the risk of reoperation for infection when alternative B-lactam agents were used (OR 1.96, p = .014). Herrington et al. analyzed 535 patients undergoing posterior thoracolumbar multilevel fusions and found that vancomycin prophylaxis was associated with a 2.5-fold increased infection risk (OR 2.50; p = .031) [18]. However, their study population was restricted to a single center and a narrow surgical subset. Our study expands upon these findings using a multicenter national U.S. database comprising hundreds of hospitals and surgeons, and by performing separate analysis for distinct procedure types, thereby providing my granular insight into infection risk patterns across surgical categories.
This study has several limitations inherent to retrospective analyses. First, while we performed a propensity score-matched analysis controlling for patient demographics as well as many risk factors for infection, important intraoperative and process-of-care factors known to influence SSI, including operative duration estimated blood loss, wound class, antibiotic infusion timing and redosing, intrawound vancomycin powder use, wound drains, and surgeon or hospital volume, are not consistently available across institutions in TriNetX network and therefore and could not be included in matching. In addition, SSI outcomes were defined using ICD diagnostic codes, which may be subject to misclassifications or coding inaccuracies inherent to administrative data sources.
To mitigate confounding related procedural complexity and baseline infection risk, we performed analyses within procedure-specific cohorts, which partially proxy for differences in invasiveness, instrumentation, and operative duration, and applied propensity score matching on major patient-level SSI risk factors reliably across sites. Nevertheless, residual unmeasured confounding my persist.
Additionally, although prior MRSA infection was included as a matching variable, this does not fully capture MRSA colonization status at the time of surgery. Preoperative MRSA screening results (e.g., nasal colonization) are not uniformly available within TriNetX and therefore could not be directly assessed. As a result, residual confounding related to unmeasured MRSA colonization risk may remain.
Importantly, in routine clinical practice, selection of vancomycin over cefazolin is frequently driven by reported B-lactam allergy or perceived MRSA risk, factors that are themselves associated with increased baseline infection risk and greater medical complexity. As a result, patients receiving vancomycin often represent a higher-risk population at baseline. Consequently, any unmeasured confounding would be expected to bias estimates toward higher observed SSI risk among vancomycin recipients rather than generate a protective association for cefazolin.
In summary, our results support cefazolin as the first-line postoperative prophylactic antibiotic in elective spine surgery. Vancomycin should be reserved for patients with confirmed MRSA colonization or verified severe B-lactam allergy, ideally after formal preoperative allergy evaluation to allow safe delabeling when possible. Future efforts should focus on implementing cefazolin-first protocols and studying systematic allergy delabeling workflows to optimize antimicrobial stewardship and SSI prevention in spine surgery.
Conclusion
Across 12,996 matched procedures, cefazolin demonstrated lower or equivalent infection rates compared with vancomycin, with statistically significant reduction in PLIF/TLIF and microdiscectomy. These findings reinforce national guideline recommendations and highlight the risks associated with substitution of cefazolin with alternative agents. Broader implementation of cefazolin-first protocols, supported by accurate allergy assessment strategies, could meaningfully reduce postoperative infections and advance microbiology stewardship in spine surgery.
Declaration of competing interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Agarwal P.Kumar R.P.Oleksiuk L.M.Non-β-lactam antibiotic use, β-lactam allergy, and surgical site infections JAMA Surg 202510.1001/jamasurg.2025.3789 PMC 1248979941032329 · doi ↗ · pubmed ↗
- 2Stewart K.E.Terada R.Windrix C.Trends and prediction of surgical site infection after elective spine surgery: an analysis of the American College of Surgeons National Surgical Quality Improvement Project Database Surg Infect (Larchmt)246202350651310.1089/sur.2023.06737311216 · doi ↗ · pubmed ↗
- 3Bratzler D.W.Dellinger E.P.Olsen K.M.Clinical practice guidelines for antimicrobial prophylaxis in surgery Am J Health Syst Pharm 703201319528310.2146/ajhp 12056823327981 · doi ↗ · pubmed ↗
- 4Gu H.Han K.Xie Y.Risk factors for surgical site infection after open transforaminal lumbar interbody fusion in treating degenerative lumbar diseases Medicine 104352025 e 4408210.1097/MD.0000000000044082 PMC 1240126740898489 · doi ↗ · pubmed ↗
- 5Calderwood M.S.Anderson D.J.Bratzler D.W.Strategies to prevent surgical site infections in acute-care hospitals: 2022 update Infect Control Hosp Epidemiol 445202369572010.1017/ice.2023.6737137483 PMC 10867741 · doi ↗ · pubmed ↗
- 6Nagashima H.Yamane K.Nishi T.Nanjo Y.Teshima R.Recent trends in spinal infections: retrospective analysis of patients treated during the past 50 years Int Orthop 343201039539910.1007/s 00264-009-0741-119277654 PMC 2899281 · doi ↗ · pubmed ↗
- 7Kluytmans J.van Belkum A.Verbrugh H.Nasal carriage of Staphylococcus aureus: epidemiology, underlying mechanisms, and associated risks Clin Microbiol Rev 103199750552010.1128/CMR.10.3.5059227864 PMC 172932 · doi ↗ · pubmed ↗
- 8Tummala S.Haslam D.Gibbs D.Evaluating the risk of postoperative infection and complications in lumbar spine surgery patients with preoperative methicillin-resistant Staphylococcus aureus (MRSA) colonization Arch Orthop Trauma Surg 1451202540910.1007/s 00402-025-06036-y 40828252 PMC 12364758 · doi ↗ · pubmed ↗
