The corrosion inhibition of carbon steel in a 1.0 M HCl solution, using 4-amino-2-(4 chlorophenyl)-8-(2,3-dimethoxyphenyl)-6-oxo-2,6-dihydropyrimido [2,1b][1,3]thiazine-3,7-dicarbonitrile (ACMPT) was investigated by weight loss, potentiodynamic polarization, electrochemical impedance spectroscopy (EIS) and quantum chemical calculations. Polarization curves indicate that the studied compound was acting as a mixed inhibitor with predominant cathodic effectiveness. The inhibition efficiency decreased with an increased temperature, and the thermodynamic and activation parameters obtained from this study were discussed. The adsorption behavior of ACMT follows Langmuir's isotherm. In addition, Density Function Theory (DFT) calculations were performed on the studied molecule. The theoretical parameters obtained from this method are in good agreement with the experimental results.