Our study shows that Tyk2 prevents Ido1 expression in CRC cells and promotes CRC immune surveillance in the tumor stroma. Here, TYK2 is linked to colorectal carcinoma.