In summary, our study identified TP53, MAPKAPK5, and HLA-G as MAMs-related biomarkers for AF and elucidated their potential mechanisms through a multi-dimensional analysis, providing new targets and insights for the prevention and treatment of AF. This evidence concerns the gene HLA-G and atrial fibrillation.