Objective To investigate the risk factors of pulmonary complications(PPC)after thoracoscopic esophagectomy for esophageal cancer.Methods Clinical data of 181 patients with esophageal cancer who underwent thoracoscopic esophagectomy from January 2019 to June 2022 were retrospectively collected.The occurrence of postoperative PPC was recorded.Multivariate Logistic regression model was used to analyze the factors affecting the occurrence of PPC,and a nomogram was constructed.Results PCC occurred in 46 patients after operation.PPC was associated with age,ASA grading,smoking history,COPD and postoperative delirium(P<0.05).There was no correlation with other clinicopathological parameters(P>0.05).Multivariate Logistic regression analysis showed that age>60 years old,ASA gradeⅢ/Ⅳ,COPD and postoperative delirium were independent risk factors for PPC(P<0.05).The constructed nomogram prediction model showed that the C index was 0.67(95%CI:0.62-0.72).Conclusion Preoperative COPD and postoperative delirium are independent risk factors for PPC in patients with esophageal cancer undergoing thoracoscopic esophagectomy.It is recommended to take preventive measures to reduce the incidence of PPC in patients with esophageal cancer undergoing esophagectomy.