Abstract: A molecularly imprinted polymer (MIP) prepared using caffeine, as a template, was validated as a selective sorbent for solid- phase extraction (SPE), within an automated on-line sample preparation method. The polymer produced was packed in a polypropylene cartridge, which was incorporated in a flow system prior to the HPLC analytical instrumentation. The principle of sequential injection was utilised for a rapid automated and efficient SPE procedure on the MIP. Samples, buffers, washing and elution solvents were introduced to the extraction cartridge via a peristaltic pump and a multi- position valve, both controlled by appropriate software developed in-house. The method was optimised in terms of flow rates, extraction time and volume. After extraction, the final eluent from the extraction cartridge was directed to the injection loop and was subsequently analysed on HPLC. The overall set-up facilitated unattended operation, operation and improved both mixing fluidics and method development flexibility. This system may be readily built in the laboratory and can be further used as an automated platform for on-line sample preparation. (C) 2004 Elsevier B.V. All rights reserved