The inhibition efficiency of gleditsia sinensic extract (GSE) as green corrosion inhibitor for N80 steel has been evaluated by weightlessness test, electrochemical impedance spectroscopy (EIS) study, Potentiodynamic polarization (PDP) measurement and Density Functional Theory (DFT) calculations in 1M HCl solution. Consequently, the inhibition efficiency of GSE is increased with the concentrations, immersion time and corrosion temperature (except 60 °C). After 144 h of immersion at 30 °C, the inhibition efficiency of GSE at a concentration of 500 mg/L was as high as 92.34 %. The adsorption process was spontaneous exothermic and conformed to Langmuir's law of adsorption, while Tafel's analysis showed that GSE is a mixed type of inhibitor. In addition, the corrosion products have been examined by scanning electron microscopy (SEM) analysis, X-Ray Diffractomer (XRD) testing, Fourier transform infrared spectroscopy (FTIR-ATR), UV-Vis spectroscopy and contact angle (CA) measurements. Furthermore, the corrosion inhibition mechanism has also been investigated.