After stepwise logistic regression analysis, BALF level of IL-8 was the independent factor for the need of mechanical ventilation and BALF level of IL-8/TGF-β1 ratio was responsible for the death in PJP of non-AIDS immunocompromised patients. This evidence concerns the gene CXCL8 and AIDS.