To assess the prognostic factors in hospitalized patients with cirrhosis, a univariate analysis was carried out, which included factors associated with mortality and indicated that liver failure, cerebral failure, coagulation failure, cardiovascular failure, hospital-acquired infection, mechanical ventilator use, serum endocan ≥ 15.8 ng/mL, PCT ≥ 487 pg/mL, and IL-6 ≥ 37 pg/mL were associated with 28-day mortality. The gene discussed is IL6; the disease is liver failure.