A Co@N-doped carbon (Co@NC) hybrid was synthesized by thermal decomposition of the metal–organic framework (MOF) ZIF-67 under N2 atmosphere. These hybrid materials exhibit outstanding catalytic activity and chemoselectivity for the conversion of a wide range of substituted nitroarenes to their corresponding anilines under relatively mild reaction conditions. The high catalytic performance is attributed to the formation of cobalt nanoparticles and to the presence of atomically dispersed Co species in close interaction with nitrogen-doped graphene. Both active species are formed in situ during the pyrolytic transformation of ZIF-67. The catalysts could be reused in consecutive runs, exhibiting a slightly lower activity ascribed to blockage of the active sites by strongly adsorbed reaction species. These results open up a pathway for the design of noble-metal-free solid catalysts for industrial applications