What Is Corrosion? Causes, Types, and Prevention

Corrosion is the gradual destruction of materials, usually metals, through chemical or electrochemical reactions with their environment. It costs the global economy an estimated $2.5 trillion per year, roughly 3.4% of global GDP, making it one of the most expensive material problems in the world. Understanding how it works helps explain everything from a rusty garden gate to a failing oil pipeline.

How Corrosion Works at a Chemical Level

Most metal corrosion is an electrochemical process, meaning it involves the flow of electrons between different sites on a metal surface. The process needs three things: a metal that gives up electrons (the anode), a surface that receives those electrons (the cathode), and a liquid or moisture that carries charged particles between them (the electrolyte). Saltwater, rainwater, even a thin film of humidity on a surface can serve as that electrolyte.

At the anode, metal atoms lose electrons and dissolve into the surrounding liquid as positively charged ions. Those freed electrons travel through the metal to a cathode site, where they get consumed by a second reaction. In most everyday situations, dissolved oxygen in water picks up those electrons. In acidic environments, hydrogen ions grab the electrons instead, producing hydrogen gas. The net result is that solid metal converts into compounds like rust, which is iron oxide, and the original material weakens and flakes away.

Common Forms of Corrosion

Corrosion doesn’t always look the same. NASA identifies more than a dozen distinct forms, and a single piece of metal can experience several at once. The most familiar ones are worth knowing because they cause problems in different ways.

  • Uniform corrosion spreads evenly across a surface. It’s the most predictable type, which actually makes it the easiest to plan for. The orange rust coating an old steel beam is a classic example.
  • Pitting corrosion is far more dangerous than it looks. It attacks metals that normally resist corrosion, like stainless steel, forming small holes on the surface that can be massive underneath. A tiny pit on the outside may hide a large cavity below, making it hard to detect before a component fails.
  • Galvanic corrosion happens when two different metals are joined together in the presence of moisture. The less resistant metal corrodes faster than it would on its own, with telltale buildup forming at the joint between the two metals. This is why mixing copper and steel plumbing fittings without a proper barrier is a recipe for leaks.
  • Crevice corrosion develops in tight gaps where moisture gets trapped but can’t circulate freely. It shows up under washers, at threaded joints, beneath barnacles on ship hulls, and even under protective films that have started to peel.
  • Stress corrosion cracking combines mechanical stress with a corrosive environment. A metal under tension develops cracks that propagate without warning, sometimes leading to sudden, catastrophic failure.

What Speeds Up Corrosion

Several environmental factors control how fast metal degrades. Temperature is one of the most powerful. In studies of steel exposed to carbon dioxide environments (common in oil and gas pipelines), no protective layer formed on the steel surface at 55°C. But raising the temperature to just 65°C triggered the formation of iron carbonate deposits, and at 85°C those deposits became thick and dense enough to slow further corrosion. Temperature doesn’t just speed up chemical reactions; it can change which reactions happen at all.

Acidity matters too. More acidic conditions (lower pH) generally accelerate metal loss. In the same pipeline studies, raising the pH made protective layers more compact and effective. Saltwater is particularly aggressive because dissolved salts increase the liquid’s ability to carry electrical charge, essentially making it a better electrolyte and speeding up the electrochemical process. Humidity plays a similar role: corrosion rates jump when relative humidity stays above about 60%, because that’s when a continuous moisture film forms on metal surfaces.

Oxygen concentration, water flow rate, and the presence of pollutants like sulfur dioxide all contribute as well. Coastal and industrial environments are corrosion hotspots for exactly this reason: they combine salt, moisture, heat, and airborne chemicals.

Bacteria That Eat Metal

Some of the most aggressive corrosion isn’t purely chemical. Microbiologically influenced corrosion, or MIC, occurs when bacteria colonize a metal surface and create conditions that accelerate its breakdown. The best-studied culprits are sulfate-reducing bacteria, which thrive in oxygen-free environments like the insides of buried pipelines and submerged structures.

These bacteria form sticky biofilms on metal surfaces. Aerobic bacteria in the outer layers of the biofilm consume oxygen, creating an oxygen-free zone underneath where sulfate-reducing bacteria flourish. The sulfate reducers consume hydrogen that forms naturally on the metal surface during corrosion, and this removal of hydrogen speeds up the metal’s dissolution. They also produce hydrogen sulfide, a compound that’s directly corrosive to steel.

