Dyeing a textile is fundamentally a chemical bonding exercise. A dye molecule has to find its way from a water bath into the interior of a fibre and then stay there – through washing, sweating, sunlight and abrasion – without migrating back out or fading. Each type of fibre has to contend with different surface chemistry. Cotton and other cellulosics are made of long chains of glucose units linked by C-O-C glycosidic bonds and studded with free hydroxyl (-OH) groups. Wool and silk are proteins, constructed from amino acids and bearing both amine (-NH2) and carboxyl (-COOH) groups. Polyester is a hydrophobic polymer of ethylene terephthalate with almost no reactive sites at all. Nylon is a polyamide with amide (-CONH-) linkages.
Because no one dye chemistry works on all fibres, the textile industry has developed several different dye classes, each with its own set of auxiliary chemicals necessary to make the colouring reaction possible, control its rate and fix the colour permanently. This guide takes you through the chemicals used at each step in the process, from the preparation of the fabric to receive the dye, through the dyeing reaction itself, to the final wash-off and finishing, with the relevant formulas given wherever they help to explain what is actually happening in the bath.
Pretreatment Chemicals
Fibre is rarely ready to take on colour in the dye vat. Raw cotton has waxes, pectins and natural pigments. Woven fabric is sized with sizing agents applied to the fabric before weaving to protect the warp yarn. Wool has grease (lanolin) and suint. These barriers are removed by pretreatment – desizing, scouring and bleaching – so that the dye can even reach the surface of the fibre.
Desizing
Woven cotton fabric is typically sized with starch or starch derivatives before weaving. These are removed with:
- Alpha-amylase enzymes — biological catalysts that hydrolyze starch into soluble dextrins and sugars without attacking the cellulose fibre itself. This is the dominant industrial method today because it is fibre-safe and effective at moderate temperatures.
- Dilute mineral or organic acids, such as sulfuric acid (H₂SO₄) or hydrochloric acid (HCl), occasionally used for acid hydrolysis of size, though enzymatic desizing has largely replaced this for its gentler action.
- Oxidative desizing agents such as sodium persulfate (Na₂S₂O₈), used where synthetic sizes such as polyvinyl alcohol (PVA) or carboxymethyl cellulose (CMC) resist enzymatic breakdown.
Scouring
Scouring removes waxes, oils, pectins and residual impurities so the fibre is uniformly wettable. The classic scouring bath is alkaline:
- Sodium hydroxide (NaOH) — the primary scouring alkali for cotton, saponifying fats and waxes into water-soluble soaps and swelling the cellulose to improve chemical accessibility.
- Sodium carbonate (Na₂CO₃), commonly called soda ash, is used as a milder alkali, particularly for delicate fabrics or in combination with detergents.
- Nonionic and anionic surfactants (wetting agents/detergents) emulsify oils and waxes and carry them into the wash liquor.
- Sodium silicate (Na₂SiO₃) is sometimes added as a stabilizer for peroxide-based scouring baths and to sequester trace metal ions that would otherwise catalyze peroxide decomposition.
For wool, scouring is milder and typically uses soap or synthetic detergent with sodium carbonate at low temperature, since wool's protein structure is damaged by strong alkali.
Bleaching
Bleaching removes natural pigments to give a clean white or a neutral base for pastel and bright shades. The three principal bleaching agents are:
- Hydrogen peroxide (H₂O₂) — by far the most widely used bleach for cotton, decomposing under alkaline conditions to release the active perhydroxyl ion (HOO⁻), which oxidizes colored impurities. It is generally run with sodium hydroxide and a stabilizer.
- Sodium hypochlorite (NaOCl) — an older, cheaper bleach that oxidizes pigments via hypochlorite ion, but is harsher on cellulose and can generate chlorinated organic byproducts, so it has been declining in use.
- Sodium chlorite (NaClO₂) — used mainly for polyester/cotton blends because it bleaches effectively at the higher temperatures needed for polyester without damaging the synthetic component, though it requires corrosion-resistant equipment and releases chlorine dioxide gas that must be handled carefully.
Peroxide-bleaching baths are usually stabilized with sodium silicate or with organic phosphonate-based stabilizers to prevent uncontrolled, localized decomposition that can cause pinholes ("peroxide holes") in the fabric.
The Major Dye Classes
Dyes are classified not by color but by their chemistry — specifically, by how they bond to the fibre. This classification also determines which auxiliary chemicals are needed:
- Reactive dyes — used on cotton/cellulosics; form a covalent bond to cellulose –OH groups; key chemicals: NaCl or Na₂SO₄, Na₂CO₃, NaOH.
- Disperse dyes — used on polyester/acetate; dispersed particles diffuse into the hydrophobic fibre; key chemicals: dispersing agents, carriers, CH₃COOH.
- Vat dyes — used on cotton/cellulosics; reduced to a soluble leuco form, then re-oxidized inside the fibre; key chemicals: Na₂S₂O₄, NaOH, H₂O₂.
- Acid dyes — used on wool, silk, nylon; form an ionic bond to protonated –NH₂ groups; key chemicals: CH₃COOH, H₂SO₄, Na₂SO₄.
- Basic (cationic) dyes — used on acrylic and silk; form an ionic bond to anionic sites on the fibre; key chemicals: CH₃COOH, retarding agents.
- Direct dyes — used on cotton, viscose; held by hydrogen bonding and van der Waals forces along the long chain; key chemicals: NaCl, Na₂SO₄.
- Sulfur dyes — used on cotton for heavy shades; reduced, absorbed, then re-oxidized in the fibre; key chemicals: Na₂S, NaOH, Na₂CO₃.
- Azoic (naphthol) dyes — used on cotton; an in-fibre coupling reaction forms an insoluble pigment; key chemicals: NaOH, diazonium salts.
Reactive Dyes
Reactive dyes are the workhorse of cotton dyeing because they form a true covalent bond with the fibre, not just lodge inside. The dye molecule contains a reactive group – usually a chlorotriazine or a vinyl sulfone group – which directly reacts with the cellulose hydroxyl groups under alkaline conditions. Cellulose–OH + Dye–Cl → Cellulose–O–Dye + HCl.
This is why reactive dyeing is always a two-step process: exhaustion (getting the dye into the fibre) and fixation (triggering the covalent reaction). The chemicals involved are
- Common salt (NaCl) or Glauber's salt (Na₂SO₄) — added during exhaustion to suppress the dye's solubility in water relative to its affinity for the fibre, driving more dye molecules onto the cotton surface. Because both cellulose and the anionic reactive dye carry negative surface charge, added electrolyte also reduces electrostatic repulsion between them.
- Sodium carbonate (Na₂CO₃) — the standard fixing alkali, raising the pH so that cellulose hydroxyls are partially ionized to the more nucleophilic alkoxide form, which then attacks the dye's reactive group.
- Sodium hydroxide (NaOH) — used alone or blended with soda ash for stronger alkalinity, especially with vinyl sulfone reactive dyes, which need a higher pH to fix efficiently.
- Sodium bicarbonate (NaHCO₃) — a milder alkali sometimes used for pad-batch or cold-pad-batch reactive dyeing where slower, more controlled alkalinity is wanted.
- Urea (CO(NH₂)₂) — used in printing pastes and pad-batch dyeing as a humectant, keeping the fabric moist so the fixation reaction can proceed.
- Sequestering agents such as EDTA (C₁₀H₁₆N₂O₈) or sodium tripolyphosphate (Na₅P₃O₁₀) — chelate calcium, magnesium and trace iron or copper ions in the water supply that would otherwise cause dye precipitation, uneven shading or catalytic degradation of the dye.
Because a portion of reactive dye always reacts with water instead of the fibre (hydrolysis rather than fixation), unfixed dye must be washed off with hot water and, often, a small dose of nonionic detergent — otherwise it will bleed in later laundering.
Disperse Dyes
Polyester has almost no chemically reactive sites and almost no affinity for water, so it cannot be dyed in the same way that cotton is. Disperse dyes overcome this limitation by being only sparingly soluble in water. They are supplied as very fine particles stabilised in a colloidal dispersion and at high temperature they slowly dissolve and diffuse into the amorphous regions of the polyester polymer.
- Dispersing agents — typically anionic surfactants such as sodium salts of naphthalene sulfonate condensates or lignosulfonates — keep the microscopic dye particles from clumping (agglomerating) in the bath, ensuring even, particle-by-particle delivery to the fibre surface.
- Acetic acid (CH₃COOH) — disperse dyeing is run under mildly acidic conditions (pH 4.5–5.5), since disperse dyes are most stable and most substantive to polyester in this range; acetic acid, sometimes buffered with sodium acetate (CH₃COONa), is the standard pH regulator.
- Carriers — organic compounds such as biphenyl or benzoic acid derivatives that swell the polyester polymer and lower the glass transition temperature locally, allowing dyeing at lower temperature (around 100°C, atmospheric pressure) instead of the 130°C typically needed under pressure. Carrier use has declined with wider adoption of high-temperature/high-pressure (HT/HP) dyeing machinery, since many carriers are odorous and environmentally persistent.
- Leveling agents — nonionic surfactants that slow the rate of dye uptake early in the process, giving the dye time to migrate evenly across the fabric rather than striking unevenly onto whichever fibres it reaches first.
- Reduction-clearing agents — after dyeing, unfixed disperse dye sitting on the fibre surface is removed with a hot alkaline bath containing sodium hydroxide and sodium dithionite (Na₂S₂O₄), which reduces the surface dye to a soluble, colorless form that washes away, improving both shade clarity and wash-fastness.
Vat Dyes
Vat dyes (which include natural indigo) are insoluble pigments in their stable form and have to be chemically converted to a water-soluble form before they can penetrate the fibre. This conversion is a reduction reaction and was traditionally carried out in a fermentation vat, hence the class name. The insoluble keto form of the dye is reduced to a soluble substantive leuco form which is taken up by the fibre and then re-oxidised to the insoluble coloured form when trapped inside the fibre.
- Sodium dithionite (Na₂S₂O₄), also called sodium hydrosulfite, is the standard reducing agent, converting the insoluble keto form of the dye into its soluble, substantive leuco form.
- Sodium hydroxide (NaOH) is required alongside the reducing agent, since the leuco form is only water-soluble as its sodium salt under strongly alkaline conditions.
- Once the fibre has absorbed the colorless leuco dye, it is exposed to air or a mild oxidizing agent, most commonly hydrogen peroxide (H₂O₂) or sodium perborate (NaBO₃), which re-oxidizes the dye back to its insoluble, colored form now trapped physically inside the fibre structure — this is what gives vat dyeing its outstanding wash- and light-fastness.
- A final soaping step with a synthetic detergent and near-boiling water re-crystallizes the dye particles inside the fibre into their most stable, fully-developed color and removes surface pigment, which is why vat-dyed fabric is typically soaped rather than simply rinsed.
Indigo (C₁₆H₁₀N₂O₂), the dye behind blue denim, is technically a vat dye. In its reduced, alkaline leuco form it is yellow-green; only on oxidation in air, after the yarn leaves the dye bath, does it turn the familiar blue. This is why indigo-dyed yarn is repeatedly dipped and aired rather than left to soak — each exposure to air deposits another thin layer of oxidized, insoluble dye.
Acid Dyes
Acid dyes are used on protein fibres (wool, silk) and on nylon, all of which carry free amine groups that can be protonated under acidic conditions to form a positively charged site the anionic dye can bind to ionically: fibre–NH₂ + H⁺ → fibre–NH₃⁺ ; fibre–NH₃⁺ + Dye–SO₃⁻ → fibre–NH₃⁺ –O₃S–Dye.
- Acetic acid (CH₃COOH) and formic acid (HCOOH) are the standard mild acids for wool and silk dyeing, chosen because they control pH gently without damaging the protein fibre.
- Sulfuric acid (H₂SO₄) is used for the strongest-binding acid dyes on nylon and for leveling dyes on wool that need a lower pH to exhaust fully.
- Sodium sulfate (Na₂SO₄) is used, similarly to reactive dyeing, as a leveling electrolyte that moderates the rate of initial dye strike so color builds evenly rather than deeply in patches where the fibre first contacts the dye.
- Ammonium sulfate ((NH4)2SO4) is sometimes used as a "slow-release" acid source: it hydrolyzes gradually during the heating cycle, generating acidity progressively rather than all at once, which improves levelness on wool.
- Leveling agents based on quaternary ammonium compounds or amphoteric surfactants are used with milling and super-milling acid dyes to slow initial exhaustion and prevent uneven, "tippy" dyeing.
Basic (Cationic) Dyes
Basic dyes carry a permanent positive charge and are used almost exclusively on acrylic fibre (polyacrylonitrile), which is manufactured with anionic sites (usually sulfonate groups) built into the polymer specifically to give basic dyes something to bond with ionically. They can also be used on silk and on specially modified "cationic dyeable" polyester.
- Acetic acid (CH₃COOH) sets the bath pH to around 4–5, the range in which acrylic's anionic dye sites are most available and the cationic dye is most stable.
- Retarding (leveling) agents — typically other, non-tinting cationic or amphoteric surfactants such as cetyltrimethylammonium salts — deliberately compete with the dye for the fibre's limited number of anionic binding sites early in the dyeing cycle, slowing dye uptake so it can level out across the batch before the sites saturate. Because acrylic's dye sites are fixed in number, uneven early strike cannot be corrected later the way it sometimes can with other fibre types, so retarders are essential rather than optional here.
- Sodium acetate (CH₃COONa) is used as a buffer alongside acetic acid to hold pH steady through the dyeing cycle.
Direct Dyes
Direct dyes are large, flat, linear molecules that dye cellulose fibre easily from a neutral or slightly alkaline bath, with no chemical reaction required and are held onto the fibre mainly through hydrogen bonding and van der Waals forces along the long axis of the dye molecule and the cellulose chain. This makes the application of direct dyes easy and inexpensive but the wash-fastness is significantly lower than reactive or vat dyes as there is no covalent or strong ionic bond formed.
- Common salt (NaCl) or Glauber's salt (Na₂SO₄) is added, exactly as in reactive dyeing, to suppress dye solubility and promote exhaustion onto the fibre.
- Sodium carbonate (Na₂CO₃) is sometimes used in small amounts to adjust water hardness and pH.
- Fixing agents ("dye-fixatives") — cationic polymers, often based on polyamine-epichlorohydrin resins — are applied after dyeing to form a complex with the anionic direct dye, sharply reducing its tendency to wash out. This after-treatment is what makes direct-dyed goods commercially viable despite the dye's inherently modest fastness.
- Copper sulfate (CuSO₄) after-treatment is used on some direct dyes (particularly certain black and navy shades) to form a metal-dye complex that improves both light-fastness and wash-fastness, though its use has declined due to concerns over copper in effluent.
Sulfur Dyes
Sulfur dyes are valued for producing very heavy, deep, economical shades — especially black, navy and brown — on cotton and are chemically similar in principle to vat dyes: they are insoluble in their stable form and must be reduced to a soluble form to penetrate the fibre, then re-oxidized to lock the color in.
- Sodium sulfide (Na₂S) is the traditional reducing agent, cleaving the disulfide (–S–S–) linkages within the dye molecule to produce a soluble thiol (–SH) form (the "leuco sulfur dye") that has affinity for cellulose.
- Sodium hydrosulfide (NaHS) and glucose-based reducing systems combined with sodium hydroxide are increasingly used as lower-odor, lower-sulfide alternatives, since sodium sulfide baths generate hydrogen sulfide (H₂S) — a toxic, foul-smelling gas — and contribute heavily to sulfide-laden effluent.
- Sodium carbonate (Na₂CO₃) and sodium hydroxide (NaOH) maintain the alkaline conditions the reduced dye needs to stay soluble and substantive during application.
- After exhaustion, the fibre is treated with an oxidizing agent — commonly hydrogen peroxide (H₂O₂), sodium dichromate (historically, now largely discontinued due to chromium toxicity) or sodium bromate (NaBrO₃) — to re-form the insoluble disulfide-linked dye inside the fibre.
- Common salt (NaCl) is used, as with direct dyes, to assist exhaustion of the anionic leuco dye onto the negatively charged cellulose surface.
Azoic (Naphthol) Dyes
Azoic dyeing, sometimes called naphthol dyeing or ice-color dyeing, is unusual in that the actual pigment is synthesized inside the fibre itself rather than being applied ready-made. It proceeds in two distinct chemical stages.
Stage one: naphtholation
The fabric is first impregnated with a solution of a naphthol compound (a "coupling component," typically a derivative of 2-hydroxynaphthalene-3-carboxylic acid) dissolved with the help of sodium hydroxide (NaOH), which converts the naphthol to its water-soluble sodium salt (a "naphtholate") and drives it into the fibre's amorphous regions.
Stage two: coupling (development)
The naphtholated fabric is then treated with a solution of a diazonium salt (a "base," pre-formed from an aromatic amine and sodium nitrite, NaNO₂, under acidic conditions using hydrochloric acid, HCl). The diazonium salt reacts instantly with the naphtholate already inside the fibre in a diazo coupling reaction, precipitating an insoluble azo pigment directly within the fibre structure: Ar–N₂⁺ + Naphtholate–fibre → Ar–N=N–Naphthol–fibre (insoluble azo pigment).
- Sodium nitrite (NaNO₂) and hydrochloric acid (HCl) generate the reactive diazonium salt from its aromatic amine precursor immediately before use, since diazonium salts are unstable and must be used fresh.
- Sodium hydroxide (NaOH) dissolves the naphthol for the first stage.
- Turkey red oil (sulfated castor oil) or other wetting agents improve naphthol penetration into the fibre before coupling.
Because the pigment forms as fine, insoluble particles physically lodged within the fibre, azoic dyeing gives excellent wash-fastness, though rubbing (crock) fastness can be modest since some pigment inevitably forms near the fibre surface.
Auxiliary and Process Chemicals
Beyond the dye-specific chemistry above, dye-houses rely on a common toolkit of auxiliary chemicals that show up across nearly every dye class. Understanding what each one actually does clarifies why a recipe calls for it.
Electrolytes (exhausting agents)
Sodium chloride (NaCl) and sodium sulfate (Na₂SO₄) both work by the same principle: dissolved salt ions compete with the anionic dye for the water's "attention," effectively lowering the dye's apparent solubility and pushing it toward the fibre. Sodium sulfate is generally preferred for bright and pale shades since it is less corrosive to stainless steel dyeing equipment than chloride ion; sodium chloride is cheaper and more common for medium-to-heavy shades.
Alkalis
Sodium hydroxide (NaOH), sodium carbonate (Na₂CO₃) and sodium bicarbonate (NaHCO₃) form a graded ladder of alkaline strength used to control pH precisely, from the strongly caustic NaOH (needed for vat and vinyl-sulfone reactive dyeing) down through soda ash to the mild bicarbonate used where a gentle, slow pH rise is wanted.
Acids and buffers
Acetic acid (CH₃COOH), formic acid (HCOOH) and sulfuric acid (H₂SO₄) are used, in roughly that order of increasing strength, to set pH for protein and synthetic fibre dyeing and to neutralize residual alkali after alkaline processes such as scouring or reactive dyeing.
Reducing agents
Sodium dithionite (Na₂S₂O₄), sodium sulfite (Na₂SO₃) and sodium sulfide (Na₂S) convert insoluble dye forms to soluble ones (vat and sulfur dyeing) and strip unwanted or over-dosed dye (reductive clearing, color correction/stripping).
Oxidizing agents
Hydrogen peroxide (H₂O₂), sodium chlorite (NaClO₂), sodium hypochlorite (NaOCl) and sodium bromate (NaBrO₃) are used both for bleaching before dyeing and for re-oxidizing reduced (leuco) dyes back to their stable, insoluble, colored form after they have penetrated the fibre.
Wetting agents and surfactants
Surface-active agents reduce the surface tension of the dye liquor so it penetrates fibre and yarn packages evenly rather than beading or channeling. These are broadly divided into:
- Anionic surfactants (e.g., sodium alkylbenzene sulfonates, R–C₆H₄–SO₃Na) — general-purpose wetting and scouring agents.
- Nonionic surfactants (e.g., alkylphenol or fatty alcohol ethoxylates) — favored where the dye itself is anionic, since nonionic surfactants do not compete electrostatically with the dye or interfere with its uptake.
- Amphoteric and cationic surfactants — used more selectively, chiefly as leveling and retarding agents in acid and basic dyeing.
Sequestering (chelating) agents
EDTA (C₁₀H₁₆N₂O₈), sodium gluconate (C₆H₁₁NaO₇) and sodium tripolyphosphate (Na₅P₃O₁₀) bind calcium, magnesium, iron, copper and manganese ions present in process water or on the fibre. Left unbound, these metal ions can cause dye precipitation, dull or off-shade coloring, catalytic degradation of peroxide bleaching baths and rust-like spotting on the finished goods.
Leveling and retarding agents
These surfactant-based auxiliaries slow the initial rate of dye uptake so color has time to migrate and even out across a batch before binding sites are saturated. They matter most where dyeing kinetics are fast and unforgiving — acrylic with basic dyes and wool or nylon with acid dyes.
Anti-foaming (defoaming) agents
Silicone-based or mineral-oil-based defoamers control foam generated by surfactants during high-turbulence processes such as jet and jig dyeing, preventing uneven liquor circulation and pump cavitation.
Dispersing agents
Used specifically in disperse dyeing (and to lesser extent in pigment dyeing/printing) to keep insoluble dye particles suspended as a fine, stable colloid rather than settling out or clumping, which would otherwise cause specking and unlevel dyeing.
Post-Dyeing and Finishing Chemicals
Once the primary coloring reaction is complete, several further chemical steps are typically required before the fabric or yarn is finished.
Soaping and washing-off
Hot washing with nonionic or anionic detergent removes unfixed surface dye. For reactive dyes especially, this step — sometimes with several rinse cycles — is essential, since hydrolyzed dye that has not bonded to the fibre will otherwise crock or bleed onto adjacent fabric.
Fixing agents
Cationic, polyamine-based fixing agents are applied, especially to direct- and some reactive-dyed goods, to improve wet-fastness by neutralizing residual anionic charge on the dye and forming a larger, less water-soluble complex on the fibre surface.
Softening agents
Cationic softeners (quaternary ammonium compounds), silicone-based softeners and fatty-acid-condensate softeners are applied in a final bath to restore hand-feel and reduce the harshness introduced by repeated wet processing.
Optical brighteners (fluorescent whitening agents)
For white or very pale goods, stilbene-based optical brightening agents absorb ultraviolet light and re-emit it as visible blue light, counteracting the natural yellowish cast of bleached cellulose and making white fabric appear brighter than its actual reflectance would allow.
Cross-linking (durable press) agents
Where wrinkle resistance is wanted, formaldehyde-based or, increasingly, low-formaldehyde/non-formaldehyde dimethyloldihydroxyethyleneurea (DMDHEU) resins are applied and cured to cross-link cellulose chains, though regulatory pressure has pushed the industry toward formaldehyde-free alternatives due to health concerns around free formaldehyde release.
Safety and Handling
Several chemicals used in the dye-house carry meaningful hazards and are handled under specific controls in a well-run facility:
- Sodium hydroxide and sulfuric acid are strongly corrosive to skin and eyes and are handled with appropriate personal protective equipment and eyewash stations nearby.
- Sodium sulfide-based sulfur dye baths can release toxic hydrogen sulfide (H₂S) gas, particularly if the bath is acidified accidentally; adequate ventilation and gas monitoring are standard in sulfur dye-houses.
- Sodium dithionite (Na₂S₂O₄) is combustible when dry and can generate heat and sulfur dioxide (SO₂) if it becomes damp in storage, so it is stored in sealed, moisture-proof containers.
- Diazonium salts used in azoic dyeing are thermally unstable and are generated fresh, in small batches, immediately before use rather than stored.
- Hydrogen peroxide at the concentrations used industrially is a strong oxidizer and skin irritant and is stored separately from reducing agents and organic material.
Environmental Impact and Effluent Treatment
Dye-house effluent is one of the more heavily scrutinized waste streams in manufacturing, because it combines high color load, high salinity and a range of chemical oxygen demand (COD) contributors in one discharge. A few points are worth knowing:
- Salt load. The large quantities of sodium chloride and sodium sulfate used to drive dye exhaustion — often 20–100 g/L of dyebath — end up in the effluent virtually unchanged, since they do not react during dyeing. This is a major reason reactive dyeing, despite its excellent fastness, is under environmental pressure and why lower-salt and salt-free reactive dye systems have been developed.
- Sulfide load. Sulfur dye effluent containing residual sodium sulfide has high oxygen demand and toxicity to aquatic life and typically requires oxidative pretreatment (commonly with hydrogen peroxide or aeration) before it can be discharged to a municipal treatment plant.
- Color removal. Even well-optimized dyeing leaves some unfixed dye in the wash water. Treatment methods include coagulation-flocculation (often with aluminum sulfate, Al₂(SO₄)₃ or ferric chloride, FeCl₃), activated carbon adsorption, membrane filtration and increasingly, advanced oxidation processes.
- Heavy metals. Historic use of chromium- and copper-based mordants and after-treatments has been substantially phased out in favor of metal-free dye systems, driven both by regulation and by buyer requirements (such as the Zero Discharge of Hazardous Chemicals, ZDHC, program used across much of the apparel supply chain).
- Water reuse. Because dyeing is water-intensive, many mills now recover and reuse rinse water and some recover salt from reactive-dye effluent for reuse in subsequent batches.
This is a sensitive and evolving area of environmental regulation and public health policy and mills' specific obligations vary by jurisdiction and by the standards set by their buyers.
Quick-Reference Formula Glossary
Each entry below gives the compound's common name, formula and dyeing role, followed by a short note on what it actually does in the bath.
- Sodium chloride (common salt) — NaCl — electrolyte / exhausting agent. Added to reactive, direct and sulfur dyebaths to suppress the anionic dye's solubility in water and push it toward the negatively charged fibre surface; the cheapest and most widely used exhausting salt.
- Sodium sulfate (Glauber's salt) — Na₂SO₄ — electrolyte / leveling agent. Performs the same exhausting function as common salt but is less corrosive to stainless steel dyeing machinery, so it is preferred for bright, pale and delicate shades where equipment wear and shade clarity both matter.
- Sodium carbonate (soda ash) — Na₂CO₃ — alkali / fixing agent. The standard fixing alkali for reactive dyes; it raises bath pH enough to ionize cellulose hydroxyl groups into the more reactive alkoxide form, which then bonds covalently with the dye's reactive group.
- Sodium bicarbonate — NaHCO₃ — mild alkali. A gentler alternative to soda ash, used in pad-batch and cold-pad-batch dyeing where a slow, controlled rise in alkalinity is wanted rather than an immediate pH jump.
- Sodium hydroxide (caustic soda) — NaOH — strong alkali / scouring / vat reduction bath. The strongest common alkali in the dye-house; used to scour raw cotton, to fix vinyl-sulfone reactive dyes and to keep reduced (leuco) vat and sulfur dyes soluble during application.
- Acetic acid — CH₃COOH — pH control (acid/disperse/basic dyeing). The standard mild acid for setting bath pH in acid, disperse and basic (cationic) dyeing, chosen because it adjusts pH gently without damaging protein or synthetic fibres.
- Formic acid — HCOOH — pH control (wool, silk). A slightly stronger organic acid than acetic acid, used to bring wool and silk dyebaths to the lower pH some acid dyes need for full exhaustion.
- Sulfuric acid — H₂SO₄ — strong acid / neutralization. Used where a stronger, faster acidification is needed, such as with strong-binding acid dyes on nylon and to neutralize residual alkali left over from scouring or reactive dyeing.
- Hydrochloric acid — HCl — desizing / diazonium salt preparation. Used in acid desizing of starch sizes and, critically, to generate unstable diazonium salts from aromatic amines immediately before azoic (naphthol) dyeing.
- Hydrogen peroxide — H₂O₂ — bleaching / oxidation. The dominant cotton bleach, decomposing under alkaline conditions to release the oxidizing perhydroxyl ion; also used to re-oxidize leuco vat and sulfur dyes back to their insoluble, colored form inside the fibre.
- Sodium chlorite — NaClO₂ — bleaching (polyester/cotton blends). Bleaches effectively at the high temperatures polyester/cotton blends require without harming the synthetic fibre, though it needs corrosion-resistant equipment and careful ventilation.
- Sodium hypochlorite — NaOCl — bleaching. An older, cheaper chlorine-based bleach; largely in decline because it is harsher on cellulose and can generate chlorinated organic byproducts in effluent.
- Sodium dithionite (hydrosulfite) — Na₂S₂O₄ — reducing agent (vat, sulfur, disperse clearing). The workhorse reducing agent of the dye-house: converts insoluble vat and sulfur dyes into their soluble leuco forms and strips unfixed disperse dye from polyester surfaces during reduction clearing.
- Sodium sulfite — Na₂SO₃ — reducing agent / antichlor. A milder reducing agent used to neutralize residual chlorine or hypochlorite after bleaching ("antichlor" treatment) and in some dye-stripping formulations.
- Sodium sulfide — Na₂S — reducing agent (sulfur dyes). The traditional reducing agent for sulfur dyes, cleaving the dye's internal disulfide bonds to form a soluble, fibre-substantive form; being phased toward lower-sulfide alternatives due to toxicity and odor.
- Sodium nitrite — NaNO₂ — diazonium salt formation (azoic dyeing). Reacted with an aromatic amine under acidic conditions to generate the reactive diazonium salt used in the second (coupling) stage of azoic dyeing.
- Sodium bromate — NaBrO₃ — oxidizing agent (vat, sulfur). An alternative oxidizer to hydrogen peroxide for re-forming insoluble, colored dye inside the fibre after vat or sulfur dyeing.
- Sodium persulfate — Na₂S₂O₈ — oxidative desizing. Used to break down synthetic sizing agents such as polyvinyl alcohol (PVA) or carboxymethyl cellulose (CMC) that resist enzymatic desizing.
- Sodium silicate — Na₂SiO₃ — peroxide bath stabilizer. Stabilizes hydrogen peroxide bleaching baths against uncontrolled, localized decomposition, which otherwise causes pinholes ("peroxide holes") in the fabric.
- Sodium tripolyphosphate — Na₅P₃O₁₀ — sequestering agent. Chelates calcium, magnesium and trace metal ions in process water that would otherwise cause dye precipitation or uneven shading.
- EDTA — C₁₀H₁₆N₂O₈ — sequestering / chelating agent. A stronger, more selective chelating agent than tripolyphosphate, used to bind trace iron and copper ions that can catalyze peroxide decomposition or cause rust-like spotting on finished goods.
- Copper sulfate — CuSO₄ — direct dye after-treatment. Applied after dyeing to form a metal-dye complex with certain direct dyes (particularly blacks and navies), improving light- and wash-fastness; use has declined over concerns about copper in effluent.
- Urea — CO(NH₂)₂ — humectant (printing, pad-batch). Keeps fabric moist during pad-batch reactive dyeing and printing so the fixation reaction has time to proceed fully before the fabric dries out.
- Ammonium sulfate — (NH₄)₂SO₄ — slow-release acid (wool dyeing). Hydrolyzes gradually as the bath heats, generating acidity progressively rather than all at once, which improves level dyeing on wool.
- Indigo — C₁₆H₁₀N₂O₂ — vat dye (denim blue). The classic vat dye behind blue denim; yellow-green in its reduced, alkaline leuco form, it only turns blue on oxidation in air after the yarn leaves the dye bath.
- Aluminum sulfate — Al₂(SO₄)₃ — effluent coagulant. Used in coagulation-flocculation treatment of dye-house wastewater to remove residual color and suspended solids before discharge.
- Ferric chloride — FeCl₃ — effluent coagulant. An alternative coagulant to aluminum sulfate for color and solids removal in effluent treatment, sometimes preferred where sludge handling characteristics favor it.
It is a guide to the chemistry of the most common types met with on a conventional textile dye-house floor. Exact recipes, concentrations and process sequences vary by fibre blend, machinery, target shade and the specific dye and auxiliary products chosen by a given supplier and should always be confirmed against current safety data sheets and supplier technical bulletins prior to use.
Final Thought
The chemistry of the dyebath shows how science and art come together in textiles. Knowing the function of each chemical, from alkalis and acids to oxidisers and surfactants, enables manufacturers to maximise vibrant, durable colours while minimising environmental damage. The future of dyeing textiles lies in environmentally friendly methods and precise control of chemistry.