IL-17 and IL-10 could both play protective roles in Pneumocystis infection via attenuating lung damage and assisting the clearance of pathogen. This evidence concerns the gene IL10 and Pneumocystis infectious disease.