The invention discloses a preparation method for a NiCoP nanowire electro-catalytic electrode. A NiCo salt nanowire is adopted as a phosphorization precursor, hypophosphite is used as a phosphorus source, and the phosphorization process of the NiCo salt nanowire is achieved by controlling the annealing technique in a stored program control tube type annealing furnace. The diameter of the NiCoP nanowire obtained through the method is 140 nanometers, the length of the obtained NiCoP nanowire is about 3.2 micrometers, and the surface of the nanowire is roughly and evenly grown on a 3D netty foamed nickel substrate, so that the specific surface area and the electric conductivity of an electro-catalytic material are effectively improved, and the electro-catalytic hydrogen evolution performance and stability of an electrode material are improved. The electro-catalytic hydrogen production performance of the electrode is tested in 1M of a KOH electrolyte, the overpotential under the electric current density of 10 mA/cm<2> is 109 mV, and the Tafel slope is 88.5 mV/dec, so that the material has the superior electro-catalytic hydrogen production performance compared with common electro-catalytic hydrogen evolution materials. Meanwhile, the preparation technique is simple, the equipment requirement is conventional, reactive materials are abundant, price is low, and the electrode is environmentally friendly.