This study aims to understand how surfactants affect the mobility of tetracycline (TC), an antibiotic, through different aquifer media. Two anionic and cationic surfactants, sodium dodecylbenzene sulfonate (SDBS) and cetyltrimethyl ammonium bromide (CTAB), were used to study their influence on TC mobility through clean sand and humic acid (HA)-coated sand. HA coating inhibits TC mobility due to its strong interaction with TC. Both surfactants promoted TC mobility at pH 7.0 due to competitive deposition, steric effect, and increased hydrophilicity of TC. CTAB had a more substantial effect than SDBS, related to the surfactants' molecular properties. Each surfactant's promotion effects were greater in HA-coated sand than in quartz sand due to differences in surfactant retention. CTAB inhibited TC transport at pH 9.0 due to its significant hydrophobicity effect. Furthermore, in the presence of Ca2+, SDBS enhanced TC transport by forming deposited SDBS-Ca2+-TC complexes. On the other hand, CTAB increased TC mobility due to its inhibition of cation bridging between TC and porous media. The findings highlight surfactants' crucial role in influencing the environmental behaviors of tetracycline antibiotics in varied aquifers.