Introduction

Exactly 200 years ago, Sir Humphry Davy, serving as President of the Royal Society at that time, implemented cathodic protection (CP) as a method to combat metal corrosion for first time on the basis of scientific principles1,2,3. Capitalising on the late 18th century findings of Galvani and Volta, Davy’s experiments showed that coupling sacrificial anodes consisting of relatively unnoble metals with a more noble metal can protect the latter from corrosion. These findings rapidly led to the large-scale application of CP technology to protect corrosion of copper sheetings of ship hulls of the Royal Navy. While the corrosion of copper in seawater could be effectively mitigated, the protection current caused side effects that greatly impeded the practicality of utilising the technology on ships. Nowadays, it is well understood that these side effects are related to the changes in interfacial seawater chemistry, including an increase in the pH, resulting from the electrochemical reactions occuring on the protected metal surface, and ultimately enabling the formation of mineral deposits and thus promoting fouling2,4. In the early 19th century, Davy was not able to explain these side effects2 and failed to resolve them, with serious consequences for the fleet of the Royal Navy and even the relationship between science and society as a whole2,3. Today, the formation of mineral scales upon cathodic protection is widely accepted, and a range of studies have shed light on the parameters controlling the deposition of mineral scales and their properties, especially for cathodically protected steel in seawater. These parameters include temperature, seawater chemistry (Mg/Ca ratio, pH, etc.), water flow rate, and the extent of cathodic polarisation5,6,7.

In the early 20th century, CP was increasingly applied to protect steel structures in soil. By now, CP of ground-buried steel structures such as pipes and tank bottoms is among the most widely used corrosion protection technologies8,9,10,11,12,13, and even required by law in various countries for certain safety-relevant infrastructure such as high-pressure gas lines. In soil, similar electrochemical reactions and changes in electrolyte chemistry as in seawater are expected to occur, although a major difference is that calcareous deposits in soil cannot always form, especially in soft water environments11. Despite the widespread adoption of CP in engineering practices and the long history of CP, fundamental questions about the underlying working mechanism are still under debate10,11,12,14,15,16,17,18. Divergent theories revolve around two main aspects: the sole consideration of corrosion kinetics17,19 on the one hand, and the hypotheses surrounding the formation of iron oxide films on the steel due to the aforementioned changes in electrolyte chemistry18,20,21,22,23,24,25,26,27,28,29,30,31, on the other hand. On both sides, scholars have mainly argued on the basis of theoretical reasoning and indirect measurements, while thorough investigations about changes in the surface state of the steel electrode (formation of oxide film or not) and the adjacent medium under CP are lacking.

This lack of fundamental and coherent understanding presents a challenge for devising scientifically sound engineering practices, namely technical guidelines and standards, which are central for the safe, economic, and environmental-friendly operation of various critical steel-based structures, such as in the energy and construction sector. This problem becomes a particularly pressing issue due to the enormous socio-economic importance of corrosion of infrastructure32. In the context of ageing infrastructure in industrialised countries33,34, knowledge-based engineering practices are needed to ensure safety and to mitigate the ever-increasing costs of repairing and replacing deteriorating infrastructures. Moreover, CP can play an important role in reducing the environmental impact of infrastructure globally8,35,36, notably by preventing losses of gas, oil, or water from pipelines and by extending the lifespan of structures.

While CP of steel in flowing electrolytes such as seawater is largely understood, CP of steel in porous media such as soil or concrete, is comparatively poorly understood, because of additional degrees of complexity stemming from aspects such as the tortuous nature of the system – limiting mass transport processes such as ion or oxygen diffusion and advection, or because of the variability in the electrolyte chemistry encountered in these porous media. For these reasons, this work aimed at unravelling the mechanism of CP of steel in a porous media, such as that of soil. Here, we use a comprehensive approach utilising in-situ and ex-situ spectroscopic and microscopic techniques, combined with electrochemical characterisation, to study the changes at the metal-electrolyte interface, and particularly at the metal surface, during cathodic polarisation.

Results

Time-resolved in-situ characterisation

We potentiostatically polarised carbon steel specimens immersed in electrolyte to different cathodic or ON-potentials (EON) and recorded the cathodic current density (or protection current density, iprot). This current density iprot was found to drastically increase with more negative EON (Fig. 1a). It is noticeable that in the simulated soil solution, iprot decreased over time, which indicates time-dependent changes in electrolyte chemistry or electrode reaction kinetics. Within ~ 10 h, however, iprot tended to stabilise, reaching steady-state values of ~ 4 A m−2 (at − 1.2 VSSE), ~ 0.4 A m−2 (at − 1.0 VSSE), ~ 0.25 A m−2 (at − 0.9 VSSE), and ~ 0.1 A m−2 (at − 0.8 VSSE).

Fig. 1: Time resolved in-situ characterization of the steel / porous medium interface.
figure 1

