In this study, it was aimed to overcome disadvantages of polypyrrole films like water up taking and resulting low stability, via copolymerization of pyrrole and N-methyl pyrrole and preparing their bilayer films. Poly(N-methyl pyrrole) coating was synthesized electrochemically on mild steel and its corrosion performance has been investigated in 3.5% NaCl aqueous solution, by using electrochemical impedance spectroscopy (EIS), anodic polarization curves and open circuit potential-time relation. This coating was found to have lower protection efficiency than single poly(pyrrole) coating. This case was related to weak adsorption behavior of poly(N-methyl pyrrole) film on mild steel. On the other hand, when this film was applied as a top coat on polypyrrole coated sample; the obtained coating system hindered the attack of corrosive environment and protected mild steel efficiently. The underlying poly(pyrrole) film was strongly adherent and the top poly(N-methyl pyrrole) coat improved barrier property by decreasing permeability and water mobility. Poly(pyrrole-co-N-methyl pyrrole) has also been synthesized from aqueous oxalic acid solutions containing various ratios of these two monomers. The copolymerization rate and protective behavior of copolymer were strongly affected by the monomer concentration ratio. The ratio of 1:3 (N-methyl pyrrole/pyrrole) gave the most protective copolymer coating and it exhibited better barrier property than single PPy. This was related to introduction of -CH3 group which creates hydrophobic effect, when compared to -NH group of pyrrole unit. However, the solution with the ratio of 1:1 yielded a coating which had lower protection efficiency than single poly(pyrrole) film. This behavior was attributed to significant decrease in adsorption strength as the ratio of n-methyl pyrrole increased. (C) 2007 Elsevier B.V. All rights reserved.