IRF4 deficient mice were impaired in the control of both pathogens, failed to mount Th17 and Th2 cell responses and showed impaired recruitment of T helper cells to the intestine, the infection site of both pathogens. Here, IRF4 is linked to infection.