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. The gene discussed is TGFB1; the disease is pneumocystosis.