Through validation of the upregulated genes and hub genes identified by PPI analysis of the co-downregulated DEGs, we found that AMOT, PDE11A, TYMS, TMEM98, and PTGS2 exhibited good diagnostic potential for NAFLD-related AF. This evidence concerns the gene TYMS and metabolic dysfunction-associated steatotic liver disease.