a Mean (line) and standard deviation (shade) of the protection current densities applied for the different EON and electrolytes. b Mean (line) and standard deviation (shade) of the in-situ pH measurements at 6 mm distance from the WE surface as a function of the applied EON and experimental time. c Mean and standard deviation of the pH measurered upon CP as a function of the distance from the WE surface, experimental time, and EON. d Mean (line) and standard deviation (shade) of the dissolved oxygen (DO) concentration as a function of the experimental time for EON between − 0.73 and − 1.1 VSSE measured at 6 mm from the surface of the WE. e Light absorption spectra over time for the samples polarised to − 0.8 VSSE and − 0.9 VSSE in alkaline and soil simulated solution, respectively. f Absorption of the light with wavelength 380 nm for samples under polarisation in alkaline and soil simulated solution. The number of samples (n) used for the statistical analysis is indicated in each figure.

The application of iprot enhances the cathodic reactions occurring at the steel surface, in particular the oxygen reduction reaction (ORR) and the hydrogen evolution reaction (HER). According to these reactions, the local pH at the metal-solution interface is expected to increase. We quantified this increase in pH in simulated soil solutions in a separate experimental setup. Small and minimally invasive pH sensors where installed at a given distance from the carbon steel electrode to monitor the time-dependent pH changes in simulated soil solution upon polarisation. Figure 1b shows that the pH in the electrolyte in vicinity of the metal surface increased. At a distance of 6 mm from the polarised steel, the pH of the simulated soil solutions ranged between pH 8-10 (at − 0.92 VSSE) and pH 10−13 (at − 1.10 VSSE) within a few hours of polarisation. The pH profiles shown in Fig. 1c suggest even higher pH values at the steel surface. These observations of alkalinsation are qualitatively in agreement with literature16,22,23,24,25,37,38. To further corroborate the electrochemistry-driven alterations in near-surface electrolyte chemistry, the concentration of dissolved oxygen was measured with small sensors positioned at distance 6 mm from the steel surface in the same setup where pH measurements were done. Figure 1d shows that oxygen is rapidly consumed upon application of iprot, supporting the aforementioned hypothesis that oxygen reduction reaction (ORR) occurs, and then, once the dissolved oxygen concentration has decreased to very low levels, the hydrogen evolution reaction (HER) may dominate.

For comparison with the initially pH near-neutral simulated soil solution, we exposed carbon steel directly (t = 0) to an alkaline solution with pH~13 and potentiostatically polarised to EON = − 0.8 VSSE. In this case, iprot showed less pronounced changes over time, apart from a relatively small decrease within the first hour, and stabilised at a value of ~0.2 A m−2 (Fig. 1a). Since the electrolyte used had an elevated concentration of OH (~0.1 M), the application of the cathodic current in the order of 0.25 A m−2 is not expected to increase the pH significantly in the vicinity of the sample. It is interesting that iprot reached a comparable value in alkaline (pH~13) solution after ~1 h and in initially pH near-neutral simulated soil solution after ~10 h.

According to well-established theory39, under alkaline conditions and with potentials more noble than the reversible potential of the Fe/Fe(II) electrode, the formation of an iron oxide film is expected. We tested this hypothesis of oxide film formation upon cathodic polarisation by measuring in-situ the absorption on the surface of carbon steel samples for a duration of 30 min, using UV–Vis spectroscopy. In simulated soil solution of initial near-neutral pH and polarised at EON = − 0.9 VSSE, the absorption spectra (Fig. 1e) increased over the experimental time, particularly in the UV region (wavelengths (λ) <400 nm, also in line with observations in the iterature34,35,36) and with a characteristic peak at λ = 380 nm. Similarly, in alkaline solution (pH ~ 13) polarised at EON = − 0.8 VSSE (Fig. 1e), the absorption on the steel surface showed a peak at λ = 380 nm. This suggests comparable surface states for steel cathodically polarised in an initially alkaline electrolyte, and cathodically polarised steel in an initially pH near-neutral electrolyte (that transformed to an alkaline electrolyte upon polarisation at EON = −0.9 VSSE).

Additionally, we monitored the film formed on the steel surface over time, by conducting in-situ photometric reflectance measurements (PRM) at λ = 380 nm. At EON = −0.9 VSSE in simulated soil solution, the absorption of the film was found to increase during the entire course of the experiment (Fig. 1d), indicative of film growth. When the steel was exposed to an already initially highly alkaline electrolyte, the adsorption increased more rapidly than in the initially pH near-neutral simulated soil solution at EON = − 0.9 VSSE, however, after 30 min comparable adsorption (suggesting comparable film thickness) was observed. In the case of polarisation at EON = − 1.2 VSSE in simulated soil solution, the formation of an oxide film was not evident over the entire course of the experiment. This may be expected from the Pourbaix diagram (Supplementary Fig. 5) for iron that reveals that such negative polarisation lies within the immunity domain40.

