A dipyrrolyl monomer was synthesized via the reaction between 4-pyrrol-1-yl phenol and decanedioyl dichloride. The electrochemical behavior of this monomer was studied. Polymerization of decanedioic acid bis-(4-pyrrol-1-yi-phenyl) ester (DAPE) was achieved by chemical and constant current electrolyses methods. Copolymerization of DAPE with thiophene was performed by constant potential electrolysis in acetonitrile-tetrabutylammonium tetrafluoroborate (TBAFB), dichloromethane-TBAFB, solvent-electrolyte couples. The chemical structures and properties were investigated by Fourier transform infrared spectroscopy, nuclear magnetic resonance spectroscopy, differential scanning calorimetry and thermal gravimetry analysis. The conductivities of the samples were measured by a four-probe technique. (C) 2004 Elsevier B.V. All rights reserved.