The purpose of the present study was to evaluate the risk of arrhythmias and all-cause mortality associated with prescription of SGLT2 inhibitors in a nationwide cohort study of diabetic patients in Taiwan. Here, SLC5A2 is linked to cardiac arrhythmia.