Serum lncRNA ANRIL levels and smoking were independent risk factors for AF with ischemic stroke (P < .05). This evidence concerns the gene CDKN2B-AS1 and atrial fibrillation.