A molecularly imprinted polymer (MIP) based on free-radical polymerization was prepared with 1-(N,N-biscarboxymethyl)amino-3-allylglycerol and N,N-dimethylacrylamide as functional monomers, N,N-methylene diacrylamide as the cross-linker, copper ion-clonazepam as the template and 2,2-azobis(2-methylbutyronitrile) as the initiator. The imprinted polymer was characterized by Fourier transform infrared spectroscopy, elemental analysis, thermo-gravimetric analysis, and SEM. The MIP of agglomerated microparticles with multipores was used for SPE. The imprinted polymer sorbent was selective for clonazepam. The optimum pH and sorption capacity were 5 and 0.18 mg/g at 20C, respectively. The profile of the drug uptake by the sorbent reflects good accessibility of the active sites in the imprinted polymer sorbent. The MIP-SPE was the most feasible technique for the extraction of clonazepam with a high recovery from human plasma and urine samples.