The determination of nickel in food samples and well water using cold induced aggregation microextraction combined UV-Vis spectrophotometry is described. The extraction of nickel was performed in the presence of dimethylglyoxime (DMG) as the complexing agent. In this method, sodium hexafluorophosphate (NaPF6) was added to the sample solution containing small amounts of 1-hexyl-3-methylimidazolium hexafluorophosphate [Hmim][PF6] as extraction solvent. Parameters governing the extraction efficiency such as amount of ionic liquid, pH, temperature and ionic strength were optimized. The applicability of the technique was evaluated by the determination of trace nickel in different types of vegetables. Under the optimum conditions, the calibration curve was linear in the concentration range 8-200 ng mL-1 with correlation coefficient (r2) of 0.9996. The limit of detection (LOD) of 0.47 ng mL-1 and enhancement factor of 186 were obtained for nickel. The relative standard deviation (RSD) was 3.7% for 40 ng L-1 nickel (n = 10).