The electrochemical copolymerization of pyrrole (Py) and 1-dimethylaminopyrrole (DMAPy) was successfully carried out in the presence of three different types of surfactant (anionic, cationic and non-ionic) by cyclic voltammetric method. The influence of anionic (sodium dodecylbenzenesulfonate) (NaDBS), cationic (tetradecyltrimethylammonium bromide) and non-ionic poly(ethylene oxide)(10) iso-octyl-phenyl ether (Tween 20) surfactants on the properties of copolymer was investigated. The copolymer has been characterized by the cyclic voltammetry, fourier transform infrared spectroscopy, UV-Vis spectroscopy, scanning electron microscopy, thermogravimetric analysis and conductivity measurements. The results confirmed that the electrochemical reaction of Py and DMAPy in the presence of surfactants generated copolymers. The type of surfactant had an effect on the structural, morphological, thermal and conductivity properties of the copolymers in different ways. According to the initial decomposition temperatures, the thermal stability of the copolymers improved in the presence of surfactants. Py/DMAPy copolymer synthesized in the presence of anionic surfactant NaDBS had the highest initial decomposition temperature (320 degrees C). The copolymer prepared using various surfactants exhibited different morphologies. The electrical conductivity of pyrrole/1-dimethylaminopyrrole copolymer (8.39 x 10(-3) Scm(-1)) was improved using surfactants, especially with anionic surfactant (3.75 x 10(-2) Scm(-1)) due to the incorporation of NaDBS into the PPy polymer chain that resulted in a more compact morphology and reduced size of PPy globules.