BACKGROUND: Non-small-cell lung cancer (NSCLC) remains one of the most common malignancies worldwide, posing a great potential threat to the health and life safety of patients. METHODS: One hundred and fifty NSCLC patients admitted to our hospital from September 2022 to September 2023 were selected whose inflammatory response and changes in T-lymphocyte subpopulations before and after surgery were detected, and patients' psychological status was investigated. Finally, patients were followed up for 6 months to record the prognostic survival rate. RESULTS: Postoperative inflammatory factors and CD8 + were lower in the research group than in the control group, while CD3 + , CD4 + and CD4 + /CD8 + were higher than in the control group (P<
0.05). Meanwhile, the psychological status of the research group was better. However, the two groups did not differ in prognostic survival (P>
0.05). CONCLUSIONS: Perioperative refinement of care can optimize the surgical process in patients with NSCLC, and the cellular immune function was enhanced.