Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Pharmacol., 16 January 2026

Sec. Pharmacoepidemiology

Volume 17 - 2026 | https://doi.org/10.3389/fphar.2026.1770570

Tramadol use is associated with reduced 28-day mortality in ICU patients after cardiac surgery: a retrospective study based on the MIMIC-IV database

Jingyan Xu
Jingyan Xu*Yang ZhangYang ZhangRongqing GaoRongqing Gao
  • Department of Anesthesiology, The Second Affiliated Hospital Zhejiang University School of Medicine, Hangzhou, Zhejiang, China

Background: To evaluate the association between tramadol use and short-term outcomes, including 28-day mortality, intensive care unit (ICU) mortality, and ICU length of stay, in critically ill patients undergoing cardiac surgery.

Methods: This retrospective cohort study included 3,544 participants from the MIMIC-IV database. A comprehensive analytical approach was employed, including multivariate Cox regression, subgroup analysis, propensity score matching (PSM), inverse probability weighting (IPW), doubly robust estimation, and E-value calculation. Receiver operating characteristic (ROC) curves and the DeLong test were used to compare the predictive performance of different opioids, and SHAP analysis was employed for model interpretation.

Results: Tramadol use was consistently associated with a significant reduction in 28-day mortality across all models. The hazard ratios (HR) ranged from 0.305 to 0.341 after rigorous adjustment and matching (all P < 0.05). Subgroup analyses demonstrated the robustness of this protective association, and a significant interaction was observed with respect to surgery type after PSM. Furthermore, tramadol demonstrated superior predictive performance for 28-day mortality (AUC = 0.603) compared to other opioids, including fentanyl, hydromorphone, morphine, and oxycodone AUC range: 0.523–0.597). However, no significant association was found with secondary outcomes like ICU mortality or length of stay.

Conclusion: Tramadol administration is independently associated with a significantly lower risk of 28-day mortality in cardiac surgery patients, showing better predictive utility than other common opioids, which may inform postoperative analgesic strategies.

1 Introduction

Cardiac surgery is a critical intervention for severe cardiovascular diseases. It serves as a cornerstone therapy for conditions ranging from coronary artery disease to valvular heart disease (Ruel and Chikwe, 2024; Unger et al., 2018). With an aging population and increasing prevalence of cardiovascular disorders, the volume of cardiac surgeries continues to rise, with approximately 2 million procedures performed worldwide annually (Shamsi et al., 2025). Substantial advances in surgical techniques and perioperative care have significantly improved patient survival (Pei et al., 2025). Nevertheless, postoperative mortality remains a major concern, influenced by comorbidities, surgical complexity, and management strategies. U.S. national data report an in-hospital mortality rate of approximately 2.1% among cardiac surgery patients (Devereaux et al., 2022), underscoring the ongoing need for enhanced risk stratification and individualized treatment approaches to optimize patient prognosis.

Pain management is a vital component of perioperative care in cardiac surgery, with opioid-based analgesia forming the therapeutic foundation (Zhong et al., 2024). However, selecting the optimal analgesic regimen requires careful balancing of efficacy against potential adverse effects. Tramadol, a centrally acting analgesic, plays a unique role in this balance. It functions as a weak μ-opioid receptor agonist while simultaneously inhibiting serotonin and norepinephrine reuptake, conferring a dual mechanism of action that differentiates it from traditional opioids (Beakley et al., 2015; Bravo et al., 2017). This pharmacological profile supports its role as a strategic “step-down” analgesic in the ICU, enabling a smooth transition from potent intravenous agents to oral therapy and serving as a core component of multimodal analgesia designed to preserve respiratory drive and hemodynamic stability (Miotto et al., 2017; Mo et al., 2020).

Despite these theoretical advantages, the comparative efficacy of tramadol relative to other standard opioids used in cardiac surgery—such as fentanyl, morphine, and hydromorphone—remains insufficiently studied. In current practice, potent opioids like fentanyl are favored for hemodynamic stability but are associated with prolonged mechanical ventilation and postoperative ileus (Okano et al., 2025; Burkhard et al., 2023). Conversely, morphine provides effective analgesia but may trigger histamine release and vasodilation (Parodi et al., 2023). Tramadol’s potential clinical value lies in its capacity to offer a “middle ground,” delivering adequate analgesia during the recovery phase while potentially preserving organ function and modulating immune responses more favorably (Bradley and Boland, 2023). However, whether these pharmacological distinctions translate into measurable survival benefits in high-risk patients undergoing cardiac surgery has yet to be definitively established.

Accordingly, this study aims to comprehensively evaluate the association between tramadol use and short-term outcomes, including 28-day mortality, intensive care unit (ICU) mortality, and ICU length of stay, in critically ill patients undergoing cardiac surgery. Furthermore, we compared the predictive performance of tramadol with that of other commonly used opioids, with the goal of informing more personalized and effective analgesic strategies for this vulnerable population.

2 Methods

2.1 Data source and study participants

Medical Information Mart for Intensive Care IV (MIMIC-IV) is an open-access clinical database developed by the Laboratory for Computational Physiology at the Massachusetts Institute of Technology (MIT) in collaboration with Beth Israel Deaconess Medical Center (BIDMC). It contains de-identified health data from over 40,000 ICU patients treated at BIDMC between 2008 and 2019, encompassing multidimensional information including demographics, vital signs, laboratory results, medication records, imaging reports, and hospital outcomes. As all personally identifiable information has been removed from the dataset, the need for individual informed consent was waived for this study in accordance with ethical guidelines for secondary use of de-identified data. This study was conducted in accordance with the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) guidelines and adheres to the ethical principles set forth in the Declaration of Helsinki.

Patients admitted to the ICU following cardiac surgery were included in this study based on International Classification of Diseases, Ninth and 10th Revisions (ICD-9 and ICD-10) codes (n = 4,035). Exclusion criteria comprised age <18 years, non-admission to the ICU (n = 191), ICU length of stay ≤24 h (n = 299), and implausible survival times (n = 1). After applying these criteria, a total of 3,544 patients were included in the final analysis.

2.2 Exposure and clinical outcome