Given the similarity in the iprot and absorption data from UV–Vis spectroscopy and PRM for steel immersed in an already initially alkaline (pH ~  13) solution, polarised at EON = − 0.8 VSSE, and steel immersed in simulated soil solution (initial pH 7.3), polarised at EON = −0.9 VSSE, we would be reasonable in expecting the iron oxide film formed on the samples exposed to the two electrolytes being similar in composition and thickness for the considered experimental time and conditions.

Ex-situ surface characterisation

While in-situ methods allow us to identify the presence or absence of a supposed iron oxide film and monitor its growth over time, ex-situ methods allow obtaining quantitative information and mapping the chemical composition of the interface of interest upon termination of the experiments. FIB-TEM, STEM and EDS was conducted on carbon steel, ex-situ, after 20 h of polarisation in either simulated soil solution or alkaline solution at different EON. The efficacy of our sample preparation protocol was tested by viewing a freshly polished steel sample under the TEM (Supplementary Fig. 1) and was validated by the absence of an oxide film at the interface between the freshly polished steel surface and the Pd/Pt coating. The TEM/STEM/EDS micrographs (Fig. 2 and Supplementary Fig. 1) show the presence of an oxide film (rich in Fe and O from the EDS maps) on the steel surface after polarisation to potentials −0.8 VSSE, −0.9 VSSE, and −1.0 VSSE in simulated soil solution, and −0.8 VSSE in the highly alkaline electrolyte. For all these cases, an oxide film with a thickness of ~2–5 nm was observed. As would be expected for the case of polarising the steel at −1.2 VSSE, in the immunity region of the Pourbaix digram40 as mentioned above, an oxide film could not be observed. Note that this is also in line with the almost constant zero absorption at λ = 380 nm over time in the PRM measurements (Fig. 1f). These ex-situ micrographs confirm that the peak in the absorption spectra at λ = 380 nm (observations from in-situ UV–Vis spectroscopy (Fig. 1e)) is related to the presence of an iron oxide film.

Fig. 2: Ex-situ characterisation of steel surfaces.
figure 2

Ex-situ TEM micrographs (a, d, g), high-angle annular dark-field STEM micrographs (b, e, h) and EDS profiles of iron, oxygen, and platinum (c, f, i). The location and direction of the EDS profiles is indicated on the STEM-EDS maps by means of purple arrows; the dashed box indicates the averaged width. The data was obtained for samples polarised for 20 h to EON = − 0.9 VSSE (ac) and EON = − 1.2 VSSE (d,e,f) in simulated soil solution as well as EON = − 0.8 VSSE in alkaline solution (g, h, i).

Electrochemical impedance spectroscopy

We assessed the electrochemical properties of the metal-solution interface over time, when immersed in simulated soil solution and maintained at different EON, using electrochemical impedance spectroscopy (EIS). In general, the EIS measurements varied significantly depending on the EON and over experimentation time. For all EON, an increase in the real and imaginary parts of impedance can be observed from the Nyquist plots (Fig. 3) over time. From the Lissajous plots aquired at 0.01 Hz (Fig. 3a) which is a frequency associated with negligible capacitive effects (see Supplementary Fig. 2), we could observe the current density to shift to lower values over time. This is in agreement with the iprot in Fig. 1a.

Fig. 3: In-situ characterisation by means of electrochemical impedance spectroscopy.
figure 3

a, Lissajous plots acquired for 0.01 Hz at different EON as a function of the experimental time. Nyquist plots measured on carbon steel under cathodic polarisation as a function of the experimental time for (b) EON = −0.8 VSSE in alkaline solution, and (c) EON = −0.8 VSSE, (d) EON = −0.9 VSSE, (e) EON = −1.0 VSSE, (f) EON = −1.2 VSSE in soil simulated solution.

At EON = − 0.8 VSSE, we found that the currents during the sinusoidal applied voltage signal included both cathodic and anodic excursions (Fig. 3a), suggesting that the system was close to the open circuit potential (OCP) over the entire experimental time, as one would expect in deoxygenated conditions. This can explained by the known rapid deoxygenation of the metal surface upon application of a cathodic protection current23,24 (Fig. 1d), which is also supported by the observed fast decrease in iprot below levels of 0.1 A m−2 (Fig. 1a). Given that this system was close to the OCP, we estimated the polarisation resistance (Supplementary Note 1) from the slope of the Lissajous plots (acquired at 0.01 Hz, Fig. 3a). Conversion to corrosion current density suggests the latter to be of the order of ~7 μA cm−2 (or ~70 μm y−1, Supplementary Note 1), which is clearly higher than protection criteria in different standards41,42. It can therefore be inferred that at EON = − 0.8 VSSE cathodic protection was not fully achieved and the metal corroded at non-negligble values, however at a much lower rate than a non polarised steel exposed to a similar electrolyte43. We observed remarkably different electrochemical impedance spectra for the cases at EON = − 0.9 VSSE and EON = − 1.0 VSSE and these show a significant increase in impedance over time, with real impedances reaching >4000 Ω cm2 after 20 h. At EON = − 0.9 VSSE, there seems to be a second time constant at low frequencies appearing with time, although the data geneally becomes relatively noisy after 5−10 h, which hampers the interpretation at frequencies <0.1 Hz. For the case at EON = − 1.2 VSSE, the Nyquist plots (Fig. 3e) showed perfect semicircles, especially after 10 h of plarisation, suggestive of an ideal capacitive metal/solution interface. In line with the observations from PRM (Fig. 1f) and FIB-TEM (Fig. 2), at EON = − 1.2 VSSE, the carbon steel was virtually free of an oxide film. For all other polarisation conditons (EON = − 0.8 VSSE, EON = − 0.9 VSSE and EON = − 1.0 VSSE), the semicircles were depressed (Fig. 3b–d) and indicative of a corroding or passive iron system44, which again agrees with the in-situ and ex-situ surface characterisation results presented above. It may also be noted that at EON = − 1.2 VSSE, while the impedance increased over time, it was much lower (800 Ω cm2 at 20 h) compared to all other studied polarisation conditions, which may be attributed to the fast kinetics of the HER, as discussed below.

