Introduction

Heart failure is a syndrome caused by a number of heart diseases that reach an advanced stage. Heart failure affects approximately 26 million people worldwide, with an average of 3.6 million new cases diagnosed each year. This condition affects 5.7 million people in the United States and is a leading cause of hospitalization1. The INTER-CHF prospective cohort study found that the global death rate from heart failure is 16.5%, with the highest rate recorded at 34% in Africa1,2. In addition, the annual medical costs associated with heart failure are estimated at approximately $108 billion, representing a significant economic burden. This number is expected to increase due to the world’s aging population, rapid expansion and industrialization3. In this context, heart failure has emerged as a serious public health problem characterized by high incidence, poor prognosis, high mortality, and significant medical costs. Therefore, identifying markers that may help assess the prognosis of heart failure and determining appropriate treatment approaches is crucial.

Numerous studies have shown that a sustained inflammatory response contributes to adverse cardiac remodeling and dysfunction, potentially leading to heart failure4. For example, Xiaojing et al. have shown that lymphocytes play a critical role in the inflammatory response associated with heart failure5. Furthermore, reduced lymphocyte counts are associated with an increased risk of mortality in patients with heart failure6. Moreover, lymphocyte subpopulations have been implicated in the pathogenesis of various fibrotic diseases, and in the context of T cell-mediated inflammation, they are particularly relevant to the mechanisms underlying cardiac fibrosis7. On the other hand, heart failure is characterized by impaired energy metabolism, and energy deficiency further worsens the severity of heart failure8. As a direct source of energy, the uptake and utilization of glucose are crucial for the progression of heart failure9. Importantly, dysregulated glucose metabolism, manifested as hyperglycemia, exerts detrimental effects on the cardiovascular system through multiple pathways. Chronically elevated blood glucose levels (e.g., as seen in diabetes mellitus) are strongly associated with the development and progression of heart failure. Persistent hyperglycemia promotes capillary damage, myocardial hypertrophy, and myocardial fibrosis, directly impairing cardiac function10. Mechanistically, chronic hyperglycemia drives the formation of advanced glycation end products (AGEs), activates protein kinase C (PKC) isoforms, and increases flux through the hexosamine pathway, collectively contributing to oxidative stress, inflammation, endothelial dysfunction, and extracellular matrix remodeling in the heart10,11. This chronic metabolic disturbance significantly increases the risk of developing heart failure and worsens outcomes in existing heart failure12.

Acutely elevated blood glucose levels, such as those occurring during acute myocardial infarction or decompensated heart failure episodes (often termed “stress hyperglycemia”), also have profound negative consequences. Even transient hyperglycemia can impair endothelial function, promote thrombosis, increase inflammation, and exacerbate ischemia-reperfusion injury13,14. In the context of acute cardiac events, higher admission glucose levels are consistently associated with larger infarct sizes, worse left ventricular function, and increased short- and long-term mortality, independent of diabetic status15,16. The detrimental impact of acute hyperglycemia appears to be dose-dependent, with higher levels conferring greater risk15.

Moreover, both chronic and acute hyperglycemia inhibit antioxidant signaling pathways, activates inflammatory signaling, and increases the production of reactive oxygen species (ROS) and inflammatory mediators, thereby promoting and exacerbating cardiac dysfunction and remodeling10,17. Glucose-to-lymphocyte ratio (GLR), as a novel inflammatory marker, is associated with the mortality risk of various inflammatory diseases, including acute myocardial infarction (AMI), chronic obstructive pulmonary disease (COPD), and acute respiratory distress syndrome (ARDS), and it shows remarkable prognostic value18,19,20. However, there are currently no studies in the available literature examining the association between GLR and mortality risk in patients with heart failure.

Therefore, to investigate the relationship between GLR and mortality risk in patients with heart failure and the predictive value of GLR for mortality in this population, we conducted a retrospective cohort study. Our aim was to find a useful marker that can predict the prognosis of patients with heart failure.

Methods

Data source

Data for this retrospective cohort study were sourced from the publicly available Medical Information Mart for Intensive Care IV (MIMIC-IV, version 3.0) database, which includes information on over 50,000 intensive care unit (ICU) admissions at Beth Israel Deaconess Medical Center in Boston from 2008 to 202221,22. The author Gang Wu was granted access to the database after completing the necessary online training and certification procedure (certification number: 62773844). The use of the MIMIC-IV database was authorized by the institutional review boards at both the Massachusetts Institute of Technology and Beth Israel Deaconess Medical Center. Since the data is available to the public, ethical clearance for the study was not necessary, and since the research was retrospective, informed consent was not needed.

