A simple and rapid ultrasonic assisted-ionic liquid based-liquid-liquid microextraction (UA-IL-DLLME) method has been developed for the enrichment and separation of Cu(II), Ni(II) and Pb(II). A two level factorial design was used to determine the effect of key factors such as pH, volume of ionic liquid (IL), carbon tetra chloride (CCl4) and sonication time (St). 1-Butyl-3-methylimidazolium hexafluorophosphate ([C4MIM][PE6]) and CCl4 were used as an extractant and dispersant solvent, respectively. The accuracy of the proposed method was evaluated by analysing of SRM Apple Leaves 1515 certified reference material. The limits of detections (LODs) were 0.17 mu g/L, 1149 mu g/L and 0.95 mu g/L for Cu, Ni and Pb, respectively. The enrichinent factor (EF) was 100. The method has been successfully applied for the analysis of the content of Cu, Ni and Pb in spice, vegetable and fruit samples by flame atomic absorption spectrometry (FAAS). (C) 2014 Elsevier Ltd. All rights reserved.