Conducting EIS in conjunction with polarising the carbon steel at significantly cathodic potentials (EON = − 1.0 VSSE and − 1.2 VSSE) allowed us to extract interesting information from the Lissajous plots at frequency 0.01 Hz, where capacitive effects can here be considered negligible. At these cathodic potentials, the potential-current response of the system can be assumed to be governed by the kinetics of the cathodic reaction and the Lissajous plots can be considered to represent a small portion of the cathodic reaction branch. For instance, the slope of the Lissajous plots can be used as a proxy of the cathodic Tafel slope (bc, Supplementary Note 1). Given that the concentration of dissolved oxygen at the steel surface decreases rapidly to low values (Fig. 1d), it is reasonable to assume that this cathodic Tafel slope over time corresponds increasingly to the cathodic reaction kinetics of the HER. At EON = − 1.0 VSSE, |bc| increased with time, approaching a value of 0.45 V dec−1 (Supplementary Note 1), which is in line with litetature values for HER on carbon steel with an iron oxide film45. The change in bc over time suggests increasingly limited HER kinetics, which agrees with our results on time-dependent iprot, pH, dissolved oxygen, PRM (Fig. 1) and the FIB-TEM (Fig. 2) confirming the presence of an iron oxide film. On the other hand, at EON = − 1.2 VSSE, the opposite trend for |bc| was observed, namely a decrease in |bc| towards values around 0.3 V dec−1 (Supplementary Note 1). This may be explained by the fact that the |bc| of HER is lower on bare iron compared to iron covered with an oxide film45, and that at EON = − 1.2 VSSE, the steel electrode is in the immunity domain and is free from an oxide film (Fig. 2).

Discussion

Based on our investigations of both spatio-temporal changes in the electrolyte and of the steel surface, we provide a closure to the long-standing debate on the working principle of CP. A century after Davy’s experiments to protect copper in seawater from corrosion, CP of iron and mild steel in soil – a porous medium – was studied by Bauer and Vogel in Germany in the 1910s46 and extensively by Kuhn in the US in the 1920s40. From the 1950s onwards, CP was also applied to protect reinforcing steel corrosion in another porous medium, namely concrete47. CP of iron-based alloys exhibits fundamental differences from CP of copper, amongst other reasons, because iron in the water system cannot be as easily polarised to the immunity domain as in the case of copper39. While the work by Bauer and Vogel46 was largely inspired by Davy’s approach and focused on varying the area ratio between sacrificial anodes such as zinc and the protected iron, Kuhn40 carried out more rigorous experiments, striving to elucidate the underlying mechanism. Already in 1928, Kuhn hypothesised – notably without any direct experimental evidence – on the role of changes in the interfacial electrolyte chemistry by stating that the cathodic current “causes a film of hydroxide to form which protects these areas from corrosion” (in agreement with Eqs. 1 and 2, shown below). Later on, scholars9,21,22,23,24,25,29,30,38,48,49,50,51 have attempted to experimentally quantify this modification of the electrolyte upon CP, which was later interpreted in the context of pH-dependent stability diagrams that were proposed by Pourbaix in the middle of the last century39. This combination of experimental evidence for interfacial pH increases upon CP with thermodynamic stability diagrams, made a number of scholars hypothesise about the formation of an iron oxide film that then protects the steel from corrosion11,25,28,31,37,38,52,53,54,55,56,57,58. Note that in the literature, and especially in the work of Pourbaix, such films forming within the potential-pH domain where iron oxides are thermodynamically stable, are termed passive film, because the film significantly modifies the anodic reaction kinetics, namely slowing down the iron dissolution rate by several orders of magnitude, thus promoting corrosion protection. However, direct experimental evidence for such oxide films was lacking until today. Another camp of scholars remained critical about a oxide film forming under cathodic polarisation and instead supports the view that the mechanism of CP of steel occurs through the negative shift in potential along the Tafel line of the activation-controlled iron dissolution reaction (Fe → Fe2+ + 2e-), thus reducing the rate of anodic iron dissolution13,17,19.

