Why Refinery Wastewater Pushes Conventional Treatment to Its Limits
Refinery wastewater routinely arrives at the treatment plant with chemical oxygen demand (COD) measured in the hundreds of thousands of milligrams per liter; for example, the Shazand Oil Refinery in Arak, Iran reported influent at 170,000 mg/L COD and 5.3 mg/L residual oil (Shazand case study, Springer 2018). That loading overwhelms gravity-based oil-water separation within hours: stable oil-in-water emulsions with droplet sizes below 20 μm pass straight through an American Petroleum Institute (API) separator, and dissolved organics slip past dissolved air flotation (DAF) without coagulant chemistry. Three failure modes recur across operating refineries: emulsified oil that resists coalescence, soluble organics that depress dissolved oxygen in downstream biology, and sulfide scaling that fouls cathodes and aerators within weeks of startup.
Electrocoagulation (EC) is typically specified on four refinery streams that conventional primary treatment handles poorly: desalter brine (3–8% NaCl, 40–55 °C), sour water stripper bottoms (high in H₂S and NH₃), spent caustic from hydrocarbon washing (pH 12–14, high phenols), and tank-farm runoff carrying emulsified hydrocarbons from rainfall on storage dykes. Refinery streams arrive hot (40–60 °C) and highly conductive (≥500 mg/L Cl⁻). Both factors accelerate EC reaction kinetics compared with ambient-temperature municipal applications, so the same current density produces more coagulant per unit of residence time.
How Electrocoagulation Works in a Refinery Reactor
An EC cell uses a direct-current rectifier to drive oxidation at a sacrificial anode and reduction at a cathode, typically arranged as parallel plates with 10–30 mm spacing. At the aluminum anode, the half-reaction Al → Al³⁺ + 3e⁻ releases trivalent aluminum at a theoretical rate of 1.36 g Al/Ah, calculated from Faraday's law (M = atomic weight / (nF), where n = 3 and F = 26.8 Ah/mol). Iron anodes dissolve at 1.04 g Fe/Ah through Fe → Fe²⁺ + 2e⁻. These are the stoichiometric numbers required to size electrode consumption against expected throughput.
At the cathode, water reduction produces hydrogen micro-bubbles: 2H₂O + 2e⁻ → H₂(g) + 2OH⁻. The bubble density lifts destabilized oil and floc to the surface, combining coagulation and flotation processes. The dissolved metal ions immediately hydrolyze in the bulk solution to form coagulant species: Al(OH)₃(s), Fe(OH)₂(s), Fe(OH)₃(s), and a range of polymeric hydroxo-complexes. These species neutralize the surface charge on oil droplets and suspended solids, bridging them into settleable or floatable floc. Cell voltage on a refinery-strength feed typically lands between 2–6 V; conductivity from ≥500 mg/L Cl⁻ keeps that voltage down, and the chloride helps break down passivating oxide films on the anode surface.
Operating Parameters That Actually Drive Refinery Removal Efficiency

Five parameters determine whether an EC skid hits its removal target on a given refinery stream: current density, pH, retention time, temperature, and electrolyte conductivity. These variables must be optimized to maintain consistent effluent quality across varying feed concentrations. The operating windows below are drawn from refinery pilots and the response surface methodology (RSM) work on oily wastewater (Top 2, Springer 2023).
| Parameter | Operating Range | Optimum for Refinery Oily Waste | Effect on Removal |
|---|---|---|---|
| Current density | 10–80 mA/cm² | 25–40 mA/cm² | Below 10 → weak floc; above 80 → passivation and excess heating |
| pH | 4–9 | 4–6 (oil/turbidity); 7–9 (heavy metals) | Al(OH)₃ dominates pH 5–7; Fe(OH)₃ dominates pH 7–9 |
| Retention time | 30–90 min | 60–90 min | 90 min gave the highest turbidity recovery in oily wastewater RSM tests (Springer 2023) |
| Temperature | 25–55 °C | 28 °C (lab); 40–45 °C (refinery, cooled) | Higher T accelerates kinetics; >55 °C damages electrodes and downstream biology |
| Conductivity (Cl⁻) | ≥500 mg/L | 2,000–10,000 mg/L (desalter brine) | Lowers cell voltage, reduces passivation |
| Energy consumption | 1–5 kWh/m³ | 2–3 kWh/m³ at 30 mA/cm² | Scales linearly with current density |
Documented refinery and industrial oily-wastewater removals land in the following bands: 85–97% total petroleum hydrocarbons (TPH), 95% COD, 99% turbidity, 99% color, and 70–95% heavy metals depending on pH and current density (Meas et al., aircraft rinse water, ScienceDirect — transferable as a high-strength oily-stream benchmark). The COD number is consistent with the Shazand refinery data on a real refinery feed.
Choosing the Right Electrode Material for Refinery Streams
Electrode material is the specification decision that drives both CAPEX and OPEX on an EC skid. Selection depends on the primary contaminant in the waste stream. For a deeper walkthrough of supplier evaluation criteria, the anode material selection guide covers vendor qualification in detail.
| Material | Best For | Strengths | Trade-offs |
|---|---|---|---|
| Aluminum (Al) | Oil/grease, turbidity, dissolved organics | Light, buoyant floc that floats readily; lower cell voltage (~2–4 V) | Passivates at high pH; not effective for sulfide |
| Iron (Fe) | Heavy metals, sulfide, phosphate, color | Strong coagulant at pH 7–9; handles high Cl⁻ | Denser sludge, higher mass; Fe staining risk on discharge |
| Hybrid Al/Fe (alternating plates) | Mixed refinery streams with organics + metals | Most flexible; one skid covers multiple streams | Requires more sophisticated rectifier control |
| DSA / MMO coated titanium | High-Cl⁻ streams, long service life | Minimal sacrificial dissolution; 5–10 year life | CAPEX 3–5× bare metal; still needs paired sacrificial anodes for coagulant generation |
Plate spacing defaults to 10–30 mm. Closer spacing (10–15 mm) lowers ohmic resistance and cuts energy use, but increases particulate fouling risk on refinery streams carrying suspended solids. For desalter brine and sour water stripper bottoms — both of which carry dissolved sulfide that deposits as FeS or Al(OH)₃ sulfide composites on cathodes — specify polarity reversal every 15–30 minutes to shed scale without shutting down the skid.
Where Electrocoagulation Fits in a 2026 Refinery Treatment Train

