Surface reactivity and the chemical nature of corrosion films electrochemically formed on carbon steel in a 1 M (NH 4 ) 2 S and 500 ppm CN Ϫ medium for different growth times were studied by scanning photoelectrochemical microscopy ͑SPECM͒ and X-ray photoelectron spectroscopy ͑XPS͒. SPECM diagrams corresponding to films grown for times Ͻ15 min revealed their heterogeneous and protective nature, while for times Ͼ15 min these films showed surface activity and homogeneity in the characterization medium. The XPS spectra of Fe 2p, S 2p, and O 1s on the film surface indicated that FeS 2 and FeO are present in the protective ͑heterogeneous͒ films; meanwhile, Fe͑OH͒ and FeS are the chemical species present in nonprotective ͑homogeneous͒ films. The O 1s peak analysis using a mix of Gaussian and Lorentzian functions indicated that during film growth both H 2 O and/or hydroxyl groups are incorporated into the film structure. These results prove that the corrosion film composition was modified as a function of electrochemical oxidation time and this composition is directly related to the passive properties of these films.