In this study, our findings demonstrated that miR-499-5p suppressed early cardiomyocyte senescence and atrial fibrosis by targeting SOX6 and downregulating p21, thereby improving AF in rats. Here, SOX6 is linked to atrial fibrillation.