Study design and population

Figure 1 presents the study’s workflow. We assembled a cohort of 112,994 individuals diagnosed with heart failure, identified through the search terms “heart failure” using the International Classification of Diseases, Ninth and Tenth Revisions (ICD-9 and ICD-10) coding systems. The exclusion criteria were as follows: (1) individuals missing information on glucose and lymphocyte; (2) patients who had multiple ICU admissions due to heart failure, with only data from the initial admission being analyzed; and (3) age < 18 years old. Ultimately, a total of 14,417 participants were retained in the final cohort and categorized into two groups based on the median value of the GLR (median GLR value = 143.35, Low GLR ≤ 143.35, High GLR > 143.35).

Fig. 1
figure 1

Flowchart of the study. GLR glucose-to-lymphocyte ratio.

Data extraction

We extracted study variables using Structured Query Language (SQL) via Navicat Premium (Version 16.2.9). These variables included: age, sex, weight, heart rate (HR), systolic blood pressure (SBP), diastolic blood pressure (DBP), mean arterial pressure (MAP), respiratory rate (RR), oxygen saturation (SpO2), Sequential Organ Failure Assessment (SOFA) score, Charlson Comorbidity Index (CCI), red blood cell (RBC) count, red cell distribution width (RDW), hematocrit, hemoglobin, white blood cell (WBC) count, neutrophils, lymphocytes, monocytes, platelets, creatinine, bicarbonate, blood urea nitrogen (BUN), sodium, potassium, calcium, anion gap, glucose, myocardial infarction, atrial fibrillation, hypertension, cerebrovascular diseases, diabetes mellitus, renal diseases, and the use of various medications, including beta blockers, angiotensin-converting enzyme inhibitors (ACEI), angiotensin II receptor blockers (ARB), angiotensin receptor-neprilysin inhibitors (ARNI), calcium channel blockers (CCB), diuretics, antidiabetics, and epinephrine. Additional variables included the length of hospital stay (LOS), which encompassed both hospital LOS and intensive care unit (ICU) LOS, as well as 30-day mortality rate and 365-day mortality rate. To minimize potential confounding effects, all variables analyzed in our study were derived from blood samples collected within the first 24 h of ICU admission for heart failure patients.

Calculation of GLR

The formula that was used to calculate the GLR was as follows: glucose (mg/dL) divided by lymphocyte count (K/uL)18.

Outcomes

The clinical outcome was 30-day mortality rates and 365-day mortality rates. The mortality data were documented in the MIMIC-IV database. We calculated the survival time for each patient by subtracting the discharge date from the date of death.

Statistical analysis

Measurement data that followed a normal distribution were characterized using mean ± standard deviation (Mean ± SD), while a t-test was employed to compare two groups. For data with a skewed distribution, results were presented as median and quartiles [M (Q1, Q3)], with the Wilcoxon rank sum test applied for comparisons. Categorical data distributions were described using frequency with composition ratios [N (%)], and comparisons were made using the chi-square test or Fisher’s exact test.

To investigate the relationship between GLR and outcome incidence rates in heart failure patients, both univariate and multivariate COX proportional hazards models were constructed. The selection of confounding variables was primarily based on clinical relevance and univariate analysis results (p < 0.1). Specifically, our adjustment model included the following covariates: gender, age, weight, SOFA score, WBC, RBC, RDW, hemoglobin, platelet, creatinine, BUN, anion gap, sodium, potassium, calcium, HR, SBP, DBP, RR, SpO2, myocardial infarction, cerebrovascular disease, diabetes, hypertension, atrial fibrillation, beta blocker use, ACEI/ARB/ARNI use, antidiabetics use, and diuretic use. We assessed multicollinearity among variables by calculating the variance inflation factor (VIF) for all covariates in the final model. A VIF < 5 indicated that multicollinearity was unlikely to substantially influence the key conclusions of our study. Restricted cubic spline (RCS) curves were used to illustrate the relationship between GLR levels and the risk of 30-day and 365-day mortality. To account for potential confounding factors, we adjusted for the following covariates: sex, age, weight, SOFA score, WBC, RBC, RDW, hemoglobin, platelet count, creatinine, BUN, anion gap, sodium, potassium, HR, SBP, DBP, RR, SpO₂, as well as comorbidities (myocardial infarction, cerebrovascular disease, diabetes, hypertension, atrial fibrillation) and medications (beta-blockers, ACEI/ARB/ARNI, antidiabetic drugs, diuretics). The selection of confounding variables was based on clinical relevance and established scientific literature. Additionally, the Kaplan-Meier (K-M) survival curve assessed the correlation between GLR levels and the survival probability of patients with heart failure. GLR, glucose levels, and lymphocyte counts were evaluated for their forecasting potential using receiver operating characteristic (ROC) curve analysis. The DeLong test was used to compare the area under the curve (AUC) of different models. The primary metrics for evaluation included hazard ratios (HRs) and confidence intervals (CIs), with P < 0.05 indicating statistical significance.

