Finally, our experiments demonstrate that among the factors that contribute to an absence of intratumoral T cells, the capacity of cancer cells to form the CXCL12–KRT19 coating is dominant, and the exclusion of T cells by this means alone results in resistance to inhibition of the PD-1 checkpoint. Here, CXCL12 is linked to cancer.