The primary exposure of interest was postoperative tramadol use after ICU admission. To ensure appropriate temporal sequencing, medication administration records were systematically reviewed to confirm that all tramadol administrations occurred after ICU admission following cardiac surgery. Patients who received at least one dose of tramadol after ICU admission following cardiac surgery were accordingly assigned to the tramadol group (n = 1,576), whereas those who did not receive any tramadol were classified into the non-tramadol group (n = 1,968). We further characterized the exposure by calculating the cumulative dose and duration of therapy based on the medication administration records.

The primary outcome was 28-day mortality, with the observation period starting at the time of ICU admission and ending 28 days thereafter. Secondary outcomes included ICU length of stay and in-ICU mortality.

2.3 Data collection

We also collected demographic characteristics such as age, gender, race; insurance, marital status, smoking, drinking, and body mass index (BMI); vital signs including heart rate, respiratory rate, and mean blood pressure (MBP), and oxygen saturation (SpO2); comorbidities including anxiety, depression, delirium, and anemia; clinical scores including Charlson comorbidity index (CCI), Glasgow Coma Scale (GCS), sequential organ failure assessment (SOFA), Simplified Acute Physiology Score II (SAPSII), systemic inflammatory response syndrome (SIRS), and oxford acute severity of illness score (OASIS); laboratory parameters including partial pressure of oxygen (pO2), anion gap (AG), bicarbonate, blood urea nitrogen (BUN), phosphate, pH, glucose, prothrombin time (PT), calcium, potassium, creatinine, international normalized ratio (INR), partial pressure of carbon dioxide (pCO2), platelets, partial thromboplastin time (PTT), red blood cell (RBC), red cell distribution width (RDW), sodium, total bilirubin, white blood cell (WBC), and lactate; intervention including heparin, vasopressor, antibiotic, renal replacement therapy (RRT), and ventilation. As this is a retrospective study based on electronic health records, specific details regarding the assay kits or their manufacturers are not available. However, all measurements were conducted at the clinical laboratory of BIDMC, in accordance with standard clinical operating procedures and quality control protocols in place during patient care (Johnson et al., 2023).

2.4 Statistical analysis

Continuous data are presented as mean ± standard deviation if normality was confirmed by the Shapiro-Wilk test; otherwise, they are reported as median (interquartile range). Categorical variables are expressed as frequency (percentage). Group comparisons were conducted according to the nature of the data: independent samples t-test for normally distributed continuous variables, Mann-Whitney U test for non-normally distributed continuous variables, and chi-square or Fisher’s exact test for categorical variables, as appropriate. All statistical analyses were performed using R software (version 4.2.1) (Team, 2024), and a P-value <0.05 was considered statistically significant.

To evaluate the impact of tramadol use on 28-day mortality among cardiac surgery patients in the ICU, Kaplan-Meier (KM) survival curves and the log-rank test were utilized. Prior to multivariate regression analysis, variables showing significant differences in baseline analysis were selected as covariates for adjustment, and variance inflation factors (VIFs) were computed to assess potential multicollinearity among predictors (Yang et al., 2025). The proportional hazards assumption for Cox regression was examined using Schoenfeld residuals (Chen et al., 2024). Subsequently, the association between tramadol use and survival outcomes was analyzed using Cox proportional hazards models. Six adjusted models were constructed in the primary analysis to account for confounding: Model 1 adjusted for demographic characteristics, including age, sex, and insurance; Model 2 adjusted for comorbidity-related factors, including CCI, delirium, and anemia; Model 3 controlled for intervention-related variables, including ventilation, surgery type, vasopressor, and antibiotic; Model 4 included disease severity scores such as SOFA, SAPSII, SIRS, and OASIS; Model 5 incorporated laboratory indicators, including SpO2, bicarbonate, and total bilirubin; and Model 6 adjusted for all aforementioned covariates. Results are presented as hazard ratios (HR) with corresponding 95% confidence intervals (95%CI). Linear regression was employed to examine the association between tramadol use and length of ICU stay.

Propensity score matching (PSM) was performed to mitigate confounding by indication (Kruger et al., 2025). Propensity scores were estimated using logistic regression incorporating all aforementioned covariates. Nearest-neighbor matching with a caliper width of 0.2 was applied. Covariate balance after matching was assessed using absolute standardized differences (ASD), where an ASD <0.1 indicates adequate balance between groups (Arribas Lopez et al., 2025). To further evaluate the robustness and consistency of the observed associations, a series of sensitivity analyses were conducted, including doubly robust estimation and inverse probability weighting (IPW) based on propensity scores, as well as E-value calculations to assess the potential influence of unmeasured confounding (VanderWeele and Ding, 2017):

E-value=HR×HR-1

The following subgroups and interaction effects were assessed: age (<65 vs. ≥65), sex (male vs. female), CCI (<5 vs. ≥5), SOFA score (<3 vs. ≥3), and surgery type (coronary artery bypass grafting [CABG] vs. valve surgery).

Finally, the predictive performance of different opioids for 28-day mortality was compared using receiver operating characteristic (ROC) curves and the DeLong test. The prediction model was visualized using SHAP (SHapley Additive exPlanations) values based on logistic regression to quantify the contribution of each feature to individual predictions (Cheng et al., 2024). For variables with missing data (<20%), multiple imputation was performed using the “mice” package in R (van Buuren and Groothuis-Oudshoorn, 2011), while variables with more than 20% missing data were not included in this study.

3 Results

3.1 Characteristics of patients

