Introduction
Clostridioides difficile infection (CDI) is one of the most common causes of healthcare-associated diarrhea in the United States, accounting for >500,000 cases and 30,000 deaths annually. Reference Feuerstadt, Theriault and Tillotson1 Most patients are treated with oral antibiotic therapy, with vancomycin or fidaxomicin being the first-line treatments. Reference Poylin, Hawkins and Bhama2,Reference Kelly, Fischer and Allegretti3 However, not all patients respond to antibiotic therapy, and treatment can be challenging in those who develop fulminant CDI. Approximately, 1%–3% of patients develop fulminant CDI, characterized by rapid progression to extensive colonic inflammation and systemic toxicity. Reference Hurley and Nguyen4,Reference Sartelli, Di Bella and McFarland5
Approximately 1% of all patients with CDI and 30% with fulminant CDI require emergency surgery. Reference Poylin, Hawkins and Bhama2 The subset of patients requiring surgical intervention presents significant management challenges with mortality rates ranging from 20%–85%. Reference Sartelli, Malangoni and Abu-Zidan6 Evidence suggests that delayed surgical intervention may compromise patient outcomes, with increased mortality rates observed even after operative management. Reference Ferrada, Velopulos and Sultan7,Reference Byrn, Maun, Gingold, Baril, Ozao and Divino8 Therefore, timing of surgical intervention represents an important determinant of survival in patients with severe/fulminant CDI.
Emergency colectomy for CDI is typically reserved for patients with fulminant colitis, colonic perforation, toxic megacolon, or those failing to respond to maximal medical therapy. The decision to proceed with surgery involves consideration of multiple factors, including patient comorbidities, CDI severity, and timing of intervention. Previous studies have identified various predictors of surgical need and postoperative outcomes, including development of sepsis, preoperative shock, coagulopathy, advanced age, and immunosuppression. Reference Poylin, Hawkins and Bhama2,Reference Lee, Chung, Guend, Whelan, Wedderburn and Rose9,Reference Bhangu, Nepogodiev, Gupta, Torrance and Singh10 However, these studies are often limited by small sample sizes, single-center designs, or analysis of data from earlier treatment eras.
While recent clinical guidelines emphasize early surgical consultation and multidisciplinary decision-making, there are limited data on the real-world implementation of these recommendations and their impact on patient outcomes. Reference Kelly, Fischer and Allegretti3,Reference McDonald, Gerding and Johnson11 Using a national inpatient dataset, we conducted a retrospective cohort study of inpatients with CDI requiring colectomy from 2018 to 2022 to examine trends, identify predictors of surgical colectomy and mortality, and evaluate the impact of surgical timing on patient outcomes.
Methods
Data source
We used the National Inpatient Sample (NIS), developed by the Agency for Healthcare Research and Quality (AHRQ) and maintained by the Healthcare Cost and Utilization Project (HCUP) for the years 2018–2022. A detailed description of the NIS database is provided as Supplementary material 1A. Approval for the use of NIS data for this study was obtained from the institutional review board of Cleveland Clinic and HCUP. All analytical procedures adhered to the methodological standards for NIS data analysis as recommended by AHRQ. Reference Khera, Angraal and Couch12
Study population
We identified adult patients (≥18 years) hospitalized between 2018 and 2022 with primary or secondary diagnoses of CDI using ICD-10-CM codes A04.71 and A04.72. Among patients with CDI, we identified those who underwent total or subtotal colectomy using specific ICD-10-CM procedure codes (Table S1). To ensure colectomy was performed primarily for CDI complications, we excluded patients with concurrent diagnoses that could independently necessitate colectomy: ulcerative colitis, malignancy, ischemic colitis, and lower gastrointestinal bleeding. To minimize confounding by hospital-onset cases, the analysis of surgical timing was restricted to patients undergoing colectomy within 8 days of admission. We excluded patients with missing data for key variables: age, sex, primary payer, hospital characteristics, length of stay, and discharge disposition. Figure 1 outlines the systematic implementation of inclusion and exclusion criteria for patient selection and cohort establishment for comparison. All study patients were followed until discharge from or death in the hospital.

