In summary, we 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 PTGS2 and metabolic dysfunction-associated steatotic liver disease.