Accordingly, this study intended to explore the association of Th1, Th2, and Th17 cells as well as their corresponding cytokines [including interferon (IFN)-γ, IL-4, and IL-17A] with anxiety, depression, and cognitive impairment in elderly gastric cancer patients. Here, IL17A is linked to major depressive disorder.