We conclude that both these theories need be considered complementary to each other, rather than contradictarily, to fully elucidate the working mechanism of CP as highlighted in Fig. 4a–c and discussed in the following. Prior to application of a cathodic current, at t < 0 (Fig. 4a), the anodic dissolution of Fe is sustained by the oxygen reduction reaction (ORR, Eq. 1), generally under diffusion limited conditions. The released aqueous Fe hydrolyses and precipitates as Fe(II) oxides or, upon oxidation, as Fe(III) (hydr)oxides. As shown in Fig. 4b, in the early stage of the application of a cathodic current, at t \(\ge\) 0, our results indicate that the pH of the electrolyte in the vicinity of the steel increases (Fig. 1b, c) and that this local alkalinsation of the electrolyte is accompanied by a reduction in dissolved oxygen (Fig. 1d). These changes in the interfacial electrolyte chemistry (e.g., rise in pH and reduction in the dissolved oxygen concentration) may also explain the increase of the phase angle over the experimental time in the frequency region between 1000 and 1 Hz obtained with EIS measurements (Supplementary Fig. 2). Equation 1 shows the simultaneous consumption of oxygen and generation of OH-, occurring for ORR, and leading to a decrease of oxygen concentration and an increase of pH at the metal surface, which over time, due to diffusional transport, leads to concentration profiles (the magnitude of which might be influenced by the degree of saturation) extending into the porous medium as schematically illustrated in Fig. 4b and apparent from the experimental results (Fig. 1b, c). With time and decreasing concentration of dissolved oxygen (Fig. 1d), the ORR is overtaken by the hydrogen evolution reaction (HER) as the cathodic reaction, further resulting in the generation of OH (Eq. 2).

$${O}_{2}+{2H}_{2}O+4{e}^{-}\to 4{{OH}}^{-}$$
(1)
$${2H}_{2}O+2{e}^{-}\to 2{{OH}}^{-}+{H}_{2}$$
(2)
Fig. 4: Mechanism of cathodic protection of iron or carbon steel.
figure 4

Schematic representation of cathodic protection mechanism (a) before the application of CP, (b) in the first instants of CP application, (c) and later during CP application. Schematic representation of the Evans diagram for iron or carbon steel in passive domain (d) and in immunity (e) in simulated soil solution with an initial pH 7.3. The kinetics reported here refer to the Pourbaix diagram. The blue lines correspond to the cathodic reactions (Eq. 1 and Eq. 2) and the orange lines correspond to the anodic reaction (iron dissolution). Dotted lines represent time (t) equal to 0, namely the moment of the application of the cathodic current, continuous lines are at t > 0, that is, a time where the application of the cathodic current has led to an increase in pH and a decrease in oxygen concentration at the metal surface. The dashed black lines correspond to EON, the purple line correspond to the applied cathodic current density (iprot), while the red line corresponds to the residual anodic current density (ia). Ecorr and icorr correspond to the open circuit potential (OCP) and corrosion current density, respectively, in absence of polarisation. bc represents the cathodic Tafel slope on bare metal and on iron oxide.

A rise in the local pH (Fig. 1b, c), modifies the thermodynamic stability of the polarised steel-electrolyte interface (as viewed through the Pourbaix diagram for Fe-H2O – Supplementary Fig. 5) from the active domain to the passive domain, facilitating the growth of an iron oxide film with composition predominantly resembling that of magnetite (Fe3O4)39 (Fig. 4c). The formation of such an oxide film has been experimentally shown both with in-situ (Fig. 1e, f) and ex-situ (Fig. 2, Supplementary Fig. 1) measurements, and quantified at a thickness of ~2–5 nm. Our time-resolved in-situ measurements (Fig. 1e, f) suggest that the oxide film grows as the pH at the metal-electrolyte interface increases over time (Fig. 1b, c). The fact that the measured absorption increases (Fig. 1f) significantly faster for steel when cathodically polarised in an initially (t = 0) already alkaline solution than in the case when the steel is cathodically polarised in an initially near-neutral solution (and consequentially leading to an alkaline solution at the steel-electrolyte interface), further corroborates our hypothesis that the formation of an iron oxide film is a direct consequence of the increase in pH.

