Abstract The inhibition of the corrosion of mild steel 1 M HCl solution by some diamine compounds has been investigated in relation to the concentration of the inhibitor as well as the temperature using weight loss and electrochemical measurements. The effect of the temperature on the corrosion behavior with the addition of different concentrations of new diamine compounds (3-[2-(2-cyano-ethylamino)-methylamino]-propionitrile (P1); 3-[2-(2- ...