Titanium dioxide (TiO2) nanocomposites have been extensively employed in many fundamental optoelectronic and photocatalytic applications due to their outstanding optical, electronic and chemical properties. In the present work, we introduce a simple layer-by-layer approach to design a magnetic TiO2 nanocomposite that could be easily recycled using an external magnetic field without affecting its