The tumor microenvironment includes a complex network of immune T-cell subpopulations. In this study, we systematically analyzed the balance between cytotoxic T cells and different subsets of helper T cells in human colorectal cancers and we correlated their impact on disease-free survival. A panel of immune related genes were analyzed in 125 frozen colorectal tumor specimens. Infiltrating cytotoxic T cells, Treg, Th1, and Th17 cells were also quantified in the center and the invasive margin of the tumors. By hierarchical clustering of a correlation matrix we identified functional clusters of genes associated with Th17 (RORC, IL17A), Th2 (IL4, IL5, IL13), Th1 (Tbet, IRF1, IL12Rb2, STAT4), and cytotoxicity (GNLY, GZMB, PRF1). Patients with high expression of the Th17 cluster had a poor prognosis, whereas patients with high expression of the Th1 cluster had prolonged diseasefree survival. In contrast, none of the Th2 clusters were predictive of prognosis. Combined analysis of cytotoxic/ Th1 and Th17 clusters improved the ability to discriminate relapse. In situ analysis of the density of IL17þ cells and CD8þ cells in tumor tissues confirmed the results. Our findings argue that functional Th1 and Th17 clusters yield opposite effects on patient survival in colorectal cancer, and they provide complementary information that may improve prognosis.