The result showed that diabetes mellitus (HR 1.743; P = 0.019), albumin ≤3.5 g/dL (HR 2.998; P < 0.001), AFP >200 ng/dL (HR 2.731; P < 0.001), major surgical procedure (HR 2.014; P = 0.006), blood loss >800 mL (HR 1.874; P = 0.018), and major surgical complications (HR 5.522; P < 0.001) were 6 independent risk factors for the occurrence of mortality within 6 months after hepatectomy for HCC. This evidence concerns the gene AFP and diabetes mellitus.