Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2026 Jun 5;16:17837. doi: 10.1038/s41598-026-52414-w

Unraveling the corrosion-mitigating action of cyclobenzaprine hydrochloride on carbon steel in acidic media: integrated experimental and multiscale molecular perspectives

Magdy A M Ibrahim 1,✉, Manal A El Sayed 2, Ibrahim H Elshamy 1, Shimaa Abdel Halim 3
PMCID: PMC13250074  PMID: 42243318

Abstract

Using a combination of computational and experimental methods, the corrosion protection effectiveness provided by cyclobenzaprine (CBA) for carbon steel (CS) in a 1.0 M hydrochloric acid solution was systematically examined. The corrosion protection efficiency and electrochemical behavior of CS with and without different concentrations of CBA were assessed using gravimetric measurements, polarization studies, impedance measurements, and the evaluation of the open circuit potential. The addition of CBA resulted in a notable decrease in double-layer capacitance (Cdl) and an increase in charge transfer resistance (Rct), a considerable increase in the relaxation time constant (τ), as well as a considerable decrease in corrosion rate and corrosion current density, according to gravimetric and electrochemical data. The formation of a surface-bound shielding layer on the CS was demonstrated by surface characterization using SEM/EDS, AFM analysis, wettability assessment via contact angle evaluation, and UV–visible spectroscopic examination. At 192 μmol L−1, the most effective corrosion protection of ~ 96% was achieved. The results showed that CBA functioned as an effective mixed-type inhibitor. Predominant physical adsorption was indicated by the corrosion inhibition efficiency, which improved with higher inhibitor dosage but decreased as the temperature rose. The thermodynamic and kinetic analyses showed spontaneous adsorption, following the Langmuir isotherm. The electronic characteristics and active adsorption centers of CBA were elucidated through density functional theory calculations, Fukui function examination, and natural bond orbital investigation. Additionally, the significance of π–electron systems and heteroatoms in surface interactions was emphasized.

Keywords: Cyclobenzaprine, Corrosion inhibitor, Electrochemical impedance spectroscopy, SEM/EDS, Polarization, Electrode

Subject terms: Chemistry, Materials science

Introduction

Carbon steel (CS) is widely used in chemical and petrochemical industrial applications owing to its low cost, good mechanical properties, and ease of fabrication1–4. It is commonly employed in pipelines, heat exchangers, boilers, reactors, and storage systems. However, when exposed to aggressive environments, particularly acidic media, CS exhibits a high tendency to corrosion, which leads to significant economic losses, safety concerns, and environmental risks5–8. Hydrochloric acid (HCl) solutions are widely utilized in engineering activities, including pickling with acid, scale removal, and acid treatment of oil wells, where severe corrosion of CS often occurs9–11. Consequently, the development of effective corrosion control strategies for CS in acidic environments remains an important industrial and scientific challenge.

The need for more effective and sustainable substitutes is highlighted by the numerous documented corrosion inhibitors’ toxicity, environmental issues, or poor protection in harsh acidic environments. Among the various control strategies for corrosion, the application of organic corrosion inhibitors is regarded as one of the simplest and most economical approaches. These inhibitors work by adhering to the metallic surface and creating a barrier that prevents cathodic H2 evolution and/or anodic dissolution of the metal12–15. Numerous studies have reported that heterocyclic organic molecules containing nitrogen, sulfur, and oxygen atoms, along with π–electron-rich aromatic frameworks, can provide high corrosion resistance. Examples include pyrazole, triazole, benzimidazole, pyridine, and their derivatives16–20. Despite their effectiveness, many conventional inhibitors suffer from drawbacks such as toxicity, limited biodegradability, and poor solubility under corrosive conditions, which restrict their large-scale industrial application.

Pharmaceutical compounds are potentially suitable for high-performance corrosion protection because they have superior molecular stability, solubility, and specified adsorption sites compared to traditional inhibitors. Recently, considerable attention has been directed toward the advancement of eco-friendly corrosion inhibitors. Pharmaceutical compounds have attracted considerable attention as viable alternatives, owing to their low toxicity and high solubility, and well-defined molecular structures21,22. Additionally, the reuse of expired or unused drugs as corrosion inhibitors provides an environmentally sustainable approach to managing pharmaceutical waste. The effectiveness of these compounds is largely due to adsorption at active sites, including heteroatoms with lone pair electrons and conjugated π–electron systems, which facilitate strong interactions with the metal surface23. Organic inhibitors interact with the metal surface through physical adsorption and chemical adsorption, or a combination of the two processes, and their adsorption behavior can be described using isotherm models such as Langmuir, Temkin, and Frumkin24.

Few investigations combine experimental electrochemistry with quantum chemical calculations and molecular dynamics simulations, despite an increase in publications on drug-based inhibitors. Cyclobenzaprine hydrochloride (CBA) is a therapeutic agent that functions as a muscle relaxant while providing analgesic and anti-inflammatory effects. Structurally, CBA possesses an extended conjugated system, multiple aromatic rings, and a tertiary amine nitrogen, all of which are favorable for corrosion inhibition. The nonbonding electrons on the N atom enable coordination with vacant d-orbitals of iron, while π–metal interactions arising from aromatic rings further enhance adsorption strength. Moreover, the bulky tricyclic structure of CBA is expected to promote the advancement of a structurally compact protective film layer that efficiently isolates active corrosion regions. Despite these advantageous characteristics, the utilization of CBA as an acidic corrosion inhibitor for CS remains unreported.

To the authors’ knowledge, this is the first systematic study of CBA as a corrosion inhibitor for CS in strongly acidic media. Accordingly, the present study aims to provide a comprehensive experimental and predictive evaluation or modeling evaluation of CBA as a corrosion-mitigating agent for CS in 1.0 M HCl. The inhibitor effectiveness and adsorption behavior of CBA are examined through gravimetric analysis in conjunction with electrochemical methods, and surface characterization methods, augmented by sophisticated computational methodologies such as density functional theory (DFT) and natural bond orbital (NBO) analysis. This integrated approach gives a detailed understanding of the corrosion inhibition behavior of CBA, highlighting its ability to serve as a strong, environmentally compatible inhibitor in acidic conditions.

Experimental

Materials

The impact of the inhibitor (CBA) on CS in acidic environments was analyzed using mass loss measurements, comparing specimens without inhibitor to those treated with various concentrations. Specimens with dimensions of 1.4 × 1.9 × 0.1 cm (exposed surface area: 0.266 cm2) were used for mass-loss experiments. In this study, commercially available steel samples were utilized. Energy-dispersive X-ray spectroscopy (EDS) was used to describe the samples’ chemical composition. The chemical analysis of the CS was composed of (wt.%): 1.2 C, 0.7 Al, 0.2 Si, 1.5 Mn, and 96.4 Fe. Steel coupons were abraded sequentially using various grit sizes of SiC paper, followed by polishing with 2000-grit paper. The samples were cleaned with deionized water, then with acetone, and dried under a warm-air stream.

Epoxy cold resin was employed for the preparation of the CS electrodes, and 1.0 cm2 of the electrode surface was subjected to the aggressive solution. In electrochemical experiments, CS electrodes were employed as working electrodes. The freshly prepared acid solution was prepared from a laboratory-grade container with a 37% HCl solution and diluted with deionized water. The counter electrode was a Pt wire. All potentials reported in this work are referenced to an Ag/AgCl (saturated KCl) electrode.

CBA was obtained from an Egyptian pharmacy. A Gamry Instrument Potentiostat/Galvanostat/ZRA, model number 1000, was used for the electrochemical tests. The electrochemical parameters were calculated using the Echem Analyst software from Gamry Instruments. The PDPs were conducted at a scan rate of 2 mV s−1 and a potential window of − 0.7 to − 0.2 V. To minimize prolonged surface modification during polarization in the aggressive acidic medium and to ensure quasi-steady-state conditions, a scan rate of 2 mV s−1 was used.

The EIS diagrams were plotted with a 5 mV peak-to-peak amplitude and a frequency range of 100,000 Hz to 10.0 mHz after a 900-s exposure to the acid solution. EIS measurements were purposefully performed after 900 s of immersion, even though full OCP stabilization was usually reached after about 1200–1400 s. This exposure time was chosen to probe the electrochemical response at an early yet stable stage of inhibitor film formation; a practice commonly adopted in corrosion studies to capture interfacial processes without compromising data reliability25. To guarantee reproducibility, the experiments were carried out three times. The test samples’ surface morphology was analyzed using the JEOL JEM-1200EX II Electron Microscope, a form of scanning electron microscopy (SEM). Figure 1 illustrates the molecular structure of Cyclobenzaprine hydrochloride, which has the chemical formula C20H21N.HCl and a molecular weight (MW) of 311.9. Cyclobenzaprine hydrochloride (CBA. HCl) is a white, crystalline tricyclic amine salt. To be used as a corrosion inhibitor, CBA was prepared in deionized water at concentrations of 32, 64, 96, and 192 μ mol L−1. Cyclobenzaprine hydrochloride was fully soluble at all concentrations studied at ambient temperature.

