A rapid multiresidue gas chromatographic method for determining 17 fungicides in grapes, must and wine, widely used on vineyards, is described. A simple on-line microextraction method for isolation of fungicides was used. Nitrogen-phosphorus and electron-capture detection were used for the identification and quantitation of pesticides. For confirmation, mass spectrometic detection was used. Because of the high selectivity of both detection methods, no clean-up was necessary. The regression coefficients relating to linearity were at least 0.994. Recoveries from spiked grapes, must and wine samples ranged from 78 to 107% and relative standard deviations were not higher than 14%. Individual detection limits were in the range 0.02-0.1 ng. Limits of quantification varied from 0.01 to 0.05 mg/kg, smaller in all cases than the maximum residue limits set down by the legislations of Spain, France and Italy, the main wine-producing countries of the European Union. Only for fludioxonil and hexaconazole do the limits of quantification coincide with the maximum residue limits (0.05 mg/kg) established by the Spanish legislation.