The damage can be severe. Research has shown that corrosion rates triple when oxygen is intermittently present alongside sulfate-reducing bacteria, compared to conditions that are either purely aerobic or purely oxygen-free. Copper-nickel piping in stagnant estuarine water from the Gulf of Mexico has suffered severe localized corrosion under bacterial biofilms after just one year of service. Nickel alloy piping failed after only six months under similar conditions.

Corrosion Inside the Human Body

Metal corrosion isn’t limited to bridges and pipelines. Orthopedic implants, dental hardware, and joint replacements all sit in a warm, salty, oxygen-rich environment, essentially the perfect electrolyte. Body fluids contain proteins and amino acids that can intensify the process. Sulfur in amino acids, for example, enhances crevice corrosion of stainless steel implants.

When implant metals corrode, they release ions into surrounding tissue. Some of these ions, particularly those from nickel, cobalt, chromium, vanadium, and aluminum, can trigger allergic reactions, damage cells, or in rare cases carry carcinogenic risk. Copper and nickel implants have caused visible discoloration of surrounding bone tissue, while iron and steel dissolved rapidly enough to erode the tissue around them. Beyond the biological effects, corrosion can loosen an implant mechanically, leading to pain and the need for revision surgery.

Beyond Metals: Corrosion of Ceramics and Polymers

Corrosion applies to more than just metals. Broadly defined, it’s any physical and chemical alteration of a material through interaction with its environment that degrades the material’s function. Ceramics and polymers corrode too, just through different mechanisms.

Advanced silicon-based ceramics are far more resistant to corrosion than metals, even at extremely high temperatures, which is why they’re used in aggressive chemical environments. But they’re not immune. In hot, high-pressure water (hydrothermal conditions), water molecules attack the chemical bonds in silicon-based ceramics. Silicon-nitrogen and silicon-carbon bonds break down first, releasing ammonia and methane. Then water attacks the resulting silica, dissolving it. Researchers testing ceramic coatings in hydrothermal environments measured mass losses of up to 2.25 milligrams per square centimeter after just 192 hours as elements leached from the material into the surrounding water.

Corrosion of non-metals can take two forms. Active corrosion dissolves material away, reducing size and weight. Passive corrosion forms a new surface layer through reaction with the environment, actually increasing weight. Both change the material’s properties and shorten its useful life.

How Corrosion Is Prevented

Most prevention strategies work by breaking one of the three requirements for corrosion: they separate the metal from its environment, alter the electrochemical reaction, or change the metal itself.

Protective coatings are the most common approach. Galvanizing, which bonds a layer of zinc to steel, works in two ways: the zinc physically blocks moisture from reaching the steel, and if the coating gets scratched, the zinc corrodes preferentially, sacrificing itself to protect the steel underneath. Liquid-applied coatings (paints, epoxies, polyurethanes) create a physical barrier but offer no backup protection if they’re damaged.

Cathodic protection is an electrical strategy used on pipelines, ship hulls, and offshore platforms. In sacrificial anode systems, a block of a more reactive metal like zinc or magnesium is attached to the structure. That block corrodes instead of the structure it’s protecting, and gets replaced periodically. Impressed current systems use an external power source to push electrons into the structure, preventing the metal-dissolving reaction from occurring. These are more complex but can protect much larger areas.

Material selection is often the first line of defense. Stainless steel contains chromium, which reacts with oxygen to form a thin, invisible, self-healing oxide layer on the surface. Aluminum does something similar. These passive films block further corrosion unless they’re broken down by chlorides (salt), extreme pH, or mechanical damage.

A growing area of prevention involves plant-based corrosion inhibitors. Extracts from plant leaves contain natural compounds like tannins and polyphenols that bond to metal surfaces and block corrosive agents from reaching the metal. In laboratory testing, most plant leaf extracts achieved inhibition efficiencies above 90%, with even the least effective options blocking at least 60% of corrosion. These bio-based inhibitors are far less toxic than traditional options and are attracting serious interest for industrial use, though scaling them up for commercial applications remains a challenge.