Transition-metal phosphides (TMP), particularly cobalt phosphide (CoP) has drawn considerable attention in heterogeneous catalysis during the past few years due to their robust stability, corrosion resistance and low cost. In this work, a series of hierarchically porous carbon supported non-precious CoP NPs by using Co–MOF-74 as self-sacrificed templates have been synthesized through a stepwise calcinations and phosphorization method. The catalytic performance of the resulted CoP@HPC−T composites toward the hydrolytic dehydrogenation of ammonia-borane (AB) has been systematically investigated, of which, the resultant CoP@HPC−T calcinated at 500 °C showed the best catalytic performance with a TOF value of 27.7 min−1, and relatively low activation energy (42.55 kJ/mol) even comparable to those reported noble metal catalysts. Furthermore the robust structure of CoP@HPC−T compared to the Co@HPC−T counterpart in the recycle tests, demonstrating their great potential for practical application.