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. The gene discussed is TP53; the disease is atrial fibrillation.