Multivariate logistic regression analysis disclosed that TNF‐α (OR [95% CI] = 1.035 [1.012–1.060], P = 0.003), IL‐1β (OR [95% CI] = 1.373 [1.165–1.618], P < 0.001), diabetes (OR [95% CI] = 2.713 [1.122–6.560], P = 0.027), higher TNM stage (OR [95% CI] = 1.637 [1.072–2.500], P = 0.022), and prolonged duration after surgery (OR [95% CI] = 1.355 [1.035–1.773], P = 0.027) were independently correlated with increased depression risk, while higher education level (OR [95% CI] = 0.662 [0.440–0.998], P = 0.049) was independently correlated with decreased depression risk in NSCLC survivors (Table 3). This evidence concerns the gene IL1B and depressive disorder.