In this study, we describe perifollicular and interfollicular clustering of mouse and human skin CD8 TRM cells in response to melanoma, respectively, and show that persistent clustering with DCs is required for skin TRM cell maintenance and dependent on the interaction between CXCR6 and CXCL16. This evidence concerns the gene CXCR6 and melanoma.