Our flow cytometry studies indicate that γδ-T cells, and to a lesser extent CD4+ Th17 cells, are important sources of IL-17 during bacterial pneumonia. Here, CD4 is linked to bacterial pneumonia.