To explore the impact of preoperative HbA1c levels on postoperative complications in coronary heart disease patients undergoing coronary artery bypass grafting (CABG). From September 2020 to November 2022, 98 patients with coronary heart disease who were preparing to receive CABG treatment in a cardiac surgery department of a certain hospital were included in the study using the retrospective analysis. According to the preoperative serum hemoglobin A1C (HbA1c) test results, patients were divided into a low-level group (HbA1c < 5.7%, 20 cases), a medium level group (HbA1c: 5.7% ~ 7.0%, 59 cases), and a high level group (> 7%, 19 cases). The surgical outcomes and postoperative complications among the three groups were compared. There was no statistically significant difference in the number of bypass grafts, mechanical ventilation time, and hospitalization time among the three groups of patients (P > 0.05). The high-level group stayed in the ICU longer than the other two groups, while the middle level group had a longer stay than the low-level group (P < 0.05). Within one year of postoperative follow-up, the occurrence of postoperative complications was 20.00%, 32.20%, and 47.37%, respectively, with no statistically significant difference (P > 0.05). Among them, the incidence of acute kidney injury in the high-level group was higher than that in the other groups (P < 0.05), but the correlation difference between the middle and low level groups is P > 0.05. The incidence of infection in the middle level group was higher than that in the low level group (P < 0.05), but the incidence of infection in the high and low level groups was P > 0.05 compared to the medium level group. For patients with coronary heart disease undergoing CABG, the higher the preoperative HbA1c level, the longer their postoperative stay in the ICU, and the higher the risk of acute renal function damage.