Nickel-based electrocatalysts have been widely used to catalyze electrocatalytic water splitting. In order to obtain high-performance nickel-based electrocatalysts, using ionic liquids and deep eutectic solvents mediated their preparation has received increasing attention. Firstly, ionic liquids and deep eutectic solvents can act as media and templates for the preparation of Ni-based nanomaterials with novel structures and excellent catalytic activity. Secondly, ionic liquids and deep eutectic solvents can be employed as reactants to participate the synthesis of catalysts. Their participation not only increase the catalytic performance, but also simplify the reaction system, improve reproducibility, reduce emissions, and achieve atomic economy. On the basis of the work of our group, this review gives a detailed description of the impressive progress made concerning ionic liquids and deep eutectic solvents in the preparation of nickel-based electrocatalysts according to their roles. We also point out the challenges and opportunities in the field.