EC belongs between primary oil removal and biological polishing. This placement ensures that the most difficult emulsions are broken before they reach the biological stage. The treatment train below is the configuration that has held up in refinery pilots and is commonly used by EPC subcontractors in 2026 P&IDs.
- Stage 1 — API or corrugated-plate interceptor (CPI): removes free oil >150 μm by gravity; typically drops oil to 50–200 mg/L before the next stage.
- Stage 2 — Electrocoagulation reactor: destabilizes emulsions (droplets <20 μm), precipitates heavy metals, and reduces COD by 70–95%. Operates at 25–40 mA/cm² and 30–90 min retention.
- Stage 3 — DAF or lamella clarifier: the floated floc and oil from the EC cell are skimmed; a DAF system handles the bulk of the floated solids, while a high-efficiency sedimentation tank catches any settled precipitate. DAF typically removes 80–95% of the floated TSS load coming off the EC reactor.
- Stage 4 — Biological treatment (MBR or SBR): polishing for residual dissolved organics; an MBR integrated wastewater treatment skid brings total COD below 100 mg/L for surface discharge or below 50 mg/L for reuse.
- Stage 5 (optional) — RO or reuse polish: for refineries targeting zero-liquid-discharge (ZLD) or cooling-tower makeup water, RO follows MBR. Ahmed et al. (2012) demonstrated EC as effective pretreatment before nanofiltration/RO, and the same logic applies on a refinery reuse train.
The position of EC matters: putting it before DAF means the DAF cell sees floc already formed, making bubble attachment easier and reducing air demand. Putting it after biology is inefficient, as biology cannot recover from shock loads that an EC skid could have absorbed upstream.
CAPEX, OPEX, and ROI for a Refinery Electrocoagulation Skid in 2026
The cost numbers below are 2026 industrial benchmarks for fully skidded Al-electrode EC units including rectifier, PLC, and sludge handling. Use these as a first-pass estimate before requesting firm quotes.
| Cost Element | 2026 Range | Notes |
|---|---|---|
| CAPEX (skid, Al electrodes, rectifier, PLC) | USD 25,000–60,000 per m³/h | Iron or DSA anodes shift the range up 20–200% |
| Electrode consumption (Al) | 0.05–0.30 kg Al/m³ at 30 mA/cm² | Scales linearly with current density and Faraday stoichiometry |
| Electricity | 1–5 kWh/m³ at USD 0.08–0.12/kWh | Dominated by current density and feed conductivity |
| OPEX (all-in) | USD 0.20–0.80 per m³ | Electrode + electricity typically 70–85% of OPEX |
| Payback (industrial benchmark) | ~17 weeks (≈4 months) | Meas et al. industrial EC system; driven by eliminated coagulant chemicals and reduced sludge hauling |
Worked 2026 scenario — 50 m³/h desalter brine EC skid: CAPEX lands near USD 1.8 million (mid-range, Al electrodes, full automation). OPEX at USD 0.45/m³ against a feed of 50 m³/h × 24 h × 330 d ≈ 396,000 m³/yr gives annual OPEX of roughly USD 178,000. Eliminated chemical coagulant purchases (typically USD 0.30/m³ for polyaluminum chloride on a desalter brine stream) plus reduced sludge hauling save about USD 119,000/year. Add recovered oil credit (USD 0.05–0.15/m³ depending on crude value) and the skid pays back in roughly 5–7 months on chemicals alone. Downstream, the plate-and-frame filter press is the standard solids-handling step for the EC sludge, and an automatic chemical dosing system handles pH trim between the EC outlet and the DAF cell. For suspended-solids limits, the suspended solids removal engineering guide covers DAF-side numbers, and the 2026 water reuse market drivers piece frames the ZLD business case.
Frequently Asked Questions

What removal efficiency can an electrocoagulation system deliver on refinery wastewater? Industrial pilots and refinery case studies report 85–97% total petroleum hydrocarbons, 95% COD