Inhibition of IL‐27 during acute infection allowed maintenance of higher levels of memory CD4+ T cells and antibody, contributing to better protection upon reinfection, which depended on persistence of the infection. This evidence concerns the gene IL27 and infection.