ObjectiveTo compare the effect on postoperative immune function between da Vinci robot-assisted thoracoscopic surgery (RATS) and video-assisted thoracoscopic surgery (VATS) , and to provide clinical support for more effective surgical procedures.MethodsA total of 90 patients undergoing radical resection of pulmonary carcinoma in our hospital from June to November 2019 were included. There were 49 males and 41 females with an average age of 62.67 (37-84) years. Among them, 50 patients underwent da Vinci robot-assisted thoracoscopic surgery (a RATS group) and 40 patients underwent video-assisted thoracoscopic surgery (a VATS group). The perioperative indexes as well as postoperative inflammatory factors and immune level effects between the two groups were compared.ResultsCompared with the VATS, RATS could significantly shorten the operation time and decrease intraoperative blood loss (P<0.05). RATS also effectively reduced the increase of postoperative inflammatory factor level (P<0.05). But there was no significant difference in postoperative immune function between the RATS group and the VATS group (P>0.05).ConclusionRATS is superior to VATS in the treatment of non-small cell lung cancer in perioperative indicators and inflammatory factors.