These results indicated that CYP2A6 and CYP2C9 might be protective factors, while G6PD might be risk factors in HCC, which improved the performance and facilitated the use of the risk model. This evidence concerns the gene G6PD and hepatocellular carcinoma.