RCS Training RCS Training
G Guest
EC-008 · Atoms, Ions, and Bonding: The Chemistry Behind Corrosion July 26, 2026
EC TRACK · ELECTROCHEMISTRY & THE GALVANIC SERIES

Atoms, Ions, and Bonding: The Chemistry Behind Corrosion

Survey-level chemistry — atoms, ions, bonds, the ions a CP tech meets, and pH at a working level.

Foundation ~12 minutes PDH/CEC eligible

A new pipeline section is going in along a county road. The trench is open, joints staged, the coating crew working their way down the line. None of the decisions you can see on site — the route, the coating, the CP layout — got made today. They were settled months ago, during the planning phase, off the back of a soil corrosivity workup the corrosion engineer sent out before any equipment showed up. You’re the tech on the install. You pull the job packet from the truck and flip to the lab report. One page. A short table.

SITE: County Rd 27 / Sta 412+50
pH ………………………. 5.6
Resistivity …………. 2,800 Ω·cm
Chloride (Cl⁻) ….. 210 ppm
Sulfate (SO₄²⁻) ……… 95 ppm
Sulfide …………….. not detected

Five numbers. They drove the design of this section — coating spec, CP layout, anode selection, inspection cadence. None of those decisions get made by a chemist. They get made by working corrosion professionals: the corrosion engineer who scoped the job, the CP designer who specified the equipment, the integrity team that set the maintenance plan. All of them reading reports like the one in your hand.

You don’t have to be a chemist to read it — but you do want to know what the report says. Why pH 5.6 matters. Why 210 ppm chloride is a flag. Why those two numbers together are worse than either one alone. What’s actually happening at the atomic level in the soil that makes any of these numbers mean anything in the first place.

EC-008 is the chemistry primer. The minimum picture of atoms, ions, and bonds that lets the soil report — and every other piece of chemistry-language information a CP tech meets — click into place. We stay at survey level. The goal isn’t to make a chemist. The goal is to put the foundation under everything that comes after in this set.


Why this module sits where it does

Opening the Electrochemistry set

The Electrical Basics rung — EC-001 through EC-007 — built the electrical side of CP work. Voltage, current, resistance, Ohm’s Law, AC versus DC, power, electromagnetism, transformers. By the end of EC-007 a tech can stand at a CP rectifier and follow what’s in front of them. That’s the electrical half of the job.

The other half is the chemical half. Corrosion isn’t an electrical phenomenon; it’s an electrochemical phenomenon — chemistry driving the electricity. CP works because a CP system is a controlled electrochemical countermeasure. Without the chemistry side, the electrical readings a tech takes in the field don’t mean anything. They’re just numbers on a meter.

EC-008 opens the Electrochemistry & the Galvanic Series rung — the next seven modules — by laying down the chemistry that everything else in the set will use. Atoms. Ions. Bonds. The handful of ions a tech meets in soil and water. pH at a working level. By the end of this module a learner should be able to read the reaction Fe → Fe2+ + 2e and know exactly what every symbol means — because that reaction is what carbon steel does when it corrodes, and it shows up in every module after this one.

The audience here is working CP techs. We don’t run chemistry experiments; we read chemistry-language reports, recognize what we’re looking at in soil and water, and make practical decisions about protection. That’s the working level we’re after.


Why metals corrode at all

Start with where steel comes from. It doesn’t come out of the ground as steel. It comes out as iron ore — mostly hematite, an iron-and-oxygen compound (chemical formula Fe2O3) found in deposits scattered around the world. The ore is broken down, melted in a blast furnace at roughly 3,000 °F, combined with carbon and other elements, and worked until it ends up as the bar, plate, or pipe that arrives on a job site.

That whole sequence puts an enormous amount of energy into the steel. The iron atoms started out tied up in a stable, low-energy chemical compound (the ore). After the mill they’re in a high-energy form — the metallic form — that doesn’t naturally exist in nature in any large quantity. The energy is stored in the metal.