Table 1 demonstrates baseline characteristics between the non-tramadol and tramadol groups. Among the 3,544 participants, 1,576 patients received tramadol. The median duration of tramadol therapy was 3.6 days (IQR: 2.1–5.3), and the median cumulative dose was 50 mg (IQR: 50–75). The violin plots regarding tramadol dose (Supplementary Figure S1A) and duration (Supplementary Figure S1B) are provided in Supplementary Figure S1. The tramadol group was older and had a higher proportion of female patients. Patients receiving tramadol were more likely to have Medicare or Medicaid insurance coverage and to undergo CABG rather than valve surgery. This group exhibited greater illness severity, as indicated by significantly higher SOFA, SAPSII, SIRS, and OASIS scores. They also had higher CCI and higher prevalences of comorbidities, including delirium and anemia. With regard to interventions, the tramadol group received vasopressors, antibiotics, and ventilation more frequently. Laboratory analyses revealed that the tramadol group had higher oxygen saturation (SpO2), but lower bicarbonate and total bilirubin levels. In contrast, no significant differences were observed between the groups in terms of race, marital status, smoking or drinking history, BMI, vital signs (except SpO2), anxiety, depression, GCS score, or multiple laboratory parameters, including blood gas measurements, electrolyte levels, renal function tests, and coagulation markers (all P < 0.05). These substantial baseline imbalances highlight the necessity of PSM. Accordingly, the subsequent PSM adjusted for all variables that exhibited significant differences between groups. After PSM, the two groups achieved a good balance in the vast majority of these baseline characteristics (ASD <0.1), except for age, gender, insurance, CCI, OASIS, SAPSII, and delirium, as shown in Figure 1. The specific ASD values are presented in Supplementary Table S1.

Table 1
www.frontiersin.org

Table 1. Baseline characteristics of cardiac surgery patient cohorts before and after propensity score matching.

Figure 1
Scatter plot comparing pre-match and post-match absolute standardized differences (ASD) for various variables such as total bilirubin, bicarbonate, and SpO2. Circles represent pre-match data, and squares indicate post-match data. A red dashed line is at 10% ASD.

Figure 1. Covariate balance before and after PSM. Abbreviations: PSM, propensity score matching; ASD, absolute standardized difference; CCI, charlson comorbidity index; SOFA, sequential organ failure assessment; SAPSII, simplified acute physiology score II; SIRS, systemic inflammatory response syndrome; OASIS, oxford acute severity of illness score; SpO2, oxygen saturation.

3.2 Primary outcome

KM curves showed that the tramadol group had a higher 28-day survival probability compared to the non-tramadol group (all P < 0.05), both before and after PSM (Figures 2A,B). The absence of multicollinearity is confirmed, as all VIFs for the covariates are below 5. As shown in Table 2, the association between tramadol use and reduced 28-day mortality remained consistently significant across all statistical models, both before and after PSM. Before PSM, tramadol use was associated with a significant protective effect, with HRs ranging from 0.308 to 0.407 across the six models. The greatest risk reduction was observed in Model 6—which included adjustments for all covariates—demonstrating a 69.2% (HR = 0.308, 95%CI: 0.166–0.572) decrease in mortality risk. After PSM, the protective association persisted with high consistency, with HRs ranging from 0.305 to 0.430. Notably, Model 6 continued to yield the strongest effect post-matching, with an HR of 0.305 (95%CI: 0.161–0.577). The robustness of this association across diverse adjustment strategies, including demographic characteristics, comorbidities, interventions, disease severity scores, and laboratory parameters, supports a consistent and substantial protective effect of tramadol use against 28-day mortality among patients undergoing cardiac surgery.

Figure 2
Two Kaplan-Meier survival plots comparing Tramadol use. Plot A shows survival probability over 28 days, with Tramadol=0 (red) and Tramadol=1 (blue). The p-value is 0.001. The number at risk is indicated below the plot. Plot B shows a similar graph with a p-value of 0.004, displaying consistent trends.

Figure 2. Kaplan–Meier curves of the tramadol group and non-tramadol group for 28-day mortality. (A) Original cohort. (B) PSM cohort. Abbreviations: PSM, propensity score matching.

Table 2
www.frontiersin.org

Table 2. Association between tramadol use and 28-day mortality among ICU patients undergoing cardiac surgery.

We subsequently conducted subgroup analyses of 28-day mortality in cardiac surgery patients according to age, gender, SOFA scores, CCI scores, and type of surgery (Figure 3). Prior to PSM, tramadol demonstrated a significant protective effect (HR < 1) across most subgroups, with particularly strong associations observed in patients aged ≥65 years (HR = 0.26, 95%CI: 0.13–0.54), males (HR = 0.33, 95%CI: 0.14–0.74), those with CCI ≥5 (HR = 0.30, 95%CI: 0.16–0.57), both SOFA groups (SOFA <3: HR = 0.28, 95%CI: 0.10–0.83; SOFA ≥3: HR = 0.45, 95%CI: 0.22–0.91), and patients undergoing CABG surgery (HR = 0.32, 95%CI: 0.12–0.86). After PSM, the protective association remained consistent in most subgroups, with significant risk reductions maintained in patients aged ≥65 years (HR: 0.29, 95%CI: 0.14–0.62), both genders (males: HR = 0.40, 95%CI: 0.17–0.96; females: HR = 0.37, 95%CI: 0.16–0.88), those with CCI ≥5 (HR = 0.32, 95%CI: 0.17–0.62), those with SOFA ≥3 (HR = 0.45, 95%CI: 0.22–0.91), and CABG patients (HR = 0.28, 95%CI: 0.10–0.77). Notably, a significant interaction was observed for surgery type after PSM (P for interaction = 0.04), suggesting differential effects between CABG and valve surgery patients. The consistency of the protective association across most subgroups reinforces the robustness of the primary findings.

Figure 3
Forest plot showing hazard ratios (HR) with 95% confidence intervals (CI) for various variables both before and after propensity score matching (PSM). Variables include age, gender, Charlson Comorbidity Index (CCI), Sequential Organ Failure Assessment (SOFA), and surgery type. Each variable has specific HR, CI, and p-values depicted, with a red dashed line indicating HR of 1.0 for reference.

Figure 3. Subgroup analysis of the association between tramadol and 28-day mortality before and after PSM. Reference group is non-tramadol group. Adjusted for all covariates. Abbreviations: HR, hazard ratio; CI, confidence interval; PSM, propensity score matching; CCI, charlson comorbidity index; SOFA, sequential organ failure assessment; CABG, coronary artery bypass grafting.

3.3 Secondary outcomes

Table 3 summarizes the results of the secondary outcomes. For ICU mortality, tramadol use showed no significant association either before or after PSM, with HRs of 0.420 (95%CI: 0.140–1.296, P = 0.133) before matching and 0.410 (95%CI: 0.134–1.253, P = 0.118) after matching. Similarly, for length of ICU stay, tramadol use demonstrated no significant effect, with estimates of 0.059 (95%CI: −0.232 to 0.350, P = 0.689) before matching and 0.065 (95%CI: −0.234 to 0.363, P = 0.670) after matching. These results indicate that tramadol use was not significantly associated with either ICU mortality or the duration of ICU stay in cardiac surgery patients, and this lack of association remained consistent after PSM adjustment.

