This study unveiled potential associations and key biomarkers (IRAK3, TNFRSF1A, CX3CR1, JUNB) concerning T2DM combined with MAFLD and relevant pathways, offering novel insights for the investigation of these two conditions. Here, TNFRSF1A is linked to type 2 diabetes mellitus.