The widespread usage of colorless pharmaceutical drugs in our daily lives leads to an accumulation of such drug residues in water bodies and potable water, resulting in a variety of adverse health effects when consumed unknowingly. So, it is of utmost importance to remove these types of contaminants from effluent. In this work, an in situ synthetic strategy was implemented for the preparation of nanocomposites consisting of Fe 3 O 4 nanoparticles decorated on metal-free graphitic carbon nitride (FCN), which were employed for the degradation of colorless tetracycline (TC) by a heterogeneous Fentonlike reaction. The presence of Fe 2+ and Fe 3+ in the nanocomposites led to active participation in the Fenton-like reaction and the formation of reactive oxygen species that were responsible for TC degradation. It was observed that a maximum of 90% of TC was degraded within 60 min in the case of the FCN-20% nanocomposite. A radical scavenging study revealed the direct involvement of superoxide radicals (O 2•− ) and singlet oxygen ( 1 O 2 ) for efficient degradation. The FCN-20% nanocomposite also showed a significant removal rate of TC in real water samples. It is worth noting that the FCN-20% catalyst exhibited exceptional magnetic properties with good reusability and insignificant changes after reuse. The formation of small molecules from the degradation of TC was identified via high-resolution mass spectroscopy (HR-MS). This catalyst will show promising applications for the removal of organic contaminants in aqueous environments.