Here, we use mouse models for intestinal nematode infection (Strongyloides ratti) and intestinal bacterial infection (Citrobacter rodentium) to analyze the Th2 and Th17 cell responses of Irf4-deficient CD4+ T cells. Here, IRF4 is linked to bacterial infectious disease.