We show that γδ and later CD4+ αβ T cells are the predominant sources of IL17A during SR-induced development of HP. This evidence concerns the gene CD4 and hypersensitivity pneumonitis.