Like any high-energy state, metallic iron wants to give that energy back. The way it does it — over years and decades, slowly, surface by surface — is by reacting with its environment and returning to an iron-oxygen compound. Rust. Which is almost the same chemistry as the ore the metal came from. Corrosion is just iron going home.

The whole CP industry exists because of this. Every CP system on every buried structure, every coating, every inhibitor, every sacrificial anode is a countermeasure against the steel’s natural tendency to corrode back into something like iron oxide. The driving force isn’t going away — the metal is always going to want its energy back. The job is to keep that process from happening on a useful timescale.

That’s the big-picture answer for “why does corrosion happen?” The next question is “what’s actually going on at the atomic level when it does?” That’s where chemistry comes in.


Atoms — the bare-minimum picture

Everything in the world is built from atoms. An atom is a small particle with a heavy nucleus in the middle — protons (positive charge) and neutrons (no charge) packed together — and a cloud of electrons (negative charge) around the outside, arranged in layers called shells.

The number of protons in the nucleus is what makes an element an element. Iron has 26 protons. Always. Every iron atom on the planet, in every pipeline, in every car body, in every block of ore in the ground, has exactly 26 protons. That’s the atomic fingerprint. Copper has 29. Zinc has 30. Aluminum has 13. Magnesium has 12. Carbon has 6. Hydrogen has 1, oxygen has 8, sulfur has 16, chlorine has 17. The proton count is what the element is.

In a normal atom — a chemist would call it the “neutral” atom — the number of negative electrons in the cloud exactly matches the number of positive protons in the nucleus. The charges cancel; the atom carries no net charge. A neutral iron atom has 26 protons in the nucleus and 26 electrons in the cloud around it.

The electrons in the outermost shell are the ones that matter for corrosion. The inner electrons are tightly bound to the nucleus and don’t move around much. The outer electrons are loosely held, especially for metals, and can be stripped off by a chemical reaction or shared with another atom. That’s the entire chemistry mechanism behind corrosion: metal atoms at the surface lose their outer electrons to something in the environment.

Different metals hold their outer electrons with different strengths. Magnesium and zinc hold theirs loosely — they give them up readily, which is exactly why we use those metals as sacrificial anodes. Iron holds its outer electrons a little more tightly than zinc but more loosely than copper, which is why iron corrodes faster than copper but is protected by zinc. Gold holds its outer electrons very tightly indeed, which is why a gold ring you bury in the dirt comes back looking the same.

Pointer ahead. The quantitative ranking of how readily different metals give up their outer electrons is called the galvanic series. EC-011 covers it as a table with measured numbers; for now, recognize that “metal wants to lose electrons” is a sliding scale and different metals sit at different points on it.

Ions — what’s left when electrons move

When a metal atom loses some of its outer electrons, the nucleus — with its full positive proton charge — is no longer balanced by an equal number of electrons. The atom ends up with a net positive charge. That charged atom is called an ion, and the process of making one is called ionization.

Two kinds of ions matter for corrosion work, and they differ only in the sign of the charge:

  • Cations are positively charged ions. They form when an atom loses one or more electrons. Iron cations, calcium cations, hydrogen cations — all positive.
  • Anions are negatively charged ions. They form when an atom gains one or more electrons (or when a group of atoms picks up an extra electron together). Chloride anions, sulfate anions, hydroxide anions — all negative.

Memory hook. Cation has a “t” that looks like a plus sign — ca+ion. Anion has an “n” for negative. Two letters, two charges. Both are ions; the only difference is the sign.

Charge on an ion gets written as a superscript after the chemical symbol. A normal iron atom is just Fe. An iron atom that has lost two electrons is Fe2+ — called the ferrous ion. An iron atom that has lost three electrons is Fe3+ — the ferric ion. A chlorine atom that has gained one electron is Cl — chloride. A sulfate group (one sulfur + four oxygens) that carries two extra electrons is SO42−. The number tells you how many electrons moved; the sign tells you which way.

