A new method for simultaneous determination of four phthalate esters ( PAEs) in commercial fat-containing foods was developed by the combination of a packed nanofibers column based on solid-phase extraction with gas chromatography-flame ionization detector ( GC-FID ). Conditions for obtaining optimum extraction efficiency such as extraction solvents, morphologies of adsorbent, ion strength and pH were investigated and optimized in detail. Under the optimized conditions, the limits of detection (LODs) found for dibutyl phthalate (DBP) , butyl benzyl phthalate (BBP), diethyl hexyl phthalate (DEHP) and di-n-octyl phthalate (DNOP) were 50, 25, 50 and 25 ng/g, respectively. Good linearity of four PAEs was achieved in the range of 50 to 4 000 ng/g. The proposed method was applied for analyzing different kinds of fat-containing samples. PAEs in commercial fat-containing samples can be highly extracted by a packed solid-phase extraction column of 5 mg polystyrene ( PS) nanofibers. The satisfactory average recoveries were obtained in the range of 96. 7% to 102. 3% , and the relative standard deviations (RSDs) below 5% were achieved. The proposed method reduces the organic solvent consumption, the complex and tedious procedures for sample pretreatment, and achieves high sensitivity and reproducibility for the investigated PAEs.