Objective To investigate risk factors of postoperative pulmonary infection in patients with liver cancer. Methods A total of 120 patients with primary liver cancer patients were divided into infected group(12 cases) and non-infected group(108 cases), two groups of patients in sex, age, underlying disease, whether ascites before surgery, surgery transfusion amount of time, blood loss, intraoperative, duration of mechanical ventilation index differences were com-pared and line Logistic regression analysis of its risk factors. Results In 120 cases of hepatocellular carcinoma 12 cases of postoperative pulmonary infection, the rate was 10.0%. The differences of age, underlying disease, whether ascites preoperative, operative time, blood loss, intraoperative blood transfusion, duration of mechanical ventilation in non-in-fected group and the infection group were statistically significant (P<0.05). Conclusion Age>60 years, underlying dis-ease, preoperative ascites, long operation time, blood loss volume, blood transfusion volume, length of mechanical venti-lation independent are risk factors for lung infections in patients with liver cancer after surgery.