Furthermore, TNF‐α, IL‐1β, IL‐6, and IL‐17 were all positively associated with HADS‐A score (all P < 0.05), anxiety occurrence (all P < 0.05), HADS‐D score (all P < 0.05), and depression occurrence (all P < 0.05) in NSCLC survivors, while the correlation‐coefficients were weak. This evidence concerns the gene IL17A and depressive disorder.