Chemical injection system administering corrosion inhibitors to a steel pipeline in an oil and gas facility.
Author: Atul Singla | Piping Engineering Expert | Updated: May 2026
Chemical injection system for corrosion inhibitors in oil and gas pipelines

Comprehensive Guide to Corrosion Inhibitors in the Oil and Gas Industry

Corrosion Inhibitors in Oil and Gas: Chemical treatment agents designed to mitigate internal pipeline degradation by forming a protective molecular film on steel surfaces, complying with NACE SP0169 and API RP 5C5 standards. These formulations significantly extend asset life and prevent catastrophic failures in high-shear, sour service environments.

In my 20-plus years of piping engineering, I have stood on offshore platforms and in desert processing facilities looking at pipelines eaten away from the inside out. Internal corrosion is a silent, relentless enemy. When you are dealing with wet gas, sour crude, or high-water-cut production fluids, relying solely on corrosion allowance is a recipe for disaster. That is where chemical treatment becomes your primary line of defense.

Implementing chemical treatment is not just about pumping a generic chemical down a wellbore or into a manifold. It requires a deep understanding of fluid dynamics, metallurgy, and chemical partitioning. In this guide, I will share the practical engineering principles, calculations, and field-proven strategies needed to select, design, and monitor chemical injection systems that keep your infrastructure intact.

Key Engineering Takeaways

  • Understand how filming amines establish a hydrophobic barrier to block corrosive species.
  • Learn to calculate inhibitor efficiency and evaluate wall shear stress limits.
  • Master the selection criteria based on temperature, fluid velocity, and sour service conditions.
  • Implement robust field monitoring protocols using electrical resistance probes and coupon analysis.



Interactive Engineering Quiz
EPCLAND Portal
Question 1 of 3

In oilfield applications, organic film-forming corrosion inhibitors (such as imidazoline derivatives) are frequently used to mitigate CO2 (sweet) and H2S (sour) corrosion. What is the primary mechanism by which these surfactant-like molecules adsorb onto the steel surface, and how does the presence of a pre-existing iron sulfide (FexSy) film affect this process?




Complete Course on
Piping Engineering

Check Now

Key Features

  • 125+ Hours Content
  • 500+ Recorded Lectures
  • 20+ Years Exp.
  • Lifetime Access

Coverage

  • Codes & Standards
  • Layouts & Design
  • Material Eng.
  • Stress Analysis
Technical Deep-Dive & Mechanisms

Why Corrosion Inhibitors in Oil and Gas Matter

Pipeline Asset Protection: The systematic application of chemical inhibitors to control internal corrosion rates below 0.1 millimeters per year in accordance with ASME B31.8 and NACE SP0106. This engineering practice prevents localized pitting and stress corrosion cracking in high-pressure hydrocarbon transport lines.

Internal corrosion in oil and gas pipelines is primarily driven by the presence of water alongside carbon dioxide (CO2, sweet corrosion), hydrogen sulfide (H2S, sour corrosion), and oxygen. When these gases dissolve in the aqueous phase, they form highly corrosive acids. For instance, dissolved CO2 forms carbonic acid, which rapidly attacks carbon steel, leading to severe pitting.

To quantify the performance of your chemical treatment program, you must calculate the Inhibitor Efficiency (IE%). This is the fundamental metric I use to evaluate whether a chemical formulation is performing up to design specifications:

IE% = ((CR_uninhibited – CR_inhibited) / CR_uninhibited) * 100

Where:
• CR_uninhibited is the baseline corrosion rate of the bare metal without chemical treatment (typically measured in millimeters per year, mm/y, or mils per year, mpy).
• CR_inhibited is the corrosion rate measured after the continuous injection of the chemical inhibitor.

In high-velocity pipelines, fluid shear stress at the pipe wall can physically strip away the protective inhibitor film. Therefore, we must calculate the wall shear stress (tau) to ensure it does not exceed the critical shear stress limit of the selected chemical:

tau = 0.5 * f * rho * v^2

Where:
• tau is the wall shear stress (Pascals, Pa).
• f is the dimensionless Fanning friction factor, determined via the Moody diagram or Colebrook-White equation.
• rho is the fluid density (kg/m³).
• v is the mean fluid velocity (m/s).

If your calculated wall shear stress exceeds the manufacturer’s certified limit (often ranging from 10 to 50 Pa for standard filming amines), the inhibitor film will fail, leading to localized, accelerated pitting.

How Corrosion Inhibitors in Oil and Gas Work

Molecular Film Formation: The adsorption of polar organic molecules onto metal surfaces to create a hydrophobic barrier that blocks corrosive species like carbon dioxide and hydrogen sulfide. This mechanism complies with ASTM G170 guidelines for laboratory evaluation of pipeline chemicals.

