Lasso-penalized Cox regression analysis identified and established a five-gene signature (ACADVL, ACAT1, ACSL3, ADH4 and ECI1), which showed effective discrimination and prediction for the prognosis of HBV-associated HCC both in the TCGA cohort and the validation cohort. The gene discussed is ECI1; the disease is hepatocellular carcinoma.