Among these DEGs, we identified three hub genes involved in AF, of which CXCL12/CXCR4 axis significantly upregulated in AF patients stands out as one of the most potent targets for AF prevention, and its effect on AF pathogenesis and underlying mechanisms were investigated in vivo subsequently with the specific CXCR4 antagonist AMD3100 (6 mg/kg). This evidence concerns the gene CXCR4 and atrial fibrillation.