In this study, a simple, rapid, and efficient microextraction method followed by gas chromatography–nitrogen‐phosphorous detection has been applied for the extraction, preconcentration and determination of some triazine pesticides in edible oil samples. In this method, initially the oil sample is dissolved in hexane and then a few microliter of a less soluble organic solvent in hexane (extraction solvent) is added. The mixture is rapidly aspirated into a glass syringe and then is injected into a conical centrifuge tube for predetermined cycles to form a cloudy solution. Some experimental parameters that influence the extraction efficiency, such as type and volume of the extraction solvent, extraction numbers, and centrifuging rate and time are examined and optimized. Under optimum extraction conditions, the method showed low limits of detection and quantification between 0.02 to 0.09 and 0.07 to 0.30 μg/L, respectively. Extraction recoveries were in the range of 74–96%.Practical applications:This paper describes an analytical method that can be used by oil manufacturers for quality control purposes. A disperser solventless microextraction method and GC‐NPD were used to monitor triazine pesticides in different edible oils and propazine was found in corn oil.Triazine pesticides often contaminate the seeds and hence will be transferred into the oils during the extraction process. For trace determination of triazines in edible oil, 1 mL edible oil was diluted with 4 mL n‐hexane in conical tube and 40 µL DMSO was added. The mixture was rapidly aspirated into a 10‐mL glass syringe and then injected into the tube (4 times) to form a cloudy solution. The method showed low limits of detection and quantification between 0.02 to 0.09 and 0.07 to 0.30 µg/L, respectively. Extraction recoveries were in the range of 74–96%.