Nickel is one of the heavy metals which has been considered as a serious pollutant affecting the human health. Therefore, it is necessary to control its concentration in foods and drinks. Recently, ion‐imprinted polymer based electrochemical sensors have been attracted lots of attention due to their valuable selectivity and sensitivity toward target analytes. In this study, Ni(II)‐1,10‐phenanthroline complex was prepared in ethanol and added stepwise to the aqueous solution of dopamine, followed by pH adjustment for self‐polymerization of dopamine in alkaline conditions. During the polymerization process, Ni(II)‐imprinted polydopamine (Ni‐PDA) was formed due to effective interactions between polydopamine and 1,10‐phenanthroline ligands carrying Ni(II) ions. A thin film of Ni‐PDA was anchored on a glassy carbon electrode (GCE) through a simple casting procedure. After drying, the sensor was employed for the determination of Ni(II) ions by means of differential pulse voltammetry. Under optimum conditions, a linear calibration curve was obtained in the range 1–25 μM with the detection limit of 0.39 μM (S/N=3). Due to excellent selectivity to Ni(II) ions, the sensor was not suffered from the excess amount of interfering ions and used for Ni(II) determination in different water and tea samples.