These findings indicate that both TLR4 and TLR9 contribute to IL-17 production from CD4+ T cells and γδT cells during bacterial pneumonia. This evidence concerns the gene TLR9 and bacterial pneumonia.