Using adjusted cox regression analysis, MASLD is associated with risk of AF (HR: 1.88, 95% CI: 1.03–3.45), after adjusting for age, sex, study group, diabetes status, BMI, waist, drinking alcohol, smoking, serum ALT, SBP and other cardiac factors. The gene discussed is GPT; the disease is atrial fibrillation.