INTRODUCTION
Sepsis is a critical condition characterized by organ dysfunction resulting from an aberrant host response to infection1. Both sepsis and septic shock represent major healthcare challenges, affecting millions globally each year and causing fatalities in 1 out of 3 to 1 out of 6 affected individuals2-4. In the United States, the annual healthcare expenditure related to sepsis exceeds $50 billion, imposing a significant socio-economic burden5. Despite advancements in prevention and treatment, sepsis remains inadequately managed due to factors such as an aging population, increasing cancer rates, overuse of immunosuppressants, and antibiotic misuse6,7.
Delirium, a common but often undiagnosed neuropsychiatric condition, is characterized by acute fluctuations in consciousness, attention deficits, and cognitive dysfunction8. Studies show that 17.7% to 48.0% of ICU patients experience delirium9, with its prevalence notably higher among those with sepsis10. When delirium occurs in patients with sepsis, it significantly worsens inpatient outcomes, including increased risks of reflux aspiration, falls, weakness, prolonged hospital stays, higher mortality rates, and long-term cognitive impairments11. Therefore, it is critical to adopt effective strategies to reduce delirium incidence in patients with sepsis.
Various factors are associated with the development of delirium in patients with sepsis, such as advanced age, alcohol abuse, pre-existing cognitive impairments, infections, surgeries, pain, environmental disturbances, and the use of sedative and analgesic medications12. Smoking, a major global health risk, is linked to systemic inflammation, oxidative stress, and immune dysregulation. A large prospective cohort study of 512000 adults in China revealed that smoking increases the risk of 56 diseases, including respiratory, central nervous system, and metabolic disorders, as well as raising the mortality rate for 22 of these conditions13. However, the relationship between smoking and delirium remains poorly understood, and there is limited research on this topic, particularly concerning patients with sepsis.
This study leverages the Medical Information Mart for Intensive Care-IV (MIMIC-IV), a robust database providing detailed clinical data on ICU patients. The aim is to investigate the impact of smoking, a modifiable behavioral risk factor, on delirium incidence in patients with sepsis, thereby offering new insights for the early prevention and personalized intervention of delirium in this vulnerable population.
METHODS
Database
Data for this study were sourced from the MIMIC-IV database (version 3.0), which contains comprehensive, time-stamped information on over 90000 ICU admissions at Beth Israel Deaconess Medical Center (BIDMC) in Boston, Massachusetts, from 2008 to 202214. The primary author, Renli Wang, completed the Collaborative Institutional Training Initiative (CITI) program and passed the ‘Conflicts of Interest’ and ‘Data or Specimens Only Research’ examinations (Certification ID: 1797679), thereby receiving authorization to access the MIMIC-IV database. The database’s anonymization of patient personal details addresses ethical concerns.
Study population
The inclusion criteria for this study were: 1) a diagnosis of sepsis 3.0; 2) the first ICU admission during the initial hospitalization; 3) an ICU stay exceeding 24 hours; 4) aged >18 years; and 5) documented history of smoking. A flowchart outlining the cohort selection process is provided in Figure 1.
Figure 1
Flowchart depicting the cohort selection procedure, a retrospective analysis, MIMIC-IV database (3.0), 2008–2022 (N=10855)