Table 3
www.frontiersin.org

Table 3. Association between tramadol use and secondary outcomes among cardiac surgery patients.

3.4 Sensitivity analysis

In the primary analysis, we examined the association between tramadol use and short-term outcomes among patients undergoing cardiac surgery using both conventional multivariate regression and PSM-adjusted regression. To assess the robustness of our findings, we further employed three propensity score–based analytical approaches: IPW, doubly robust estimation with unbalanced covariates, and doubly robust estimation with all covariates, along with E-value calculations to evaluate the potential influence of unmeasured confounding. Tramadol use was significantly associated with a reduced risk of 28-day mortality but showed no significant association with ICU mortality or length of ICU stay. These results were consistently replicated in IPW and doubly robust analyses (Table 4). Specifically, for the primary outcome of 28-day mortality, IPW yielded a HR of 0.317 (95% CI: 0.174–0.576, P < 0.001). Doubly robust estimation methods—both adjusting for unbalanced covariates (HR = 0.340, 95% CI: 0.189–0.612) and for all covariates (HR = 0.341, 95% CI: 0.195–0.598)—produced comparable results, with both models reaching statistical significance (P < 0.001). The E-values for the three outcomes were 5.948 (28-day mortality), 4.115 (ICU mortality), and 4.350 (length of ICU stay), respectively. Such high E-values suggest that any unmeasured confounder would need to exhibit a strong association with both tramadol use and the outcome to fully account for the observed protective effect, further confirming that the impact of unknown confounding on the results is small.

Table 4
www.frontiersin.org

Table 4. Comparative analysis of the association between tramadol use and outcomes using different methods.

3.5 Comparison of the predictive performance of tramadol and other opioids in predicting 28-day mortality and model explanation

To evaluate whether tramadol exhibits a distinct predictive advantage for 28-day mortality compared to other opioid analgesics, we performed a comparative analysis using ROC curve analysis in conjunction with the DeLong test. Tramadol achieved the highest area under the curve (AUC) of 0.603 (95% CI: 0.543–0.644) among all opioids, indicating better discriminative ability for mortality prediction (Figure 4). While morphine showed higher specificity (0.919 vs. 0.758) and fentanyl demonstrated higher sensitivity (0.899 vs. 0.448), tramadol exhibited the highest Youden index of 0.206, which combines sensitivity and specificity into a single measure of overall diagnostic effectiveness (Table 5). The Delong test results further support tramadol’s superior predictive performance, showing statistically significant differences compared to hydromorphone (P = 0.001) and oxycodone (P = 0.017). Although tramadol’s AUC was not significantly different from fentanyl (P = 0.232) and morphine (P = 0.061) based on conventional significance thresholds, it nevertheless achieved the highest point estimate for AUC among all opioids evaluated.

Figure 4
ROC curves showing sensitivity versus 1-specificity for five opioids: Tramadol, Fentanyl, Hydromorphone, Morphine, and Oxycodone. Lines compare their performance against a baseline diagonal. Tramadol shows the highest area under the curve (AUC) of 0.603, followed by Morphine at 0.597. Other opioids have lower AUC values, with Hydromorphone at the lowest. The legend lists AUC and confidence intervals for each substance.

Figure 4. The comparative performance of various opioids in predicting 28-day mortality among ICU patients undergoing cardiac surgery. Abbreviations: ICU, intensive care unit; AUC, area under the curve.

Table 5
www.frontiersin.org

Table 5. Performance of opioids for predicting 28-day mortality.

Finally, the SHAP analysis based on logistic regression was used to visualize and explain the predictive model. The SHAP feature importance plot (Figure 5B) shows that vasopressor was the most important variable in predicting 28-day mortality, followed by CCI and OASIS scores. Notably, the use of tramadol ranked fourth in the feature importance ranking, indicating its significant contribution to the model prediction. The SHAP summary plot (Figure 5A) further reveals the direction of influence of each variable on the prediction results. For tramadol, the red dots (representing the use of tramadol) are mainly concentrated in the negative region of the SHAP value, suggesting that the use of tramadol is associated with a lower risk of death and is the highest-ranked protective factor among all variables. This finding is consistent with the results of the previous multivariate regression analysis, further supporting the potential protective role of tramadol in reducing postoperative mortality risk.

Figure 5
Side-by-side visualizations of SHAP values for feature impact on a model. Panel A is a scatter plot showing the SHAP value distribution for features like vasopressor, CCI, and OASIS, with color coding for feature value (high to low). Panel B is a bar graph of the mean absolute SHAP values, ranking features by their average impact on model output magnitude, with vasopressor being the most significant.

Figure 5. Visually interpret the predicting model using SHAP. (A) SHAP summary plot. (B) SHAP importance plot. The y-axis indicates the variables ranked by importance. The x-axis represents the SHAP value; positive values indicate increased risk of mortality, while negative values indicate decreased risk. Color reflects feature value: red for high (or “Yes”), blue for low (or “No”).

4 Discussion

This study comprehensively evaluated the impact of tramadol on 28-day mortality in patients following cardiac surgery using various statistical methods and machine learning techniques. Multivariate Cox regression, PSM, and a series of sensitivity analyses consistently demonstrated that tramadol use was associated with a significant reduction in 28-day mortality risk. Subgroup analysis further confirmed the robustness of this association across key subgroups including age, gender, comorbidity burden, and surgery type, with a particularly pronounced protective effect observed in CABG patients. Compared to other opioids, tramadol demonstrated the best discriminative performance for predicting mortality with the highest AUC. SHAP interpretability analysis identified tramadol as the fourth most important predictive feature, with its contribution direction consistent with reduced mortality risk. Secondary outcomes analysis showed that tramadol had no significant effect on ICU mortality or length of stay.