The application of cathodic polarisation not only changes the electrolyte chemistry and the surface state of the steel, but also simultaneously influences the corrosion kinetics, as indicated by the marked decrease in the iprot observed over time (Fig. 1a). We explain this decrease in iprot with a schematic Evans diagram – as illustrated in Fig. 4d, e. Let us first understand how CP influences the cathodic reaction kinetics. Upon the application of a cathodic current (t ≥ 0), the electrolyte at the steel-electrolyte interface becomes alkaline and depleted in dissolved oxygen within a few hours (Fig. 1), and, as a consequence as discussed above, the dominating cathodic reaction changes from ORR to HER. In systems with low bulk oxygen concentration, e.g. in wet soil, this transition will obviously occur faster. In any case, the local alkalinsation of the electrolyte due to ORR and HER at the steel-electrolyte interface modifies the reversible potential of hydrogen (\({E}_{{H}_{2}}^{{rev}}\)) to more negative values39. The cathodic Tafel slopes obtained from the Lissajous plots, and especially their evolution over time (Fig. 3a and Supplementary Note 1), support the suggested changes in the cathodic reaction, from ORR to HER, and the growth of an oxide film on the metal surface with time (Fig. 4c, d).

Now, we consider the changes in the anodic reaction kinetics upon cathodic polarisation. The oxide film formed due to the alkaline pH (>9) at the steel-electrolyte leads to a drastic change in the anodic reaction kinetics, as evidenced by the conversion of the anodic reaction from iron dissolution (Fe → Fe2+ + 2e-) to magnetite formation (3Fe + 4H2O → Fe3O4 + 8e- + 8H+)59. With this transition, the reversible potential of the anodic reaction (\({E}_{{Fe}}^{{rev}}\)) becomes pH dependent39, and the Tafel slope increases significantly, reflecting the hindered anodic dissolution kinetics. By considering these dynamic changes in the anodic and cathodic reaction kinetics, the composition (particularly pH) of the electrolyte, the concentration of dissolved oxygen at the steel-electrolyte interface and the surface state of the steel, we can explain the decrease in the iprot over time (Fig. 4d). Our results suggest stabilisation at longer durations between 0.05 A m−2 and 4 A m−2 (depending on the cathodic potential applied).

However, as one would expect, the growth of the iron oxide film would only be possible when the pH is sufficientl high and the potential is above \({E}_{{Fe}}^{{rev}}\), for there to be a residual anodic current density (Fig. 4d, e), and not to force the steel-electrolyte interface into the immunity region of the Fe-H2O Pourbaix diagram (Supplementary Fig. 5). Finally, it should be noted that if one assumed that the anodic and cathodic kinetics are constant (that is, not affected by the changes due to the cathodic polarisation, and remaining as represented for t = 0 in Fig. 4d also for t > 0), the experimental observations of a decrease in iprot over polarisation time could not be explained.

This study has characterised a number of simulataneous and intertwined processes occuring at the steel-porous medium interface upon the application of CP, namely, alkalinsation and deoxygenation of the interfacial electrolyte and the formation of an iron oxide film on the steel surface. Whilst our results coherently underpin the proposed mechanism of CP of steel in porous media summarised in Fig. 4, it is important to note that the thermodynamic stability domains of immunity, active corrosion, and passivity depends on the activity of Fe and the presence of species such as chloride, sulfates, or carbonates. Thus, the here observed relationships between applied potential (EON), resulting protection current, pH, oxygen concentration, and growth of oxide film, are not directly applicable to other conditions. In particular the effect of complexing species such as carbonate ions may have an important influence on EON needed to ensure corrosion protection (compare Supplementary Note 2)60.

The findings and mechanistic insight of this study contribute to enhancing corrosion protection technologies and resolving some of the severe limitations of the state-of-the-art engineering practices related to corrosion in safety-relevant steel-based structures, such as in the energy and construction sector. Criteria for the assessment of the effectiveness and to ensure the safe operation of CP have been debated for almost a century11,12,18,29,49,61,62,63, with the controversy arising primarily from a lack of scientific comprehension of the mechanism of CP. It should also be mentioned that protection criteria in standards are largely based on empiricism rather than on scientifically rigorous concepts10,11,49,64. Interestingly, our findings now support the pausibiliy and correctness of certain concepts in these standards (Supplementary Note 3). Nevertheless, a severe shortcoming of state-of-the-art engineering is that the requirements specified in various standards sometimes conflict with one another, making it difficult to satisfy all relevant standards simultaneously10,64. To overcome these limitations of engineering practice, new approaches have been proposed64. It is important to recognise that these approaches are based on the previously hypothesised concept that an iron oxide film forms upon CP10,11,12,16,20,26. In this context, our findings serve as a crucial basis for future engineering practice to devise consistent standards that are not in conflict with each other and are based on parameters that can be measured on modern and well-coated structures.

Materials and methods

Materials and experimental setups

Carbon steel (grade 1.0330, with C < 0.12%, Mn < 0.6%, P < 0.045% and S < 0.045%, according to the specifications of the supplier) was used as the working electrode (WE) in this study. The reference electrode (RE) was Ag/AgCl sat. KCl (SSE) and the counter electrode (CE) was titanium metal mixed oxides (TiMMO) mesh. NaOH pellets (≥98%), anhydrous Na2SO4 (>99%), NaHCO3 (>99.7%) and Ethylenediaminetetraacetic acid disodium salt dihydrate (EDTA) (>99%) of ACS reagent grade were purchased from Sigma Aldrich. For all the experimental setups used in this study, stirring of the electrolyte was not implemented.