Here’s the one equation worth taking the time to walk through. It’s the chemistry version of what happens when a piece of carbon-steel pipeline corrodes:

The canonical corrosion reaction
Fe → Fe2+ + 2e
Iron loses two electrons. What was an iron atom on the metal surface becomes a ferrous ion. The two electrons stay behind in the metal.

Reading the reaction

Left side. One iron atom, neutral, sitting at the surface of a pipeline. 26 protons, 26 electrons.

Arrow. The reaction happens. Energy flows; atoms rearrange.

Right side. A ferrous ion (Fe2+) — the iron, minus two outer electrons, now positively charged — plus two free electrons (the “2e“). The ferrous ion floats off into whatever liquid is in contact with the metal. The two electrons stay in the metal and travel through the steel to wherever the rest of the corrosion process needs them.

Charge check. Left side: one neutral atom, total charge zero. Right side: Fe2+ carries +2, and 2e carries −2; total charge zero. The charges balance. That has to be true for any real chemical reaction.

What it means in practice. Every speck of corrosion that ever happens on a carbon-steel pipeline starts with this reaction running somewhere on the surface. Multiply it by the trillions of iron atoms on the wall of a buried line and you have rust, pitting, and metal loss. CP works by feeding electrons to the steel from somewhere else so this reaction can’t run on the pipeline itself.

This is the reaction every CP tech should be able to read on sight. It shows up in EC-009 as the anodic half of the corrosion cell. It shows up in EC-010 as the canonical example of oxidation. It shows up in EC-012 when we calculate corrosion mass loss with Faraday’s Law. Land it here so it doesn’t have to be re-taught.


Bonding — how atoms hold together (and why it matters in the field)

Atoms rarely sit by themselves. They stick together with other atoms, and the way they stick determines a lot about how the resulting material behaves — including whether or not electrons and ions can move through it. Three kinds of bonding matter at survey level.

Metallic bonding

In a chunk of metal — a steel pipe, a copper wire, a zinc anode — the atoms are packed together in an orderly arrangement, and they share their outer electrons. Not as one-to-one pairs between specific atoms, but as a pool — a sea of loose electrons that drifts around the lattice of nuclei. Pick any atom; its outer electrons are running around inside the whole piece of metal, not bound to that one atom.

That loose-electron pool is what makes a metal a metal. It’s why steel is a good electrical conductor: the electrons are already loose, so an applied voltage just nudges them along. It’s why a CP rectifier connected to a steel pipeline can push current along that pipeline for miles — the steel’s metallic bonding lets electrons travel through it. Same physics that makes copper wire work.

Ionic bonding

Now imagine a cation (positive) sitting next to an anion (negative). Opposite charges attract; they hold each other in place. That’s an ionic bond. Common table salt is the classic example: sodium cations (Na+) and chloride anions (Cl) stacked together in a regular crystal lattice, held by the attraction between opposite charges.

The interesting thing about ionic compounds — salts — is what happens when you put them in water. Water molecules are good at surrounding cations and anions and pulling them apart from the lattice. The salt dissolves, and what was a single crystal becomes a soup of separate cations and anions drifting around in the water. Now those ions are free to carry electrical charge through the water by physically moving around. The water has become an electrolyte — a liquid that can conduct electricity, because the ions in it can move.

This is exactly what happens in soil. Rainwater seeps in; soil salts dissolve; the resulting moist soil is full of free cations and anions. That moist soil is the electrolyte half of every buried corrosion cell. Without the ionic bonding picture and the dissolving step, the idea of “soil as an electrolyte” doesn’t quite click. With it, it’s straightforward: it’s salt water, with the dirt thrown in.

Covalent bonding

The third kind of bond — the one that doesn’t drive corrosion directly but matters for what you choose to put between the steel and the soil — is covalent. Atoms share specific electron pairs, holding each other together without anyone gaining or losing electrons outright. Water itself is covalent (hydrogen and oxygen share electrons). So is oil. So is plastic. So are most coatings — epoxy, polyethylene, polyurethane.

