Background: The relationship between short-term cardiac function changes and long-term outcomes in heart failure (HF) patients undergoing cardiac resynchronization therapy (CRT) remains uncertain, especially when stratified by diabetes status. Objectives: This study aims to assess the association between short-term cardiac function changes and outcomes such as all-cause mortality and HF hospitalization in patients undergoing CRT, stratified by diabetes status. Design: This is a cohort longitudinal retrospective study. Methods: A total of 666 HF patients, treated with CRT between March 2007 and March 2019, were included in this study. Among them, 166 patients (24.9%) were diagnosed with diabetes. Cardiac function was assessed at baseline and again at 6 months, incorporating evaluations of left ventricular ejection fraction (LVEF), left ventricular end-diastolic diameter (LVEDD), left atrial diameter (LAD), N-terminal prohormone of brain natriuretic peptide (NT-proBNP), and QRS duration. The QRS duration represents the time required for a stimulus to spread through the ventricles (ventricular depolarization). The primary endpoints of the study were all-cause mortality and HF-related hospitalization. Results: During a median follow-up of 2.51 years, 172 (25.8%) patients died and 197 (29.6%) were hospitalized for HF. Changes in LVEF, LVEDD, and LAD within 6 months had similar effects on adverse outcomes in both diabetic and nondiabetic patients. However, the presence of diabetes significantly modified the association between changes in NT-proBNP and QRS duration and adverse outcomes. Short-term changes in NT-proBNP and QRS duration were positively associated with all-cause mortality and HF hospitalization in patients without diabetes. However, the relationship between short-term changes in NT-proBNP and QRS duration and adverse outcomes was non-linear in diabetic patients. Conclusion: Improvement of cardiac function after CRT implantation can reduce long-term risk of all-cause mortality and HF hospitalization in HF patients. However, the presence of diabetes may affect the association between short-term changes in NT-proBNP and QRS duration and adverse outcomes.