We detected a causal effect of CD127 on CD45RA + CD4 + on HCC risk by using the IVW approach (OR = 0.778, 95% CI 0.607–0.997, P = 0.047). This evidence concerns the gene IL7R and hepatocellular carcinoma.