Metal-free corrole-based donor–acceptor porous organic polymers (Cor-D–A-POPs) are constructed and are active for the HER/ORR. By tuning the electron donor and mixed solvent, Cor-BTDA-D–A-POP-1 shows the best activity among all constructed catalysts.