A novel method based on microextraction in packed syringe (MEPS) as sample preparation technique coupled off-line with gas chromatography-mass spectrometry was developed using electrospun nanofibers as sorbent. For electrospinning of polypyrrole/polyamide-based nanofiber, a homogeneous solution containing nylon 6, ferric chloride and pyrrole monomer was prepared and then was drawn into a 2.5-mL syringe. By applying a voltage of 13 kV between the needle of the syringe and an aluminum-foil collector, the nanofibers could be formed on the surface of the collector. The prepared sheet was used as the sorbent for MEPS to analyze some selected organophosphorous pesticides. Important parameters influencing the extraction and desorption processes were optimized. Limits of detection were in the range of 0.04-0.1 ng/mL using time scheduled selected ion monitoring mode, and the relative standard deviation (RSD %) values with four replicates were in the range of 3.7-11.8% at a concentration level of 5 ng/mL. The linearity of the method was in the range of 0.5-500 ng/mL for diazinon and fenithrothion and 0.5-200 ng/mL for the rest of the analytes. The developed method was successfully applied to Zayandeh-roud river water samples, whereas the matrix factors were in the range of 0.87-0.98.