Overcoming the resistance to apoptosis and immunosuppression of tumor cells is a significant challenge in augmenting the effect of cancer immunotherapy. Pyroptosis, a lytic programmed cell-death pathway unlike apoptosis, is considered a type of immunogenic cell death (ICD) that can intensify the ICD process in tumor cells, releasing dramatically increased tumor-associated antigens and damage-associated molecular patterns to promote cancer immunotherapy. Herein, a tumor cell membrane-targeted aggregation-induced emission photosensitive dimer is found to be able to achieve highly efficient ICD under the synergistic effect of photodynamic and photothermal therapy. The photosensitive dimer can efficiently produce type-I reactive oxygen species (ROS) by photodynamic therapy in hypoxic tumor tissue, leading to pyroptosis by direct cell membrane damage, which is further reinforced by its photothermal effect. Furthermore, the enhanced ICD effect based on the dimer can completely eliminate the primary tumor on the seventh day of treatment and can also boost systemic antitumor immunity by generating immune memory, which is demonstrated by the superior antitumor therapeutic effects on both solid tumors and metastatic tumors when healing 4T1 tumor mouse models with poor immunogenicity.