In recent years, we are witnessing a substantially growing scientific interest in MOFs and their derived materials in the field of electrocatalysis. MOFs acting as a self-sacrificing template offer various advantages for the synthesis of carbon-rich materials, metal oxides, and metal nanostructures containing graphitic carbon-based materials benefiting from the high surface area, porous structure, and abundance of metal sites and organic functionalities. Yet, despite recent advancement in the field of MOF-derived materials, there are still several significant challenges that should be overcomed, to obtain better control and understanding on the factors determining their chemical, structural and catalytic nature. In this minireview, we will discuss recently reported advances in the development of promising methods and strategies for the construction of functional MOF-derived materials and their application as highly-active electrocatalysts for two important energy-related reactions: nitrogen reduction to produce ammonia, and CO2 reduction into carbon-based fuels. Moreover, a discussion containing assessments and remarks on the possible future developments of MOF-derived materials toward efficient electrocatalysis is included.