Infected mice with STAT3 knockout (KO) T cells produced less antibody and more Th1-like IFN-γ+IL-21−CXCR5lo effector and memory cells and were protected from re-infection. This evidence concerns the gene STAT3 and infection.