In summary, TNFSF10, SERPINB2, and TNFRSF1A were identified as pathogenic genes related to MAFLD and T2DM. Here, TNFSF10 is linked to type 2 diabetes mellitus.