Fig. 1. Consolidated standards of reporting (CONSORT) Figure describing the flow of patient discharges based on the inclusion/exclusion criteria.
The relationships between colectomy and outcomes were analyzed at two levels. First, to identify risk factors for surgical intervention among patients with CDI, we compared patients who underwent colectomy with those managed medically without surgery. Second, among the subset of patients who underwent colectomy within 8 days of admission, we compared survivors with non-survivors to identify predictors of postoperative mortality and evaluate the impact of surgical timing on outcomes.
Outcomes and covariates determination
The primary outcomes of interest were (1) prevalence of CDI among all hospitalizations, (2) prevalence of colectomy among patients with CDI, and (3) in-hospital mortality following colectomy for CDI. Patients discharged alive were considered survivors for mortality analyses, as we did not have access to postdischarge vital status or readmissions. Secondary outcomes included emergency department (ED) admission rates, hospital length of stay (LOS), postoperative complications (cerebrovascular accident, pulmonary complications, cardiac complications, acute renal failure, postoperative bleeding, and urinary tract infection), total hospitalization charges, and discharge disposition. 13 Covariates included patient demographics, in-hospital characteristics, CDI-related complications (electrolyte abnormalities, sepsis/septic shock, coagulopathy, peritonitis, and colonic perforation), and comorbidity profile captured by the Elixhauser Comorbidity Software Refined for ICD-10-CM Diagnosis, v2025.1. Reference Elixhauser, Steiner, Harris and Coffey14,15 Detailed definitions are provided in Supplementary material 1B, Table S1 and Table S2.
Statistical analysis
We used NIS survey weights for all analyses to generate nationally representative estimates. The complex survey design was accounted for by designating hospital identification numbers as primary sampling units with strata defined by the interaction of NIS stratum and year.
We calculated the annual weighted frequency and prevalence of CDI, colectomy among patients with CDI, and mortality among colectomy patients with CDI with 95% confidence intervals. To determine if these trends were statistically significant, we performed a weighted logistic regression controlling for age, sex, and race. We also compared patient demographics, clinical characteristics, comorbidities, complications, and outcomes between patients who underwent colectomy versus those who did not, and between survivors and non-survivors following colectomy. Categorical variables were summarized as weighted percentages and compared using weighted Pearson’s chi-square tests with the Rao-Scott adjustment. Continuous variables were summarized as medians with interquartile ranges and compared using Mann-Whitney U tests. Bonferroni correction was applied to all pairwise comparisons to control familywise error rate.
To identify factors associated with (a) colectomy among patients with CDI and (b) mortality among colectomy patients, we employed two multivariable modeling approaches. First, survey-weighted logistic regression with stepwise variable selection based on the Akaike Information Criterion (AIC) was performed. Second, least absolute shrinkage and selection operator (LASSO) regression with 10-fold cross-validation was used for simultaneous variable selection and regularization, with the optimal lambda parameter selected using the one-standard-error rule. Model discrimination was assessed using the area under the receiver operating characteristic curve (AUC), with 95% confidence intervals calculated using bootstrap methods. ROC curves were generated for both models to visualize performance, and the DeLong test compared AUC values between the two modeling approaches. Statistical significance was set at P < .05 (two-sided). Analyses were performed using SAS version 9.4 (SAS Institute, Cary, NC) and R Studio (R Core Team (2023).
Results
We identified 240,564 inpatients with CDI diagnoses, representing 1,207,995 inpatients nationally after applying NIS survey weights. As shown in Table 1, CDI prevalence declined from 0.99% (95% CI: 0.91%–1.01%) in 2018 to 0.76% (95% CI: 0.74%–0.78%) in 2022 (Fig. 2A). Among patients with CDI, prevalence of colectomy increased from 0.28% (95% CI: 0.24%–0.33%) in 2018 to 0.34% (95% CI: 0.28%–0.40%) in 2022 (Fig. 2B). In-hospital mortality among patients who underwent colectomy within 8 days of admission increased from 21.01% (95% CI: 13.87%–28.15%) in 2018 to 30.69% (95% CI: 21.75%–39.63%) in 2022 (Fig. 2C). However, these observed temporal trends were not statistically significant (P > .05).
Table 1. Prevalence of Clostridioides difficile infection, colectomy rates, and postoperative mortality in the United States, 2018–2022

CDI = Clostridioides difficile infection. Note. N = weighted count, CI = confidence interval.

Fig. 2. Annual number and prevalence of (A) Clostridioides difficile infection, (B) colectomy among patients with Clostridioides difficile infection, (C) death among patients with Clostridioides difficile after colectomy within 8 days of admission from 2018 to 2022.
Predictors of colectomy among patients with CDI
Among 240,564 (representing 1,207,995 nationally) inpatients with CDI, 717 (0.30%, representing 3,585 nationally) underwent colectomy. Table 2 compares characteristics between CDI patients underwent colectomy and those without. Detailed description is provided in Supplementary material 1C. Despite lower overall comorbidity burden, patients who underwent colectomy had substantially higher rates of severe CDI complications: electrolyte abnormalities (80.3% vs 60.2%), sepsis/septic shock (72.8% vs 33.0%), coagulopathy (7.0% vs 0.6%), peritonitis (23.5% vs 2.2%), and colonic perforation (10.8% vs 0.5%) (all P < .001). Patients who underwent colectomy experienced worse clinical outcomes, including higher mortality rates (25.3% vs 6.4%), lower home discharge rate (11.4% vs 38.8%), longer median hospital LOS (16 vs 6 days), and higher in-hospital costs ($241,976 vs $56,322) (all P < .001).
Table 2. Baseline characteristics, comorbidities, complications, and outcomes of patients hospitalized with Clostridioides difficile infection, stratified by colectomy status

In multivariable survey-weighted logistic regression with stepwise selection (Table 3), CDI-related complications were the strongest predictors of colectomy. Peritonitis conferred the highest odds (OR 5.42, 95% CI 4.46–6.59), followed by colonic perforation (OR 5.18, 95% CI 3.90–6.90), coagulopathy (OR 4.96, 95% CI 3.76–6.55), and sepsis/septic shock (OR 3.89, 95% CI 3.39–4.47). Hospital factors associated with increased risk included elective admission (OR 2.00, 95% CI 1.60–2.50), transfers in from other acute care hospitals (OR 1.35, 95% CI 1.12–1.63), transfers out to other health facilities (OR 1.55, 95% CI 1.36–1.77), urban teaching status (OR 1.38, 95% CI 1.03–1.84) and large hospitals (OR 1.36, 95% CI 1.13–1.63). Several comorbidities were associated with lower odds of colectomy, including alcohol abuse (OR 0.44, 95% CI 0.32–0.60), uncomplicated diabetes (OR 0.69, 95% CI 0.52–0.93), dementia (OR 0.59, 95% CI 0.44–0.78) and uncomplicated hypertension (OR 0.74, 95% CI 0.62–0.87).
Table 3. Predictors of colectomy and mortality following colectomy using survey-weighted stepwise logistic regression and least absolute shrinkage and selection operator (LASSO) regression

aOR, adjusted odds ratio; CI, confidence interval; CDI, Clostridioides difficile infection; LASSO, Least Absolute Shrinkage and Selection Operator.
a Represents the weighted number and percentage of patients in the respective cohort (Total CDI cohort for Section A; Colectomy cohort within 8 days after admission for Section B).
b LASSO regression coefficients were converted to odds ratios. Variables with coefficient shrunk to zero are indicated by “—”.
c Referred to as “Colon disorders” in the previous Stepwise model; harmonized to “Colonic perforation” for clarity.
As shown in Table 3, the LASSO regression model identified similar predictors, with peritonitis (OR 5.87), colonic perforation (OR 5.28), coagulopathy (OR 4.81), and sepsis/septic shock (OR 3.29) as the strongest predictors. Hospital factors associated with increased odds of colectomy included elective admissions (OR 1.48), transfers from other acute care hospitals (OR 1.28), transfers out from other facilities (OR 1.22), urban teaching hospitals (OR 1.18) and large hospitals (OR 1.08). Both modeling approaches demonstrated good discrimination for predicting colectomy, with AUC values of 0.82 (95% CI: 0.81–0.84) for stepwise logistic regression and 0.82 (95% CI: 0.80–0.83) for LASSO regression (Fig. S1). The two models’ discriminative abilities were not significantly different by DeLong’s test (P = .38), suggesting comparable predictive performance despite different variable selection approaches.
Predictors of mortality among patients who underwent colectomy
Among patients who underwent colectomy (unweighted N = 717; weighted N = 3,585), 2,830 (78.94%) received colectomy within 8 days of admission, with 1,810 (50.48%) undergoing colectomy within 0–2 days. For patients who received colectomy within 8 days of admission, the weighted mortality during hospitalization was 26.50% (95% CI: 22.82%–30.19%). Table 4 presents comparisons between survivors and non-survivors. After Bonferroni correction for multiple comparisons, several factors differed significantly between groups. Non-survivors had higher rates of severe complications including sepsis/septic shock (97.3% vs 74.3%, P < .001), and coagulopathy (22.0% vs 3.8%, P < .001). Survivors were more likely to have elective admissions (13.3% vs 2.7%, P = .01). For postoperative complications, survivors had significantly lower risk of cardiac complications (6.0% vs 12.0%, P = .02) and postoperative bleeding (0.0% vs 2.0%, P = .004), but higher risk of urinary tract infection (20.2% vs 14.0%, P = .01).
Table 4. Baseline characteristics, comorbidities, complications, and outcomes of patients undergoing colectomy within eight days of admission for Clostridioides difficile infection, stratified by survival status

In multivariable regression analysis, important predictors of mortality included sepsis/septic shock (OR 8.20, 95% CI 2.92–23.07), coagulopathy (OR 7.27, 95% CI 3.31–15.97), alcohol abuse (OR 5.73, 95% CI 1.68–19.57), higher mortality risk score (OR 1.05, 95% CI 1.01–1.09) and increasing age (OR 1.03 per year, 95% CI 1.01–1.05) (Table 3). Surgical timing remained independently associated with mortality risk. Each additional day from admission to colectomy was associated with a 16% (OR 1.16, 95% CI 1.04–1.28) increased mortality risk. The LASSO regression model identified similar predictors for mortality, including delayed surgery (OR = 1.01), sepsis/septic shock (OR = 2.25), coagulopathy (OR = 2.61), alcohol abuse (OR = 1.17), increasing age (OR = 1.01), and higher mortality risk score (OR = 1.01) (Table 3). Discrimination for predicting mortality did not differ significantly between the stepwise multivariable logistic regression model (AUC 0.78, 95% CI 0.74–0.82) and the LASSO model (AUC 0.76, 95% CI 0.71–0.80; DeLong’s test P = .49) (Fig. S2).
Discussion
In this large, nationally representative retrospective cohort study of >240,000 inpatients with CDI across the United States, we found that the overall prevalence of CDI has declined, and about 0.3% of patients required colectomy for severe complications. Colectomy for CDI was associated with significant mortality risk, with nearly one in three patients experiencing mortality during hospitalization. The key predictors for colectomy were CDI-related complications including peritonitis and sepsis, while predictors for mortality after colectomy included sepsis and coagulopathy. Most importantly, our data demonstrates that surgical timing significantly impacted outcomes, with early colectomy associated with improved survival compared to delayed intervention. Our findings suggest that physicians may optimize outcomes through early recognition of surgical indications. However, overall mortality rates remained high, highlighting the severity of CDI cases requiring operative management.
Our findings are consistent with recent epidemiological studies showing decreasing trends in CDI prevalence in the US over recent years. According to the Centers for Disease Control and Prevention (CDC), the national CDI burden in the United States showed a 4% annual decrease from 2011 to 2017. Reference Guh, Mu and Winston16 This could be attributed to improved diagnostic strategies, newer treatments, antimicrobial stewardship, and infection control initiatives across healthcare systems.
Several other studies have reported continued CDI reduction from 2017 to 2021, especially during the COVID-19 pandemic. Reference Baker, Sands and Huang17–Reference Reveles, Frei, Strey and Young19 The pandemic-related decline may have resulted from limited C. difficile transmission caused by improved infection control practices in hospitals during the pandemic.
Previous studies utilizing the NIS database reported colectomy rates of 5.87 per 1,000 patients during 2001–2005, increasing to 7.72 per 1,000 patients in 2006–2010. Reference Halabi, Nguyen, Carmichael, Pigazzi, Stamos and Mills20 In contrast, our study found substantially lower rates, ranging from 2.8 to 3.4 per 1,000 CDI patients between 2018 and 2022. This reduction suggests improvements in medical management strategies and potentially more selective surgical criteria. The observed decline in colectomy rates may also reflect epidemiological shifts in circulating C. difficile strains. A multicenter U.S. study reported that the proportion of the hypervirulent NAP1/BI/027 strain that is associated with severe and fulminant disease declined significantly from 31% in 2011–2012 to 14% in 2015–2017. Reference Tickler, Obradovich, Goering, Fang, Tenover and Consortium21 This reduction in the prevalence of hypervirulent strains likely contributed to a lower incidence of fulminant CDI requiring surgical intervention. However, the modest increase of postoperative mortality observed during our study period despite declining overall CDI prevalence warrants attention. This finding contradicts expected trends and may reflect improved recognition of surgical indications among clinicians or shifts in disease severity patterns rather than treatment failure.
Postcolectomy mortality in our cohort increased from 21.0% in 2018 to 30.7% in 2022 with an average of 26.5% between 2018 and 2022. These rates align with historical data, as a previous NIS database study reported mortality rates >30% for the 2011–2015 period, Reference Juo, Sanaiha, Jabaji and Benharash22 and a 2020 meta-analysis of five observational studies reported postoperative mortality of 31.3% following total abdominal colectomy and 26.2% after loop ileostomy. Reference Felsenreich, Gachabayov, Rojas, Latifi and Bergamaschi23 The persistence of high mortality rates despite advances in perioperative care and critical care support is somewhat concerning. The upward trajectory during our study period suggests that patients requiring colectomy may present with greater disease severity, more complex comorbidities, or more advanced organ dysfunction than in previous years.
Our study identified peritonitis, sepsis, and coagulopathy as the strongest predictors for colectomy, which is consistent with previous investigations. A prior meta-analysis reported that peritonitis and septic shock were the most important clinical factors driving emergency colectomy and independently predicted postsurgical mortality. Reference Bhangu, Nepogodiev, Gupta, Torrance and Singh10 A 2013 NIS database study also reported that patients with CDI who developed coagulopathy had significantly higher odds of both requiring colectomy and experiencing postoperative mortality. Reference Halabi, Nguyen, Carmichael, Pigazzi, Stamos and Mills20 Other factors associated with mortality following colectomy included vasopressor requirements, mechanical ventilation needs, and renal failure, all markers of multiorgan dysfunction that suggest advanced disease progression. Therefore, current clinical guidelines emphasize organ dysfunction, hemodynamic instability, and clinical deterioration as key surgical indicators. Reference Kelly, Fischer and Allegretti3
The timing of surgery is an important determinant of survival as has been suggested by previous studies, with earlier colectomies associated with decreased mortality. Reference Ferrada, Velopulos and Sultan7 However, while previous research often categorized “early” surgery within a broad 7–10 day window, our multivariable analysis characterized the incremental risk: each additional day from admission to colectomy was independently associated with a 16% increase in mortality risk. That this deterioration persists independently of disease severity and comorbidities suggests a limited therapeutic window for effective intervention. The high mortality rate even with surgical intervention highlights that while early surgery improves outcomes, CDI requiring colectomy remains a life-threatening condition where timing of the surgery remains one of the few modifiable factors influencing survival.
Our findings support several clinical and operational strategies to optimize outcomes. First, patients presenting with peritonitis, coagulopathy, septic shock, or progressive organ dysfunction warrant immediate surgical consultation, even if medical therapy has just been initiated. Second, the establishment of multidisciplinary CDI response teams incorporating surgeons, intensivists, and infectious disease specialists from admission could facilitate rapid recognition of surgical candidates and expedite decision-making. Third, institutional protocols defining clear surgical triggers and timing thresholds may reduce practice variation and prevent harmful delays. The resource utilization implications are equally important. Our data suggest that delayed intervention not only worsens clinical outcomes but substantially increases healthcare costs through prolonged intensive care stays, additional organ support requirements, and management of complications.
Our study has several limitations. The observational design inherently limits causal inference, and unmeasured confounders may influence observed associations. However, our large sample size of 240,000 CDI cases representing 1.2 million patients nationally, combined with consistent results across complementary modeling approaches, strengthens confidence in our identified predictors. Administrative coding presents inherent limitations, as ICD-10 codes cannot fully capture clinical nuances such as vasopressor doses, lactate trends, or radiographic findings that influence surgical decision-making. While we employed validated tools including the Elixhauser Comorbidity Index and Patient Safety Indicators to capture clinically relevant factors, granular physiologic data remains unavailable in administrative datasets. The NIS database lacks information regarding specific medical therapies, including fidaxomicin use, bezlotoxumab administration, or fecal microbiota transplantation, which may have influenced the decision or timing of colectomy. In addition, the NIS does not include present-on-admission indicators, preventing the classification of CDI into NHSN categories (hospital-onset vs community-onset). We also cannot determine specific reasons for surgical delays, whether reflecting medical optimization attempts, diagnostic uncertainty, resource constraints, or shared decision-making processes, limiting our ability to identify modifiable delay factors. Hospital-level variation in coding practices and surgical criteria may influence apparent prevalence and outcome rates, though the national scope of our data likely mitigates single-center biases. Finally, the database structure prevents longitudinal follow-up beyond index hospitalization, potentially missing delayed mortality, readmissions, and long-term functional outcomes that would provide a more complete picture of surgical efficacy.
Our study of over 240,000 CDI hospitalizations provides further evidence that surgical timing is an important and modifiable determinant of survival in patients with severe CDI. The increase in odds of mortality associated with delayed colectomy highlights a narrow therapeutic window for effective intervention. Although the national prevalence of CDI has declined, the high mortality rate among surgical patients underscores the severity of fulminant CDI. Our findings suggest that early identification of surgical candidates and prompt intervention are important to optimize patient survival.
Supplementary material
The supplementary material for this article can be found at https://doi.org/10.1017/ice.2026.10411.
Financial support
No financial support was received for this research.
Competing interests
Nothing to declare.
Manuscript preparation
All authors contributing to this study met the authorship criteria. No other parties were involved in the gathering of data or preparation of this manuscript.


