Anti-apoptosis, negatively regulated STAT3 expression, indirectly inhibited CMs apoptosis in AF, and increased survival, providing new insights into treatment strategies of AF. Here, STAT3 is linked to atrial fibrillation.