Multivariate Cox regression analysis revealed that old age (hazard ratio, 95% CI: 1.058, 1.019–1.098, p = 0.003); male sex (2.446, 1.200–4.985, p = 0.014); high aspartate aminotransferase levels (6.816, 2.945–15.779, p < 0.001); fibrosis index based on four factor score (1.262, 1.154–1.381, p < 0.001); blood sugar (1.009, 1.002–1.015, p = 0.006); and alpha-fetoprotein ≥15 ng/mL (143.938, 43.094–480.760, p < 0.001) were independent risk factors for HCC. This evidence concerns the gene AFP and hepatocellular carcinoma.