A headspace solid phase microextraction method (HS-SPME) for simultaneous determination of five pesticides belonging to triazine and organophosphorus pesticide groups in soil samples was developed. Microextraction conditions, such as temperature, extraction time and sodium chloride (NaCl) content were investigated and optimized using 100 microm polydimethyl-siloxane (PDMS) fiber. Detection and quantification were done by gas chromatography-mass spectrometry (GC-MS). Relative standard deviation (RSD) and recovery values for multiple analysis of soil samples fortified at 30 microg kg(- 1) of each pesticide were below 13 % and higher than 70 %, respectively. Limits of detection (LOD) for all the compounds studied were less than 3.2 microg kg(- 1). The proposed method was applied in the analysis of some agricultural soil samples.