A magnetic carbon composite, Fe3O4/C composite, was fabricated by one-step hydrothermal synthesis, modified by heat treatment under an inert atmosphere(N2), and then used as an adsorbent for ciprofloxacin(CIP) removal. Conditions for the modification were optimized according to the rate of CIP removal. The adsorbent was characterized by Fourier transform infrared spectroscopy, X-ray diffraction measurements, vibrating-sample magnetometry,scanning electron microscopy, transmission electron microscopy, and N2adsorption/desorption isotherm measurements. The results indicate that the modified adsorbent has substantial magnetism and has a large specific area, which favor CIP adsorption. The effects of solution p H, adsorbent dose, contact time, initial CIP concentration, ion strength, humic acid and solution temperature on CIP removal were also studied. Our results show that all of the above factors influence CIP removal. The Langmuir adsorption isotherm fits the adsorption process well, with the pseudo second-order model describing the adsorption kinetics accurately. The thermodynamic parameters indicate that adsorption is mainly physical adsorption. Recycling experiments revealed that the behavior of adsorbent is maintained after recycling for five times. Overall, the modified magnetic carbon composite is an efficient adsorbent for wastewater treatment.