In summary, we firstly discovered that AMOT, PDE11A, TYMS, TMEM98, and PTGS2 are associated with NAFLD-related AF and hold strong diagnostic values. Here, TYMS is linked to atrial fibrillation.