Local PD-L1-targeted NIR-PIT enhanced the antitumor immune reaction through a direct photonecrotic effect, thereby providing an alternative approach to targeted cancer immunotherapy and expanding the scope of cancer therapeutics. This evidence concerns the gene CD274 and cancer.