FeCo alloy nanowires have potential applications in data storage, magnetic sensors and spintronic devices. In this paper, FeCo alloy nanowires with varying diameters were fabricated within an anodic aluminum oxide (AAO) template using electrodeposition method at a constant potential. Characterization of the morphology and structure revealed that the polycrystalline body-center-cubic(bcc) FeCo alloy nanowires were obtained. The influence of diameter of FeCo alloy nanowires on magnetic interaction, domain state and magnetic mechanism was investigated through a first-order reversal curve (FORC) analysis. The findings showed that with an increase in the diameter of FeCo alloy nanowires from 20 nm to 60 nm and 100 nm, the interaction force between the FeCo alloy nanowires increased, the domain state of FeCo alloy nanowires changed from Single Domain (SD) to Multi-Domain (MD), the magnetic reversal mode changed from coherent reversal mode to curling reversal mode.