Tramadol use may influence patient survival outcomes, although the direction of this effect—beneficial or harmful—varies across different clinical populations. A Danish cohort study leveraging electronic health records comprehensively examined the associations between various opioid therapies and 90-day mortality and hospital readmission rates (Winther et al., 2024), revealing that, compared with morphine, tramadol was associated with a higher risk of readmission but a significantly lower risk of 90-day mortality. Notably, in patients with rheumatoid arthritis and osteoarthritis, tramadol use has been linked to increased mortality (Gau et al., 2022; Zeng et al., 2019; Jeong et al., 2019), highlighting population-specific risks. Evidence regarding the impact of tramadol on surgical patients remains limited. To our knowledge, our study is the first to demonstrate that tramadol use is associated with improved survival outcomes in patients undergoing cardiac surgery. These findings align with those of Kim et al., who reported reduced risks of postoperative recurrence and mortality among patients receiving tramadol during breast cancer surgery (Kim et al., 2019). In contrast, our results diverge from studies involving non-thoracic surgical populations (Cha et al., 2021; Yoo et al., 2021; Muhammad et al., 2025), potentially due to differences in surgical site, underlying pathophysiology, or patient characteristics.

This study observed a significant association between tramadol use and reduced 28-day mortality, a finding potentially attributable to its distinct physiological and pharmacological properties. First, compared with traditional strong opioids such as morphine and fentanyl, tramadol is associated with minimal risk of respiratory depression (Beakley et al., 2015; Gustafsson et al., 2023). In the ICU setting, respiratory depression can precipitate pulmonary complications—including atelectasis and pneumonia—and delay extubation, both of which are linked to increased mortality. Thus, tramadol may better preserve spontaneous ventilation and reduce the incidence of these adverse outcomes. Second, unlike many other opioids, tramadol does not suppress immune function (Saeed et al., 2021); instead, it enhances natural killer (NK) cell activity, promotes lymphocyte proliferation, and increases interleukin-2 secretion (Saeed et al., 2021; Sayed et al., 2018), all of which play critical roles in immune regulation. Furthermore, evidence suggests that tramadol exerts anticoagulant and cardioprotective effects, potentially reducing thromboembolic risk in cardiac surgery patients. In vitro studies have demonstrated that tramadol inhibits whole-blood coagulation in a concentration-dependent manner among women with gynecological malignancies (Bilir et al., 2014). Animal models further indicate that tramadol significantly lowers lactate dehydrogenase (LDH) levels, supporting its cardioprotective potential (Sen et al., 2020; El-Ashmawy et al., 2021). Additionally, tramadol exhibits neuroprotective properties by mitigating oxidative stress damage (Sen et al., 2020; Dhull and Kumar, 2018). Its dual inhibition of serotonin and norepinephrine reuptake not only contributes to cardiovascular stability in postoperative patients but may also positively influence mood regulation (Osman and Mustafa, 2018). Collectively, tramadol offers a favorable safety profile with respect to respiratory and immune function, while providing multimodal pharmacological benefits including analgesia, anticoagulation, cardioprotection, antioxidant activity, and potential antidepressant effects.

It is noteworthy that although tramadol was associated with reduced 28-day mortality, no significant association was observed in ICU mortality or length of stay. This discrepancy likely reflects the distinct physiological challenges inherent in the acute critical phase versus the sub-acute recovery phase. ICU mortality is predominantly influenced by immediate and severe complications—such as refractory shock or hemorrhage—in which the impact of analgesic selection may be negligible compared to life-sustaining organ support interventions (Cabrera et al., 2024). In contrast, 28-day mortality encompasses outcomes during the sub-acute recovery period, often occurring after transfer from the ICU to general wards. During the sub-acute phase, tramadol’s safety profile may confer cumulative survival benefits. Its minimal respiratory depression could reduce late-onset pulmonary complications. Additionally, its lower sedative potency may promote earlier mobilization, thereby mitigating risks associated with prolonged immobility (Bosco et al., 2024). Consequently, tramadol’s protective effect appears to operate primarily through enhancing resilience to sub-acute complications—effectively preventing “failure to rescue”—rather than altering the trajectory of acute critical illness.

The subgroup analysis not only confirmed the robustness of the main effect across diverse patient populations but also revealed significant heterogeneity according to surgery type. Tramadol demonstrated a more pronounced protective effect in patients undergoing CABG, which may be attributed to a precise alignment between its pharmacological profile and the distinct pathophysiological characteristics and critical risk mitigation needs of CABG patients. Specifically, tramadol’s minimal respiratory depression, limited immunosuppression, and favorable hemodynamic stability closely align with the core objectives of perioperative management in CABG (Altun et al., 2017). In contrast, patients undergoing valve surgery require more complex and stringent hemodynamic control (Nuche et al., 2024), and current evidence suggests that tramadol’s pharmacological properties may be insufficient to meet the demands for fine-tuned physiological regulation in this population.

The findings of this study offer potential clinical implications for the selection of perioperative analgesic regimens in cardiac surgery. Our results suggest that selecting tramadol as an analgesic after cardiac surgery might represent a favorable option for balancing analgesic efficacy and safety. Its unique dual mechanism of action not only provides effective analgesia but may also indirectly contribute to improved patient outcomes by mitigating common adverse effects associated with opioids, such as respiratory depression and impaired gastrointestinal motility. Specifically, for patients at risk of respiratory complications or those requiring rapid extubation, tramadol could theoretically offer particular advantages. However, given the observational nature of this study, these results should be viewed as hypothesis-generating. Consequently, tramadol could be considered as a potential protective analgesic option within the context of personalized pain management plans, pending further validation in prospective clinical trials.

