IL-17–producing CD4+ T (Th17) cells have been found to be increased in some human cancers; however, the possible implication of Th17 cells in regulating antitumor responses in malignant pleural effusion (MPE) remains to be elucidated. In the current study, distribution and phenotypic features of Th17 cells in both MPE and peripheral blood from patients with lung cancer were determined by flow cytometry or double immunofluorescence staining. The impacts of cytokines on Th17 cell generation and differentiation were explored. The chemoattractant activity of chemokines CCL20 and CCL22 for Th17 cells in vitro was also observed. It was found that the increased Th17 cells could be found in MPE compared with blood. The in vitro experiments showed that IL-1β, IL-6, IL-23, or their various combinations could promote Th17 cell generation and differentiation from naive CD4+ T cells. MPE was chemotactic for Th17 cells, and this activity was partly blocked by anti-CCL20 and/or CCL22 Abs. Our data also showed that the accumulation of Th17 cells in MPE predicted improved patient survival. It could be concluded that the overrepresentation of Th17 cells in MPE might be due to Th17 cell differentiation and expansion stimulated by pleural proinflammatory cytokines and to recruitment of Th17 cells from peripheral blood induced by pleural chemokines CCL20 and CCL22. Furthermore, the accumulation of Th17 cells in MPE predicted improved patient survival. These data provide the basis for developing immune-boosting strategies based on ridding the cancer patient of this cell population.