This work presents a comparative study of the analytical characteristics of two methods for the analysis of carbonyl compounds in wine, both based on the derivatization with O-(2,3,4,5,6-pentafluorobenzyl)hydroxylamine hydrochloride (PFBHA). In the first method derivatives are formed in the solid phase extraction (SPE) cartridge in which the analytes have been previously isolated, while in the second method derivatives are formed in a solid phase microextraction (SPME) fibre saturated with vapors of the reagent and exposed to the sample headspace. In both cases detection has been carried out by electron impact (EI) or negative chemical ionization (NCI) mass spectrometry. The possibility of determining haloanisols simultaneously has been also considered. The method based on SPE presents, in general, better analytical properties than the SPME one. Although linearity was satisfactory for both methods (R(2)>0.99), repeatability of the SPE method (RSD<10%) was better than that obtained with SPME (9% < RSD < 20%). Detection limits obtained with EI are better for the SPE method except for trihaloanisols, while with NCI detection limits for both strategies are comparable, although the SPME strategy presents worse results for ketones and methional. Detection limits are always lower with NCI, being the improvement most notable for SPME. Recovery experiments show that in the case of SPE, uncertainties are lower than 12% in all cases, while with the SPME method the imprecision plus the existence of matrix effects make the global uncertainty to be higher than 15%.