Resveratrol is a stilbene produced by plants, e.g. grapes, in response to stress. Resveratrol is extracted during winemaking, being present in wine as 3-O-beta-D-gluocoside (piceid) and as aglycone. Both, resveratrol and piceid exist in two isomeric forms, trans and cis. Resveratrol and piceid are weakly fluorescent in both of their isomeric forms, but highly fluorescent compounds are obtained when the original molecules are UV-irradiated. A chromatographic method with post-column on-line photoderivatization, has been developed for the analysis of resveratrol and piceid isomers. The four analytes are firstly separated in a C18 column (150 mm x 3.9 mm i.d., 4 mu m) by isocratic elution, at 15 degrees C, with a mobile phase consisting of a mixture acetonitrile:o-phosphoric acid (0.04%), 18:82, v:v, at 0.9 mL min(-1), and secondly they are on-line phototransformed into their fluorescent photoproducts in a 3 m PTFE tube coiled around a 4 W xenon lamp. The elution conditions have been chemometrically optimized by means of the experimental design and the response surface methodology. Linearity ranges from 0.10 to 1.50 and from 0.10 to 1.00 mu g mL(-1) and LOD around 0.001 and 0.01 mu g mL(-1) have been calculated for trans- and cis-isomers, respectively. The method has been satisfactorily applied to red and white wine samples by standard addition and external calibration, respectively. (c) 2008 Elsevier Ltd. All rights reserved.