A novel monomer called 1,1′‐ferrocenediacyl anilide (FcA) was synthesized from ferrocene (Fc). Copolymerization was carried out between FcA and aniline (ANI) by an electrochemical method. The novel monomer and copolymer were characterized with 1H‐NMR, Fourier transform infrared (FTIR) spectroscopy, and ultraviolet–visible (UV–vis) spectroscopy. The hydrogen protons of the benzene ring were moved to a low field in 1H‐NMR, and the absorption band of NQN (where Q is the quinoid ring) appeared in the FTIR spectrum of the polymer. The peaks of both Fc and the π–π* electronic transition in the UV–vis spectra were redshifted. The results indicate that the copolymer mainly existed as a highly delocalized conjugated system. X‐ray diffraction analysis established further proof, and the process of electrochemical deposition was observed by scanning electron microscopy. The optimal synthesis conditions of the copolymer were determined through changes in the monomer molar ratios and the scan rate. The ideal performance of the copolymer was gained when the monomer molar ratio between FcA and ANI was 1:4 and the scan rate was 50 mV/s. Furthermore, the electrochemical performances were tested in detail by cyclic voltammetry, galvanostatic charge–discharge testing, and electrochemical impedance spectroscopy. The results show that the specific capacitance of poly(1,1′‐ferrocenediacyl anilide‐co‐aniline) increased up to 433.1 F/g at 0.5 A/g, the diffusion resistance was very small, and the durability was good enough. © 2015 Wiley Periodicals, Inc. J. Appl. Polym. Sci. 2016, 133, 43217.