CFR PRICING · USD · ONNE / KARACHI / JEBEL ALI / VANCOUVER
IRONSTONEDrilling Supply

The rag layer: what causes it, and how to treat it

A rag layer is the stable band of un-separated material that collects at the oil–water interface inside a separator, free-water knockout, or treater. It is part emulsion, part solids, and it is the most visible and most expensive fault in crude treating: it steals the vessel volume that separation depends on, pushes water into the oil and oil into the water at the same time, and — because a new chemical or a dose change can create it — it is the failure a supplier is judged on hardest. This page explains what stabilizes it, why it forms, and the three levers for clearing it.

What it is
A stable emulsion + solids pad at the oil-water interface
Where
Separators, free-water knockouts, treaters, wash tanks
Main stabilizers
Fine solids, wax, and over- or mis-treatment
Two-sided cost
Water carries into oil AND oil carries into water

What the rag layer actually is

When produced fluid enters a separation vessel, oil rises and free water falls, leaving a boundary between them. A rag layer is a third band that forms at that boundary and does not resolve into either phase — a pad of tightly held water-in-oil and oil-in-water emulsion, thickened by solid particles that collect there. Left alone it grows upward and downward from the interface, shrinking the clean oil and clean water zones until the vessel can no longer do its job. Operators see it as rising BS&W in the export oil, oil carrying over into the produced water, or both at once.

Why it forms — what holds it together

A rag layer persists because something is stabilizing the emulsion droplets at the interface and stopping them from coalescing and choosing a phase. Four contributors, often combined:

What stabilizes a rag layer
ContributorHow it stabilizes the interface
Fine solidsSand, clay, silt, scale, corrosion products and iron sulfide collect at the interface and armour the droplets — a solids-stabilized (Pickering-type) emulsion that chemistry alone struggles to break.
Wax and heavy organicsIn waxy crudes, wax crystals — and where present, asphaltenes and naphthenates — build a rigid film at the droplet surface, especially at low treating temperature where the wax is still solidifying.
Over-treatmentToo much demulsifier, or a mismatched one, can act as an emulsifier instead of breaking the emulsion — reversing its job and building interfacial material rather than removing it.
Water-side chemistry mismatchA reverse demulsifier or clarifier working against the oil-side product, or dosed wrong, can feed stabilized material back to the interface.

The over-treatment point is the one operators most often miss: on the crude side, more demulsifier is not safer. Past the optimum dose, the extra chemical can stabilize rather than break the emulsion — which is why the bottle test looks for the lowest effective dose with margin, not the highest that still works.

Nigeria note
Why Niger-Delta stations are prone to it

The Niger-Delta combination is exactly the rag-forming recipe: waxy crude, fine produced solids, and low treating temperatures at onshore stations where the wax is still crystallizing at the interface. Here the stabilizer is more often wax and solids than asphaltene, so a demulsifier designed for asphaltene-stabilized emulsions can leave a rag even at a textbook dose — the reason field-specific chemistry, not a catalogue default, decides the outcome.

How to treat it — three levers

Clearing a rag layer usually needs more than one of these together, matched to what is stabilizing it:

The three treatment levers
LeverWhat to doWhen it is the answer
ChemicalRe-select the demulsifier and, critically, re-optimize the dose against a fresh interface sample; add a solids-wetting or interface-treating component where solids are the stabilizerAlmost always the first move — especially if the rag appeared after a product or dose change (suspect over-treatment first)
MechanicalDraw the rag off through the interface drain and process it separately; heat and give more residence time where the vessel allows; send persistent rag to a batch or centrifuge recoveryWhen the pad has already built up and has to be physically removed before chemistry can hold the interface clean
OperationalCorrect the dose, manage solids upstream (desanding, routine vessel cleaning), stabilize temperature and residence time, and check the oil-side and water-side chemicals are not working against each otherWhen the rag keeps returning — it is being fed by a process condition, not a one-off

Sequence matters: confirm the dose is right before adding more chemistry. A rag caused by over-treatment gets worse, not better, if the response is to inject more demulsifier.

How to keep it from coming back

Prevention is dose discipline plus solids management. Right-size the demulsifier dose on a bottle test using a fresh interface sample, hold that dose rather than drifting upward when the interface looks poor, keep solids out of the vessel where you can, and re-test when the crude, the water source, or the water cut changes — because a blend that held a clean interface last quarter can stop working when the produced water shifts. The rag layer is, in the end, a signal that the treating program no longer matches the fluid.

This is general troubleshooting guidance, not a substitute for a field diagnosis on your specific vessel and fluid. The right chemical and dose are established by testing on a current interface sample.