We found that loss of CD8+ T-cells or macrophages alone or in the context of CD4+ T-cell depletion significantly impaired the ability of the host to clear Pneumocystis infection. This evidence concerns the gene CD4 and Pneumocystis infectious disease.