Photodynamic immunotherapy is promising for cancer therapy, but its efficacy is often hampered by hypoxia and immunosuppressive conditions within the tumor microenvironment. Here, the authors report the design guidelines for efficient Type-I semiconducting polymer photosensitizers and the development of a hypoxia-tolerant polymeric photosensitizer prodrug for cancer photo-immunotherapy.