Covalent compounds don’t dissolve into ions in water, and the electrons aren’t free to move through them either. So a good covalent coating — like a fusion-bonded epoxy on a pipeline — blocks both the electron path (it’s an electrical insulator) and the ion path (it doesn’t dissolve, and water and ions can’t move through it easily). That double block is why coatings work. Take away the coating — or punch a holiday through it — and both paths reopen.

Recognition takeaway. Metallic bonding lets electrons move through metal. Ionic dissolution in water lets ions move through electrolyte. Covalent coatings block both. That’s the whole “metallic path + electrolyte + insulator” framing in three sentences. EC-009 will assemble these into a corrosion cell.


The ions a CP tech actually meets

The whole periodic table is in play in chemistry, but in CP work a handful of ions show up over and over — in soil reports, in water analyses, in lab results on corrosion products. These are the names worth knowing on sight.

Chloride (Cl) — the bad actor. Chloride is the single most common aggressive anion in corrosion work. It shows up in marine environments, in road-salt runoff along highways, in produced water from oil-and-gas operations, in poorly drained soils with brackish groundwater. Once chloride concentrations climb past roughly 100–200 ppm in soil, a tech should expect the environment to be more aggressive than it would otherwise be at the same pH and resistivity. Chloride is small enough to slip through small defects in a passive oxide film or coating, which is why it drives pitting — localized, concentrated metal loss — rather than uniform thinning.

Sulfate (SO42−) — aggressive in a different way. Sulfate is also a common soil anion, especially in agricultural and industrial regions. It doesn’t attack passive films directly the way chloride does. The reason sulfate shows up on a corrosivity report is what some bacteria do with it. Sulfate-reducing bacteria (SRB) live in oxygen-starved soil environments and consume sulfate for energy; the byproduct they generate is hydrogen sulfide (H2S, the rotten-egg gas), which is corrosive to steel and contributes to microbiologically influenced corrosion (MIC). High sulfate plus oxygen-starved conditions plus the right bacteria is the warning sign.

Bicarbonate (HCO3) — the buffer. Most natural groundwater contains dissolved bicarbonate, which acts as a buffer that holds the water’s pH steady in the roughly 7–8 range. The chemistry is simple: if something acidic enters the water, bicarbonate neutralizes it; if something alkaline enters, bicarbonate compensates the other way. Bicarbonate is one of the reasons a lot of natural soils end up at a workable pH instead of swinging hard acidic or hard alkaline. It’s a generally good sign on a corrosivity report.

Calcium (Ca2+) and Magnesium (Mg2+) — the scale-formers. These are the “hardness” ions in hard water and in hard soil environments. They tend to deposit at the cathode side of a corrosion cell — the area that’s being protected — where they form calcium-carbonate or magnesium-carbonate scale. A thin scale layer can actually help by adding a physical barrier between metal and electrolyte; thick scale becomes its own maintenance problem.

Hydrogen (H+) and Hydroxide (OH) — the ones that set pH. These two are the most important pair of ions in corrosion chemistry because their balance defines whether a solution is acidic or alkaline. We’ll spend the next section on them.

Pointer ahead. Soil chemistry as a whole driving system — resistivity, oxygen, moisture content, drainage, MIC, the interactions among everything above — is its own module later in the set (EC-019). EC-008 is just naming the players.

pH — acidity and alkalinity at a working level

pH is the number on the soil report that gets read first. Working techs read pH every day — on soil reports, on water analyses, on corrosion-product analyses. Knowing what the number actually means is the foundation under all the practical decisions that follow.

The plain version: pH measures how much hydrogen ion (H+) is in a water solution. Lots of H+ → acidic. Very little H+ → alkaline (also called basic). In between → neutral. Pure water sits at the neutral point.

