CXCR6-deficient tumor-specific CD8+ T cells showed reduced retention in tumor tissues, leading to diminished resident memory responses and poor control of ovarian cancer. Here, CD8A is linked to ovarian carcinoma.