Several limitations of this study must be acknowledged when interpreting its conclusions. First, this is a retrospective observational study, and inherent biases cannot be completely eliminated. However, the high E-value (5.948) and the consistent results from the doubly robust estimation indicate that the influence of residual confounding is minimal. Second, the single-center nature of the data may limit the generalizability of our findings. Third, given the wide variety of sedatives and analgesics used in the ICU, most often in combination regimens, isolating the independent effect of any single agent remains challenging. Furthermore, although PSM was utilized to mitigate confounding by indication, the potential for selection bias remains. It is possible that tramadol was preferentially administered to patients with specific pain profiles or clinical trajectories that are not fully captured by severity scores like SOFA or OASIS. However, it is worth noting that baseline characteristics in our cohort showed that tramadol users had higher severity scores and rates of mechanical ventilation than non-users, suggesting that the drug was not exclusively reserved for ‘more stable’ patients. Nevertheless, as with all observational studies, we cannot rule out the influence of unmeasured confounders, such as the timing of extubation or the transition from intravenous to oral analgesics, which warrants cautious interpretation of the causal relationship. Finally, a principal limitation of this study lies in defining tramadol exposure as a binary variable (yes/no), without quantification of dosage, cumulative exposure, or duration. This approach precluded assessment of potential dose-response relationships and differential effects between short-term versus prolonged regimens. Future research should focus on multicenter prospective cohort studies that systematically capture data on dosage, cumulative exposure, and treatment duration to validate the robustness of these findings; randomized controlled trials comparing tramadol with other opioids on clinically meaningful endpoints; and mechanistic investigations into the biological pathways underlying its protective effects, such as through the measurement of biomarkers related to inflammation and stress response.

5 Conclusion

This study found that tramadol use was associated with a lower 28-day mortality rate among patients undergoing cardiac surgery, but not with ICU mortality or ICU length of stay. These findings provide clinical insights for postoperative pain management in cardiac surgery patients, suggesting that tramadol may play a potential protective role in improving outcomes for critically ill individuals.

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Ethics statement

Ethical approval was not required for the study involving humans in accordance with the local legislation and institutional requirements. Written informed consent to participate in this study was not required from the participants or the participants’ legal guardians/next of kin in accordance with the national legislation and the institutional requirements.

Author contributions

JX: Conceptualization, Writing – original draft, Writing – review and editing, Formal Analysis, Data curation, Supervision. YZ: Writing – original draft, Methodology. RG: Writing – original draft, Investigation.

Funding

The author(s) declared that financial support was not received for this work and/or its publication.

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declared that generative AI was not used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fphar.2026.1770570/full#supplementary-material

Supplementary Figure S1 | Violin plots for the distribution of tramadol usage cumulative dose and duration. (A) Cumulative dose. (B) Duration.

References

Altun, D., Cinar, O., Ozker, E., and Turkoz, A. (2017). The effect of tramadol plus paracetamol on consumption of morphine after coronary artery bypass grafting. J. Clin. Anesth. 36, 189–193. doi:10.1016/j.jclinane.2016.10.030

PubMed Abstract | CrossRef Full Text | Google Scholar

Arribas Lopez, J. R., Ruiz Seco, M. P., Fanjul, F., Diaz Pollan, B., Gonzalez Ruano Perez, P., Ferre Beltran, A., et al. (2025). Remdesivir associated with reduced mortality in hospitalized COVID-19 patients: treatment effectiveness using real-world data and natural language processing. BMC Infect. Dis. 25 (1), 513. doi:10.1186/s12879-025-10817-6

PubMed Abstract | CrossRef Full Text | Google Scholar

Beakley, B. D., Kaye, A. M., and Kaye, A. D. (2015). Tramadol, pharmacology, side effects, and serotonin syndrome: a review. Pain Physician 18 (4), 395–400.

PubMed Abstract | Google Scholar

Bilir, A., Akay, M. O., Ceyhan, D., and Andic, N. (2014). Does tramadol affect coagulation status of patients with malignancy? Indian J. Pharmacol. 46 (4), 413–415. doi:10.4103/0253-7613.135954

PubMed Abstract | CrossRef Full Text | Google Scholar

Bosco, E., Riester, M. R., Beaudoin, F. L., Schoenfeld, A. J., Gravenstein, S., Mor, V., et al. (2024). Comparative safety of tramadol and other opioids following total hip and knee arthroplasty. BMC Geriatr. 24 (1), 319. doi:10.1186/s12877-024-04933-2

PubMed Abstract | CrossRef Full Text | Google Scholar

Bradley, A., and Boland, J. W. (2023). Effects of opioids on immune and endocrine function in patients with cancer pain. Curr. Treat. Options Oncol. 24 (7), 867–879. doi:10.1007/s11864-023-01091-2

PubMed Abstract | CrossRef Full Text | Google Scholar

Bravo, L., Mico, J. A., and Berrocoso, E. (2017). Discovery and development of tramadol for the treatment of pain. Expert Opin. Drug Discov. 12 (12), 1281–1291. doi:10.1080/17460441.2017.1377697

PubMed Abstract | CrossRef Full Text | Google Scholar

Burkhard, J. P., Jardot, F., Furrer, M. A., Engel, D., Beilstein, C., and Wuethrich, P. Y. (2023). Opioid-free anesthesia for open radical cystectomy is feasible and accelerates return of bowel function: a matched cohort study. J. Clin. Med. 12 (11), 3657. doi:10.3390/jcm12113657

PubMed Abstract | CrossRef Full Text | Google Scholar

Cabrera, L. A., Correa, O. M. A., Herrera Villazon, V. C., Gil-Tamayo, S., Molina, C. F., Gimenez-Esparza Vich, C., et al. (2024). Towards better mortality prediction in cancer patients in the ICU: a comparative analysis of prognostic scales: systematic literature review. Med. Intensiva Engl. Ed. 48 (12), e30–e40. doi:10.1016/j.medine.2024.07.009

PubMed Abstract | CrossRef Full Text | Google Scholar

Cha, Y., Jang, S. Y., Yoo, J. I., Choi, H. G., Hwang, J. W., and Choy, W. (2021). Effect of opioids on all-cause mortality and opioid addiction in total hip arthroplasty: a Korea nationwide cohort study. J. Korean Med. Sci. 36 (13), e87. doi:10.3346/jkms.2021.36.e87

PubMed Abstract | CrossRef Full Text | Google Scholar

Chen, J., Cheng, Z., Yao, Y., and Wang, S. (2024). Variation of all-cause mortality with fat-free mass index (FFMI) and fat mass index (FMI) in individuals with asthma: results from the NHANES database retrospective cohort study. J. Epidemiol. Glob. Health 14 (4), 1555–1568. doi:10.1007/s44197-024-00307-4

PubMed Abstract | CrossRef Full Text | Google Scholar

