Using mouse models of bacterial and viral infections, we showed that IL-3–secreting CD4+ T cells were generated by infection at the skin and mucosa but not by infections introduced directly into the blood. Here, IL3 is linked to viral infectious disease.