In univariate analysis, parameters associated with significant fibrosis were age, the presence of T2DM and HT, AST, platelet, steatosis grade, PNPLA3 rs738409, VCTE, and all serum fibrosis biomarkers. Here, PNPLA3 is linked to type 2 diabetes mellitus.