Metal and semimetal nanotube–nanowire heterojunction arrays have been achieved by sequential electrochemical-deposition inside the nanochannels of anodic aluminium oxide template with a layer of Au thin enough to leave the pores open.