The pharmacologic inhibition of STAT3 using S3I-201 significantly suppressed miR-21 expression, mitigated atrial fibrosis, and reduced AF susceptibility. This evidence concerns the gene STAT3 and atrial fibrillation.