Serum TNF‐α, IL‐1β, IL‐6, and IL‐17 are related to increased anxiety and depression risks to some extent in NSCLC survivors. Here, IL17A is linked to depressive symptom measurement.