In situ cancer vaccination is an attractive strategy that stimulates protective antitumor immunity. Cytotoxic T lymphocytes (CTLs) are major mediators of the adaptive immune defenses, with critical roles in antitumor immune response and establishing immune memory, and are consequently extremely important for in situ vaccines to generate systemic and lasting antitumor efficacy. However, the dense extracellular matrix and hypoxia in solid tumors severely impede the infiltration and function of CTLs, ultimately compromising the efficacy of in situ cancer vaccines. To address this issue, a robust in situ cancer vaccine, Au@MnO2 nanoparticles (AMOPs), based on a gold nanoparticle core coated with a manganese dioxide shell is developed. The AMOPs modulated the unfavorable tumor microenvironment (TME) to restore CTLs infiltration and function and efficiently induced immunogenic cell death. The Mn2+-mediated stimulator of the interferon genes pathway can be activated to further augment the therapeutic efficacy of the AMOPs. Thus, the AMOPs vaccine successfully elicited long-lasting antitumor immunity to considerably inhibit primary, recurrent, and metastatic tumors. This study not only highlights the importance of revitalizing CTLs efficacy against solid tumors but also makes progress toward overcoming TME barriers for sustained antitumor immunity.