Cytopharmaceutical based on macrophages is a breakthrough in the field of targeted drug delivery. However, it remains a challenge to localize and control drug release while retaining macrophage activity and exerting its immunotherapeutic effect. Herein, a localized light-triggered release macrophage cytopharmaceutical (USIP@M) was proposed, which could utilize the tumor targeting and immunotherapy effects of macrophages to reverse the immune suppression of tumor microenvironment (TME). Amphiphilic block copolymers with ultraviolet (UV)-responsive o-nitrobenzyl groups were synthesized and co-loaded with sorafenib (SF), IMD-0354 (IMD), and upconverting nanoparticles (UCNPs), which were then taken up by macrophages, and the targeted delivery of drugs was realized by using the tumor tropism of macrophages. UCNPs converted near-infrared light with strong penetrability and high safety into UV light, which promoted the photoresponsive depolymerization of block copolymers and production of exosomes from USIP@M, accelerated drug efflux and maintained the activity of macrophages. IMD simultaneously polarized carrier macrophages and tumor-associated macrophages to exert the antitumor effect of macrophages, enhance T cell immunity, and alleviate the immunosuppressive state of TME. Synergistically with the chemotherapeutic effect of SF, it could effectively kill tumors. In conclusion, based on the localized light-triggered release strategy, this study constructed a novel macrophage cytopharmaceutical that could localize and control drug release while retaining the activity of macrophages and exerting its immunotherapeutic effect, which could effectively treat solid tumors.