In this study, we provide evidence for the regulation of immunity to Type 1 and Type 2 infectious diseases by Batf2. Here, BATF2 is linked to infectious disease.