Mycotoxins are low-molecular-weight natural products with great structural diversity produced as secondary metabolites by fungi. One of the principal toxic fungal metabolites is patulin, produced by over 30 genera of mold including species as Penicillium expansum or Penicillium griseofulvum, and normally related to vegetable-based products and fruit, mainly apple. These molds grow easily in damaged fruit or in derived products as juices if storage conditions are deficient. Some of the most serious effects of patulin ingestion are agitation, convulsions, edema, ulceration intestinal, inflammation and vomiting. Thus, European Regulation 1881/2006 established a maximum content of 10 ppb in infant fruit juices, 50 ppb for fruit juices in adults and 25 ppb in fruit-derived products.Nowadays, the official analytical method adopted by AOAC International is HPLC with UV detection, using clean-up with ethyl acetate and sodium carbonate. However, the diverse drawbacks of this method (poor stability of patulin under alkaline extraction, poor resolution between patulin and co-extracted hydroxymethylfurfural) have originated interest in alternative options, such as LC methods coupled to mass spectrometry. In the last years, purification with molecularly imprinted polymers started to be used and they are becoming promising materials in analytical chemistry. In the present work, a selective magnetic molecularly imprinted stir-bar has been developed for the rapid isolation of patulin. A structural analogue, 2-oxindole, was used as dummy template. The polymer was grafted to the silanized glass surface of the stir-bar.