Graphical Abstract: The conversion of metal-modified (Fe, Co) sawdust into magneto-sensitive porous composites using thermal carbonization process in an inert atmosphere was successfully achieved. The as-prepared samples were characterized using nitrogen adsorption, X-ray diffraction, scanning electron microscopy and thermal analysis methods. The obtained results show that the structural and morphological characteristics of the obtained composites depend strongly on the metal precursor’s types. All samples exhibited a good magnetic property and can be easily separated from liquids by an external magnet.