Chloramphenicol (CAP) is commonly employed in veterinary clinics, but illegal and uncontrollable consumption can result in its potential contamination in environmental soil, and aquatic matrix, and thereby, regenerating microbial resistance, and antibiotic-resistant genes. Adsorption by efficient, and recyclable adsorbents such as mesoporous carbons (MPCs) is commonly regarded as a “green and sustainable” approach. Herein, the MPCs were facilely synthesized via the pyrolysis of the metal–organic framework Fe3O(BDC)3 with calcination temperatures (x °C) between 600 and 900 °C under nitrogen atmosphere. The characterization results pointed out mesoporous carbon matrix (MPC700) coating zero-valent iron particles with high surface area (~225 m2/g). Also, significant investigations including fabrication condition, CAP concentration, effect of pH, dosage, and ionic strength on the absorptive removal of CAP were systematically studied. The optimal conditions consisted of pH = 6, concentration 10 mg/L and dose 0.5 g/L for the highest chloramphenicol removal efficiency at nearly 100% after 4 h. Furthermore, the nonlinear kinetic and isotherm adsorption studies revealed the monolayer adsorption behavior of CAP onto MPC700 and Fe3O(BDC)3 materials via chemisorption, while the thermodynamic studies implied that the adsorption of CAP was a spontaneous process. Finally, adsorption mechanism including H-bonding, electrostatic attraction, π–π interaction, and metal–bridging interaction was proposed to elucidate how chloramphenicol molecules were adsorbed on the surface of materials. With excellent maximum adsorption capacity (96.3 mg/g), high stability, and good recyclability (4 cycles), the MPC700 nanocomposite could be utilized as a promising alternative for decontamination of chloramphenicol antibiotic from wastewater.