In our study, IL-9−/− PCP mice had increased number of Th17 cells infiltrated in the lungs, as well as higher level of IL-17A production in BALF than WT PCP mice. Here, IL9 is linked to pneumocystosis.