Single-component electrocatalysts generally lead to unbalanced adsorption of OH- and urea during urea oxidation reaction (UOR), thus obtaining low activity and selectivity especially when oxygen evolution reaction (OER) competes at high potentials (>1.5 V). Herein, a cross-alignment strategy of in situ vertically growing Ni(OH)2 nanosheets on 2D semiconductor g-C3N4 is reported to form a hetero-structured electrocatalyst. Various spectroscopy measurements including in situ experiments indicate the existence of enhanced internal electric field at the interfaces of vertical Ni(OH)2 and g-C3N4 nanosheets, favorable for balancing adsorption of reaction intermediates. This heterojunction electrocatalyst shows high-selectivity UOR compared to pure Ni(OH)2, even at high potentials (>1.5 V) and large current density. The computational results show the vertical heterojunction could steer the internal electric field to increase the adsorption of urea, thus efficiently avoiding poisoning of strongly adsorbed OH- on active sites. A membrane electrode assembly (MEA)-based electrolyzer with the heterojunction anode could operate at an industrial-level current density of 200 mA cm-2. This work paves an avenue for designing high-performance electrocatalysts by vertical cross-alignments of active components.