Molecularly imprinted polymers (MIPs) synthesized from chain functional monomers are restricted by spatial extension and exhibit relatively poor affinity and selectivity; this results in unsatisfactory applications in complex media. In this study, we prepared unique spherical carbonized polymer dots (CPDs-OH) via the incomplete carbonization of 1-allyl-3-vinylimidazolium bromide and ethylene glycol, and used it as a functional monomer to prepare a newly imprinted polymer (CPDs-OH@MIP) in aqueous media. As a result, the CPDs-OH@MIP exhibited effective recognition of oxytetracycline with an impressive imprinting factor of 6.17, surpassing MIPs prepared with chain functional monomers (1–3). Furthermore, CPDs-OH@MIP exhibited excellent adsorption for oxytetracycline (278.52 mg g−1) and achieved equilibrium in 30 min, with stronger resistance to coexisting cations, anions, and humic acid. Compared to other MIPs and adsorbents, the recognition performance of CPDs-OH@MIP improved 2–4 times; this polymer could remove >92.1% of oxytetracycline in real water samples with at least 10 cycle times. CPDs-OH@MIP prepared using the special spherical monomer forms a denser structure with fewer nonimprinted regions and precisely imprinted sites, remarkably improving the affinity and selectivity of MIPs combined via hydrogen bonds and electrostatic and π-π interactions. Our proposed strategy provides an effective basis for breakthroughs in the practical application of MIPs.