Here the authors show that IL4 production induced by helminth infection results in expansion of bystander CD8+ memory T cells and enhanced control to viral infection. This evidence concerns the gene IL4 and viral infectious disease.