The core genes DNAJB9, CMAS, FASLG, ABHD10, ATRN, PLA2G2F, ITIH2, ROBO1, SH3GL2, and CNR1 were found to be related to NAFLD and T2D for the first time, and this provides a new research target for the precise treatment of NAFLD and T2D comorbidities. This evidence concerns the gene ABHD10 and metabolic dysfunction-associated steatotic liver disease.