The scale runs from 0 to 14. 7 is neutral. Below 7 is acidic; above 7 is alkaline. The number is a measure of concentration, but it’s reported on a logarithmic scale — and this is the single most-misunderstood thing about pH:

Each step on the pH scale is a factor of ten in H+ concentration. pH 6 has ten times as much H+ as pH 7. pH 4 has a thousand times as much. The scale looks linear, but the chemistry is exponential.

Here’s why that matters in the field. A soil report comes back at pH 5. Without the log-scale picture, a tech might read that as “a little acidic — not too bad.” With the log-scale picture, pH 5 is one-hundred times more H+ than pH 7. That’s not a small difference; that’s the kind of difference that drives serious metal loss.

Worked example — what the pH number actually says

A soil sample reads pH 5. A second sample reads pH 7. A third reads pH 3. How much more hydrogen ion does each contain compared to neutral?

Reading the scale. pH 7 is neutral — the reference point. The pH-5 sample is 2 steps lower than neutral; each step is ten times more H+; so 10 × 10 = 100 times more H+ than the neutral sample. The pH-3 sample is 4 steps lower than neutral; 10 × 10 × 10 × 10 = 10,000 times more H+.

What this means in practice. Don’t read the gap from pH 7 to pH 5 as a small change. It’s not. It’s a 100-fold change in the variable that drives a major piece of corrosion chemistry. The pH-3 sample is in the 10,000-fold range — well into the territory where steel corrodes aggressively without help.

The four pH zones for carbon steel, at a working level:

  • Below pH 4 — aggressively corrosive. Steel attacks rapidly; H+ reaction at the metal surface is unrestricted, and the corrosion rate climbs fast. Industrial spills, certain mining waste areas, and decaying-organic soils can land here.
  • pH 4 to 8 — moderate. Most natural soils and waters sit in this range. Steel corrodes, but at workable rates that good coatings and CP can manage.
  • Above pH 8 — passivation. A thin oxide film stabilizes on the steel surface and slows corrosion considerably. Concrete-embedded rebar lives here, which is why bare steel inside intact concrete doesn’t rust on a useful timescale.
  • Above pH 12 — overprotection territory. CP systems that drive the steel-to-electrolyte potential too far in the protective direction can generate enough hydroxide at the metal surface to push local pH this high. Useful to know it exists; the specific protection-criteria limits are in later modules.

The amphoteric exception. A few metals corrode in both strong acid and strong alkali. Aluminum and zinc are the two a CP tech is most likely to meet. The textbook word is amphoteric. Carbon steel doesn’t behave this way — steel mostly likes pH between 4 and 12. The exception matters because aluminum components (some structures, some grounding hardware) won’t be happy in the same alkaline environments that protect steel. Worth a flag, not a deep dive.

Field connection: a tech measuring soil pH at a bell hole or a coupon location is following ASTM G51 — the standard method for measuring soil pH for corrosion testing. Every measurement that ends up on the corrosivity report traces back to the H+ content of the soil sample — which is to say, back to the chemistry in this module.


Back to the soil report

Walk back to the lab report from the hook. The numbers, with the chemistry behind them:

  • pH 5.6. Mildly acidic. One full step below neutral and a bit more — somewhere around four times the hydrogen-ion content of neutral water. Not deeply aggressive on its own, but on the acidic side of the moderate band where the steel will corrode at a meaningful rate if left to do so.
  • Resistivity 2,800 Ω·cm. A measure of how easily current flows through the soil — which in turn depends on the ion content. Lower number = more ions = better electrical conductor = more aggressive environment. 2,800 sits in the moderately aggressive range. (The full picture of resistivity as a corrosivity driver is EC-019 territory.)
  • Chloride 210 ppm. Above the rough 100–200 ppm flag line. Enough chloride to expect pitting risk and to disrupt coating performance over time.
  • Sulfate 95 ppm. Moderate. Not high enough on its own to be the dominant concern, but combined with oxygen-starved conditions and the wrong bacteria, it could feed MIC down the road.
  • Sulfide not detected. Good. No active SRB by-product in the sample. Worth re-testing periodically.

