Zeolite imidazolate frameworks (ZIFs), as a typical class of metal-organic frameworks (MOFs), have attracted a great deal of attention in the field of energy storage and conversation due to their chemical structure stability, facile synthesis and environmental friendliness. Among of ZIFs family, the zinc-based imidazolate framework (ZIF-8) and cobalt-based imidazolate framework (ZIF-67) have considered as promising ZIFs materials, which attributed to their tunable porosity, stable structure, and desirable electrical conductivity. To date, various ZIF-8 and ZIF67 derived materials, including carbon materials, metal oxides, sulfides, selenides, carbides and phosphides, have been successfully synthesized using ZIFs as templates and evaluated as promising electrode materials for secondary batteries and electrocatalysis. This review provides an effective guide for the comprehension of the performance optimization and application prospects of ZIFs derivatives, specifically focusing on the optimization of structure and their application in secondary batteries and electrocatalysis. In detail, we present recent advances in the improvement of electrochemical performance of ZIF-8, ZIF-67 and ZIF-8@ZIF-67 derived nanomaterials and their hybrids, including carbon materials, metal oxides, carbides, oxides, sulfides, selenides, and phosphides for high-performance secondary batteries and electrocatalysis.