The gastrointestinal tract hosts the largest collection of commensal microbes in the body. Infections at this site can cause significant perturbations in the microbiota, known as dysbiosis, that facilitate the expansion of pathobionts, and can elicit inappropriate immune responses that impair the intestinal barrier function. Dysbiosis typically occurs during intestinal infection with Toxoplasma gondii. Host resistance to T. gondii depends on a potent Th1 response. In addition, a Th17 response is also elicited. How Th17 cells contribute to the host response to T. gondii remains unclear. Here we show that class I-restricted T cell-associated molecule (CRTAM) expression on T cells is required for an optimal IL-17 production during T. gondii infection. Moreover, that the lack of IL-17, results in increased immunopathology caused by an impaired antimicrobial peptide production and bacterial translocation from the intestinal lumen to the mesenteric lymph nodes and spleen. © 2019 Cervantes-Barragan, Cortez, Wang, McDonald, Chai, Di Luccia, Gilfillan, Hsieh, Newberry, Sibley and Colonna. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.