The exploration of highly efficient and low-cost bifunctional electrocatalyst is essential for overall water splitting, especially for industrial application under alkaline conditions. Herein, we propose a controllable structural engineering strategy of constructing heterogeneous layered electrocatalyst with wetting surface for hydrogen evolution reaction and oxygen evolution reaction. Heterogeneous layered NiFe LDH (layered double hydroxide)/CoFeP/NF (Ni foam) with superhydrophilic surfaces is successfully fabricated by successive electrodeposition, phosphorization and solvothermal method. The NiFe LDH/CoFeP/NF for hydrogen evolution achieves a low overpotential of 198 mV at 50 mA cm−2 in 1.0 M KOH. An overpotential of 269 mV is required at 50 mA cm−2 for oxygen evolution. Meanwhile, the practical utilization of NiFe LDH/CoFeP/NF as bifunctional electrocatalysts for overall water splitting yields 1.73 V at 50 mA cm−2 in the two-electrode cell. Moreover, NiFe LDH/CoFeP/NF can retain over 50 h without an obvious degradation at 10 mA cm−2. The satisfactory operating stability and high activity of NiFe LDH/CoFeP/NF in alkaline solution can be attributed to the heterogeneous layered structure and excellent hydrophilic surface. The study provides a strategy to engineering heterogeneous layered structures with wetting surface for excellent electrocatalytic activities toward overall water splitting.