In both HCC patients and control group, the genotypes of selected polymorphisms of TLR2 and TLR9 were in Hardy-Weinberg equilibrium, with no significant χ2 values (P > 0.05) except for rs3804099 and rs3804100 in control group (P = 0.012). The gene discussed is TLR2; the disease is hepatocellular carcinoma.