After competitive T cell transfer, CD4+ T cells heterozygous for Irf4 mutation were already impaired in generating Th2 and Th17 cells responses to infection and in their accumulation in the intestinal tract of recipient mice. Here, IRF4 is linked to infection.