Setup for steel characterisation

The WE was a cylindrical carbon steel bar with its lateral surface coated with epoxy resin, which was applied with fluidised bed epoxy coating technique. With this process, possible gaps between the steel and the epoxy resin are minimised, thereby, reducing the risk of crevice corrosion. After soldering the back side of the sample to a copper cable to provide electrical connection, the sample was embedded in an acrylic resin, protecting the cable connection at the back side as well as the lateral surface. The uncoated front surface of the bar, which has a cross-sectional area of 1 cm2, was polished down to 1 µm with a diamond paste and then exposed to electrolytes for all subsequent tests. Between polishing and immersion in the electrolyte, the sample was stored for 30 min in a desiccator containing silica gel (i.e. relative humidity about 10%).

Two electrolytes were used in this study: an alkaline solution composed of 0.1 M NaOH + 2 mM EDTA with pH equal to 13, and a simulated soil solution composed of 5 mM Na2SO4 + 2.5 mM NaHCO3 + 2 mM EDTA with pH equal to 7.3. The conductivities of the alkaline solution and simulated soil solution measured with Mettler-Toledo SevenExcellence conductivity electrode were 22310 μS cm−1 and 1341 μS cm−1, respectively. EDTA is well known to have a strong affinity for aqueous iron65,66 and reduce the availability of aqueous iron to participate in other chemical reactions65,66,67. EDTA was added in the electrolytes to minimise the precipitation of iron hydroxides at the metal surface68,69, which could potentially interfere with in-situ surface characterisation. EDTA is generally not present in natural environments, but other species (i.e., carbonate ions, \({{CO}}_{3}^{2-}\)48,60) with similar affinity to iron might be present in natural soils.

The pH of the solutions was measured by means of Mettler-Toledo SevenExcellence pH meter in conjunction with a glass membrane electrode. The pH meter was calibrated against commercial (Mettler-Toledo and Sigma-Aldrich) buffer solutions of pH 7, 11 and 13. The measurements in alkaline solutions were performed relatively quickly to reduce the error as a consequence of the release of silica from the glass membrane.

Setup for electrolyte characterisation

In order to limit the setup to a 1D problem, an electrochemical cell with internal dimensions 20 x 20 x 200 mm3 was designed to study the temporal and spatial modifications in the soil chemistry during the application of CP (Supplementary Fig. 4).

The dimensions of the WE for this setup were 19 x 19 x 2.5 mm3. The back side of the WE was soldered to a copper wire to provide electrical connection. Subsequently the WE was embedded in acrylic resin to isolate the back side as well as the lateral side from the electrolyte. The WE was polished down to 5 μm with SiC grinding paper leaving an exposed area of 3.61 cm2. The WE was then located on one of the sides of the electrochemical cell. On the opposite face of the cell, the CE was positioned at a distance of ~195 mm from the surface of the WE. The RE was positioned 6 mm away from the surface of the WE to limit the contribution of IR-drop during the measurements.

Potentiometric sensors (Duramon AG), to measure pH in-situ, were positioned at 6 mm, 12 mm, 18 mm, and 24 mm from the WE surface. Additionally, an optical sensor (Pyroscience GmbH) was placed at 6 mm from the WE surface to monitor dissolved oxygen (DO) concentration. The location of the pH and oxygen sensors allowed monitoring temporal and spatial changes in the chemistry of the electrolyte in proximity of the WE upon the application of CP.

For these experiments the electrolyte was composed by quartz sand with granulometry <0.9 mm saturated with a solution composed by 5 mM Na2SO4 + 2.5 mM NaHCO3 and adjusted to a pH of 7 by adding HCl. The conductivity measured with Mettler-Toledo SevenExcellence conductivity electrode of the soil saturated solution was 437 μS cm−1.

Before the experiment, the quartz sand was carefully washed with dionised water and dryed in oven at 80 °C multiple times until the conductivity of the washed out water was in the same range as the conductivity of the dionised water. These iterations were performed to remove possible contaminants that could comprimise the chemical composition of the solution.

Electrochemical polarisation and measurements

The electrochemical conditioning and measurements were performed with Gamry interface 1010E. On all samples, cathodic polarisation was applied in potentiostatic mode up to 20 h. Different ON-potentials (EON) in the range of −0.73 VSSE and −1.20 VSSE were applied. The corresponding cathodic protection current densities (iprot), were recorded over time. The electrochemical cell used for these electrochemical polarisation tests and measurements combined with PRM and UV–vis spectroscopy is described elsewhere48,70.

Additionally, companion samples were identically polarised in a conventional three-electrode electrochemical cell, which allowed for in-situ characterisation by means of electrochemical impedance spectroscopy (EIS). EIS measurements were repeated once with a fresh sample for each configuration. As the results showed very good reproducibility, data pertaining to only one sample is presented in this paper.

