In this study, our data show that BATF, one of the downstream targets of IL-21 signaling, is necessary for CD8+ T cell effector differentiation and anti-tumor function. This evidence concerns the gene CD8A and neoplasm.