Most commercial formulations used in our industry are organic, surface-active compounds. These molecules consist of a polar “head” group and a non-polar, hydrophobic hydrocarbon “tail”. The polar head group contains heteroatoms such as nitrogen (in imidazolines or quaternary ammonium salts), sulfur, or phosphorus. These atoms possess free electron pairs that form coordinate covalent bonds with the d-orbitals of the iron atoms on the steel surface.

Once the polar head adsorbs onto the metal, the hydrophobic hydrocarbon tails align parallel to each other, projecting outward into the fluid phase. This creates a dense, water-repellent barrier that prevents water molecules, hydronium ions, and corrosive dissolved gases from reaching the metal surface.

Field Warning: High shear stress zones (such as downstream of control valves, chokes, or tight-radius elbows) can strip the inhibitor film if the wall shear stress exceeds the critical shear stress limit of the chemical formulation. This leads to localized pitting and rapid wall thinning.
Molecular mechanism of corrosion inhibitors forming a protective film on steel

We classify these chemicals into three primary categories based on their electrochemical behavior:

  • Anodic Inhibitors: These shift the corrosion potential of the metal into the passive region by promoting the formation of a protective oxide or hydroxide layer. They typically react with the metal ions to form insoluble precipitates. However, if the dosage is insufficient, incomplete coverage can lead to severe localized pitting.
  • Cathodic Inhibitors: These migrate to cathodic sites on the metal surface and selectively slow down the reduction reactions (such as hydrogen evolution or oxygen reduction). They do this by forming a physical barrier or by increasing the activation energy barrier for the electron transfer process.
  • Mixed Inhibitors: The vast majority of organic filming inhibitors used in upstream production behave as mixed inhibitors. They adsorb non-selectively across both anodic and cathodic sites, reducing the overall rate of both electrochemical half-reactions. This makes them far safer to use, as under-dosing does not trigger localized pitting.
Inhibitor Performance and Selection Parameters

Selecting the correct chemical formulation requires matching the chemical’s physical properties with the operating envelope of your piping system. The table below outlines the typical performance limits and application guidelines for the most common chemical classes used in upstream and midstream assets.

Chemical Class Temp Limit (°C) Dosage Range (ppm) Primary Application Applicable Standards
Imidazolines Up to 120 10 – 50 Wet crude, CO2-dominated systems NACE SP0169
Quaternary Amines Up to 150 5 – 30 Sour service (H2S), water injectors NACE MR0175 / ISO 15156
Phosphate Esters Up to 180 15 – 75 High-temperature gas wells, scale/corr combo ASTM G170
Polymer Filming Agents Up to 200 20 – 100 Ultra-deepwater, high-shear flowlines API RP 14E

Technical Mapping & Specifications Matrix

This matrix maps the core technical entities, structural acronyms, and physical parameters that you must specify during the engineering design phase of a chemical injection system.

Entity / Parameter Acronym Physical Unit Design Significance Reference Standard
Partition Coefficient K_ow Dimensionless Determines chemical distribution between oil and water phases ASTM E1148
Minimum Inhibitor Concentration MIC mg/L (ppm) The lowest concentration required to maintain the protective film NACE TM0182
Linear Polarization Resistance LPR mm/y or mpy Real-time electrochemical measurement of instantaneous corrosion ASTM G59
Electrical Resistance Probe ER Microns (loss) Measures physical metal loss over time in non-conductive fluids NACE SP0775

Field Verification of Chemical Injection Systems

Field Verification of Chemical Injection Systems

Injection System Commissioning: The field verification protocol for chemical dosing pumps, atomizing nozzles, and monitoring quill assemblies to ensure continuous inhibitor delivery under operating pressures. This procedure aligns with API RP 14E and ASME B31.3 piping design requirements.

A chemical treatment program is only as good as its delivery system. If your injection pump loses prime, or if your injection quill is positioned incorrectly, you will end up with unprotected pipe sections and rapid localized failures. In my experience, regular field audits of the injection skid and monitoring hardware are the only way to guarantee long-term pipeline integrity.

Pre-Commissioning & Operations Checklist

  • Quill Orientation & Depth: Verify that the injection quill extends into the center one-third of the pipe diameter. Ensure the bevel of the quill faces upstream to maximize atomization and chemical dispersion.
  • Pump Calibration: Perform a drawdown calibration test on the positive displacement dosing pump. Verify that the actual flow rate matches the target dosage (ppm) based on current pipeline production rates.
  • Solvent Compatibility: Confirm that all elastomer seals, O-rings, and diaphragms in the injection pump and piping manifold are chemically compatible with the inhibitor carrier solvent (e.g., methanol, xylene, or heavy aromatic naphtha) per API Standard 675.
  • Backpressure & Relief Valves: Test the functionality of the inline backpressure valve and the safety relief valve. The relief valve must be set to vent back to the chemical storage tank if the injection line becomes plugged.
  • Monitoring Probe Alignment: Ensure that the corrosion coupons and ER probes are installed in the 6 o’clock position for liquid-settling lines, or the 12 o’clock position if top-of-line corrosion is the primary threat.

