To conclude, serum TNF‐α, IL‐1β, and IL‐17 levels are highly expressed, which are closely related to elevated anxiety and depression risks to some extent in NSCLC survivors. Here, TNF is linked to non-small cell lung carcinoma.