Here the authors show that IRE, followed by anti-CTLA-4 blockade, elicits the expansion of tumor antigen-specific CD8+ T cells and is associated with tissue residency and improved anti-tumor immune response in a preclinical model of prostate cancer. This evidence concerns the gene CD8A and prostate cancer.