A substantial demand currently exists for analytical methods affording the determination of very low concentrations of analytes in complex matrices, such as those of environmental and biological samples, as simply as possible. However, the pretreatment of complex samples, which is unavoidable prior to CE-MS analysis, is usually complicated and time-consuming. In this work, we used voltage-assisted SPE for the first time as an alternative to conventional treatments for preconcentrating and purifying analytes. To this end, we used a simple flow system coupled on-line to CE-MS equipment. The system is quite robust and provides reproducible peak areas (the precision ranges from 2.5 to 3.8%). Also, it provides increased sensitivity affording the determination of trace amounts (nanogram per liter levels) of analytes in only a few milliliters of sample. The proposed system was applied to the determination of members of two compound families (viz. tetracyclines and amines).