The stability of organic solar cells is a key issue to promote practical applications. Herein, we demonstrate that the device performance of organic solar cells is enhanced by an Ir/IrOx electron-transporting layer, benefiting from its suitable work function and heterogeneous distribution of surface energy in nanoscale. Notably, the champion Ir/IrOx-based devices exhibit superior stabilities under shelf storing (T80 = 56696 h), thermal aging (T70 = 13920 h), and maximum power point tracking (T80 = 1058 h), compared to the ZnO-based devices. It can be attributed to the stable morphology of photoactive layer resulting from the optimized molecular distribution of the donor and acceptor and the absence of photocatalysis in the Ir/IrOx-based devices, which helps to maintain the improved charge extraction and inhibited charge recombination in the aged devices. This work provides a reliable and efficient electron-transporting material toward stable organic solar cells.