In this study, our findings demonstrate a higher expression level of SHP2 in M2-like macrophages, which is significantly associated with a poorer prognosis in NSCLC patients. This evidence concerns the gene PTPN11 and non-small cell lung carcinoma.