An efficient and robust solid-phase microextraction (SPME) fiber was developed for vacuum-assisted sampling of polycyclic aromatic hydrocarbons (PAHs) in solid samples. The surface of a stainless-steel fiber was first oxidized and then coated with nanostructured <em>n</em>-octadecylsilica using the Stöber method, by hydrolysis and condensation of tetraethylorthosilicate in the presence of octadecyltrichlorosilane through a sol–gel strategy. The synthesized sorbent was characterized using scanning electron microscopy/energy dispersive X-ray analysis (SEM/EDX) and Fourier transform infrared spectroscopy (FT-IR). The developed vacuum-assisted headspace SPME (VA-HS-SPME) procedure was coupled with GC-FID and optimized for the analysis of PAHs in soil, using multivariate statistical analysis, based on Box-Behnken design. The calibration graphs for seven PAHs were linear (R<sup>2</sup> > 0.995) over 0.001-4000 ng g<sup>-1</sup>. The limits of detection were found to be 0.1-0.9 pg g<sup>-1</sup>. The relative standard deviations for six repeated analyses of 100 ng g<sup>-1</sup> of the PAHs (using a single fiber) were calculated 3.2-8.7% and fiber-to-fiber reproducibility (<i>n</i> = 6) obtained 5.2-12.34%. The nanostructured octadecylsilica was shown to be substantially robust and durable. It was utilized for ultrasensitive VA-HS-SPME/GC analysis of the PAHs in different polluted soil samples and satisfactory results were obtained, with low matrix effects.