In this study, BC-CoFe2O4-CS magnetic composite was successfully prepared from waste cardboard and investigated as an efficient adsorbent for the removal of amaranth and methyl orange in aqueous solution. First, the fibers obtained from the cardboard waste were carbonized by a hydrothermal process to produce biochar. Subsequently, the final magnetic composites were synthesized by in situ growth and Schiff base crosslinking reactions. The composites were characterized by zeta potential, Brunauer-Emmett-Teller measurements, Fourier transform Infrared spectroscopy, Scanning electron microscopy, Energy dispersive spectrometer,X-ray Diffraction, Thermogravimetry analysis and Vibrating sample magnetometer. The effects of adsorbent dosage and initial solution pH on dye removal efficiency were studied. The results showed that the maximum adsorption capacity of amaranth could reach 500.6 mg center dot g- 1 at pH = 2, the adsorbent dosage of 0.5 mg center dot ml-1, and methyl orange could reach 644.0 mg center dot g- 1 at pH = 4, the adsorbent dosage of 0.5 mg center dot ml-1. The adsorption process followed the pseudo-second order kinetic models and Langmuir isotherm. BC-CoFe2O4-CS was easily separated from the aqueous solution due to the loading of CoFe2O4 magnetic nanoparticles. Besides, the BC-CoFe2O4-CS could be further used after the adsorption experiments with or without desorption and still showed good adsorption performance in the actual water samples. Therefore, it is expected that the composite material prepared from waste cartons can be used for the treatment of dye-containing wastewater due to its low cost, high efficiency, and simple application.