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. Here, IL6 is linked to nosocomial infection.