Conclusion: Our study firstly discovered that AMOT, PDE11A, TYMS, TMEM98, and PTGS2 are associated with NAFLD-related AF and hold strong diagnostic values. This evidence concerns the gene TYMS and atrial fibrillation.