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. This evidence concerns the gene FABP5 and metabolic dysfunction-associated steatotic liver disease.