In univariate and multivariate analyses, hyaluronic acid level, liver stiffness, and the frequencies of Th17 and CD8+ PD1+ T cells were independent risk factors of NASH in NAFLD. This evidence concerns the gene CD8A and metabolic dysfunction-associated steatohepatitis.