Delirium was assessed in two stages. Initially, the Richmond Agitation and Sedation Scale (RASS) was used for evaluation. Individuals with a RASS score < -3 were classified as being in a coma and did not proceed to the next stage. In the subsequent stage, delirium in eligible patients (RASS score ≥ -3) was assessed using the Confusion Assessment Method for the ICU (CAM-ICU). The CAM-ICU comprises four key features: 1) acute change or fluctuating course of mental status; 2) inattention; 3) disorganized thinking; and 4) altered level of consciousness (LOC). A patient was considered CAM-ICU positive and diagnosed with delirium when both features 1 and 2 were present, along with either feature 3 or 415,16.
Data extraction and outcomes
Data were extracted using Structured Query Language (SQL) based on PostgreSQL (version 9.6). The following covariates were collected: 1) demographic characteristics such as age, sex, race, alcohol abuse, Charlson comorbidity score, heart failure, severe liver disease, renal disease, chronic pulmonary disease, cerebrovascular disease, malignant cancer, rheumatic disease, diabetes, Sequential Organ Failure Assessment (SOFA) score, Simplified Acute Physiology Score II (SAPS II) score, mechanical ventilation, renal replacement therapy, use of vasoactive drugs, and use of benzodiazepines; 2) initial vital signs upon ICU admission such as heart rate (HR), mean arterial pressure (MAP), respiratory rate (RR), and body temperature (°C); 3) first laboratory test results following ICU admission such as hemoglobin, platelet count, white blood cell (WBC) count, red blood cell (RBC) count, red blood cell distribution width (RDW), prothrombin time (PT), partial thromboplastin time (PPT), blood urea nitrogen (BUN), creatinine, alanine aminotransferase (ALT), aspartate aminotransferase (AST), total bilirubin, albumin, glucose, sodium, potassium, calcium, anion gap, base excess, lactate, partial pressure of oxygen (PaO2), partial pressure of carbon dioxide (PaCO2), and oxygenation index; and 4) smoking history such as individuals with no smoking history or those who have abstained from smoking for over one year were classified as non-smokers, while individuals who are currently smoking or have ceased smoking for less than one year were categorized as smokers. The outcome of this study was the occurrence of delirium.
Statistical analysis
Variables with missing data exceeding 60% were excluded from the analysis. For variables with less than 60% missing data, multiple imputation using weighted predictive mean matching was performed17,18. The mice package in RStudio was used for imputation (number of datasets created=20, number of burn in iterations=20)19. Supplementary file Table 1 presents the quantity and percentage of missing data for each covariate.
Continuous variables are presented as mean and standard deviation (SD), while categorical variables are reported as frequencies and percentages. Statistical differences between groups for each variable were assessed using the t-test or chi-squared (χ2) test.
Based on the smoking criteria mentioned earlier, patients were classified into smoking and non-smoking groups. Logistic regression served as the main analytical approach, with results presented as odds ratios (ORs) and coefficients, accompanied by their respective 95% confidence intervals (95% CIs). Four models were developed to evaluate the effect of smoking on delirium incidence in patients with sepsis: Model 1 unadjusted; Model 2 adjusted for demographic variables; Model 3 adjusted as for Model 2 plus vital signs; and Model 4 adjusted as for Model 3 plus laboratory tests. The variance inflation factor (VIF) was used to detect multicollinearity, and variables with a VIF >4 were excluded. Interaction and stratification analyses were performed considering factors such as age, sex, race, Charlson comorbidity score, SOFA score, mechanical ventilation, and vasopressor use. To ensure robustness, inverse probability of treatment weighting (IPTW) and propensity score matching (PSM) were employed. The effects of PSM and IPTW were assessed before and after matching using standardized mean differences (SMD) and χ2 or t-tests. An SMD > 0.1 indicated an imbalance between groups20.
To explore whether smoking’s influence on delirium in patients with sepsis is mediated by its effect on respiratory function, causal mediation analysis (CMA) was conducted (using robust standard errors), with changes in PaCO2 as the mediator. CMA decomposes the overall effect of smoking on delirium into direct and indirect effects, referred to as average direct effect (ADE) and average causal mediation effect (ACME), respectively. ADE represents the direct association between smoking and delirium, while ACME represents the indirect effect mediated by PaCO2. This approach provides more comprehensive insights compared to traditional correlation analysis21.
Finally, to ensure the stability of the study, only ICU survivors were included in the sensitivity analysis, as death may influence delirium prevalence in a competitive manner.
Statistical analyses were performed using R (version 4.4.2), with a p<0.05 considered statistically significant.
RESULTS
Baseline characteristics
A total of 10855 patients diagnosed with sepsis 3.0 were included in this study, with 2695 in the smoking group and 8160 in the non-smoking group. Among the smoking group, 937 individuals (34.8%) developed delirium, whereas 2094 individuals (25.7%) in the non-smoking group experienced delirium. A statistically significant difference was observed between the two groups (p<0.001). Several other characteristics also showed significant differences between the groups. Detailed information is presented in Table 1.
Table 1
Baseline characteristics of patients included in the analysis, a retrospective analysis, MIMIC-IV database (3.0), 2008–2022 (N=10855)
[i] SMD: standardized mean differences. RRT: renal replacement therapy. MV: mechanical ventilation. SOFA: Sequential Organ Failure Assessment. SAPS II: Simplified Acute Physiology Score II. HR: heart rate. MAP: mean arterial pressure. RR: respiratory rate. WBC: white blood cell. RBC: red blood cell. RDW: red blood cell distribution width. PT: prothrombin time. PPT: partial thromboplastin time. BUN: blood urea nitrogen. ALT: alanine aminotransferase. AST: aspartate aminotransferase. PaO2: partial pressure of oxygen. PaCO2: partial pressure of carbon dioxide.
Association between smoking and delirium in patients with sepsis
Table 2 demonstrates that smoking significantly increases the frequency of delirium in patients with sepsis in the unadjusted model (Model 1: OR=1.54; 95% CI: 1.41–1.70, p<0.05), with this association persisting even after adjustment for potential confounders (Model 4: OR=1.44; 95% CI: 1.28–1.61, p<0.05). Confounding bias between groups was minimized through the application of PSM and IPTW methods (Supplementary file: Table 2 and Figure 1). The results remained consistent with PSM (OR=1.35; 95% CI: 1.20–1.53, p<0.05) and IPTW (OR=1.25; 95% CI: 1.18–1.32, p<0.05).
Table 2
Association between smoking and delirium in patients with sepsis, a retrospective analysis, MIMIC-IV database (3.0), 2008–2022 (N=10855)
| Model | Number of patients | OR (95% CI) | p | |
|---|---|---|---|---|
| Unmatched | Model 1 | 10855 | 1.54 (1.41–1.70) | <0.05 |
| Model 2 | 1.47 (1.32–1.64) | <0.05 | ||
| Model 3 | 1.51 (1.36–1.69) | <0.05 | ||
| Model 4 | 1.44 (1.28–1.61) | <0.05 | ||
| PSM | 4890 | 1.35 (1.20–1.53) | <0.05 | |
| IPTW | 21407.8* | 1.25 (1.18–1.32) | <0.05 | |
Subgroup analysis
Subgroup analysis reveals that, except for the non-mechanical ventilation subgroup (OR=1.38; 95% CI: 0.93–2.04, p=0.112), smoking acts as an independent risk factor for delirium in patients with sepsis across all other subgroups. No significant interactions were observed in any strata (Figure 2).
Causal mediation analysis
The CMA analysis (Figure 3) revealed a significant association between smoking and delirium incidence in patients with sepsis. The direct effect was 0.0625 (95% CI: 0.04288–0.0800; p<0.001), while the indirect effect was 0.0050 (95% CI: 0.0027–0.0081). Additionally, 7.876% (95% CI: 4.433–13, p<0.001) of the smoking-related impact on delirium incidence in patients with sepsis is mediated by elevated PaCO2 levels.
Sensitivity analysis
In the sensitivity analysis focusing solely on patients with sepsis who survived in the ICU, smoking remained an independent risk factor for delirium in sepsis survivors. This association persisted even after adjustment for potential confounders through logistic regression (Model 1: OR=1.64; 95% CI: 1.48–1.82, p<0.05; Model 4: OR=1.52; 95% CI: 1.34–1.72, p<0.05), PSM (OR=1.38; 95% CI: 1.21–1.58, p<0.05), and IPTW (OR=1.31; 95% CI: 1.23–1.40, p<0.05) (Table 3).
Table 3
Association between smoking and delirium in patients with sepsis who survived in the ICU, a retrospective analysis, MIMIC-IV database (3.0), 2008–2022 (N=10855)
| Model | Number of patients | OR (95% CI) | p | |
|---|---|---|---|---|
| Unmatched | Model 1 | 9464 | 1.64 (1.48–1.82) | <0.05 |
| Model 2 | 1.54 (1.37–1.73) | <0.05 | ||
| Model 3 | 1.58 (1.40–1.78) | <0.05 | ||
| Model 4 | 1.52 (1.34–1.72) | <0.05 | ||
| PSM | 4246 | 1.38 (1.21–1.58) | <0.05 | |
| IPTW | 18695.9* | 1.31 (1.23–1.40) | <0.05 | |
DISCUSSION
This retrospective cohort study, leveraging data from the MIMIC-IV database, provides compelling evidence linking smoking to an increased risk of delirium in critically ill patients with sepsis. The results reveal that smokers with sepsis had a 34.8% incidence of delirium, compared to 25.7% in non-smokers, with adjusted models consistently identifying smoking as an independent risk factor. Additionally, causal mediation analysis demonstrated that elevated PaCO2 levels mediated approximately 7.9% of the total effect of smoking on delirium incidence. Hypercapnia, a characteristic of respiratory dysfunction in smokers, impairs cerebral autoregulation, decreases oxygen delivery, and induces metabolic acidosis, all of which may contribute to delirium. These findings have significant implications for delirium prevention in sepsis. First, smoking cessation interventions should be prioritized for high-risk populations, particularly among patients with pre-existing tobacco use. Second, clinicians should exercise increased vigilance for delirium in smokers admitted with sepsis, employing validated screening tools such as the CAM-ICU to facilitate early detection and intervention. Third, optimizing respiratory support to alleviate hypercapnia may help reduce delirium risk in this subgroup. For example, tailored ventilation strategies or targeted management of COPD exacerbations could improve patient outcomes. Finally, these results highlight the need for multidisciplinary care models that integrate addiction medicine, critical care, and neurology to address the complex challenges smoking presents in critically ill patients.
Few studies have explored the correlation between smoking and delirium. Rompaey et al.22 analyzed 539 ICU patients and found that the risk of delirium in former smokers was 2.04 times higher than in non-smokers. Similarly, Mardani et al.23 investigated 196 patients and identified smoking as an independent risk factor for delirium after coronary artery bypass surgery. However, several studies have reported no association between smoking and delirium. Yoshimura et al.24 assessed 100 patients post-liver cancer surgery and concluded that smoking did not increase the risk of delirium in these individuals. Zakriya et al.25 surveyed 168 perioperative patients and found no evidence to suggest smoking elevated the incidence of perioperative delirium. These studies are limited by small sample sizes, insufficient adjustment for confounders, and a focus on non-septic individuals. Consequently, the relationship between smoking and delirium in patients with sepsis remains unclear. In contrast, our study provides novel and compelling insights into this issue. The advantages of our research over previous studies include: 1) delirium is relatively common in patients with sepsis, with a complex etiology. Moreover, delirium significantly worsens prognosis in septic individuals, making it clinically important to focus research on this population; 2) the MIMIC database provided a large sample size, making this study, to our knowledge, the largest investigation of the link between smoking and delirium, along with high-quality ICU data, thereby enhancing the reliability of our study; 3) the robustness of our findings was further reinforced by adjusting for potential confounding factors using multivariate logistic regression, PSM, IPTW, subgroup analysis, and sensitivity analysis; and 4) causal mediation analysis offered new insights into the mechanism by which smoking increases the likelihood of delirium in patients with sepsis.
The impact of smoking on the body is highly complex. Although conventional wisdom holds that it is detrimental and has been linked to the development of numerous diseases, recent studies have suggested that its effects on the body may be dual26. For example, research indicates that nicotine in tobacco may exert a protective effect against the decline in motor function associated with aging27. Although the precise mechanisms by which smoking increases the risk of delirium in patients with sepsis remain unclear, several hypotheses may explain this association. First, smoking induces persistent low-grade inflammation by increasing pro-inflammatory factors such as TNF-α, IL-6, and IL-1β. In sepsis, the ‘cytokine storm’ triggered by infection interacts with the inflammatory effects of smoking, exacerbating blood-brain barrier disruption and central nervous system inflammation, leading to glial cell activation and neuronal damage28. Second, free radicals in tobacco, including reactive oxygen species and nitrogen compounds, reduce endogenous antioxidants like glutathione, resulting in oxidative damage accumulation. Mitochondrial dysfunction in sepsis further intensifies oxidative stress, impairs cerebral energy metabolism and DNA repair, and contributes to delirium29. Third, smoking induces endothelial dysfunction (e.g. reduced nitric oxide availability, increased endothelin-1 production), which exacerbates septic-related disseminated intravascular coagulation (DIC) and microthrombosis. Abnormal cerebral microcirculation leads to local ischemia and hypoxia, promoting delirium30. Fourth, nicotine continuously stimulates nicotinic acetylcholine receptors (nAChR), leading to receptor desensitization. This worsens the impairment of the cholinergic anti-inflammatory pathway during sepsis, amplifying inflammation and triggering delirium31. Fifth, smoking influences neuroinflammation-related genes, such as APOE ε4 alleles, through epigenetic mechanisms like DNA methylation and histone modification, increasing vulnerability to delirium32,33. Sixth, smoking weakens both innate immunity (e.g. alveolar macrophage function) and adaptive immunity (e.g. T cell responsiveness), heightening the risk of secondary infections. Recurrent infections aggravate the pathophysiological progression of sepsis, indirectly increasing the likelihood of delirium34.
Subgroup analysis revealed that smoking did not increase the risk of delirium in patients with sepsis within the non-mechanical ventilation category. The reasons for this divergence remain unclear, but several factors may contribute: 1) the prevalence of delirium in patients with sepsis is influenced by multiple factors, with disease severity and comorbidities being the most prominent. Non-mechanical ventilation patients often experience milder forms of sepsis and have fewer comorbid conditions, resulting in a lower baseline risk of delirium. In such individuals, a history of smoking alone may not be sufficient to trigger delirium; and 2) the relatively small sample size of non-mechanical ventilation patients with sepsis may affect the reliability of these findings.
Limitations
Several limitations should be acknowledged. First, the MIMIC-IV database primarily includes data from a single academic medical center, potentially limiting the generalizability of the findings to other settings. Second, the retrospective nature of the study inherently limits causal inference, and residual confounding from unmeasured variables (e.g. socioeconomic status, smoking duration, quantity, or secondhand smoke exposure) may persist despite rigorous adjustments. Third, smoking status was dichotomized based on self-reported or documented history, which may underestimate actual exposure levels or fail to capture recent changes in behavior. Fourth, due to the complex nature of delirium diagnosis, some patients may have been overlooked or misdiagnosed (cases potentially confounded with encephalitis or structural brain lesions). Fifth, although mediation analysis provided mechanistic insights, the observational nature of the data prevents definitive conclusions regarding causality in the pathway between smoking, PaCO2, and delirium.
CONCLUSIONS
This study identified smoking as a significant, modifiable risk factor for delirium in patients with sepsis, with partial mediation through hypercapnia. These findings underscore the importance of addressing tobacco use in sepsis prevention strategies and highlight the need for targeted interventions to reduce delirium risk in this vulnerable population.