Field Case Study: Real-World Application

Field Case Study: Real-World Application

The Problem: Severe Pitting in a Wet Gas Pipeline

A 16-inch carbon steel wet gas pipeline in the Middle East, operating at 85 bar and 65°C, experienced rapid wall thinning. The gas contained 3.5 mol% CO2 and 150 ppm H2S, with a water condensation rate of 12 barrels per million standard cubic feet. Despite continuous injection of a standard water-soluble filming amine at 25 ppm, ultrasonic testing revealed localized pitting rates exceeding 1.8 mm/year.

Our engineering audit revealed two critical flaws: first, the high fluid velocity (14 m/s) generated a wall shear stress of 38 Pa, which was stripping the water-soluble inhibitor film. Second, the chemical was partitioning poorly into the condensing water phase at the top of the pipe, leaving the upper quadrant completely unprotected against top-of-line corrosion.

The Solution & Outcome

I led the engineering team to redesign the chemical treatment strategy. We replaced the water-soluble amine with a high-shear-resistant, oil-soluble/water-dispersible filming imidazoline formulation. This new chemical possessed a critical shear stress limit of 65 Pa, well above our operating shear stress.

We also replaced the standard injection quill with an atomizing spray nozzle that projected a fine mist directly into the gas stream, ensuring the chemical reached the top of the pipe. We installed real-time ER probes and high-resolution corrosion coupons to monitor the results. Within 30 days, the measured corrosion rate dropped from 1.8 mm/year to a stable 0.03 mm/year, extending the design life of the pipeline by an estimated 25 years.

Direct Engineering Recommendation: Never select an inhibitor based solely on static laboratory bottle tests. Always perform dynamic autoclave testing or loop testing under simulated field shear stress and temperature conditions to verify film persistence before purchasing bulk chemicals.

Frequently Asked Engineering Questions

What is the difference between water-soluble and oil-soluble inhibitors?

Water-soluble inhibitors partition directly into the aqueous phase where electrochemical corrosion occurs, making them highly effective for high-water-cut systems. Oil-soluble inhibitors dissolve in the hydrocarbon phase and rely on the oil to carry them through the system, forming a highly persistent, hydrophobic film. However, they require sufficient oil velocity to distribute properly and may have slower reaction times in high-water environments.
How does H2S concentration affect chemical selection?

In sour systems containing H2S, the corrosion product is iron sulfide (FeS), which can form a semi-protective scale. However, this scale is often unstable and can cause severe galvanic pitting if damaged. Inhibitors used in sour service must be formulated to adsorb onto both the bare steel and the FeS scale. Quaternary ammonium compounds and specialized imidazolines are typically specified for sour service in compliance with NACE MR0175.
Can corrosion inhibitors cause foaming in downstream processing?

Yes. Because many filming inhibitors are surface-active agents (surfactants), they can lower the surface tension of the liquid phase. This often leads to severe foaming in downstream gas-liquid separators, amine sweetening units, or glycol dehydration towers. To prevent this, you must perform compatibility testing and sometimes co-inject silicone-free defoamers.
What is the typical design life of an injection quill?

Injection quills are subjected to high-velocity cross-flows, making them susceptible to vortex-induced vibration (VIV) and mechanical fatigue. A standard 316 stainless steel quill typically has a design life of 5 to 10 years, but this can be significantly shorter in high-velocity gas lines. I highly recommend performing a wake frequency calculation per ASME PTC 19.3 TW to ensure the quill can withstand the dynamic forces.
How do glycol or methanol injections impact inhibitor performance?

High concentrations of thermodynamic hydrate inhibitors (such as monoethylene glycol or methanol) can alter the solvent properties of the water phase. This change can prevent the corrosion inhibitor from partitioning correctly, reducing its ability to adsorb onto the steel surface. When co-injecting these chemicals, you must select a formulation specifically certified for high-glycol or high-methanol environments.
What are the environmental regulations regarding offshore chemical discharge?

Offshore chemical discharge is strictly regulated, particularly in regions like the North Sea under the OSPAR convention. Traditional filming amines can be toxic to marine life and have poor biodegradability. For offshore applications, you must specify “green” inhibitors, such as esterquats or amino acid derivatives, which meet strict biodegradation and bioaccumulation criteria while maintaining high corrosion mitigation performance.

Atul Singla - Piping EXpert

Atul Singla

Senior Piping Engineering Consultant

Bridging the gap between university theory and EPC reality. With 20+ years of experience in Oil & Gas design, I help engineers master ASME codes, Stress Analysis, and complex piping systems.