Here we identified that TRAF2 is associated with NSCLC immune escape by maintaining CD47 protein stability, leading to inhibition of macrophage phagocytosis. The gene discussed is TRAF2; the disease is non-small cell lung carcinoma.