Studies on preventing the corrosion of steel in acidic environments and the problematic chemical processes that arise have attracted the attention of researchers from a wide range of industrial sectors [
1]. Corrosion is a common problem for steel and directly impacts its cost and safety. The corrosion of iron, or rust, can cause structural damage and lead to changes in the mechanical and chemical properties of plants, vessels, pipes, and other processing equipment. These effects demonstrate that corrosion would produce considerable costs if an effective solution is not identified from its study and research. Preventing the corrosion of steel has played an important role in various industries, especially in the chemical and petrochemical processing industries that employ the use of steel. A number of studies have been conducted to investigate effective methods for preventing corrosion. Acids are widely used in industrial processes, such as pickling, cleaning, descaling,
etc. Inhibitors are effective in reducing the dissolution rate of metals [
2,
3,
4,
5,
6]. The primary step in the action of inhibitors in an acidic solution is adsorption onto the metal surface, which is usually free of oxides. The adsorbed inhibitor then acts to retard the cathodic and or anodic electrochemical corrosion reaction. It is often not possible to assign a single general mechanism to an inhibitor because the mechanism may change with the experimental conditions. Therefore, the inhibition mechanism of an inhibitor may vary with several factors, such as the concentration, pH, nature of the anion of the acid and nature of the metal. The mechanisms of action of inhibitors that possess the same functional group may also vary with several factors, such as the effect of the molecular structure on the electron density of the functional group and the size of the aromatic and aliphatic protons of the molecule [
7,
8,
9]. Corrosion inhibitors are of considerable practical importance because they are extensively employed in both reducing metallic wastes during production and minimizing the risk of material failure (and the consequent sudden shut-down in industrial processes that leads to added costs) [
10]. It is important to use corrosion inhibitors to prevent metal dissolution and minimize acid consumption [
11,
12,
13]. The majority of well-known acid inhibitors are organic compounds that contain nitrogen, sulfur and oxygen atoms. The inhibitory action exercised by organic compounds on the dissolution of metallic species is normally related to adsorption interactions between the inhibitors and the metal surface. This process is considered to represent an interface inhibition according to Fischer’s classification. The surfactant inhibitor has many advantages, such as a high inhibition efficiency, low price, low toxicity, and easy production [
14,
15,
16]. The problem of finding an inhibitor that has little or no impact on the environment has recently motivated numerous studies [
17]. Chemical inhibitors are often used for these processes, primarily to control the metal dissolution and acid consumption. The majority of the well-known acid corrosion inhibitors are organic compounds that contain nitrogen, sulfur or oxygen atoms [
18,
19]. The planarity (
p) and lone pairs of electrons present on N, O and S atoms are the important structural features that control the adsorption of these molecules onto the surface of the metal. The importance of this work lies in verifying the already established results on the corrosion inhibition effect of various Schiff bases on mild steel in acidic media [
20].
Despite the great number of studies devoted to the subject of corrosion inhibitors most of what is known is as a result of trial and error, both in the laboratory and the fields. Historically, the development of corrosion inhibitors has always been determined by their effectiveness, and they were often based on ecologically problematic heavy metal. The development of new corrosion inhibitors of non-toxic type, which do not contain heavy metals and inorganic phosphates, is of considerable importance [
21]. Inorganic compounds such as chromate, dichromate, nitrite, and nitrate are widely used as corrosion inhibitors in several media and for different metals and alloys, on the other hand, the biotoxicity of these products, especially chromate, is well documented, as well as their non-environmental-friendly characteristics which limit their application [
22]. Among alternative corrosion inhibitors, organic products containing one or more polar functions have proven to be quite efficient in minimizing the effect of corrosion in addition to heterocyclic compounds containing polar groups and π-electrons [
23]. Effective inhibitors are expected to perform under a wide range of conditions; hence, special attention must be paid to the selection of inhibitors for such practical applications [
24].
In this study, a new coumarin derivative, PMBH, was synthesized and its chemical structure was elucidated and confirmed using spectroscopic techniques. The inhibitory effect of PMBH was investigated on the corrosion of mild steel in 1.0 M HCl using various electrochemical measurements. Surface analyses were performed on the corroded surfaced using scanning electronic microscopy (SEM).