Template-directed electrosynthesis has been employed widely to prepare solids of defined dimension. It offers controllable routes to create nanostructures. In this study, one electrochemical method to fabricate one-dimensional metal oxide nanostructures was developed. The electrochemistry strategy was employed to manipulate the pH value within the pores of a template and the growth of continuous one-dimensional metal oxide nanostructures was controlled. The strategy was exemplified by the growth of tin oxide nanotubes. At room temperature, the reduction of nitrate within pores was employed to electrogenerate hydroxide ions and drive local precipitation of stannic oxide nanotubes. The nanotube walls displayed nearly uniform thickness along their entire length which were obtained within commercial track-etched polycarbonate membranes. One-dimensional Zn/SnO2 core-shell nanostructures were achieved by the further electrodeposition of Zn within SnO2 nanotubes.