The success of proton exchange membrane water electrolysis (PEMWE) depends on active and robust electrocatalysts to facilitate oxygen evolution reaction (OER). Heteroatom-doped-RuO<sub>x</sub> has emerged as a promising electrocatalysts because heteroatoms suppress lattice oxygen participation in the OER, thereby preventing the destabilization of surface Ru and catalyst degradation. However, identifying suitable heteroatoms and achieving their atomic-scale coupling with Ru atoms are nontrivial tasks. Herein, to steer the reaction pathway away from the involvement of lattice oxygen, we integrate OER-active Ir atoms into the RuO<sub>2</sub> matrix, which maximizes the synergy between stable Ru and active Ir centers, by leveraging the changeable growth behavior of Ru/Ir atoms on lattice parameter-modulated templates. In PEMWE, the resulting (RuIr)O<sub>2</sub>/C electrocatalysts demonstrate notable current density of 4.96 A cm<sup>-2</sup> and mass activity of 19.84 A mg<sub>Ru+Ir</sub><sup>-1</sup> at 2.0 V. In situ spectroscopic analysis and computational calculations highlight the importance of the synergistic coexistence of Ru/Ir-dual-OER-active sites for mitigating Ru dissolution via the optimization of the binding energy with oxygen intermediates and stabilization of Ru sites.