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. The gene discussed is IL1B; the disease is major depressive disorder.