Immune checkpoint blockade is now recognized as a paradigm-shifting cancer therapeutic strategy, whereas there remains difficulty in accurately predicting immunotherapy efficacy by PD-L1 expression. In addition, radiotherapy for cancer patients faces the problem of insufficient dose of radiotherapy at the tumor site while which have been not tolerated by normal tissues. In this study, we created PD-L1 aptamer-anchored spherical nucleic acids (SNAs) with a shell made of PD-L1 aptamer and indocyanine green (ICG) embedded in a mesoporous hafnium oxide nanoparticle core (Hf@ICG-Apt). Upon low pH irradiation in the tumor sites, the nano-system enabled the release of ICG in the high PD-L1 expression tumor to develop a high tumor-to-background ratio of 7.97 ± 0.76 and enhanced the ICG tumor retention to more than 48 h. Moreover, Hf@ICG-Apt improved radiation therapy (RT) when combined with radiation. Notably, Hf@ICG-Apt showed scarcely any systemic toxicityin vivo. Overall, this research offered a novel approach for applying reliable monitoring of PD-L1 expression and localization and robust RT sensitization against cancer with good biosafety.