Cancer immunotherapy is limited by the immune escape of tumor cells and adverse effects. Photo-immunotherapy, the combination of immunotherapy and phototherapy (such as photodynamic therapy (PDT) and photothermal therapy (PTT)), can improve the effectiveness of immunotherapy in cancer treatment. Here, we first explored mesoporous hexagonal core–shell zinc porphyrin-silica nanoparticles (MPSNs), which are composed of a zinc porphyrin core and a mesoporous silica shell, and exhibit high laser-triggered photodynamic and photothermal activity, as well as outstanding drug loading capacity. In other words, MPSNs can be used not only as excellent photosensitizers for photo-immunotherapy, but also as an ideal drug carrier to achieve more efficient synergy. After loading with R837 (imiquimod, a toll-like receptor-7 agonist), MPSNs@R837 will elicit high-efficiency immunogenic cell death via PDT and PTT, and promote dendritic cell maturation after the PH-responsive release of R837, thereby, inducing tumor-specific immune responses. When combined with a programmed death ligand-1 checkpoint blockade, the photo-immunotherapy system markedly restrains primary tumors and metastatic tumors with negligible systemic toxicity. Therefore, the therapeutic strategy of integrating PTT, PDT and checkpoint blockade, shows great potential for suppressing cancer metastasis.Graphical