In this study, we reported the finding that tissue-resident memory CD8+ Trm cells within tumor-associated TLS correlate with improved prognosis in patients with breast cancer. This evidence concerns the gene CD8A and breast cancer.