Induction of immunogenic cell death (ICD) in tumor combined with immune checkpoint blockade (ICB) therapy is widely developed to improve the efficacy of cancer immunotherapy. However, the current ICD induced based on apoptosis, i.e., immunogenic apoptosis, is often restricted in immunogenicity owing to the inflammatory quenching that occurs early in apoptosis. Recently, pyroptosis is demonstrated to be a more efficient ICD form, i.e., immunogenic pyroptosis. The cell contents released during pyroptosis can powerfully activate tumor immunogenicity. Herein, first, it is demonstrated that lower doses of epigenetic drug decitabine can increase GSDME expression in prostate cancer (PCa) RM-1 cells and successfully induce an apoptosis-pyroptosis transition after photodynamic therapy (PDT). Subsequently, a microenvironment dual-responsive nano-drug equipped with PD-L1 blocking peptide (TSD@LSN-D) is developed for self-synergistic cancer immunotherapy. The poorly immunogenic RM-1 PCa model confirm that the powerful antitumor immune response evoked by TSD@LSN-D not only can effectively inhibit the primary tumor but also form a long-term immune memory to prevent PCa recurrence and metastasis. To the best of authors' knowledge, this work presents the first concept that promotes the apoptosis-pyroptosis transition after tumor PDT through epigenetic modulation. Furthermore, the powerful combination of immunogenic pyroptosis with ICB opens a new platform for PCa immunotherapy.