The inhibition effects of 2-amino-5-mercapto-1,3,4-thiadiazole (2A5MT) and 2-mercaptothiazoline (2MT) on mild steel corrosion in 1.0 M H2SO4 were studied with potentiodynamic polarization, linear polarization resistance and electrochemical impedance spectroscopy techniques. It was shown that both 2A5MT and 2MT act as good corrosion inhibitors for mild steel protection. The high inhibition efficiencies were attributed to the simple blocking effect by adsorption of inhibitor molecules on the steel surface. The effects of the presence of extra NH2 group and N atom in 2A5MT on the ability to act as corrosion inhibitors were investigated by theoretical calculations. (C) 2011 Elsevier Ltd. All rights reserved.