In current research, biochar is widely used to remove antibiotic contamination from the environment. However, original biochar produced through direct pyrolysis has significant limitations in removing antibiotics. In this paper, response surface methodology provided the laudable choice for magnetic poplar biochar (MPBC) considering the synergistic effect of multi-factors as well as the restrictions abundance experiments during the preparation of MPBC. Amino acid ionic liquids (AAILs) are a class of ionic liquids in which amino acids act as the anionic component, combining the tunable properties of ionic liquids with the biocompatibility and functionality of amino acids. To ameliorate adsorption capacity of MPBC, tetra-ethylammonium glycinate ([TEA][Gly]) with the best affinity for tetracycline (TC) were screened from 600 AAILs based on theoretical predictions using the conductor-like screening model for real solvents (COSMO-RS) without extensive experimental. Furthermore, AAILs-modified magnetic biochar (MPBC-AAIL) was synthesized chemically for the first time. Adsorption kinetics, isotherms, and thermodynamic analyses revealed that TC adsorption by both MPBC and MPBC-AAIL is a monolayer, spontaneous, and exothermic chemical process. Moreover, MPBC-AAIL exhibited a maximum adsorption capacity of 305.9 mg·g−1. Meanwhile, MPBC-AAIL maintains superior adsorption performance for TC in different impurity solutions as well as in real water samples. The excellent reusability and selective adsorption capacity of the material demonstrate the superiority of the theoretical based design. The characterization reveals that the adsorption mechanisms include pore filling, π-π interactions, surface complexation, hydrogen bonding, and electrostatic interactions. In addition, theoretical calculations showed that ionic liquid modification altered the adsorption sites between TC and MPBC-AAIL, leading to enhanced adsorption. This comprehensive study introduces an innovative modification of biochar, providing a novel approach to designing biochar composites and promoting their application in the remediation of complex environmental pollution.