Our results demonstrate that the CD40-CD40L pathway is critical for generating IL-17 responses and that targeting this costimulatory pathway represents a novel strategy to potentially improve protection against TB. This evidence concerns the gene CD40LG and tuberculosis.