Co 1−x Al x and (Co 0.97 Al 0.03 ) 1−x Fe x nanowire alloys and elemental Co nanowire were prepared in anodic aluminum oxide templates by the electrochemical deposition method. The influence of composition, pH, annealing temperature, wave form, and frequency on structure and magnetic properties of Co/Al/Fe nanowires was studied. The changes in the saturation magnetization, coercivity, remanent squareness, and crystal structure of nanowires with changing of the above parameters were also investigated. The roomtemperature magnetic hysteresis loops show that the coercivity and squareness of the nanowire arrays in parallel to the wire axis change with the changing of the abovementioned parameters, which can be mainly attributed to the strengthening of anisotropy. X-ray diffraction observations demonstrated that the isolated nanowires have a crystalline structure and that their phases change with the annealing temperature. Magnetic measurements, on the other hand, showed that the coercivity reached a maximum value at x = 0.03 in the Co 1−x Al x nanowires. Also, the coercivity of the Co 1−x Al x nanowires was increased with increasing annealing temperature for all the compositions.