Interleukin-17 (IL-17)-producing T cells are associated with rapid progression of colorectal cancer (CRC) and poor patient survival. Recent reports have linked the development of IL-17 producing T cells with our microbiome and separate studies have established a role for the microbiota in response to checkpoint blockade in cancer patients. Therefore, the study of these cell populations in cancer is now of particular relevance. The transcriptional networks controlling the differentiation of IL-17 producing cells, including IL-17-producing CD8+ T (Tc17) cells is unknown. We show that the transcription factor TCF-1 acts to limit Tc17 differentiation in developing CD8+T cells by binding to the promoter regions of Maf, Rorc and Sox13 to suppress their expression. TCF-1 dually acted to induce genomic accessibility of key genes associated with the differentiation and the function of effector and memory CD8+T cells, but also limited the genomic accessibility of key genes essential for Tc17 cell differentiation and function. Tc17 cells exhibited a gene-set signature enriched for tissue repair and lipid metabolism, which is in sharp contrast to the transcriptional profile governing effector CD8+T cells. Collectively, these findings identify new regulators of Tc17 cells and highlight a critical role for TCF-1 in determining CD8+T cell fate through regulation of the MAF-RORgt-SOX13 axis.