In this study natural iron sulfide (FeS2) surface was coated by films of poly(N-vinylcarbazole) (PNVCz), poly(N-vinylcarbazole methylethylketoneformaldehyde resin) (P[NVCz-MEKF-R]), carbazole methylethylketone formaldehyde resin (Cz-MEKFR) and poly(carbazole methyl ethylketone formaldehyde resin) (P[Cz-MEKFR]). The corrosion, photocorrosion, and photoactivity characteristics of coated electrodes were investigated in potassium iodide/iodide (KI/I-2) redox electrolyte. The inhibition effect and photoactivity of Cz-MEKF-R, P[Cz-MEKF-R] P[NVCz-MEKFR] and PNVCz homopolymer coatings were compared. Coating performance was tested by polarization and electrochemical impedance (EIS) measurements. The photopotential and photocurrent values of bare and coated pyrite electrodes were obtained under illuminated conditions. The inhibition efficiencies were calculated from corrosion currents obtained by Tafel extrapolation from polarization curves. (c) 2012 Elsevier B.V. All rights reserved.