Statistics analyses were completed via SPSS (version 26.0, IBM Corporation, USA) and R software (version 4.4.1).

Results

Characteristics of heart failure patients

Table 1 presents the characteristics of heart failure patients stratified by different GLR levels. Among them, 2,918 patients (20.24%) died within 30 days, while 5,912 patients (41.01%) succumbed within 365 days. The average age across the cohort was 72.77 years, with males comprising 8,037 (55.75%) of the population. Comparative analysis revealed that the median values for glucose, lymphocytes, and GLR differed significantly between the low and high GLR level groups. Specifically, the median glucose levels were 132 mg/dL in the low GLR group versus 189 mg/dL in the high GLR group; median lymphocyte counts were 1.67 K/uL versus 0.73 K/uL; and median GLR values were 85.03 versus 256.28, respectively.

Table 1 Characteristics of heart failure patients with varying levels of GLR.

The detection of nonlinear relationships

Figure 2 presents the RCS curve illustrating the association between GLR levels and the risk of 30-day and 365-day mortality. The data shows that as GLR levels rise, the hazard ratio also increases. Furthermore, nonlinear testing confirmed that the RCS curve is nonlinear (P < 0.001).

Fig. 2
figure 2

Relationship between GLR levels and mortality at 30 days (A) and 365 days (B) in heart failure patients by RCS analysis. GLR glucose-to-lymphocyte ratio.

Association between GLR level with clinic outcomes in heart failure patients

Univariate and multivariate Cox regression analyses revealed a significant independent association between higher GLR levels and increased 30-day and 365-day mortality in heart failure patients (P < 0.001) (Table 2). This association persisted even after adjusting for demographic characteristics, vital signs, comorbidity, medication use, and comprehensive laboratory parameters (P < 0.05). We assessed multicollinearity among variables by calculating the VIF for all covariates in the final model. The results demonstrate that all VIF values < 5, suggesting that multicollinearity is unlikely to substantially influence the key conclusions of our study (i.e., the association between GLR levels and outcomes in heart failure patients). (Supplementary Table S1).

Table 2 Relationship between GLR levels and mortality at 30 days and 365 days in a Cox regression model.

Kaplan-Meier survival analysis

We also plotted the K-M survival curve to illustrate the relationship between GLR levels and mortality at 30 days and 365 days in heart failure patients (Fig. 3). The K-M survival curve revealed that the 30-day and 365-day mortality rates for heart failure patients with low GLR levels were significantly lower compared to those with high GLR levels (P < 0.0001). This indicates a statistically significant difference in survival probability between the two groups.

Fig. 3
figure 3

The K-M curve of association between GLR levels and mortality at 30 days (A) and 365 days (B) in heart failure patients. GLR glucose-to-lymphocyte ratio.

Stratified analyses

To further elucidate whether the relationship between GLR and clinical outcomes in heart failure patients is influenced by different conditions, we conducted a subgroup analysis. The data were analyzed based on factors such as gender, age, SOFA score, myocardial infarction, diabetes, hypertension, atrial fibrillation, β-blockers, ACEI/ARB/ARNI, diuretics, and antidiabetics. Figure 4A shows that for the 30-day outcome, no significant interactions were found between GLR and the other subgroups (interaction p-values: 0.053–0.934). However, for the 365-day outcome, significant interactions were noted for SOFA (P = 0.008), and antidiabetics (P < 0.034), with no substantial interactions between GLR and the remaining subgroups (interaction p-values: 0.069–0.995) (Fig. 4B). This suggests that the association between GLR and clinical outcomes in heart failure patients was largely consistent across most of the examined subgroups in this study, except for SOFA score and antidiabetic medication use at 365 days.

