International audienceMolecular imprinting is an efficient strategy to make the detection of compounds more specific and more selective. This targeted analytical strategy using molecularly imprinted polymer (MIP) synthesis needs to obtain the optimized conditions. A selective molecularly imprinted polymer was prepared for caffeic acid (CA) detection after varying the following synthesis parameters: functional monomer type (N-phenylacrylamide, N-PAA or methacrylic acid, MAA), solvent type (acetonitrile/methanol or acetonitrile/toluene), and the polymerization method (UV or thermal initiation). The optimal polymer was obtained using MAA as a functional monomer, acetonitrile/methanol as solvent, and UV polymerization. Morphological characterizations were done for the optimal CA-MIP using mid-infrared spectroscopy, scanning electron microscopy, and nitrogen adsorption. The optimal polymer showed good specificity and selectivity in the presence of interferents (antioxidants having a chemical structure close to CA) in a hydroalcoholic solution. The electrochemical detection of CA was performed by cyclic voltammetry (CV) after the interaction between CA and the optimal MIP in a wine sample. The linear range of the developed method was between 0 and 1.11 mM, the limit of detection (LOD) was 0.13 mM, and the limit of quantification (LOQ) was 0.32 mM. HPLC-UV was used to validate the newly developed method. Recovery values were between 104% and 111%