A facile and novel electrochemically controlled ON/OFF switching of NaBH4 hydrolysis is proposed for on-demand hydrogen production. A low potential can activate the catalyst to the ON state by promoting the adsorption and hydrolysis of BH4-, while a high potential can deactivate the catalyst to the OFF state by inhibiting the chemical hydrolysis.