This work presents template synthesis of ordered arrays of nickel, cobalt and nickel hexacyanoferrates (NiHCF) with several distinct morphologies such as dots, rods, and tubes. Anodic alumina oxide (AAO) with preferred pore diameters and thickness was fabricated by electrochemical anodization of aluminum used as template. Ni and Co nanostructures inside AAO template were prepared by electrodeposition using galvanostatic method. NiHCF nanostructures were prepared by electrochemical oxidation of Ni using cyclic voltametry (CV) in the presence of hexacyanoferrate ions. The morphology, chemical, and functional properties of prepared nanostructures were investigated by scanning electron microscopy (SEM), energy-dispersive X-ray microscopy (EDAX), and electrochemical methods. The electrocatalytic properties of NiHCF nanorod arrays electrode and their potential for the detection of hydrogen peroxide and biosensing application were demonstrated.