Analyses of immune infiltration showed that M2 macrophages, γδ T cells, and T follicular helper cells were associated with the immune microenvironment of NASH, which is possibly regulated by CASP1, IL33, and IRF9. This evidence concerns the gene IRF9 and metabolic dysfunction-associated steatohepatitis.