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. This evidence concerns the gene FOS and metabolic dysfunction-associated steatohepatitis.