Objectives To explore the potential association between serum inflammatory factors and atrial fibrillation(AF)by Medelian randomization(MR)using two-sample methods to perform causal inference.Methods Data on the 91 serum inflammatory factors selected for this study were obtained from a genome-wide association study(GWAS)of 14 824 healthy subjects of European ancestry,and the combined data on AF were obtained from a large GWAS meta-analysis study including 60 620 patients of European ancestry and 970 216 controls.Five MR analysis methods,including inverse variance weighting(IVW),MR-Egger regression,weighted median estimate(WME),simple median estimate(simple mode),and weighted mode were applied.Additionally,sensitivity analyses included MR-Egger,MR-PRESSO,Cochran's Q test,and Leave-One-Out.Results The IVW method indicated causal relationships between 3 inflammatory factors,namely CD40L receptor concentrations(OR=0.947,95%CI:0.916-0.978,P=0.001),fibroblast growth factor 5(FGF5)concentrations(OR=1.064,95%CI:1.034-1.095,P<0.001),and leukemia inhibitory factor receptor(LIFR)concentrations(OR=0.908,95%CI:0.866-0.951,P<0.001),had causal association with the occurrence and development of AF.Conclusions Genetic data-based research suggests a causal association between serum inflammatory factors(CD40L receptor,FGF5 and LIFR)and AF.The study results provide sensitive biomarkers for the occurrence and development of AF,and valuable insights for the potential intervention of inflammatory factors in treating AF.