Amides

Amides are organic compounds containing the amide functional group, in which a carbonyl carbon (-C=O) is bonded directly to a nitrogen atom: primary amides have the structure R-CO-NH₂, secondary amides (also called N-substituted amides) have R-CO-NHR', and tertiary amides (N,N-disubstituted amides) have R-CO-NR'R". The amide linkage is one of the most stable functional groups in organic chemistry, with the nitrogen lone pair partially delocalized into the carbonyl by resonance (forming a partial C=N double bond character, C-N bond length 1.33 Å versus 1.47 Å for a typical C-N single bond), which gives the amide group its characteristic thermal stability, resistance to hydrolysis under neutral aqueous conditions, and the planar geometry that controls polymer chain conformation in polyamide materials. In the petroleum industry, amide chemistry is encountered in five distinct application areas: (1) imidazoline-derived filming amides used as corrosion inhibitors in production tubing, flowlines, and gathering pipelines, where the cyclic imidazoline ring (formed by the internal dehydration of the amide intermediate from fatty acid and polyamine condensation) adsorbs on steel through the lone pair on the ring nitrogen to form a protective monolayer; (2) fatty acid amides (oleamide C₁₈H₃₅NO, erucamide C₂₂H₄₃NO, stearamide C₁₈H₃₇NO) used as lubricants and emulsifier supplements in oil-base drilling muds and synthetic-base muds; (3) polyacrylamide and acrylamide co-polymers (where the amide functional group on each repeat unit provides the hydrophilicity and viscosifying character, and partial hydrolysis of the amide to carboxylate in HPAM creates the viscosifying charged polymer widely used in EOR flooding and drilling fluid applications); (4) amide-functionalized scale inhibitor and corrosion inhibitor co-polymers used in squeeze treatments for produced water management; and (5) wax inhibitor compounds for crude oil pour point reduction in cold-climate pipeline systems. In the Western Canada Sedimentary Basin, imidazoline-based amide corrosion inhibitors represent the largest volume oilfield amide application, consumed at typical doses of 25 to 100 ppm in produced fluids in Cardium, Viking, Mannville, and Montney production operations to protect carbon steel tubing, wellheads, flowlines, and sales oil treaters from CO₂ (sweet) and H₂S (sour) corrosion that collectively cause approximately CAD 400 to 600 million per year in WCSB pipeline and facility corrosion maintenance and remediation costs.

