The corrosion inhibition of mild steel in a 1.0 M hydrochloric acid solution by 2-(4,5-diphenyl-4,5-dihydro-1h-imidazol-2-yl)-5-methoxyphenol (P1) has been studied in relation to the concentration of the inhibitor, as well as to the temperature, using chemical (weight loss) and electrochemical techniques. All the employed methods were in reasonable agreement. The protection efficiency increased with an increased inhibitor's concentration. The obtained thermodynamic adsorption parameters (∆G * ads, ∆H * ads, ∆S * ads) indicated that this polymer retarded both cathodic and anodic processes through physical adsorption, and blocked the active corrosion sites. It was also found that this compound obeyed the Langmuir's adsorption isotherm.