The inhibition effect of ylang-ylang oil (YYO) and their adsorption on carbon steel surface in hydrochloric acid was realized at temperatures varying between 308 and 338 K by weight loss, EIS, and potentiodynamic polarization techniques. The tested compound showed inhibition efficiency that is superior 87 % for a concentration equal to 1.0 g/L. Polarization measurements indicate that the examined oil act as a mixed inhibitor with predominant anodic effectiveness and the protection efficiency increases with inhibitor concentration but this effect decreased with increasing of temperature. Data obtained from EIS studies were analyzed to model inhibition process through appropriate equivalent circuit models. The adsorption of YYO on carbon steel surface obeys Langmuir adsorption isotherm in acid medium and the activation were determined and discussed.