A novel photosensitizer (PS) was developed by anchoring an Ir(iii) complex on a macroscopic polymer substrate to prevent ligand dissociation of the PS, resulting in a long duration of over 730 h in photocatalytic hydrogen evolution. This study paves the way for designing new Ir(iii) PSs and exploring the inactivation mechanism of PSs.