Serum TNF‐α, IL‐1β, IL‐6, and IL‐17 are related to increased anxiety and depression risks to some extent in NSCLC survivors. The gene discussed is IL17A; the disease is depressive disorder.