The design and construction of stable and inexpensive bifunctional catalysts for the hydrogen evolution reaction (HER) and the oxygen evolution reaction (OER) present a challenge in electrocatalytic water splitting. In this study, we utilized zeolitic imidazolate frameworks-8 (ZIF-8) as the precursor to fabricate ZnS-ZIF-8 via facile sulfidation processes. The ZnS-ZIF-8 nanostructures were anchored on the surface of the nickel nanowire (denoted as Ni NWs@ ZnS-ZIF-8 nanocomposite) and their catalytic activity for HER, OER, and overall water splitting were studied. The prepared Ni NWs@ ZnS-ZIF-8 revealed a low overpotentials value of 90 and 260 mV at 10 mA cm−2 for HER and OER in 1.0 M KOH solution, respectively. The alkaline electrolyzer assembled by Ni NWs@ ZnS-ZIF-8 provides a low cell voltage of 1.61 V at 10 mA cm−2 current density to boost the overall water splitting and robust stability for 15 h. The superior electrocatalytic activity of Ni NWs@ ZnS-ZIF-8 is owing to the facile and effective electron transport of Ni NWs, accessible active sites of ZnS-ZIF-8, and as well as the synergistic effect of the nanocomposite structures. This finding presents a viable methodology for synthesizing a proficient noble-metal-free catalyst for energy conversion and storage.