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, IL6 is linked to metabolic dysfunction-associated steatohepatitis.