Mesoporous CoS/MoS2 with abundant heterogeneous interfaces was faciley synthesized from a bimetallic hybrid zeolitic imidazolate framework, which showed excellent catalytic activity and reaction kinetics in both the HER and OER in 1 M KOH. Meanwhile, as a cathode and anode in water splitting electrocatalysis, it delivers a low cell voltage of 1.61 V at 10 mA cm-2 and excellent durability.