Upon polarising the sample cathodically, EIS was conducted every 30 min for 20 h. To this aim, a sinusoidal voltage signal was superimposed on different EON. The superimposed root-mean-squared voltage signal (VRMS) was 15 mV. The frequency range used to study EIS was between 5000 Hz and 0.01 Hz.

Steel and electrolyte characterisation techniques

UV–vis (in-situ)

UV–vis measurements were carried out using a Lambda 650 UV–Vis spectrophotometer from Perkin Elmer. The absorption spectra were recorded between wavelengths 800 and 320 nm, with step size of 2 nm. The electrochemical cell was located at the reflection station of the UV–vis spectrophotometer, and the WE was positioned in correspondence to the centre of the incident light window (with a diameter about 2.5 cm). The WE surface was positioned 4 mm from the Suprasil glass of the electrochemical cell, making the effective path length of light roughly 8 mm. The reflected and scattered light were collected by the integrating sphere and directed to the detector.

Photometric reflectance measurements (in-situ)

For photometric reflectance measurements (PRM), a Deuterium lamp (30 W) was used as the light source, providing a continuous light with wavelength between 200 nm and 700 nm (UV and visible range). An optical fibre with diameter of 400 µm and 2 m in length guided the light towards the WE surface. Ferrule clamps and a 3D printed support in polylactic acid (PLA) allowed positioning the optical fibres at a distance of 6 ± 0.15 mm from the WE, with an incident (αi) and reflection angle (αr) of 30° ± 0.2°. The diameter of the light beam on the WE surface was about 2 mm. The reflected light was collected by means of a second optical fibre and guided to the spectrometer (Thorlabs CCS200). The spectrometer and the potentiostat were connected via USB to a computer and controlled with the dedicated software. Schematic representations of the setup can be found in Supplementary Fig. 6 and a detailed description of the setup has been reported elsewhere48,70.

The absorption of the film was calculated with Eq. 369:

$${Absorption}=1-\frac{I\left(\lambda \right)}{{I}_{0}\left(\lambda \right)}$$
(3)

where, I is the intensity of the reflected light, and I0 is the intensity of the reflected light on the oxide-free (initial) surface. The integration time of 2.5 s was selected in order to maximise the signal to noise ratio in the UV region. As observed from UV–vis measurements, the most significant modification in absorption was measured at 380 nm, and therefore we chose to evaluate the PRM data at that wavelength.

FIB-TEM (ex-situ)

Samples that had been polarised for 20 h in the test solutions under different conditions were retrieved, immediately dried with N2 (g) and stored in a desiccator containing silica gel crystals under a N2 atmosphere. For comparison, a freshly polished sample underwent the same protocol. Subsequently, the samples were coated with Pt-Pd with a thickness of 5 nm within 2 h from the extraction from the testing solution in order to limit any further oxidation. Then, TEM lamellae with dimensions about 12 × 5 × 0.08 µm3 were extracted from the WE.

The lamellae were prepared by focussed ion beam (FIB) (Helios 5 UX, Thermo Scientific, the Netherlands) using AutoTEM 5 software (Thermo Scientific, the Netherlands). A schematic representation of the sample preparation for TEM analysis can be found in Supplementary Fig. 3. A protective carbon layer was deposited on the region of interest (ROI) first by an electron beam (2 kV, 13 nA), followed by an ion beam (30 kV, 1.2 nA). The chuck milling and lamellae thinning were done at 30 kV with FIB current from 9 nA to 90 pA with gallium ions. The lamellae were then polished at 5 kV (17 pA) and finished at 2 kV (12 pA). TEM investigations were performed at Talos F200X (FEI, the Netherlands) operating at 200 kV. Both TEM and scanning transmission electron microscope (STEM) modes were used. Energy dispersive spectroscopy (EDS) mapping was acquired by using a Super-X EDS system in the STEM mode.

pH measurements (in-situ)

IrOx sensors (supplied by Duramon AG) were used to monitor the pH variations during CP conditions allowing a temporal and spatial resolution of the pH. The equilibrium potential of these IrOx sensors at a given temperature depends only on the pH of the solution. Each sensor was subjected to a 5 points calibration in buffer solutions in pH range between 7 and 13 before and after every experiment. With IrOx sensors the changes in pH could be measured at different distances from the steel surface during the application of CP.

Dissolved oxygen concentration measurements (in-situ)

The oxygen concentration was monitored by fibre optical oxygen sensors. The oxygen probe (OXROB3) and datalogger (Optical Oxygen Meter - FireStingO2) from Pyroscience GmbH were used to monitor the oxygen concentration in proximity to the WE surface during the application of CP. The sensors provided information on the oxygen consumption in the vicinity of the WE surface (6 mm) over time. The calibration of the oxygen sensor was performed before each experiment with a procedure suggested by the manufacturer.