In this study the corrosion resistances of AISI 1018 and AISI 304 borided and non-borided steels were estimated using polarization resistance and electrochemical impedance spectroscopy (EIS) techniques. Boriding of the steel samples was conducted using the powder-pack method at 1223 K with 6 h of exposure. Structural examinations of the surfaces of the borided steels showed the presence of a Fe2B layer with isolated FeB teeth on the AISI 1018 steel, whereas a compact layer of FeB/Fe2B was formed on the AISI 304 steel. Polarization resistance and EIS of the borided and non-borided steels surfaces were performed in a corrosive solution of 1 M HCl. The EIS data were analyzed during 43 days of exposure to the acid solution. Impedance curves obtained during this period for the borided and non-borided steels were modeled using equivalent electrical circuits. The results of both electrochemical techniques indicated that boride layers formed at the steel surfaces effectively protect the samples from the corrosive effects of HCl. The main corrosion processes observed on the boride layers were pitting and crevice corrosion.