Fig. 1.

Fig. 1

The chemical structure of the cyclobenzaprine (CBA) drug.

Quantum chemical studies

Theoretical computations

Density functional theory (DFT) simulations were conducted to examine the corrosion inhibition properties of CBA at the molecular scale. To verify the stability of the optimized structure, GaussView 5.0.9 was used for geometry optimization and vibrational frequency analyses. The B3LYP hybrid exchange–correlation functional and the 6–311++ G(d, p) basis set, as implemented in the Gaussian 09 program package, were used in all computations26. The energies of the highest occupied and lowest unoccupied molecular orbitals (EHOMO and ELUMO), energy gap (ΔE), dipole moment (μ), ionization potential (I), electron affinity (χ), electronegativity (φ), chemical hardness (ψ), softness (S), electrophilicity index (ω), nucleophilicity index (ε), electro-donating (ω−) and electro-accepting (ω+) powers, back-donation energy (ΔE), fraction of electron transfer (ΔN), and inhibitor–metal interaction energy (ΔEFe/CBA). The adsorption tendency and inhibitory effectiveness of the inhibitor were evaluated using these criteria. Fukui function analysis27–29 was used to identify local reactive areas. Furthermore, charge distribution and donor–acceptor interactions pertinent to the inhibitor-metal system were investigated using Natural Bond Orbital (NBO) analysis.

NBO analysis

To clarify the electronic properties controlling the adsorption and inhibition behavior of CBA, natural bond orbital (NBO) analysis was carried out. Non-covalent effects were ascribed to interactions involving vacant antibonding or Rydberg orbitals, whereas covalent interactions were explained in terms of occupied NBOs connected to the natural Lewis structure30,31. To quantify charge-transfer interactions pertinent to inhibitor–metal bonding, donor–acceptor interactions between filled (Lewis-type) and empty (non-Lewis) orbitals were examined. The related stabilization energy, E(2), was computed using second-order perturbation theory (Eq. 1).

graphic file with name d33e367.gif 1

Results and discussions

Weight loss (WL) measurements

The corrosion rate (r), inhibition efficiency (η%), and surface covering fraction (θ) by CBA molecules were computed using the following formulas32:

graphic file with name d33e381.gif 2
graphic file with name d33e385.gif 3
graphic file with name d33e389.gif 4

where A is the exposed CS surface area (in2), r is the corrosion rate (rpm), t is the immersion period (hours), W weight loss (mg), and 534 is the unit conversion constant for mpy. Using the weight loss data, the surface coverage θ can be calculated (Eq. 3). Where w and wo stand for the WL values with and without inhibitor, respectively33. As seen in Fig. 2, gravimetric analysis was performed in a 1.0 M HCl solution to assess r values below various contact times and concentrations of the examined CBA at 298 K.

Fig. 2.

Fig. 2

The variation of r of CS and η values of the studied CBA with time.

Table 1 displays the corrosion rate (r) and inhibition efficiency (η%) of CS in 1.0 M HCl with and without different CBA concentrations at various immersion periods. Because of the aggressive nature of the acidic medium and ongoing metal dissolution, the corrosion rate in the uninhibited solution significantly increased with immersion time. On the other hand, at all concentrations and exposure times, the corrosion rate was greatly reduced by the addition of CBA. The corrosion rate remained almost completely inhibited at short immersion times (2–12 h), with an inhibition efficiency of about 100%, indicating quick adsorption of CBA molecules and efficient surface coverage34,35. Longer immersion times (24–72 h) resulted in a slight increase in corrosion rate, but high inhibition efficiencies were maintained, especially at higher CBA concentrations, where η% remained above 95%. This behavior suggests good stability of the adsorbed inhibitor film, with improved protection at higher concentrations due to enhanced surface coverage and stronger adsorption. Overall, the results demonstrate that CBA provides efficient and durable corrosion protection for CS in acidic media.

Table 1.

WL measurements of CS in 1.0 M HCl solution and after the addition of CBA inhibitor.

[CBA] (µmol L−1) 2 h η% 4 h η% 12 h η% 24 h η% 48 h η% 72 h η%
r (mpy) r (mpy) r (mpy) r (mpy) r (mpy) r (mpy)
0.0 80.9 – 89.6 – 395.2 – 615 – 878.38 – 1317.5 –
32 0 100 0 100 0 100 50.5 91.7 74.81 91.5 114.64 91.3
64 0 100 0 100 0 100 46.3 92.5 67.63 92.3 105.4 92.0
96 0 100 0 100 0 100 30.75 95.0 43.47 95.1 61.9 95.0
192 0 100 0 100 0 100 21.95 96.4 33 96.3 49.07 96.3

Measurements of potentiodynamic polarization (PDP)

The polarization technique was employed to investigate how CBA affected the resistance to corrosion of the CS. Based on modifications, inhibitors are typically categorized as cathodic, anodic, or mixed within the polarization curves following the inhibitor behaviour36,37. Figure 3 shows the Tafel polarization curves for CS after immersion in HCl at 1.0 M with different CBA concentrations at 298 K. The cathodic and anodic Tafel slopes (βc and βa), corrosion potential (Ecorr), and corrosion current (icorr) were calculated using Tafel plots. Equation (5) was then used to get the inhibition efficiency percentage. Table 2 is a tabulation of the outcomes. Table 2 and Fig. 3 make it clear that the addition of CBA at every concentration examined resulted in a notable decrease in both the rate of corrosion and the corrosion current (icorr). Additionally, as the inhibitor’s concentration rose, so did its percentage efficiency. The corrosion potential (Ecorr) value changed significantly compared to the blank. The simultaneous and nearly equal influence on both anodic and cathodic polarizations shows how CBA affects metal dissolution, hydrogen development, and both anodic and cathodic processes. Variations in βc are associated with the inhibition of the cathodic hydrogen evolution reaction by surface blocking. In contrast, changes in βa are interpreted in terms of hindered iron dissolution and surface film development. The literature report claims that38, when the corrosion potential exceeds ± 85 mV in comparison to the corrosion potential of the blank, the inhibitor can be categorized as either anodic or cathodic. The investigation’s extreme displacement, however, is less than ± 85 mV. Therefore, its mixed-type inhibitory impact is implied by this. The measured icorr values were used to calculate the inhibitory efficiency values η%.

graphic file with name d33e681.gif 5

Fig. 3.

Fig. 3

Potentiodynamic polarization curves of CS electrodes at 298 K with a scan rate of 2 mV s−1 in 1.0 M HCl solution and with various CBA concentrations.

Table 2.

Tafel kinetic parameters measured at 298 K for a CS in a 1.0 M HCl solution with various CBA concentrations.

[CBA] (µmol L−1) icorr (A cm−2) − ECorr (/V) βa (V dec−1) βc (V dec−1) Corr rate (mpy) Inline graphic ηPDP (%)
0.0 5.42 × 10−4 0.406 ± 0.05 0.097 ± 0.03 0.154 ± 0.03 69.75 ± 1.4 – –
32 2.05 × 10−4 0.412 ± 0.05 0.117 ± 0.05 0.113 ± 0.04 26.42 ± 1.6 0.621 ± 0.05 62.17 ± 1.5
64 1.32 × 10−4 0.411 ± 0.05 0.097 ± 0.03 0.091 ± 0.06 17.00 ± 1.6 0.756 ± 0.03 75.64 ± 1.4
96 1.01 × 10−4 0.403 ± 0.05 0.091 ± 0.06 0.083 ± 0.04 12.99 ± 1.7 0.813 ± 0.04 81.36 ± 1.3
192 3.26 × 10−5 0.400 ± 0.04 0.030 ± 0.06 0.029 ± 0.03 4.192 ± 1.5 0.939 ± 0.03 93.98 ± 1.2

where θ represents the surface covering and icorr and icorr(inh) represent the corrosion current densities with and without inhibitor concentrations.

Electrochemical impedance spectroscopy (EIS)

Since electrochemical impedance spectroscopy (EIS) is an effective method that can yield detailed information on the corrosion process and the protective performance of inhibitors without destroying the sample, it has been used to investigate corrosion mechanisms. EIS enables us to evaluate the inhibitors’ adsorption performance on the metallic surface through detecting variations in capacitance and charge transfer resistance across a varied spectrum of frequencies. This aids in precisely replicating an adsorption isotherm39,40.

Among the numerous components of this circuit are the constant phase element (CPE) associated with the charge-transfer process, the solution resistance (Rs), and the charge-transfer resistance (Rct). The double layer at the interface between the charged metal surface and the solution creates an electrical capacitor41–43. The following equation yields the CPE:

graphic file with name d33e881.gif 6

