We constructed survival and prognosis gene markers based on FABP5, CCL20, AGPAT9(GPAT3), PLIN1, and IL1RN.This gene signature has shown good diagnostic accuracy in both NAFLD and HCC and in predicting HCC overall survival rates. Here, GPAT3 is linked to metabolic dysfunction-associated steatotic liver disease.