Key Takeaways

  • Imidazoline amides — the most commercially important oilfield amide compounds — are synthesised by condensation of a fatty acid (C₁₂ to C₁₈ carbon chain length, from tall oil, oleic acid, or tallow) with a polyamine (diethylenetriamine or aminoethylethanolamine) at 160 to 200°C, cyclizing the initial amide intermediate to the imidazoline ring, which adsorbs on carbon steel surfaces through the ring nitrogen lone pair to form a hydrophobic monolayer that displaces water and corrosive species from the steel surface and reduces corrosion rates by 70 to 95%: The synthesis reaction proceeds in two steps: the fatty acid first reacts with the primary amine of the polyamine at 130 to 160°C (forming the amide intermediate), then undergoes thermal cyclization at 160 to 200°C (losing one water molecule and forming the 4,5-dihydroimidazole ring by condensation of the secondary amide with the primary amine further down the polyamine chain). The resulting 1-(hydroxyethyl)-2-(heptadecenyl)imidazoline (from oleic acid and aminoethylethanolamine) has a hydrophobic C₁₇H₃₃ tail that extends into the hydrocarbon phase and a polar imidazoline head group that bonds to the steel surface, creating a bilayer or multilayer film at concentrations above the critical micelle concentration (CMC, approximately 50 to 200 ppm in produced water). In WCSB Cardium waterflood produced water (pH 6.8 to 7.4, bicarbonate 800 to 1,400 mg/L, CO₂ partial pressure 0.001 to 0.01 MPa, temperature 35 to 50°C), imidazoline corrosion inhibitor at 30 to 60 ppm reduces the linear corrosion rate of X52 carbon steel from 3 to 8 mm/year (uninhibited) to 0.08 to 0.25 mm/year (inhibited), as measured by linear polarization resistance (LPR) corrosion probes in the injection water header.
  • Fatty acid amides (oleamide, erucamide, stearamide) function as supplementary emulsifiers and lubricating slip agents in oil-base and synthetic-base drilling muds, where the polar amide head group orients toward the water-droplet interface and the hydrophobic fatty acid tail extends into the oil phase, contributing to emulsion stability at elevated temperature and to filter cake lubricity that reduces drill string torque in HPHT directional and horizontal Montney wells: Oleamide (cis-9-octadecenamide, C₁₈H₃₅NO, melting point 76°C) is soluble in warm diesel and synthetic base oils above 50°C, and when added to OBM at 2 to 5 kg/m³ alongside the primary emulsifier (tall oil fatty acid) and secondary emulsifier (oxidized tall oil or polyamide), reduces the interfacial tension between the oil-continuous and water-dispersed phases from 5 to 15 mN/m (without oleamide) to 1 to 4 mN/m (with oleamide), stabilising the water-in-oil emulsion at temperatures above 150°C where primary emulsifiers begin to partition from the interface into the oil bulk phase. The lubricating function of fatty acid amides in OBM filter cakes is significant for horizontal Montney drilling (lateral lengths 2,000 to 3,500 m, inclinations 85 to 92°): oleamide-containing filter cakes show coefficients of friction of 0.08 to 0.12 on steel-on-rock tribometer tests (simulating drill string sliding on filter cake) versus 0.15 to 0.22 for filter cakes without fatty acid amide, reducing calculated drag forces on drill string in a 3,000 m lateral by 15 to 25% and reducing the risk of differential sticking in permeable sandstone intervals.
  • Amide hydrolysis under high-temperature conditions is a critical failure mode for amide-based corrosion inhibitors, emulsifiers, and fluid loss additives, with the rate of amide hydrolysis increasing approximately tenfold for every 25°C increase in temperature above 100°C, causing product performance loss in HPHT wells and requiring selection of amide compounds with hydrolysis-resistant molecular architectures for applications above 150°C: The base-catalysed hydrolysis of primary amides (R-CO-NH₂ + OH⁻ → R-COO⁻ + NH₃) and secondary amides (R-CO-NHR' + OH⁻ → R-COO⁻ + NHR') proceeds at negligible rates at 25°C but becomes significant above 100°C at the formation water pH values (6.5 to 8.5) encountered in producing wells. For imidazoline corrosion inhibitors at 120°C in a sour gas condensate well (CO₂ 5%, H₂S 0.5%, formation water pH 5.5, temperature 120°C), the imidazoline ring hydrolyzes back to the open-chain amide and eventually to the free fatty acid and amine at a rate of approximately 5 to 10% per month under reservoir conditions, gradually reducing the effective inhibitor concentration in the producing fluid and requiring increased inhibitor injection rates. HPHT corrosion inhibitor formulations for wells above 150°C use thermally stable quaternary ammonium compounds (quats) or phosphate ester filming inhibitors rather than imidazoline amides, because the more hydrolysis-resistant quaternary nitrogen (permanently charged, no hydrolyzable C-N bond adjacent to carbonyl) provides equivalent film formation on steel surfaces at high temperature without the ring-opening degradation that limits imidazoline amide effectiveness above approximately 130 to 150°C.
  • Polyacrylamide (PAM) and its partially hydrolyzed form HPAM are the most commercially significant amide polymers in the oilfield, with the acrylamide repeat unit (-CH₂-CHCONH₂-) providing the water solubility and viscosifying character essential for EOR polymer floods and drilling fluid rheology control, while partial hydrolysis of the amide group to carboxylate (-CONH₂ → -COO⁻ + NH₃) at elevated temperature (above 80°C) is simultaneously the source of HPAM's anionic character that contributes to viscosity and the primary degradation mechanism that limits its performance in hot reservoirs above 80 to 100°C: HPAM (25 to 35% hydrolysis) at 1,500 ppm in fresh water (TDS less than 5,000 mg/L) at 25°C achieves solution viscosity of 50 to 120 mPa·s at 7.3 s⁻¹ shear rate, sufficient for mobility control in 100 to 500 mD heavy oil reservoirs (oil viscosity 500 to 5,000 mPa·s). However, at 80°C in 30,000 mg/L TDS formation water with 500 mg/L Ca²⁺, HPAM viscosity decreases to 8 to 18 mPa·s within 30 days due to: (a) continued hydrolysis of remaining amide groups to carboxylate, increasing charge density until calcium bridging between carboxylate groups causes chain collapse; (b) thermal chain scission at the backbone; and (c) ionic screening of carboxylate charges by Na⁺ and Ca²⁺, reducing chain extension. For Lloydminster Sparky heavy oil waterflood applications where reservoir temperature is 45 to 60°C and formation water TDS is 30,000 to 80,000 mg/L, the selection between HPAM (lower cost, sufficient at 45°C and TDS below 30,000 mg/L) and AM/AMPS co-polymer (higher cost, required above 60°C or above 50,000 mg/L TDS) is the primary polymer chemistry decision in EOR polymer flood design.
  • Amide wax inhibitors — typically co-polymers of ethylene-vinyl acetate (EVA) modified with amide groups or maleic anhydride-amide co-polymers — interact with wax crystal nuclei in waxy crude oil during cooling below the wax appearance temperature (WAT), disrupting crystal growth by co-crystallising with the wax and preventing the large interlocking crystal network that causes gelation and high yield stress in cold pipelines, reducing the pour point of WCSB waxy Peace River and Pelican Lake crude by 5 to 20°C and reducing restart pressure in cold-weather pipeline shutdowns: Peace River blend crude has a WAT of approximately 28 to 36°C (depending on blend composition) and a pour point of 15 to 25°C without wax inhibitor, requiring pipeline temperatures above the pour point for restart after a planned shutdown or unplanned power failure in winter conditions when ambient temperatures of -30 to -45°C can cool an idle pipeline below the pour point within 4 to 12 hours. Amide-modified ethylene-vinyl acetate wax inhibitors at 100 to 500 ppm in the crude reduce the pour point to -5 to -15°C by co-crystallising with the C₂₀ to C₃₅ paraffin waxes as they nucleate during cooling, inserting the inhibitor molecules (with alkyl chains of similar carbon number to the wax) into the growing crystal faces and disrupting the regular crystal lattice that produces the yield stress responsible for gelation. The reduction in pour point from 20°C to -10°C extends the safe idle time for a 300 mm diameter Peace River gathering pipeline at -30°C ambient from approximately 6 hours (without inhibitor) to 18 to 24 hours (with inhibitor), providing operators with a practical window for resolving pump or power failures without risking a pipeline gelled-crude restart that requires pigging with hot water (CAD 85,000 to 220,000 per restart event, including hot water equipment, crew, and production deferral).

Imidazoline Amide Corrosion Inhibitor Chemistry in WCSB Production

The dominant oilfield application of amide chemistry — imidazoline-based corrosion inhibitor formulation — requires the inhibitor to be dispersed in the production stream at sufficient concentration to form a protective film on all steel surfaces exposed to the corrosive produced water phase, including the inner bore of production tubing at the perforation depth (where CO₂ partial pressure is highest and corrosion rates are greatest), the flowline from wellhead to battery, and the water-handling train at the battery (free-water knockouts, gun barrels, injection water headers). The inhibitor must be compatible with the produced water, oil, and any other chemicals added to the system (scale inhibitors, demulsifiers, oxygen scavengers), and must maintain film-forming capability throughout the production temperature range from reservoir temperature at bottomhole (30 to 70°C for Cardium and Viking pools) to surface temperatures as low as -10°C to -20°C in the flowline during winter operation.