where j is the unreal element, and n is the CPE exponent in relation to the surface inhomogeneity. C stands for capacitance, and the angular frequency is denoted by ω. The range of values for n is 0–1. The CPE behaves as a resistor when n = 0 and as an ideal capacitor when n = 144. Figure 4 shows the behaviors of CS immersed in acidic solutions at various CBA concentrations. Surface heterogeneity is revealed by the CPE exponent (n), which represents the extent of departure from ideal capacitive performance. A highly heterogeneous and actively corroding surface is indicated by lower n values in the uninhibited solution. When the inhibitor is added, n rises and gets closer to unity, indicating that a more uniform and compact adsorbed layer has formed. Simultaneously, the stability of the steel/solution interface and the efficient suppression of charge-transfer processes are confirmed by the decrease in Cdl and the increase in Rct and relaxation time constant (τ). Surface heterogeneity brought on by insufficient inhibitor coverage is responsible for the departure from optimal capacitive behavior seen for partially inhibited surfaces.

Fig. 4.

Fig. 4

(a) Nyquist plots and (b) Bode plots of CS data in 1.0 M HCl at various CBA concentrations at 298 K.

The kinetics of the corrosion process are revealed by the relaxation time constant (τ), which is computed from the fitted EIS parameters (Table 3). The following relationship was used to calculate the relaxation time constant (Inline graphic):

graphic file with name d33e921.gif 7

Table 3.

EIS fitting parameters were derived for a CS in a 1.0 M HCl solution at 298 K with varying CBA concentrations.

[CBA] (µmol L−1) Rs (Ω cm2) Rct (Ω cm2) CPE (Ω−1 sn cm−2) N Inline graphic (s) χ2 × 10−3 Inline graphic ηEIS (%) Cdl × 10−5 (F cm−2)
0.0 1.549 38.87 657.0 × 10−6 0.792 0.00792 6.020 – – 25.00
32 1.448 145.6 244.0 × 10−6 0.794 0.01456 7.817 0.733 73.30 10.00
64 2.050 183.8 190.6 × 10−6 0.785 0.01415 4.460 0.788 78.85 7.70
96 1.199 331.3 121.0 × 10−6 0.804 0.01287 11.97 0.882 88.26 5.52
192 1.257 600.7 67.61 × 10−6 0.800 0.019823 12.99 0.935 93.52 3.30

The development of a protective adsorbed film causes a slower interfacial charge-transfer process, as evidenced by the considerable increase in τ in the presence of the inhibitor as compared to the uninhibited solution. Non-ideal capacitive behavior and intermediate τ values for partially inhibited surfaces indicate a variety of relaxation durations and heterogeneous surface covering.

The Nyquist plot in Fig. 4a, which includes the corresponding diameters, shows that the EIS response curves are semicircular, which does not significantly change as the corrosion inhibitor concentration increases. As a result, charge transfer processes limit the corrosion mechanism in CS and leave it unaltered45. The Nyquist graphs show several intricate modifications when the CBA corrosion inhibitor is added. The expanding capacitive loop’s diameter indicates improved impedance. Phase angle changes to a greater negative amount at middle frequencies, indicating improved capacitive behavior. Furthermore, at lower frequencies, the absolute value of impedance increases, suggesting increased corrosion resistance. Because CBA molecules include adsorption centers in their structures, they limit the corrosion of CS, which is probably the cause of these effects. These adsorption sites allow CBA molecules to stick to the surface of steel, creating a layer of protection that stops corrosion46. Non-ideal capacitive behavior is seen in Fig. 4, where the loop of capacitors is depicted as a lowered semicircle. A near-linear region with a slope close to − 1 was observed in the Bode magnitude plot, suggesting capacitive control of the electrochemical process. Table 3 displays the phase angles in the middle frequency range. This fluctuation implies an uneven surface of the steel. The reason for the non-uniformity is the frequency dispersion effect, which implies that the surface properties and corrosion response of the steel are not consistent across different frequencies. Different adsorption sites, surface roughness, or additional reasons affecting the impedance readings could cause this non-homogeneity47. An equivalent circuit for a one-time constant is generally used to study the concept of consistent corrosion, as shown in Fig. 5. The accuracy of the equivalent circuit fitting for both uninhibited and inhibited systems is illustrated using representative experimental and simulated Nyquist and Bode plots. The validity of the suggested models is confirmed by the strong agreement between simulated curves and experimental data, as well as by low χ2 values and modest fitting errors.

Fig. 5.

Fig. 5

Equivalent circuit model to fit the EIS data obtained at the CS/electrolyte interface.

On the other hand, the maximum phase angle values were near each other when CBA was added to all the 1.0 M HCl solutions being examined, demonstrating that the stability of the resulting protective films was similar. Larger phase angle values for CBA show that the film that forms in 1.0 M HCl solution provides less protection when the CS is exposed to an aggressive environment. Furthermore, the polarization observations are consistent with the inhibitory efficiency order ascertained by EIS measurements. The following Eq. (8) is used to estimate and report the inhibition efficiency in Table 348:

graphic file with name d33e1170.gif 8

R°ct and Rct, respectively, represent charge transfer resistances with and without inhibitors.

As the concentration of CBA inhibitor increases, Cdl declines, indicating lesser interfacial charge accumulation due to inhibitor adsorption on the electrode surface and a corresponding decrease in CPE magnitude (Table 3). It is worthwhile noting that all methods consistently show a significant decrease in corrosion rate in the presence of the inhibitor, indicating its good protective effectiveness despite variations in absolute inhibition efficiency.

OCP measurements

The OCP-time response of CS in a 1.0 M HCl solution at 298 K with and without various CBA concentrations is displayed in Fig. 6. The development of a protective inhibitor film on the steel surface is indicated by the OCP values gradually shifting toward more positive potentials in the presence of CBA after immersion, when compared to the blank solution. This positive shift implies that by inhibiting iron oxidation reactions, CBA has a greater impact on the anodic dissolution of carbon steel49,50. The very small potential displacement suggests that rather than acting as a strictly anodic or cathodic inhibitor, CBA acts as a mixed-type inhibitor with a predominant anodic impact. Furthermore, the formation of a steady-state situation at the steel/solution interface is confirmed by the stabilization of the OCP curves after about 1800 s.

Fig. 6.

Fig. 6

OCP behavior for CS in 1.0 M HCl solution at various CBA concentrations at 298 K as a function of time.

Effect of temperature and kinetics studies

Potentiodynamic polarization curves (PDPs) measurements

PDPs measurements for the CS under investigation in a 1.0 M HCl, both with and without CBA, were established at the temperature range of 298–328 K in order to offer precise information on the kind of inhibitor adsorption and its efficacy. Regardless of the existence of CBA, the temperature raised the icorr and the r, as observed in Table 4 and Fig. 7a and b. In the absence of CBA, the Ecorr values varied from − 0.406, 0.412, 0.410 to − 0.408 V as the temperature rose from 298 to 328 K. However, the potential was shifted to higher negative levels (from − 0.400 to − 0.536 V) when the CBA was added to the 1.0 HCl. When the temperature rose, the Ecorr values moved to increased cathodically. These findings also show that raising the temperature accelerates the anodic and cathodic processes51–53. Consequently, corrosion clearly increases with temperature. The βc and βa Tafel lines’ slopes do not change as the temperature rises. This indicates that the CS surface starts to corrode even though the corrosion mechanism is independent of temperature. The findings showed that the inhibitor’s effectiveness declines with temperature. When physically adsorbed, the inhibitor molecules may be connected to the observed behavior since higher temperatures may impede the adsorption procedure. The inhibitor’s adsorption and the creation of a physical block on the metallic surface reduce CBA reactivity in electrochemical operations.

Table 4.

Tafel kinetic characteristics were measured at various solution temperatures for a CS in a 1.0 M HCl solution with and without the CBA.

Temperature (K) icorr (A cm−2) − ECorr (/V) βa (V dec−1) βc (V dec−1) Corr rate (mpy) Inline graphic ղPDP (%)
0.00 µmol L−1
 298 5.42 × 10−4 0.406 0.097 0.154 69.75 – –
 308 6.98 × 10−4 0.412 0.105 0.096 89.94 – –
 318 1.14 × 10−3 0.410 0.086 0.080 146.7 – –
 328 1.75 × 10−3 0.408 0.099 0.119 225.0 – –
192 µmol L−1
 298 3.26 × 10−5 0.400 0.030 0.029 4.192 0.939 93.98
 308 1.64 × 10−4 0.396 0.072 0.071 21.09 0.765 76.50
 318 4.18 × 10−4 0.419 0.183 0.121 53.84 0.633 63.33
 328 1.27 × 10−3 0.536 0.107 0.106 163.1 0.274 27.42
Fig. 7.

Fig. 7

(a,b) shows the PDPs of CS in a 1.0 M HCl solution at various solution temperatures with and without CBA, obtained at a scan rate of 2 mV s−1.

This behavior is clearly explained by Eqs. (9) and (10), which stand for the Arrhenius equation and the transition state equation, respectively54:

graphic file with name d33e1481.gif 9
graphic file with name d33e1485.gif 10