Cheng, L., Zhu, Y., Ma, J., Aggarwal, A., Toh, W. H., Shin, C., et al. (2024). Machine learning elucidates design features of plasmid deoxyribonucleic acid lipid nanoparticles for cell type-preferential transfection. ACS Nano 18 (42), 28735–28747. doi:10.1021/acsnano.4c07615

PubMed Abstract | CrossRef Full Text | Google Scholar

Devereaux, P. J., Lamy, A., Chan, M. T. V., Allard, R. V., Lomivorotov, V. V., Landoni, G., et al. (2022). High-sensitivity troponin I after cardiac surgery and 30-Day mortality. N. Engl. J. Med. 386 (9), 827–836. doi:10.1056/NEJMoa2000803

PubMed Abstract | CrossRef Full Text | Google Scholar

Dhull, D. K., and Kumar, A. (2018). Tramadol ameliorates behavioural, biochemical, mitochondrial and histological alterations in ICV-STZ-induced sporadic dementia of Alzheimer's type in rats. Inflammopharmacology 26 (4), 925–938. doi:10.1007/s10787-017-0431-3

PubMed Abstract | CrossRef Full Text | Google Scholar

El-Ashmawy, N. E., Lashin, A. A., Okasha, K. M., Abo Kamer, A. M., Mostafa, T. M., El-Aasr, M., et al. (2021). The plausible mechanisms of tramadol for treatment of COVID-19. Med. Hypotheses 146, 110468. doi:10.1016/j.mehy.2020.110468

PubMed Abstract | CrossRef Full Text | Google Scholar

Gau, S. Y., Huang, J. Y., and Wei, J. C. (2022). Tramadol use increases mortality and risk of major adverse cardiovascular events in rheumatoid arthritis patients: evidence from a population-based cohort study. Eur. J. Prev. Cardiol. 29 (6), e237–e238. doi:10.1093/eurjpc/zwab176

PubMed Abstract | CrossRef Full Text | Google Scholar

Gustafsson, M., Matos, C., Joaquim, J., Scholl, J., and van Hunsel, F. (2023). Adverse drug reactions to opioids: a study in a national pharmacovigilance database. Drug Saf. 46 (11), 1133–1148. doi:10.1007/s40264-023-01351-y

PubMed Abstract | CrossRef Full Text | Google Scholar

Jeong, S., Tchoe, H. J., Li, J., and Shin, J. Y. (2019). All-cause mortality associated with tramadol use: a case-crossover study. Drug Saf. 42 (6), 785–796. doi:10.1007/s40264-018-00786-y

PubMed Abstract | CrossRef Full Text | Google Scholar

Johnson, A. E. W., Bulgarelli, L., Shen, L., Gayles, A., Shammout, A., Horng, S., et al. (2023). MIMIC-IV, a freely accessible electronic health record dataset. Sci. Data 10 (1), 1. doi:10.1038/s41597-022-01899-x

PubMed Abstract | CrossRef Full Text | Google Scholar

Kim, M. H., Oh, J. E., Park, S., Kim, J. H., Lee, K. Y., Bai, S. J., et al. (2019). Tramadol use is associated with enhanced postoperative outcomes in breast cancer patients: a retrospective clinical study with in vitro confirmation. Br. J. Anaesth. 123 (6), 865–876. doi:10.1016/j.bja.2019.09.004

PubMed Abstract | CrossRef Full Text | Google Scholar

Kruger, N., Schneeweiss, S., Desai, R. J., Sreedhara, S. K., Kehoe, A. R., Fuse, K., et al. (2025). Cardiovascular outcomes of semaglutide and tirzepatide for patients with type 2 diabetes in clinical practice. Nat. Med. doi:10.1038/s41591-025-04102-x

PubMed Abstract | CrossRef Full Text | Google Scholar

Miotto, K., Cho, A. K., Khalil, M. A., Blanco, K., Sasaki, J. D., and Rawson, R. (2017). Trends in tramadol: pharmacology, metabolism, and misuse. Anesth. Analg. 124 (1), 44–51. doi:10.1213/ANE.0000000000001683

PubMed Abstract | CrossRef Full Text | Google Scholar

Mohan, N., Edmonds, K. P., Ajayi, T. A., and Atayee, R. S. (2020). Clinical tolerability and safety of tramadol in hospitalized patients. J. Pain Palliat. Care Pharmacother. 34 (4), 211–218. doi:10.1080/15360288.2020.1817227

PubMed Abstract | CrossRef Full Text | Google Scholar

Muhammad, Z. A., Ahmad, T., and Rashid, H. (2025). Evaluating potential unexpected adverse events and mortality after oral analgesics administration in fracture care-a cohort study. Expert Opin. Drug Saf. 24 (7), 865–872. doi:10.1080/14740338.2024.2392863

PubMed Abstract | CrossRef Full Text | Google Scholar

Nuche, J., Ellenbogen, K. A., Mittal, S., Windecker, S., Benavent, C., Philippon, F., et al. (2024). Conduction disturbances after transcatheter aortic valve replacement: an update on epidemiology, preventive strategies, and management. JACC Cardiovasc Interv. 17 (22), 2575–2595. doi:10.1016/j.jcin.2024.07.032

PubMed Abstract | CrossRef Full Text | Google Scholar

Okano, H., Imai, E., Okamoto, H., Sakuraya, M., Aoki, Y., Muramatsu, S., et al. (2025). Comparative efficacy of remifentanil and fentanyl in mechanically ventilated ICU patients: a systematic review and meta-analysis on ventilation duration and delirium incidence. J. Anesth. Analg. Crit. Care 5 (1), 32. doi:10.1186/s44158-025-00258-7

PubMed Abstract | CrossRef Full Text | Google Scholar

Osman, M., and Mustafa, M. (2018). Tramadol-induced mood elevation in a patient with no previous psychiatric history. Case Rep. Psychiatry 2018, 9574395. doi:10.1155/2018/9574395

PubMed Abstract | CrossRef Full Text | Google Scholar

Parodi, G., Dossi, F., Raccis, M., Talanas, G., Mura, E., Siciliano, R., et al. (2023). Platelet inhibition with orodispersible ticagrelor in acute coronary syndromes according to morphine use: the TASTER study final results. Eur. Heart J. Cardiovasc Pharmacother. 9 (8), 692–700. doi:10.1093/ehjcvp/pvad061

