A simple and rapid vortex-assisted magnetic solid phase extraction (VA-MSPE) method for the separation and preconcentration of ziram (zinc dimethyldithiocarbamate), subsequent detection of the zinc in complex structure of ziram by flame atomic absorption spectrometry (AAS) has been developed. The ziram content was calculated by using stoichiometric relationship between the zinc and ziram. Magnetic carboxylated nanodiamonds (MCNDs) as solid-phase extraction adsorbent was prepared and characterized by Fourier transform infrared (FT-IR) spectra, X-ray diffraction (XRD) spectrometry and scanning electron microscopy (SEM). These magnetic carboxylated nanodiamonds carrying the ziram could be easily separated from the aqueous solution by applying an external magnetic field; no filtration or centrifugation was necessary. Some important factors influencing the extraction efficiency of ziram such as pH of sample solution, amount of adsorbent, type and volume of eluent, extraction and desorption time and sample volume were studied and optimized. The total extraction and detection time was lower than 10 min The preconcentration factor (PF), the precision (RSD, n=7), the limit of detection (LOD) and limit of quantification (LOQ) were 160, 7.0%, 5.3 mu g L-1 and 17.5 mu g L-1, respectively. The interference of various ions has been examined and the method has been applied for the determination of ziram in various waters, foodstuffs samples and synthetic mixtures. (C) 2016 Elsevier B.V. All rights reserved.