That’s a working tech’s read of a soil report, end to end. None of the chemistry above is something a tech would have to invent on site — the lab generates the numbers. What this module gives you is the picture behind the numbers, so they’re not just dots on a page.


The road ahead — opening the Electrochemistry set

EC-008 is module 1 of 7 in the Electrochemistry & the Galvanic Series Foundation series. Looking at where this set is going:

EC-009 assembles the corrosion cell — anode, cathode, electrolyte, metallic path — using exactly the pieces this module laid down. The Fe → Fe2+ + 2e reaction becomes the anodic half. The electrolyte is the soil-water with the ions you just met. EC-010 looks at oxidation and reduction as paired half-reactions — what happens at the anode and at the cathode at the same time. EC-011 ranks metals on the galvanic series, so the loose “different metals lose electrons more easily than others” idea from earlier becomes a table of measured numbers. EC-012 uses Faraday’s Law to calculate how fast metal actually leaves the structure for a given current. EC-013 looks at how environment changes the rate. EC-014 closes the set with polarization — how the system shifts under load. By the end, the chemistry started in this module is a working framework for everything a CP tech reads, measures, and decides on in the field.

The certificate that closes this rung covers all seven modules — EC-008 through EC-014 — and represents a working tech’s foundation in the electrochemical side of the job. EC-008 is where that foundation gets laid. Atoms, ions, bonds, and a working picture of pH and the ions you’ll meet day in and day out.

Key takeaways

  • Corrosion is metal returning to ore. Steel was forced into a high-energy state by the mill. Corrosion is the slow process of releasing that energy by reacting back into something close to the original ore.
  • Atoms have a nucleus (protons + neutrons) and electrons in shells. The proton count defines the element — iron always has 26 protons. The outer electrons are the ones that move during corrosion; metals hold them loosely.
  • Ions form when atoms lose or gain electrons. Cations are positive (lost electrons); anions are negative (gained electrons). The “t” in cation looks like a plus sign — useful memory hook.
  • Fe → Fe2+ + 2e is the reaction every CP tech should know on sight. Iron atom loses two electrons; what’s left is a ferrous ion that floats off into the electrolyte. The two electrons stay in the metal. This is what carbon-steel corrosion looks like at the atomic level.
  • Three kinds of bonding matter at survey level. Metallic (free electrons in metal — why pipelines carry CP current); ionic (cations + anions in salts that dissolve in water — how soil becomes an electrolyte); covalent (water itself, and coatings — block both electrons and ions).
  • A short list of ions does most of the work in CP environments. Chloride (Cl) is the aggressive anion. Sulfate (SO42−) feeds MIC through SRB. Bicarbonate (HCO3) buffers natural water near pH 7–8. Calcium and magnesium form cathodic scale. Hydrogen and hydroxide set pH.
  • pH is logarithmic. A drop from pH 7 to pH 6 is 10 times more H+; pH 7 to pH 4 is 1,000 times. For carbon steel: below pH 4 aggressive, 4–8 moderate, above 8 passivating, above 12 overprotection territory. Aluminum and zinc are amphoteric — they corrode at both extremes; steel doesn’t.

References & further reading

  • Electrochemical Basics Part 1 — Field Notes from RCS article covering the same ground at an in-the-field tone; included with this module as a PDF supplement.
  • Corrosion Basics: An Introduction — foundational text on corrosion electrochemistry; widely used as an industry reference.
  • AMPP Cathodic Protection Training Materials — industry credential standards covering atomic structure, ions, and pH at the CP-technician level.
  • AUCSC Short Course Materials — pipeline-corrosion technician training curriculum.
  • Peabody’s Control of Pipeline Corrosion — long-standing field reference; Chapter 16 covers corrosion fundamentals at the working level.
  • NACE SP0169 — Control of External Corrosion on Underground or Submerged Metallic Piping Systems — the industry standard for external-corrosion cont