This study was designed to determine whether metformin regulates atrial SK2 and SK3 in T2DM rats via the PKC/ERK signaling pathway to provide a potential theoretical basis for a mechanism of atrial ion channel remodeling in DM and the improvement of diabetes-induced AF. Here, KCNN3 is linked to diabetes mellitus.