Fig. 4
figure 4

Stratified analyses of the relationship between GLR and mortality at 30 days (A) and 365 days (B) in heart failure patients. SOFA sequential organ failure assessment, MI myocardial infarction, AF atrial fibrillation.

Predictive value of GLR on clinic outcomes in heart failure patients

Figure 5 illustrates the ROC curves for predicting 30-day and 365-day mortality in patients with heart failure admitted to the ICU, using GLR, glucose, and lymphocytes. For the prediction of 30-day mortality in heart failure patients, the GLR curve consistently outperformed both the glucose and lymphocyte curves. In terms of predicting 365-day mortality, the GLR curve remained superior to the glucose curve, while being comparable to the lymphocyte curve (Table 3). Overall, these findings suggest that GLR may possess a greater predictive value than either glucose or lymphocytes.

Fig. 5
figure 5

ROC curve analysis of surrogate markers for predict 30-day (A) and 365-day (B) mortality in heart failure patients. AUC area under the curve, GLR glucose-to-lymphocyte ratio, Glu glucose, Lym lymphocyte.

Table 3 Area under the ROC curve comparison of glucose, lymphocytes, and GLR.

Discussion

To the best of our knowledge, this study is the first retrospective investigation of the relationship between GLR levels and mortality risk in critically ill patients with heart failure. According to our findings, these people have a higher chance of dying within 30 days and within 365 days if their GLR levels are higher. It is noteworthy that this relationship remains statistically significant even after taking into account potential confounding factors. Furthermore, this work provides a clear and simple methodology to improve mortality risk stratification in critically ill patients with heart failure. Importantly, our research suggests that the predictive ability of GLR for mortality in patients with heart failure may exceed that of glucose or lymphocyte levels. Meanwhile, GLR levels provide predictive value for both 30-day and 365-day mortality in patients with heart failure, with AUC values of 0.608 and 0.606, respectively.

GLR, a distinctive inflammatory biomarker that integrates blood glucose levels and lymphocyte counts, demonstrated remarkable predictive capacity for both short-term and long-term mortality in certain diseases. Previous studies have reported that GLR is a prognostic marker for a variety of tumors23,24,25. Furthermore, Tianyang et al. demonstrated the higher predictive value of GLR for in-hospital mortality in acute exacerbation of COPD compared to neutrophil-lymphocyte ratio, platelet-lymphocyte ratio, and systemic immune-inflammation index19. Also, another study indicated that GLR serves as an independent prognostic marker for critically ill patients suffering from ARDS20. A recent retrospective cohort study revealed that the predictive ability of GLR for in-hospital mortality among patients with AMI may surpass that of glucose or lymphocyte levels18. In a similar vein, our current investigation revealed that elevated levels of GLR correlate with a higher risk of mortality in individuals with heart failure. We also evaluated the predictive capacity of GLR and compared it to that of glucose and lymphocyte counts. The findings suggested that GLR’s predictive efficacy may surpass the other two markers. Notably, we observed a nonlinear relationship between GLR levels and mortality risk at both 30-day and 365-day follow-ups, suggesting a threshold effect where mortality risk escalates sharply beyond a critical GLR value. Thus, our results may provide valuable insights supporting that GLR is a promising predictor for heart failure outcomes.

The mechanism by which elevated GLR increases the risk of mortality in heart failure patients is likely multifactorial, reflecting the complex interplay between dysregulated immunity and metabolic dysfunction inherent in the heart failure syndrome. Our findings suggest that both components of the GLR ratio—lymphopenia and hyperglycemia—are significant contributors to poor outcomes, and their combination may provide a more integrated reflection of the underlying pathological state than either marker alone. The potential pathophysiological links between elevated GLR and heightened mortality in patients with heart failure may be explained as follows: On the one hand, heart failure typically results in a systemic inflammatory response, with a decreased lymphocyte count frequently observed during this response26,27. This is consistent with our findings. The factors contributing to the reduction in lymphocyte count during systemic inflammation can be attributed to increased lymphocyte apoptosis28; diminished lymphocyte proliferation and differentiation; and the redistribution of lymphocytes within lymphopoietic systems29. On the other hand, in the early stages of heart failure, glucose utilization increases, while free fatty acid utilization can be unchanged or only mildly increased8. However, since insulin resistance can be present in severe heart failure, glucose utilization decreases, raising blood glucose30,31,32,33,34. Just as we found out. Mechanisms contributing to cardiac insulin resistance in heart failure may involve diminished mitochondrial oxidative capability35, increased rates of fatty acid metabolism, and decreased glucose metabolism8. These alterations may influence the quantity of lymphocytes and concentration of glucose via various pathways, thereby impacting GLR.