PubMed Abstract | CrossRef Full Text | Google Scholar

Pei, Y., Ma, Y., Xiang, Y., Zhang, G., Feng, Y., Li, W., et al. (2025). Stress hyperglycemia ratio and machine learning model for prediction of all-cause mortality in patients undergoing cardiac surgery. Cardiovasc Diabetol. 24 (1), 77. doi:10.1186/s12933-025-02644-5

PubMed Abstract | CrossRef Full Text | Google Scholar

Ruel, M., and Chikwe, J. (2024). Coronary artery bypass grafting: past and future. Circulation 150 (14), 1067–1069. doi:10.1161/CIRCULATIONAHA.124.068312

PubMed Abstract | CrossRef Full Text | Google Scholar

Saeed, I., La Caze, A., Hollmann, M. W., Shaw, P. N., and Parat, M. O. (2021). New insights on tramadol and immunomodulation. Curr. Oncol. Rep. 23 (11), 123. doi:10.1007/s11912-021-01121-y

PubMed Abstract | CrossRef Full Text | Google Scholar

Sayed, J. A., Abd Elshafy, S. K., Kamel, E. Z., Fathy Riad, M. A., Mahmoud, A. A., and Khalaf, G. S. (2018). The impact of caudally administrated tramadol on immune response and analgesic efficacy for pediatric patients: a comparative randomized clinical trial. Korean J. Pain 31 (3), 206–214. doi:10.3344/kjp.2018.31.3.206

PubMed Abstract | CrossRef Full Text | Google Scholar

Sen, E., Kaplan, D. S., Bozdag, Z., Orkmez, M., Mizrak, A., Sen, H., et al. (2020). The effect of tramadol on oxidative stress total antioxidant levels in rats with renal ischemia-reperfusion injury. Turk J. Urol. 46 (5), 388–392. doi:10.5152/tud.2020.20227

PubMed Abstract | CrossRef Full Text | Google Scholar

Shamsi, T., Janga, S. R., Baskaran, N. U., Rangasamy, V., Ramachandran, R. V., Chen, M., et al. (2025). Temporal trends and severity of postoperative delirium in cardiac surgery: insights from a systematic review and meta-analysis. J. Cardiothorac. Vasc. Anesth. 39 (9), 2424–2435. doi:10.1053/j.jvca.2025.05.020

PubMed Abstract | CrossRef Full Text | Google Scholar

Team, R. C. R. (2024). A language and environment for statistical computing_. Vienna, Austria: R Foundation for Statistical Computing.

Google Scholar

Unger, P., Pibarot, P., Tribouilloy, C., Lancellotti, P., Maisano, F., Iung, B., et al. (2018). Multiple and mixed valvular heart diseases. Circ. Cardiovasc Imaging 11 (8), e007862. doi:10.1161/CIRCIMAGING.118.007862

PubMed Abstract | CrossRef Full Text | Google Scholar

van Buuren, S., and Groothuis-Oudshoorn, K. (2011). Mice: multivariate imputation by chained equations in R. J. Stat. Softw. 45 (3), 1–67. doi:10.18637/jss.v045.i03

CrossRef Full Text | Google Scholar

VanderWeele, T. J., and Ding, P. (2017). Sensitivity analysis in observational research: introducing the E-Value. Ann. Intern Med. 167 (4), 268–274. doi:10.7326/M16-2607

PubMed Abstract | CrossRef Full Text | Google Scholar

Winther, S., Jimenez-Solem, E., and Sillesen, M. (2024). Association of postoperative opioid type with mortality and readmission rates: Multicentre retrospective cohort study. BJS Open 8 (6), zrae113. doi:10.1093/bjsopen/zrae113

PubMed Abstract | CrossRef Full Text | Google Scholar

Yang, M., Qian, X., Zhu, L., and Xu, Q. (2025). Associations of serum neurofilament and asthma: evidence from the NHANES 2013-2014. Front. Neurol. 16, 1567158. doi:10.3389/fneur.2025.1567158

PubMed Abstract | CrossRef Full Text | Google Scholar

Yoo, J. I., Jang, S. Y., Cha, Y., Park, C. H., Kim, J. T., Oh, S., et al. (2021). Effect of opioids on all-cause mortality and sustained opioid use in elderly patients with hip fracture: a Korea nationwide cohort study. J. Korean Med. Sci. 36 (19), e127. doi:10.3346/jkms.2021.36.e127

PubMed Abstract | CrossRef Full Text | Google Scholar

Zeng, C., Dubreuil, M., LaRochelle, M. R., Lu, N., Wei, J., Choi, H. K., et al. (2019). Association of tramadol with all-cause mortality among patients with osteoarthritis. JAMA 321 (10), 969–982. doi:10.1001/jama.2019.1347

PubMed Abstract | CrossRef Full Text | Google Scholar

Zhong, J., Sui, R., Zi, J., and Wang, A. (2024). Comparison of the effects of perioperative fentanyl and morphine use on the short-term prognosis of patients with cardiac surgery in the ICU. Front. Pharmacol. 15, 1453835. doi:10.3389/fphar.2024.1453835

PubMed Abstract | CrossRef Full Text | Google Scholar

Keywords: 28-day mortality, cardiac surgery, intensive care unit, MIMIC-IV, tramadol

Citation: Xu J, Zhang Y and Gao R (2026) Tramadol use is associated with reduced 28-day mortality in ICU patients after cardiac surgery: a retrospective study based on the MIMIC-IV database. Front. Pharmacol. 17:1770570. doi: 10.3389/fphar.2026.1770570

Received: 18 December 2025; Accepted: 08 January 2026;
Published: 16 January 2026.

Edited by:

Mohamed Hamed, Louisiana State University, United States

Reviewed by:

Hussam Askar, Al Azhar University, Egypt
Mohammed Abdel-Wahab, Faculty of Science Alazhar University Assuit, Egypt

Copyright © 2026 Xu, Zhang and Gao. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Jingyan Xu, enJ4anlAemp1LmVkdS5jbg==

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.