A functional alternating copolymer with well‐defined oligoaniline (phenyl‐capped aniline tetramer) and anthracene units in the main chains has been prepared by a novel oxidative coupling polymerization. The molecular structure of the copolymer was characterized by FT‐IR, 1H NMR, GPC, and XRD. The electrochemical activity was checked by CV and the thermal characteristics were evaluated by TGA. Moreover, the optical properties of the copolymer in DMF were studied by UV‐vis and fluorescence spectra. The copolymer exhibited a blue emission at 426 nm, and the fluorescence intensity depended on the oxidation state of the copolymer. When excited at the maximum absorption wavelength (290 nm) of the oligoaniline units, the copolymer showed the same emission band, indicating efficient energy transfer between oligoaniline and anthracene units.magnified image