Homopolymers and bilayers of polyaniline (PAni) and polypyrrole (PPy) coatings have been electropolymerized on mild steel by potentiodynamic synthesis technique in aqueous oxalic acid solutions. Characterization of coatings was carried out by cyclic voltammetry. Corrosion behavior of the polymer coated mild steel electrodes was investigated using linear anodic potentiodynamic polarization, Tafel test and electrochemical impedance spectroscopy (EIS) techniques in various aqueous corrosive solutions. Corrosion test results clearly showed that PPy and PAni/PPy bilayer coatings served as a stable host matrix on mild steel against corrosion. However, bilayers of PAni and PPy did not exhibit good combined properties of each polymer, unlike expected. PPy exhibited the best corrosion resistance among all coatings. (c) 2007 Elsevier B.V. All rights reserved.