Nanostructured Ni films were synthesized from two distinct baths and were assessed as electrocatalysts for hydrogen evolution reaction (HER) and oxygen evolution reaction (OER) in 1 M KOH. Herein, Ni was electrodeposited from two separate solvents, the aqueous acetate buffer and ethaline solvent as a kind of deep eutectic solvents (DESs), and both the deposited films were investigated as electrocatalysts for HER and OER. The electrodeposition parameters such as pH and deposition potential were studied. The electrodeposition process was performed using chronoamperometry technique and Ni deposits were characterized by scanning electron microscopy (SEM), transmission electron microscopy (TEM), energy-dispersive X-ray spectroscopy (EDX), and X-ray diffraction (XRD). Fabricated Ni@PGE deposit from ethaline only requires an overpotential of − 154 mV and 350 mV to achieve a current density of 10 mA cm−2 for HER and OER, respectively. While, Ni@PGE from acetate requires an overpotential of − 164 mV and 400 mV to produce the current density of 10 mA cm−2 for HER and OER.Graphical abstract