IL6, FOS, GADD45B, NR4A1, FOSB, MYC, NR4A2, and GADD45G are the 8 hub genes for T2DM and NASH, which provide new approaches and potential targets for the treatment of T2DM-induced NASH in the future. Here, MYC is linked to type 2 diabetes mellitus.