A Ni(II)-dimethylglyoxime ion-imprinted polymer {Ni(II)-DMG IIP} was optimised by the uniform design experimental method and used to adsorb Ni(II) ions from water, soil and mine tailing samples. This aimed to improve the performance of this ion-imprinted polymer in trapping Ni(II) ions from soil and mine tailing samples which are characterised by complex matrices. The optimisation was carried out by varying the molar ratios of monomer to crosslinker to porogen and template to ligands, as well as by keeping these parameters constant and varying the concentrations of initiator, 2,2'-azobisisobutyronitrile (AIBN). The optimal molar ratios of crosslinker to monomer, monomer to template and nickel(II) sulphate hexahydrate (NiSO 4 .6H 2 O) to 4-vinylpyridine to dimethylglyoxime were found to be 3.3:1.0, 0.6:1.0 and 1.0:0.6:3.6, respectively, with 30 mg and 8 mℓ as the optimum amounts of initiator and porogen, respectively. Through this optimisation, extraction efficiency for Ni(II) increased from 98 to 100% in aqueous samples. The extraction efficiencies for the soil and mine tailing samples were 98-99% and 99%, respectively, with an enrichment factor of 2 in mine tailing samples and ranging from 27 to 40 in soil samples. The method displayed good accuracy, as it was validated with certified reference materials (SEP-3 and BCR-142R) and the values obtained were close to the certified ones. The improved quality of results obtained from water, soil and mine tailing samples showed that the uniform design experimental method is effective and efficient for optimising imprinted polymers using a lower number of experiments performed.