This was a cross-sectional study, and the effects of the TyG index and PTX-3 on the prognosis of NAFLD patients were not observed further. This evidence concerns the gene PTX3 and metabolic dysfunction-associated steatotic liver disease.