However, lymphopenia and hyperglycemia in heart failure are not isolated phenomena but are often interconnected and mutually reinforcing36. Chronic inflammation drives both lymphocyte depletion/apoptosis and insulin resistance. Conversely, hyperglycemia can directly impair lymphocyte function, proliferation, and survival through mechanisms involving oxidative stress, glycation of surface receptors, and altered metabolism within immune cells37,38. The neurohormonal activation characteristic of heart failure (sympathetic overdrive, RAAS, cortisol) simultaneously promotes hyperglycemia and suppresses lymphocyte numbers and function39,40. Therefore, an elevated GLR likely signifies a more profound and dysregulated state of systemic inflammation, metabolic stress, and neurohormonal activation – a “perfect storm” contributing to accelerated myocardial damage, increased vulnerability to decompensation triggers (like infection), and ultimately, higher mortality risk41,42. This synergy explains why GLR’s predictive power surpasses its individual components, and why we observed a nonlinear mortality curve: once GLR exceeds a threshold, the combined metabolic-immune derangement overwhelms compensatory mechanisms.

In summary, While our findings highlight the potential utility of GLR as a readily available prognostic biomarker in heart failure, further investigations are required to prospectively validate its predictive value, elucidate the causal relationships and detailed molecular mechanisms linking GLR components to specific cardiac pathologies, and explore whether targeting these pathways (e.g., modulating inflammation, improving glycemic control in specific subsets) can improve outcomes in high-GLR heart failure patients.

The findings provide strong evidence regarding how GLR correlates with mortality risk among individuals with heart failure. We observed a nonlinear relationship between GLR levels and the risk of mortality at both 30-day and 365-day, offering support for its clinical relevance. Firstly, GLR is a simple, cost-effective, and widely accessible biochemical marker that can assist in assessing prognosis and stratifying risk in heart failure patients. This facilitates the creation of personalized and precise medical decisions. Secondly, if a patient presents with abnormal GLR values, it is crucial for clinicians to investigate the underlying pathophysiological factors, such as inflammation and immune responses, and implement timely interventions to enhance patient outcomes. Furthermore, upcoming clinical trials might explore GLR as a potential alternative indicator for evaluating treatment efficacy and investigating innovative strategies to strengthen heart failure outcomes through the modulation of GLR levels. This could open new avenues for both pharmaceutical and non-pharmaceutical interventions. In conclusion, our findings lay a solid evidence-based framework for incorporating GLR into the secondary prevention strategies for heart failure.

This study has to acknowledge several limitations in its findings. The retrospective design may harbor residual confounders despite the application of regression models and sensitivity analyses. While GLR was evaluated at the time of admission utilizing baseline blood counts and initial biochemical indicators to reduce the influence of treatment, the effects of extended pharmacological therapies on heart failure outcomes require further clarification. The absence of variables such as inflammation, NT-proBNP, and cardiac size restricts a comprehensive analysis of mechanisms linking these factors to GLR. Selection bias is also a concern due to reliance on the MIMIC-IV database, potentially skewing the representation of the outpatient heart failure population and neglecting confounding lifestyle and genetic factors. Furthermore, the inability to continuously measure GLR limits the assessment of its change patterns and prognostic relevance. Given that the findings are based on a single-center study, their external validity is constrained. Future investigations involving multi-center, multi-ethnic cohorts are essential for validating and broadening these results, enhancing our understanding of GLR’s role in heart failure outcomes.

Conclusion

Our study found a non-linear relationship between GLR levels and mortality at both 30-day and 365-day among patients with heart failure, indicating that higher GLR levels are linked to an increased risk of death. These findings suggest that GLR could be an important predictor for heart failure prognosis, potentially assisting in the identification and management of high-risk populations in clinical practice. However, additional research is necessary to clarify the causal relationship between GLR levels and mortality risk in heart failure patients.