Abstract Co wire array with 50 nm intervals was formed by electrodeposition in porous alumina template that was formed on Si substrate. Coercive field of Co wire array under perpendicular magnetic field significantly increased when aspect ratio increased from 1.5 to 2.5. This behavior was well explained by the micromagnetic simulation when magnetic anisotropy axis was assumed to be parallel to the substrate.