where A is the pre-exponential factor, N is Avogadro’s number (6.022 × 1023 mol−1), h is the Planck’s constant (6.626176 × 10−34 Js), ΔSa is the activation entropy, ΔHa is the activation enthalpy, and Ea is the activation energy of the corrosion process. Figure 8 plots these equations as log icorr and log icorr/T against the reciprocal of absolute temperature, respectively. The values of Ea and A were determined using the slope (− Ea /2.303R) and intercept (log A).

Fig. 8.

Fig. 8

Log icorr vs. T−1/K−1 Arrhenius plot; log icorr/T vs. T−1/K−1 transition state plot with and without CBA.

The values of ΔH and ΔS were found using the slope of (− ΔHa/2.303 R), and an intercept [(log (R/Nh) + (ΔSa/2.303 R)] of Eq. (9). Table 5 presents the results that were gathered. The protective approach is determined by the adsorption of inhibitors on the CS surface. The inhibitor may be applied chemically or physically to metal surfaces. Ea varies from 5 to 40 kJ mol−1 for physical adsorption and from 40 to 80 kJ mol−1 for chemical adsorption. Since Ea, when there is CBA, it is greater than that in its absence. According to the findings, the examined CBA slows down the rate at which the CS dissolves. Consequently, CBA may be a potent inhibitor to stop CS corrosion in 1.0 M HCl. Therefore, the adsorption mode fell inside the physical one in 1.0 M HCl with an inhibitor (Ea = 33.65 kJ mol−1). The inhibitor efficiency test findings (Table 4) support this. The percentage η values were low and fell as the temperature rose. Positive ΔHa values indicate an endothermic dissolving process in aqueous solutions, which may be caused by weak adsorption and inhibitor molecule desorption on the surface of the CS. The behavior of ΔHa values was analogous to that of Ea. The elevated ΔHa values in the inhibited (192 µmol L−1 CBA) solution are produced by the high corrosion-inhibiting action of CBA. Additionally, Fig. 10 (“Adsorption isotherm” section) shows the relationship between log icorr/T against T−1/K−1, which is used to govern the values of ΔH* and ΔS*. Positive ΔH* values are discovered in the data, showing that the dissolution of the CS is endothermic. CS is corroding at a slower rate in 1.0 M HCl, as demonstrated by given that the value of ΔH* for CBA is larger compared to that of the blank solution55. Additionally, negative ΔS* values imply that the rate at which activated complexes are produced is determined by 1.0 M HCl association rather than only dissociation, which lessens disorder55.

Table 5.

Kinetic characteristics in 1.0 M HCl with and without CBA.

Solution (µmol L−1) Inline graphic (kJ mol−1) Inline graphic (J mol−1 K−1) Ea (kJ mol−1)
0.00 13.38 − 199.8 14.49
192 32.44 − 145.2 33.65
Fig. 10.

Fig. 10

Langmuir adsorption isotherm to the impedance and polarization measurements for CS in a 1.0 M HCl at 298 K with different CBA concentrations.

Electrochemical impedance spectroscopy (EIS)

At different temperatures (298, 308, 318, and 328 K), EIS tests are conducted in a 1.0 M HCl solution with and without CBA. The Nyquist plot of a single capacitive loop with a large polarization resistance is shown in Fig. 9a and b. The Nyquist graphic demonstrates how the semicircle diameter shrinks when CBA desorbs off the CS surface at high temperatures. Table 6 illustrates that the Rct value rises when CBA is added to 1.0 M HCl at any temperature, in contrast to the CBA-free solution at the same temperature. The drop in Rct values of CBA by increasing temperature specifies that the desorption of CBA from the CS surface causes worse surface coverage of CBA on CS, a greater rate of corrosion, and ultimately reduced inhibitory efficiency.

Fig. 9.

Fig. 9

Nyquist plots (a,b), and (c,d) Bod plots of CS EIS data in a 1.0 M HCl solution obtained at various temperatures with and without the CBA, respectively.

Table 6.

EIS fitting parameters were found for a CS in a 1.0 M HCl solution at various temperatures, both with and without the CBA.

Temperature (K) Rs (Ω cm2) Rct (Ω cm2) CPEdl (Ω−1 sn cm−2) n Inline graphic ղEIS(%)
0.00 µmol L−1
 298 1.549 38.87 657.0 × 10−6 0.792 – –
 308 1.659 31.86 686.6 × 10−6 0.785 – –
 318 1.568 17.64 703.2 × 10−6 0.790 – –
 328 1.700 9.287 749.9 × 10−6 0.803 – –
192 µmol L−1
 298 1.257 600.7 67.61 × 10−6 0.800 0.935 93.52
 308 1.226 371.2 190.6 × 10−6 0.771 0.914 91.41
 318 1.233 107.3 295.6 × 10−6 0.751 0.835 83.56
 328 1.437 46.06 341.5 × 10−6 0.785 0.798 79.83

Adsorption isotherm

The next equation illustrates how organic molecules (CBA) substitute water molecules and explains why CBA molecules adsorb at the CS/1.0 M HCl interface:

graphic file with name d33e1893.gif 11

where n is the quantity of water molecules replaced, and CBAsol and CBAads stand for the CBA compounds in the solution (liquid phase) and adsorbed on CBA-CS (adsorption phase), respectively56. The main aspect prompting an organic material’s capacity to lessen corrosion is its capacity to adsorb onto the CBA-CS surface. Understanding the method of adsorption was essential to understanding how the CBA molecules interacted with the alloy’s surface. Multiple isotherms of adsorption were applied to examine the analyzed CBA. The adsorption process of CBA at the CS/solution contact was quite similar to the Langmuir adsorption isotherm. Plotting data against Cinh using both polarization and EIS methods produces straight lines with R2 values of 0.99 (Fig. 10). The Langmuir adsorption isotherm is defined as57:

graphic file with name d33e1919.gif 12

where Cinh is the CBA concentration, Kads is the adsorption equilibrium constant, and θ is the surface coverage (θ = (ղ (%) /100). The next equation was used to govern the typical adsorption-free energy, or ΔG°ads, at 298 K57:

graphic file with name d33e1935.gif 13

wherever R is the universal gas constant, T is the Kelvin temperature, and the molar concentration of water is 55.5. It is well known that physisorption works well for ΔG°ads with values less than − 20 kJ mol−1, which require chemisorption, whereas those with values larger than − 40 kJ mol−1 require it58. The ΔG°ads value showed the type of adsorption. Based on the impedance and polarization measurements, the CBA’s computed ΔG°ads value is − 31.30 kJ mol−1 and − 31.13 kJ mol−1, respectively. A negative ΔG°ads value (Table 7) indicates that CBA adsorption occurs spontaneously on the CS surface, indicating that physisorption is the prime mechanism of CBA adsorption on the CS surface. Considering measurements of polarization and impedance, the equilibrium constant (Kads) can be computed and determined to be 105.15 and 100, respectively. The strength of the adsorption forces between the CBA molecule and the CS surface can be determined by means of the Kads value. The larger Kads value established the inhibitor’s increased adsorption ability on the CS surface.

Table 7.

The equilibrium constant of the inhibitor (Kads) and the standard free energy of adsorption (ΔG°ads) for CS in 1.0 M HCl at 298 K.

Material Kads (L mol−1) ΔG°ads (kJ mol−1)
Polarization Impedance Polarization Impedance
CS 105.15 100 − 31.30 − 31.13

Surface topography analysis

SEM comparison of the surface topography of CS samples treated with and without 192 µmol L−1 of CBA corrosion inhibitor after 8 h in 1.0 M HCl is shown in Fig. 11. After an 8-h immersion in 1.0 M HCl without the addition of CBA corrosion inhibitor, Fig. 11b illustrates a significant corrosion attack on the CS substrate. The corrosion produced on the CS surface was significantly reduced when the CBA corrosion inhibitor was added, as shown in Fig. 11c. To confirm the CBA inhibitor adsorption on the surface of CS, the UV spectra of CBA were examined before and after the corrosion study (Fig. 12). The corrosive environment in which the CS sample was not submerged had a higher absorbance than the condition in which the sample was submerged for a full eight hours, according to the UV spectra. After the CS sample was submerged, some of the molecules in the CBA solution were adsorbed on its surface. CBA has good corrosion inhibition efficiency, as evidenced by its successful adsorption on the CS sample.

Fig. 11.

Fig. 11

Surface morphology and EDX of CS (a,a-) polished, (b,b-) immersed in 1.0 M HCl without CBA, and (c,c-) immersed in 1.0 M HCl with CBA for 8 h.

Fig. 12.

Fig. 12

UV spectra of CBA prior to and following the 8-h CS immersion.

The surface morphological evolution of CS caused by corrosion and inhibitor adsorption under various conditions was qualitatively investigated by AFM, as illustrated in Fig. 13. The absence of corrosion damage is indicated by the polished CS surface’s comparatively smooth and uniform shape (Fig. 13a), which includes shallow grooves from mechanical polishing. The CS surface deteriorates significantly after being submerged in 1.0 M HCl without CBA (Fig. 13b), exhibiting noticeable changes with a mean surface roughness of 232.4 nm, characterized by deep pits and uneven features. The aggressive attack of H+ and Cl− ions, which accelerates iron dissolution and promotes localized corrosion, is responsible for this morphological deterioration. In contrast, the surface of CS submerged in 1.0 M HCl containing CBA (Fig. 13c) shows a considerably smoother and more uniform morphology with a discernible reduction in corrosion defects. Effective surface protection is suggested by the surface appearance, which closely mirrors that of the polished sample. However, upon exposure to the electrolyte containing 192 µmol L−1 of CBA on the steel surface, the mean surface roughness reduced to 100.9 nm (Fig. 12c). This improvement is owing to the adsorption of CBA molecules onto the CS surface, which forms a barrier that blocks active sites and keeps corrosive species from penetrating. Our AFM results strongly support the inhibitive performance of CBA seen in electrochemical investigations.

Fig. 13.

Fig. 13

AFM pictures of CS: (a) Polished CS, (b) CS submerged in 1.0 M HCl; (c) CS submerged in 1.0 M HCl at 298 K with 192 µmol/L CBA.

Contact angle (CA)

To verify that the CBA layer had created a protective shield on the CS, approach contact angle tests were performed. A 4.0 μL drop of water was placed on the CS surface to get this measure. The CA evaluations for the refined CS sample (Fig. 14a) and the CS submerged in HCl solution with and without CBA inhibitor (Fig. 14b,c) are examined. After the polished CS sample (Fig. 14a) was immersed in 1.0 M HCl, its CA declined from 77.0° to 68.4° (Fig. 14b). This decline shows that the 1.0 HCl corrosive action has enhanced the surface’s wettability. But the contact angle of the metal dipped in the CBA rose to 97.2° (Fig. 14c). The adsorption of CBA on the CS surface is shown by this notable increase in CA, which shows a decrease in wettability and an increase in hydrophobicity. The creation of a protective layer on the CS sample efficiently decreases the surface’s interaction with water by serving as a barrier and shielding the 1.0 M HCl film from being harmed by the hazardous environment, as seen by the increase in CA with the CBA overview. This protective layer illustrates how well the CBA inhibitor prevents degradation.

Fig. 14.

Fig. 14

Contact angle measurements and pictures of (a) a polished CS surface; (b) after 6 h of immersion in 1.0 M HCl (blank); and (c) after 8 h of immersion in 1.0 M HCl with 192 µmol/L of CBA.

DFT studies

The electronic reactivity and inhibitory performance of CBA were examined using Density Functional Theory (DFT) computations. Table 8 summarizes the computed quantum chemical descriptors, and Figs. 15 and 16 display the optimized structures and frontier molecular orbitals (HOMO and LUMO) of neutral and protonated CBA (CBA and CBAH+). The HOMO density is mainly localized on aromatic rings and heteroatoms, identifying these regions as preferential electron-donating sites toward the carbon steel surface, consistent with the experimental inhibition results59–62. Improved molecular reactivity and inhibition efficiency are indicated by a smaller HOMO–LUMO energy gap (ΔE). Additional descriptors influencing inhibitor–metal interactions were derived using EHOMO and ELUMO, which are related to ionization potential and electron affinity63,64.The relatively low dipole moment (μ), low electronegativity (χ), high softness (S), and low hardness (η) confirm the strong electron-donating ability of CBA, with the protonated form (CBAH+) exhibiting higher softness and stronger surface interaction (Table 8)65,66. The electrophilicity (ω) and nucleophilicity (ε) indices indicate predominantly nucleophilic behavior, while high electron-donating power (ω−), negative back-donation energy (ΔE_back < 0), and acceptable electron transfer fraction values (ΔN < 3.6) further support electron donation from CBA to Fe atoms and stable adsorption. Local reactivity was evaluated using Fukui functions (Eqs. 14–16)28,29, with the results summarized in Table 9.

graphic file with name d33e2236.gif 14
graphic file with name d33e2241.gif 15
graphic file with name d33e2245.gif 16
Table 8.

Computed quantum chemical descriptors for the studied neutral CBA and protonated.

Descriptors Equations CBA CBA H+
Energy of highest occupied molecular orbital (EHOMO), (eV) − 5.777 − 5.806
Energy of lowest unoccupied molecular orbital (ELUMO), (eV) − 1.516 − 1.519
Energy gap ΔE (LUMO–HOMO) 4.261 4.287
Dipole moment, (µ), (Debye) 0.533 0.844
Ionization energy (I) (ev) Inline graphic 5.777 5.806
Electron affinity (Inline graphic) (ev) Inline graphic 1.516 1.519
Electronegativity (ϕ) ϕ = Inline graphic 3.646 3.662
Global hardness ψ ψ = Inline graphic 2.131 2.143
Global softness (S) s = Inline graphic 0.469 0.467
Global electrophilicity (ω) ω = ϕ2/2ψ 3.120 3.128
Global nucleophilicity (ε) Inline graphic 0.321 0.320
Electroaccepting (ω+) power Inline graphic 1.564 1.566
Electrodonating (ω−) power Inline graphic 5.210 5.229
Net electrophilicity (Δω ±  = ω+ + ω−) (Δω±  = ω+ + ω −) 6.774 6.795
Fraction of transferred electrons (ΔN) Inline graphic 0.1397 0.1364
Back-donation energy ΔE back-donation (ev) Inline graphic − 0.533 − 0.536

Metal/inhibitor interaction energy

ΔEMetal/inhibitor (ev)

Inline graphic 0.0573 0.0548

CBA H+ inhibitor in the gas phase.

Fig. 15.

Fig. 15

Optimized structure of the CBA and CBA H+ using the B3LYP/6-311++ G(d,p) basis set.

Fig. 16.

Fig. 16

Using the B3LYP/6-311++ G(d,p) basis set, the frontier molecular orbitals HOMO and LUMO of the CBA and CBA H+.

Table 9.

Fukui indices of the studied CBA and CBA H+

CBA CBA H+
Atoms Inline graphic Inline graphic Inline graphic atoms Inline graphic Inline graphic Inline graphic
N (21) 0.001 0.061 − 0.06 N (21) 0.01 0.005 0.005
C (18) 0.029 − 0.003 0.032 C (18) 0.009 0.006 0.003
C (19) 0.028 − 0.002 0.03 C (19) 0.012 0.005 0.007
C (11) 0.027 0.001 0.026 C (11) 0.003 0.01 − 0.007
C (13) 0.023 0.002 0.021 C (13) 0.006 0.007 − 0.001
C (16) 0.037 0.004 0.033 C (16) 0.022 − 0.001 0.023
C (17) 0.011 − 0.006 0.017 C (17) 0.005 0.016 − 0.011
C (4) 0.014 − 0.01 0.024 C (4) 0.005 0.007 − 0.002
C (7) 0.008 0.007 0.001 C (7) 0.006 0.006 0
C (1) 0.014 0 0.014 C (1) 0.004 0.011 − 0.007
C (2) 0.009 0.01 − 0.001 C (2) 0.005 0.01 − 0.005
C (3) 0.019 0.009 0.01 C (3) 0.013 0.001 0.012
C (6) 0.01 − 0.001 0.011 C (6) − 0.003 0.023 − 0.026
C (7) 0.019 0.001 0.018 C (7) 0.004 0.014 − 0.01
C (10) 0.022 0.002 0.02 C (10) 0.005 0.012 − 0.007
C (5) 0.019 0 0.019 C (5) 0.003 0.013 − 0.01
C (20) 0.022 0.003 0.019 C (20) 0.003 0.013 − 0.01
C (23) 0.037 0.005 0.032 C (23) 0.012 0.027 − 0.015
C (22) 0.003 − 0.003 0.006 C (22) − 0.004 0.029 − 0.033
C (12) 0.006 0.004 0.002 C (12) 0.004 0.014 − 0.01
C (14) 0.01 − 0.001 0.011 C (14) 0.003 0.016 − 0.013
C (15) 0.009 0.008 0.001 C (15) 0.002 0.015 − 0.013

where the charge values of atoms k for neutral, anionic, and cationic states are denoted by qk(N), qk(N + 1), and qk(N − 1). Morell et al.’s dual descriptor, Δfk, is computed as the difference between the nucleophilic and electrophilic Fukui functions67. For neutral CBA, N21, C16, and C23 were identified as nucleophilic centers, whereas C7 and C8 were more susceptible to electrophilic attack; protonation alters the reactive pattern, with C19 and C3 acting as nucleophilic sites and C16 and N21 as electrophilic centers in CBAH+. The electrostatic potential (ESP) and molecular electrostatic potential (MEP) maps (Fig. 17) show high electron density localized on heteroatoms, particularly nitrogen, confirming their role as the primary adsorption sites and supporting the proposed inhibition mechanism68,69.

Fig. 17.

Fig. 17

The ESP and MEP distribution of the neutral CBA and CBA H+ using the basis set B3LYP/6-311++ G(d, p).

The molecular electrostatic potential (MEP) and electrostatic potential (ESP) maps (Fig. 17) show high electron density localized on heteroatoms, particularly nitrogen, confirming their role as the primary adsorption sites and supporting the proposed inhibition mechanism68,69.

Natural bond orbital (NBO) analysis

Charge transfer and electronic stabilization in CBA were evaluated using Natural Bond Orbital (NBO) analysis. Electron delocalization from filled bonding (BD) and lone pair (LP) orbitals to empty antibonding (BD*) or Rydberg (RY*) orbitals was quantified using second-order perturbation energies (E2), which shed light on hyperconjugation, resonance, and non-covalent interactions controlling molecular stability70–73. The biggest contributions to stabilization (Table 10) come from LP(1) N21 → π* N21–C16 (46.74 kcal mol−1) and several π → π* interactions, including π C10–C11 → π* C4–C15 (55.13 kcal mol−1), π C6–C12 → π* C6–C20 (64.52 kcal mol−1), and π C10–C24 → π* C18–C24 (60.05 kcal mol−1). These interactions emphasize the dominant role of nitrogen-centered electron delocalization and π-electron conjugation in stabilizing the CBA molecule. Overall, the high E2 values indicate strong electronic stabilization, which correlates well with the experimentally observed inhibition efficiency and supports the proposed adsorption mechanism inferred from AFM, EIS, and surface analyses.

Table 10.

Fock matrix in NBO basis of CBA molecule at B3LYP/6-311++ G (d, p) level in the gas phase analyzed using second-order perturbation theory.

Compound Donor Acceptor E(2)a (kcal/mol) Occupancy
CBA πC3–C13 π*C15–C11 33.52 1.88
πC4–C15 π*C16–C12 35.13 1.75
πC5–C14 π*C17–C20 43.52 1.67
πC10–C11 π*C4–C15 55.13 1.76
πC6–C12 π*C7–C20 64.52 1.68
πC1–C20 π*C2–C18 46.13 1.75
πC22–C23 π*C17–C13 55.05 1.65
LP (1) N21 π*C16–N21 46.74 1.87
πC22–N21 π*C22–N21 26.58 1.82
πC23–N21 π*C14–C6 16.47 1.94
πC14–C20 π*C23–C15 31.04 1.84
πC15–C19 π*C13–C26 49.83 1.75
π*C23–C15 π*C22–C17 18.81 1.88
π*C10–C24 π*C18–C24 60.05 1.70

Limitations of the study

The observed inhibitory performance is restricted to the examined concentration and temperature ranges because this investigation was conducted utilizing short-term electrochemical and gravimetric experiments in 1.0 M HCl under controlled laboratory settings. Environmental and economic factors, behavior in dynamic or industrial settings, and long-term stability were not evaluated. Before these findings can be applied in real-world settings, more research is necessary.

Inhibition mechanism

A series of connected processes that take place at the metal/electrolyte interface can be used to explain the cyclobenzaprine (CBA) corrosion inhibition mechanism on CS in 1.0 M HCl. Carbon steel first experiences cathodic hydrogen evolution (2H+ + 2e− → H2) and anodic dissolution (Fe → Fe2+ + 2e−) in the acidic media. Initial physical adsorption results from the protonation of inhibitor molecules in the acidic solution upon the addition of CBA. These molecules are then electrostatically drawn to the negatively charged sites on the steel surface.

CBA molecules therefore exhibit stronger adsorption through π–metal interactions involving the aromatic rings and donor–acceptor interactions between the lone pair electrons of the nitrogen atom and the unoccupied d-orbitals of iron atoms. A dense and adherent protective film gradually forms on the steel surface as a result of this combination of physical and chemical adsorption.

The adsorbed CBA layer functions as a barrier that limits the flow of aggressive chloride ions toward the metal surface, suppresses charge transfer processes, and prevents active corrosion sites as surface coverage increases. Electrochemical impedance measurements show a drop in double-layer capacitance and an increase in charge transfer resistance.

In line with the mixed-type inhibition characteristic of CBA, the formed inhibitor film stabilizes the metal surface in the final stage while concurrently delaying anodic metal dissolution and cathodic hydrogen evolution events. Strong adsorption and advantageous molecular orientation of CBA on the Fe (111) surface are confirmed by surface morphology studies and computational results, which further validate the suggested process.

Conclusion

  • Using complementary experimental and computational methods, cyclobenzaprine hydrochloride (CBA) was successfully assessed as a corrosion inhibitor for CS in 1.0 M HCl solution.

  • CBA significantly lowers the rate of CS corrosion, with inhibition efficiencies exceeding 95% at the optimal concentration, according to weight loss and electrochemical measurements.

  • Potentiodynamic polarization results showed that CBA functions as a mixed-type inhibitor, preventing anodic metal dissolution and cathodic hydrogen evolution processes without altering the underlying corrosion mechanism.

  • The formation of a compact and protective adsorbed layer was confirmed by electrochemical impedance spectroscopy, which showed a notable reduction in double-layer capacitance and an increase in charge transfer resistance when CBA was present.

  • The inhibitor follows the Langmuir adsorption isotherm, as indicated by the adsorption studies.

  • Negative free energy of adsorption values suggest that spontaneous adsorption is dominated by physisorption, with partial chemisorption contributions.

  • The adsorption mechanism was further supported by the reduction in inhibition efficiency with increasing temperature.

  • In comparison to uninhibited steel, surface morphology and wettability analyses (SEM, AFM, contact angle, and UV–Vis spectroscopy) directly demonstrated effective surface coverage by CBA, leading to smoother surfaces and increased hydrophobicity.

  • According to quantum chemical calculations, CBA’s favorable electronic properties, such as its high electron-donating capability, an appropriate HOMO–LUMO energy gap, and active adsorption centers on nitrogen atoms and aromatic π-systems, are linked to its high inhibition efficiency.

  • NBO analysis verified strong intramolecular charge transfer and electronic stabilization.

  • Overall, the findings show that, under carefully monitored laboratory settings, cyclobenzaprine hydrochloride effectively inhibits carbon steel corrosion in acidic solutions.

  • Before applying these results to industrial systems, further research addressing long-term performance, environmental impact, and practical applicability is necessary, even if the findings point to the potential of medicinal compounds as corrosion inhibitors.

Author contributions

M.A. M. I.: Writing—review and editing, visualization, investigation, formal analysis. M.A.El.: Methodology, investigation, formal analysis, conceptualization. I.H.El.: Methodology, Investigation, formal analysis. S.A.H.: Writing—review and editing, resources, methodology, visualization, investigation.

Funding

Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB). The authors declare that no funding was received for this study.

Data availability

All data generated or analyzed during this study are included in this published article.

Declarations

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Finšgar, M. & Jackson, J. Application of corrosion inhibitors for steels in acidic media for the oil and gas industry: A review. Corros. Sci.86, 17–41 (2014). [Google Scholar]
  • 2.Yadav, M., Sliem, M. H., Abdullah, A. M., Youssef, K. M. & Al-Qahtani, N. H. Impact of prolonged exposure to sour service on the mechanical properties and corrosion mechanism of NACE carbon steel material used in wet sour gas multiphase pipeline. Sustainability14, 8015 (2022). [Google Scholar]
  • 3.Timothy, U. J., Umoren, P. S., Solomon, M. M., Igwe, I. O. & Umoren, S. A. An appraisal of the utilization of natural gums as corrosion inhibitors: Prospects, challenges, and future perspectives. Int. J. Biol. Macromol.253, 126904 (2023). [DOI] [PubMed] [Google Scholar]
  • 4.Fayyad, E. M., Sliem, M. H., Al-Qahtani, N., Ryan, M. P. & Abdullah, A. M. Assessing underdeposit corrosion inhibitor performance for carbon steel in CO2/sulfide environment. J. Mater. Res. Technol.28, 1433–1451 (2024). [Google Scholar]
  • 5.Sliem, M. et al. The impact of trisodium phosphate on chloride-driven under deposit corrosion in steam generators. Corrosion79, 1421–1430 (2023). [Google Scholar]
  • 6.Afifi, M. et al. Adsorption mechanism and inhibition efficiency of Quaternium-15 (Q15) surfactant on carbon steel in 1 M HCl: A combined theoretical and experimental approach. Results Eng.10.1016/j.rineng.2025.106887 (2025). [Google Scholar]
  • 7.Zhang, M. et al. A novel eco-friendly and bifunctional ionic liquid with superior corrosion and microbial inhibition for L245 steel in CO2-saturated oilfield environment. Prog. Org. Coat.213, 109956 (2026). [Google Scholar]
  • 8.Chen, B. et al. In situ ultrasonic characterization of hydrogen damage evolution in X80 pipeline steel. Materials17, 5891 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Boudalia, M., Guenbour, A., Bellaouchou, A., Fernandez-Domene, R. M. & Garcia-Anton, J. Corrosion behaviour of a highly alloyed austenitic alloy UB6 in contaminated phosphoric acid. Int. J. Corros.2013, 363826 (2013). [Google Scholar]
  • 10.Zhang, Q. et al. Dextran derivatives as highly efficient green corrosion inhibitors for carbon steel in CO2-saturated oilfield produced water: Experimental and theoretical approaches. Chem. Eng. J.424, 130519 (2021). [Google Scholar]
  • 11.Yimyai, T., Thiramanas, R., Phakkeeree, T., Iamsaard, S. & Crespy, D. Adaptive coatings with anticorrosion and antibiofouling properties. Adv. Funct. Mater.31, 2102568 (2021). [Google Scholar]
  • 12.Boudalia, M. et al. Green approach to corrosion inhibition of stainless steel in phosphoric acid of Artemesia herba alba medium using plant extract. J. Mater. Res. Technol.8, 5763–5773 (2019). [Google Scholar]
  • 13.Ma, I. W., Ammar, S., Kumar, S. S., Ramesh, K. & Ramesh, S. A concise review on corrosion inhibitors: Types, mechanisms and electrochemical evaluation studies. J. Coat. Technol. Res.19, 241–268 (2022). [Google Scholar]
  • 14.Elshamy, I. H., Abd El Rehim, S. S., Ibrahim, M. A. & El Boraei, N. F. The bifunctional role played by thiocyanate anions on the active dissolution and the passive film of titanium in hydrochloric acid. Corros. Eng. Sci. Technol.57, 542–552 (2022). [Google Scholar]
  • 15.El Rehim, A. Corrosion inhibition and adsorption behaviour of 4-aminoantipyrine on mild steel in H2SO4. Corros. Prev. Control46, 157–162 (1999). [Google Scholar]
  • 16.Xu, Y. et al. Experimental and theoretical investigations of some pyrazolo-pyrimidine derivatives as corrosion inhibitors on copper in sulfuric acid solution. Appl. Surf. Sci.459, 612–620 (2018). [Google Scholar]
  • 17.Li, W. et al. Insights into triazole derivatives as potential corrosion inhibitors in CMP process: Experimental evaluation and theoretical analysis. Appl. Surf. Sci.602, 154165 (2022). [Google Scholar]
  • 18.El Ouasif, L. et al. Experimental and theoretical approaches for interfacial adsorption of novel long chain benzimidazolium derivatives for mild steel protection in 1 M HCl medium. Anal. Bioanal. Electrochem.13, 12–32 (2021). [Google Scholar]
  • 19.Ibrahim, M. A., Elshamy, I. H., Elshamy, M. I. & Elaraby, A. An experimental and computational investigation on the performance of cefotaxime in mitigating Ti6Al4V alloy corrosion. Corros. Eng. Sci. Technol.61, 161–177 (2025). [Google Scholar]
  • 20.Khedr, B. M. et al. Multifaceted insights of experimental, surface, and computational investigations for a synthesized pyrazolyl derivative inhibitor for carbon steel corrosion in an acidic environment. Sci. Rep.15, 43246 (2025). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Shetty, P. An assessment of expired drugs’ potential as effective inhibitors to combat carbon steel and mild steel corrosion. Corros. Rev.44, 20240102 (2025). [Google Scholar]
  • 22.Omar, I. M., Elshamy, I. H., Halim, S. A. & Ibrahim, M. A. Electrochemical and computational analyses of thiocolchicoside as a new corrosion inhibitor for biomedical Ti6Al4V alloy in saline solution: DFT, NBO, and MD approaches. Surfaces8, 77 (2025). [Google Scholar]
  • 23.Zhang, G., Hou, X., Hou, B. & Liu, H. Benzimidazole derivatives as novel inhibitors for the corrosion of mild steel in acidic solution: Experimental and theoretical studies. J. Mol. Liq.278, 413–427 (2019). [Google Scholar]
  • 24.Zarrok, H. et al. Corrosion control of carbon steel in phosphoric acid by purpald–weight loss, electrochemical and XPS studies. Corros. Sci.64, 243–252 (2012). [Google Scholar]
  • 25.Aslam, R. et al. Functionalized metal–organic frameworks for sustainable corrosion protection of carbon steel: Interfacial chemistry and mechanistic insights. New J. Chem.50, 2417–2432 (2026). [Google Scholar]
  • 26.El-Mokadem, T., Hashem, A., Abd El-Sattar, N. E., Dawood, E. & Abdelshafi, N. Green synthesis, electrochemical, DFT studies and MD simulation of novel synthesized thiourea derivatives on carbon steel corrosion inhibition in 1.0 M HCl. J. Mol. Struct.1274, 134567 (2023). [Google Scholar]
  • 27.Abdelshafi, N. et al. In-depth experimental assessment of two new aminocoumarin derivatives as corrosion inhibitors for carbon steel in HCl media combined with AFM, SEM/EDX, contact angle, and DFT/MDs simulations. J. Mol. Struct.1304, 137638 (2024). [Google Scholar]
  • 28.Hadisaputra, S. et al. Quantum chemical and Monte Carlo simulation studies on inhibition performance of caffeine and its derivatives against corrosion of copper. Coatings10, 1086 (2020). [Google Scholar]
  • 29.Arrousse, N. et al. The inhibition behavior of two pyrimidine-pyrazole derivatives against corrosion in hydrochloric solution: Experimental, surface analysis and in silico approach studies. Arab. J. Chem.13, 5949–5965 (2020). [Google Scholar]
  • 30.Chocholoušová, J., Špirko, V. & Hobza, P. First local minimum of the formic acid dimer exhibits simultaneously red-shifted O–H⋯ O and improper blue-shifted C–H⋯ O hydrogen bonds. Phys. Chem. Chem. Phys.6, 37–41 (2004). [Google Scholar]
  • 31.Szafran, M., Komasa, A. & Bartoszak-Adamska, E. Crystal and molecular structure of 4-carboxypiperidinium chloride (4-piperidinecarboxylic acid hydrochloride). J. Mol. Struct.827, 101–107 (2007). [Google Scholar]
  • 32.Eldougdoug, W., Ali, A., Elaraby, A. & Mabrouk, E. Corrosion inhibition of tri-cationic surfactant on carbon steel in hydrochloric acid solution. J. Basic Environ. Sci.5, 289–300 (2018). [Google Scholar]
  • 33.Xavier, J. R. Investigation on the effect of nano-ceria on the epoxy coatings for corrosion protection of mild steel in natural seawater. Anti-Corros. Methods Mater.65, 38–45 (2018). [Google Scholar]
  • 34.Salah, M., Qasim, K. F., Shama, S. A. & Mousa, M. A. Influence of Co–Mn mutual co-insertion in physicochemical properties of vanadate compounds for energy storage systems. J. Power Sources652, 237545 (2025). [Google Scholar]
  • 35.Qasim, K. F., Abdel-Hamied, S. & El-Desoky, M. Contribution of Ti insertion on nano-crystalline rich oxygen vacancy V2O5’s performance for supercapacitor electrodes. J. Solid State Electrochem.29, 701–715 (2025). [Google Scholar]
  • 36.Sangeetha, M. et al. Corrosion inhibition by an aqueous extract of Phyllanthus amarus. Port. Electrochim. Acta29, 429–444 (2011). [Google Scholar]
  • 37.Rosliza, R., Senin, H. & Nik, W. W. Electrochemical properties and corrosion inhibition of AA6061 in tropical seawater. Colloids Surf. A Physicochem. Eng. Asp.312, 185–189 (2008). [Google Scholar]
  • 38.Pinto, G. M., Nayak, J. & Shetty, A. N. Corrosion inhibition of 6061 Al-15 vol. pct. SiC (p) composite and its base alloy in a mixture of sulphuric acid and hydrochloric acid by 4-(N,N-dimethyl amino) benzaldehyde thiosemicarbazone. Mater. Chem. Phys.125, 628–640 (2011). [Google Scholar]
  • 39.Mobin, M., Aslam, R., Salim, R. & Kaya, S. An investigation on the synthesis, characterization and anti-corrosion properties of choline based ionic liquids as novel and environmentally friendly inhibitors for mild steel corrosion in 5% HCl. J. Colloid Interface Sci.620, 293–312 (2022). [DOI] [PubMed] [Google Scholar]
  • 40.Jalab, R., Saad, M. A., Sliem, M. H., Abdullah, A. M. & Hussein, I. A. An eco-friendly quaternary ammonium salt as a corrosion inhibitor for carbon steel in 5 M HCl solution: Theoretical and experimental investigation. Molecules27, 6414 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.El-Haddad, M. A., Bahgat Radwan, A., Sliem, M. H., Hassan, W. M. & Abdullah, A. M. Highly efficient eco-friendly corrosion inhibitor for mild steel in 5 M HCl at elevated temperatures: Experimental and molecular dynamics study. Sci. Rep.9, 3695 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Abd El-Lateef, H. M., Sayed, A. R. & Shalabi, K. Synthesis and theoretical studies of novel conjugated polyazomethines and their application as efficient inhibitors for C1018 steel pickling corrosion behavior. Surf. Interfaces23, 101037 (2021). [Google Scholar]
  • 43.Boraei, N. F. E., Ibrahim, M. A., Rehim, S. S. A. E. & Elshamy, I. H. Electrochemical corrosion behavior of β-Ti alloy in a physiological saline solution and the impact of H2O2 and albumin. J. Solid State Electrochem.28, 2243–2256 (2024). [Google Scholar]
  • 44.Damej, M. et al. The corrosion inhibition and adsorption behavior of mercaptobenzimidazole and bis-mercaptobenzimidazole on carbon steel in 1.0 M HCl: Experimental and computational insights. Surf. Interfaces24, 101095 (2021). [Google Scholar]
  • 45.Rahimi, A. et al. Novel sucrose derivative as a thermally stable inhibitor for mild steel corrosion in 15% HCl medium: An experimental and computational study. Chem. Eng. J.446, 136938 (2022). [Google Scholar]
  • 46.Basiony, N. E., Elgendy, A., Nady, H., Migahed, M. & Zaki, E. Adsorption characteristics and inhibition effect of two Schiff base compounds on corrosion of mild steel in 0.5 M HCl solution: Experimental, DFT studies, and Monte Carlo simulation. RSC Adv.9, 10473–10485 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Öztürk, S. et al. Synthesis, characterization, and studies of the interfacial and anticorrosion properties of a ternary cationic ionic liquid on carbon steel in a molar concentration of hydrochloric acid: Experimental and computational insights. Colloids Surf. A Physicochem. Eng. Asp.681, 132720 (2024). [Google Scholar]
  • 48.Abdel-Gaber, A., Khamis, E., Abo-Eldahab, H. & Adeel, S. Novel package for inhibition of aluminium corrosion in alkaline solutions. Mater. Chem. Phys.124, 773–779 (2010). [Google Scholar]
  • 49.Guo, L. et al. Locust bean gum as a green and novel corrosion inhibitor for Q235 steel in 0.5 M H2SO4 medium. J. Mol. Liq.310, 113239 (2020). [Google Scholar]
  • 50.Singh, P. & Quraishi, M. Corrosion inhibition of mild steel using novel Bis Schiff’s Bases as corrosion inhibitors: Electrochemical and surface measurement. Measurement86, 114–124 (2016). [Google Scholar]
  • 51.Aouine, Y. et al. Temperature and time investigations on the adsorption behavior of isoindoline, tetrazole and isoindoline-tetrazole on corrosion of mild steel in acidic medium. Int. J. Electrochem. Sci.7, 5400–5419 (2012). [Google Scholar]
  • 52.Amin, M. A. & Ibrahim, M. M. Corrosion and corrosion control of mild steel in concentrated H2SO4 solutions by a newly synthesized glycine derivative. Corros. Sci.53, 873–885 (2011). [Google Scholar]
  • 53.El Boraei, N. F., Ibrahim, M. A., El Rehim, S. S. A. & Elshamy, I. H. The effect of annealing temperature and immersion time on the active–passive dissolution of biomedical Ti70Zr20Nb7.5Ta2.5 alloy in Ringer’s solution. J. Bio Tribo Corros.9, 62 (2023). [Google Scholar]
  • 54.Ramaganthan, B. et al. Synthesized photo-cross-linking chalcones as novel corrosion inhibitors for mild steel in acidic medium: Experimental, quantum chemical and Monte Carlo simulation studies. RSC Adv.5, 76675–76688 (2015). [Google Scholar]
  • 55.Fawzy, A., Abdallah, M., Zaafarany, I., Ahmed, S. & Althagafi, I. Thermodynamic, kinetic and mechanistic approach to the corrosion inhibition of carbon steel by new synthesized amino acids-based surfactants as green inhibitors in neutral and alkaline aqueous media. J. Mol. Liq.265, 276–291 (2018). [Google Scholar]
  • 56.Hegazy, M. Novel cationic surfactant based on triazole as a corrosion inhibitor for carbon steel in phosphoric acid produced by dihydrate wet process. J. Mol. Liq.208, 227–236 (2015). [Google Scholar]
  • 57.Machnikova, E., Whitmire, K. H. & Hackerman, N. Corrosion inhibition of carbon steel in hydrochloric acid by furan derivatives. Electrochim. Acta53, 6024–6032 (2008). [Google Scholar]
  • 58.Saliyan, V. R. & Adhikari, A. V. Quinolin-5-ylmethylene-3-{[8-(trifluoromethyl) quinolin-4-yl] thio} propanohydrazide as an effective inhibitor of mild steel corrosion in HCl solution. Corros. Sci.50, 55–61 (2008). [Google Scholar]
  • 59.Zuo, X. et al. Research of Lilium brownii leaves extract as a commendable and green inhibitor for X70 steel corrosion in hydrochloric acid. J. Mol. Liq.321, 114914 (2021). [Google Scholar]
  • 60.Zarrouk, A. et al. Theoretical approach to the corrosion inhibition efficiency of some quinoxaline derivatives of steel in acid media using the DFT method. Res. Chem. Intermed.39, 1125–1133 (2013). [Google Scholar]
  • 61.Saady, A. et al. Chemical, electrochemical, quantum, and surface analysis evaluation on the inhibition performance of novel imidazo [4, 5-b] pyridine derivatives against mild steel corrosion. Corros. Sci.189, 109621 (2021). [Google Scholar]
  • 62.Laabaissi, T. et al. New quinoxaline derivative as a green corrosion inhibitor for mild steel in mild acidic medium: Electrochemical and theoretical studies. Int. J. Corros. Scale Inhib.8, 241–256 (2019). [Google Scholar]
  • 63.Gece, G. & Bilgiç, S. A theoretical study on the inhibition efficiencies of some amino acids as corrosion inhibitors of nickel. Corros. Sci.52, 3435–3443 (2010). [Google Scholar]
  • 64.Wang, H., Wang, X., Wang, H., Wang, L. & Liu, A. DFT study of new bipyrazole derivatives and their potential activity as corrosion inhibitors. J. Mol. Model.13, 147–153 (2007). [DOI] [PubMed] [Google Scholar]
  • 65.Abdelsalam, M. M. et al. Green synthesis, electrochemical, and DFT studies on the corrosion inhibition of steel by some novel triazole Schiff base derivatives in hydrochloric acid solution. Arab. J. Chem.15, 103491 (2022). [Google Scholar]
  • 66.Abdelshafi, N., Ibrahim, M. A., Badran, A.-S. & Halim, S. A. Experimental and theoretical evaluation of a newly synthesized quinoline derivative as corrosion inhibitor for iron in 1.0 M hydrochloric acid solution. J. Mol. Struct.1250, 131750 (2022). [Google Scholar]
  • 67.Belghiti, M. et al. Computational simulation and statistical analysis on the relationship between corrosion inhibition efficiency and molecular structure of some hydrazine derivatives in phosphoric acid on mild steel surface. Appl. Surf. Sci.491, 707–722 (2019). [Google Scholar]
  • 68.Politzer, P. & Murray, J. S. The fundamental nature and role of the electrostatic potential in atoms and molecules. Theor. Chem. Acc.108, 134–142 (2002). [Google Scholar]
  • 69.Abd El-Lateef, H. M., Sayed, A. R., Gomha, S. M., Bakir, E. M. & Shalabi, K. Synthesis and study of poly [(hydrazinylazo)] thiazoles as potent corrosion inhibitors for cast iron-carbon alloy in molar HCl: A collective computational and experiential methods. J. Mol. Liq.337, 116555 (2021). [Google Scholar]
  • 70.Fouda, A., Ismail, M., Abousalem, A. S. & Elewady, G. Experimental and theoretical studies on corrosion inhibition of 4-amidinophenyl-2,2′-bifuran and its analogues in acidic media. RSC Adv.7, 46414–46430 (2017). [Google Scholar]
  • 71.Mert, B. D., Yüce, A. O., Kardaş, G. & Yazıcı, B. Inhibition effect of 2-amino-4-methylpyridine on mild steel corrosion: Experimental and theoretical investigation. Corros. Sci.85, 287–295 (2014). [Google Scholar]
  • 72.Guerrab, W. et al. Synthesis, structural and molecular characterization of 2, 2-diphenyl-2H, 3H, 5H, 6H, 7H-imidazo [2, 1-b][1, 3] thiazin-3-one. J. Mol. Struct.1197, 369–376 (2019). [Google Scholar]
  • 73.Guerrab, W. et al. Synthesis of a novel phenytoin derivative: Crystal structure, Hirshfeld surface analysis and DFT calculations. J. Mol. Struct.1205, 127630 (2020). [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

All data generated or analyzed during this study are included in this published article.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES