We demonstrate that targeting Cbx3/HP1γ in CD8+ T cells augments transcription initiation and chromatin remodeling leading to increased transcriptional activity at Lef1 and Il21r. LEF-1 and IL-21R are necessary for Cbx3/HP1γ-deficient CD8+ effector T cells to persist and control ovarian cancer, melanoma, and neuroblastoma in preclinical models. This evidence concerns the gene CBX3 and melanoma.