Here, by establishing an immunocompetent mouse model of breast cancer leptomeningeal metastasis, we found that tumor-specific CD8+ T cells were generated in deep cervical lymph nodes (dCLNs) and played an important role in controlling leptomeningeal metastasis. Here, CD8A is linked to breast cancer.