Molecularly well-defined homogeneous catalysts are known for a wide variety of chemical transformations. The effect of small changes in molecular structure can be studied in detail and used to optimize many processes. However, many industrial processes require heterogeneous catalysts because of their stability, ease of separation and recyclability, but these are more difficult to control on a molecular level. Here, we describe the conversion of homogeneous cobalt complexes into heterogeneous cobalt oxide catalysts via immobilization and pyrolysis on activated carbon. The catalysts thus produced are useful for the industrially important reduction of nitroarenes to anilines. The ligand indirectly controls the selectivity and activity of the recyclable catalyst and catalyst optimization can be performed at the level of the solution-phase precursor before conversion into the active heterogeneous catalyst.