Opposed to previous studies, our findings suggest that during the infection of S. japonicum, the deletion of Batf3 activates CD8+T cells to secrete IFN-γ and attenuate liver pathological damage in mice through immune regulation. Here, IFNG is linked to infection.