<b>Conclusions</b>: Chronic SGLT2 inhibitor therapy was independently associated with reduced postoperative rehospitalization and cumulative event burden in T2DM patients undergoing cardiac surgery. Here, SLC5A2 is linked to type 2 diabetes mellitus.