Electrochemical nitrate reduction to ammonia (NRA) can realize the green synthesis of ammonia (NH3) at ambient conditions, and also remove nitrate contamination in water. However, the current catalysts for NRA still face relatively low NH3 yield rate and poor stability. We present here a core–shell heterostructure comprising cobalt oxide anchored on copper oxide nanowire arrays (CuO NWAs@Co3O4) for efficient NRA. The CuO NWAs@Co3O4 demonstrates significantly enhanced NRA performance in alkaline media in comparison with plain CuO NWAs and Co3O4 flocs. Especially, at −0.23 V vs. RHE, NH3 yield rate of the CuO NWAs@Co3O4 reaches 1.915 mmol h−1 cm−2, much higher than those of CuO NWAs (1.472 mmol h−1 cm−2), Co3O4 flocs (1.222 mmol h−1 cm−2) and recent reported Cu-based catalysts. It is proposed that the synergetic effects of the heterostructure combing atom hydrogen adsorption and nitrate reduction lead to the enhanced NRA performance.