A novel, rapid, selective and efficient dispersive solid-phase microextraction approach using molecularly imprinted polymer microbeads was developed for pre-concentration of sulfamethazine and sample clean-up prior to capillary electrophoresis detection.