To synthesize an array of numerous ferromagnetic nanowires, iron-group metals such as Ni, Co, Fe, Ni-Fe and Co-Fe alloys were electrodeposited from aqueous solution into a nanoporous template with numerical cylindrical nanochannels . The shape of nanowires was precisely transferred from the nanochannel template and the aspect ratio reached to around 150. Magnetic hysteresis loops revealed that Ni, Co and Fe nanowires were spontaneously magnetized to the long axis direction. Coercive force of the nanowires with 6000 nm in length was increased in decreasing the pore-diameter. The coercive force of Co nanowires with 40 nm in diameter has increased up to 1084 Oe.