Currently, there is a tenacious need to find new ways to purify water by eliminating bacterial biofilms, textile dyes, and toxic water pollutants. These contaminants pose significant risks to both human health and the environment. To address this issue, in this study, we have developed an eco-friendly approach that involves synthesizing Cobalt-doped Cerium Iron Oxide (CCIO) nanocomposite (NC) using an aqueous extract of Gossypium arboreum L. stalks. The resulting nanoparticles can be used to effectively purify water and tackle the challenges associated with these harmful pollutants. Nanoparticles excel in water pollutant removal by providing high surface area for efficient adsorption, versatile design for simultaneous removal of multiple contaminants, catalytic properties for organic pollutant degradation, and magnetic features for easy separation, offering cost-effective and sustainable water treatment solutions. CCIO nanocomposite has been synthesized by green co-precipitation method due to biomolecules and co-enzymes present in the aqueous extract of Gossypium arboreum L. stalk; a single-step procedure completed in 5 h reaction time. Further, the synthesis of nanocomposites was confirmed by various characterization techniques such as Fourier-transform infrared (FT-IR) spectroscopy, X-ray diffraction (XRD), Field emission scanning electron microscopy (FE-SEM), Transmission electron microscopy (TEM), Thermogravimetric analysis (TGA), Dynamic light scattering (DLS), and Energy Dispersive X-Ray (EDX). CCIO NCs were discovered to have a spherical shape and an average size of 40 nm. Based on DLS zeta potential analysis, CCIO NCs were found to be anionic. Also, CCIO NCs showed significant antimicrobial and antioxidant activity. Overall, considering the physical and chemical properties, the application of CCIO NCs in the adsorption of various dyes (~91 %) and water pollutants (chromium = ~ 60 %) has been considered since they exhibit great adsorption capacity owing to their microporous structure which can be a step forward in water purification.