The deterioration of mild steel in an acidic environment poses a significant challenge in various industries. The emergence of effective corrosion inhibitors has drawn attention to studies aimed at reducing the harmful consequences of corrosion. In this study, the corrosion inhibition efficiency of Prinivil in a 1M HCl solution through various electrochemical and gravimetric techniques has been investigated for the first time. The results demonstrated that the inhibition efficiency of Prinivil expanded from 61.37% at 50 ppm to 97.35% at 500 ppm concentration at 298 K. With a regression coefficient (R2) of 0.987, Kads value of 0.935 and Ea value of 43.024 kJ/mol at 500 ppm concentration of inhibitor, a strong affinity of Prinivil for adsorption onto the metal surface has been significantly found. Scanning electron microscopy (SEM) and contact angle measurement analyses further support the inhibitory behavior of Prinivil, demonstrating the production of a defensive layer on the surface of mild steel. Additionally, molecular dynamics (MD) and Monte Carlo simulations were employed to investigate the stability and interactions between Prinivil and the metallic surface (Fe (1 1 0)) at the atomic level. The computed results reveal strong adsorption of Prinivil upon the steel surface, confirming its viability as a corrosion inhibitor.