Fabric Dyeing: The Complete Guide

Dyeing looks simple from the outside — put fabric in coloured water, get coloured fabric. In practice it’s applied chemistry, and almost every dyeing failure comes from the same root cause: the dye and the fibre weren’t chemically compatible in the first place.

Get that one thing right and most other problems become manageable. Get it wrong and no amount of technique will save the result.

This guide covers how dye classes work, how to match them to fibres, what the main dyeing processes involve, and how to troubleshoot the failures that come up most often. It’s the starting point for everything in our fabric dyeing section.

Why Fibre Type Decides Everything

Dyes don’t colour fabric by coating it. They bond with it — and the type of bond available depends entirely on the fibre’s chemistry.

Cellulosic fibres (cotton, linen, viscose, rayon, hemp) carry hydroxyl groups. Protein fibres (wool, silk) carry amino and carboxyl groups. Synthetic fibres like polyester are hydrophobic and have very few reactive sites at all — they repel water, and therefore repel anything dissolved in water.

That’s why a dye that produces brilliant, permanent colour on cotton may barely tint polyester, and why a dye that works beautifully on wool can wash straight out of a cotton shirt. The fibre isn’t rejecting the colour out of stubbornness; there’s simply nothing for the dye to attach to.

The first question in any dyeing project is always: what is this fabric actually made of? If the label is gone, a burn test is the usual field method — cellulosics burn steadily and smell like paper, protein fibres smell like burning hair and self-extinguish, and synthetics melt into a hard bead.

The Main Dye Classes

Reactive Dyes

Reactive dyes are the standard for cotton and other cellulosics, and they’re the most widely used dye class in the industry. What separates them is the bond they form: a reactive group in the dye molecule reacts chemically with the fibre to form a covalent bond — the dye becomes part of the fibre rather than sitting on it.

That’s why reactive-dyed cotton holds its colour through repeated washing. The practical strengths are good water solubility, a wide shade range, bright clear colours, and strong wash and light fastness at moderate cost.

Reactive dyeing needs alkali — usually soda ash — to trigger the reaction, and salt to drive the dye onto the fibre. The main weakness worth knowing is that reactive dyes tend to have poor fastness to chlorine bleach, so bleaching a reactive-dyed garment will strip colour.

Acid Dyes

Acid dyes are for protein fibres — wool, silk, and also nylon, which despite being synthetic carries amino groups that behave chemically like a protein fibre.

They’re applied in an acidic bath, usually with vinegar or citric acid, and they bond through ionic attraction between the dye and the fibre’s amino groups. Acid dyes produce exceptionally brilliant colours on wool and silk, which is why they dominate hand-dyeing for those fibres.

They will not dye cotton. Applied to a cotton-wool blend, an acid dye colours only the wool portion, leaving the cotton pale — an effect that’s sometimes used deliberately for heathered looks, but usually just a mistake.

Disperse Dyes

Disperse dyes exist because polyester exists. Polyester is hydrophobic with essentially no sites for conventional dyes to bond to, so disperse dyes work differently: they’re only slightly water-soluble, suspended as fine particles, and at high temperature they diffuse into the fibre’s polymer structure rather than bonding to its surface.

That requires heat and usually pressure — typically around 130°C in a pressurised vessel. This is why home-dyeing polyester with a standard dye almost never works: the domestic stovetop can’t reach the temperature needed to open the polyester structure.

Disperse dyes are also what make sublimation printing possible, since the same dyes convert from solid to gas under heat and bond into synthetic fabric.

Direct Dyes

Direct dyes attach to cellulosics without needing the alkali fixation step reactive dyes require. They’re simpler to apply and cheaper, and that’s their entire appeal.

The tradeoff is fastness. Direct dyes bond through weaker forces, so colour bleeds and fades with washing. A cationic fixative treatment after dyeing improves this considerably but doesn’t match reactive dyeing. For items that are washed rarely, direct dyes are perfectly reasonable; for a T-shirt, they aren’t.

Vat Dyes

Vat dyes — indigo being the famous example — work through a redox process. The dye is insoluble in its normal state, gets chemically reduced into a soluble form that penetrates the fibre, then oxidises back to insoluble inside the fibre structure, physically trapped there.

This gives outstanding fastness, including resistance to bleach, which is why vat dyes are used for workwear and why denim behaves the way it does. The process is more complex and the shade range is narrower than reactive dyes.

Indigo’s particular behaviour — sitting on the outside of the cotton yarn rather than penetrating fully — is exactly what produces the fading and wear patterns denim is valued for.

Sulphur Dyes

Sulphur dyes are the economical workhorse for deep, dull shades on cotton — especially blacks, browns, and navies. Fastness to washing is good; fastness to light is moderate.

They’re not generally used for bright colours, and the effluent from sulphur dyeing is a genuine environmental issue at industrial scale.

Natural Dyes

Natural dyes come from plants, insects, and minerals — madder, indigo, cochineal, weld, walnut hulls. Most require a mordant, typically a metal salt like alum, which acts as a bridge between the fibre and the dye.

The appeal is real: subtle, complex colours that synthetic dyes struggle to reproduce, and a lower-impact process when done carefully. The limitations are equally real: less predictable results, generally lower fastness, more material required, and the misconception that “natural” automatically means safe — some traditional mordants are genuinely toxic.

Matching Dye to Fibre

FibreSuitable dyesNotes
Cotton, linen, hempReactive, direct, vat, sulphur, naturalReactive for best all-round fastness
Viscose, rayon, modal, tencelReactive, direct, vatCellulosic — behaves like cotton but weaker when wet
WoolAcid, natural, mordantHeat and agitation cause felting — raise temperature slowly
SilkAcid, natural, reactiveAcid dyes give the most brilliant results
NylonAcid, disperseBehaves like a protein fibre despite being synthetic
PolyesterDisperse onlyRequires ~130°C; not practical at home
AcrylicBasic (cationic)Basic dyes give excellent brightness here specifically
Spandex/elastaneAcid, disperseUsually a small blend percentage; heat-sensitive

Our dye types section covers each class in more depth, and dyeing processes by fabric has fibre-specific procedures.

Blends: The Hard Case

Blended fabrics are where dyeing gets genuinely difficult, because the two fibres need different dyes under different conditions.

A polyester-cotton blend needs a disperse dye for the polyester and a reactive dye for the cotton. There are two approaches:

Two-bath dyeing runs the processes separately — disperse dyeing at high temperature first, then reactive dyeing afterwards. It’s more controllable and gives better results, but it costs more time, water, and energy.

One-bath dyeing applies both dye classes simultaneously. It’s faster and cheaper, but the conditions are a compromise for both dyes, and shade matching becomes harder.

The specific risk with nylon-cotton blends is alkaline damage. Reactive dyeing of cotton needs alkali, and nylon degrades under alkaline conditions through hydrolysis — so the process has to balance fixing the cotton against damaging the nylon.

This is why a poly-cotton garment sometimes comes out of a home dye bath looking washed-out: the cotton took the dye and the polyester didn’t, producing a diluted-looking shade rather than a clean colour.

How Dyeing Actually Works

Regardless of dye class, the process moves through the same four phases:

  1. Adsorption — dye migrates from the liquor to the fibre surface
  2. Diffusion — dye penetrates into the fibre interior
  3. Fixation — dye is chemically bound or physically trapped
  4. Washing-off — unfixed dye is removed

That last step is skipped more often than any other, and it causes more problems than any other. Unfixed dye left in the fabric bleeds in the first wash, crocks onto other surfaces, and makes the colour look wrong. Washing off thoroughly — usually hot, often with detergent — is not optional.

Variables That Control the Outcome

Liquor ratio — the weight ratio of water to fabric. Lower ratios use less water and chemicals; higher ratios give more even results. Home dyeing usually needs a generous ratio simply because you can’t agitate as effectively.

Temperature — controls how fast dye diffuses into the fibre. Too low and the dye doesn’t penetrate; too fast a rise and you get uneven uptake, since dye grabs the first fibre it touches before distributing.

pH — reactive dyeing needs alkaline conditions, acid dyeing needs acidic ones. This isn’t adjustable to taste; it’s what makes the chemistry work.

Salt — in reactive dyeing, salt reduces the repulsion between negatively charged dye and negatively charged cellulose, pushing dye onto the fibre. More salt means more exhaustion, which is why industrial reactive dyeing uses so much of it, and why the effluent is an environmental concern.

Time and agitation — even movement produces even colour. Fabric packed tightly into a small vessel will dye unevenly no matter how good the recipe is.

Common Problems

Uneven or patchy colour. Usually insufficient agitation, too-small a vessel, or too-fast a temperature rise. Fabric needs room to move freely. Raising temperature gradually gives dye time to distribute before it fixes.

Colour washes out. Either the wrong dye class for the fibre, or incomplete fixation, or skipped washing-off. If the first wash runs heavily coloured, the dye never bonded properly.

Colour is much paler than expected. The usual causes are too little dye for the fabric weight, a blend where only one fibre took the dye, or residual finishes on the fabric blocking penetration. New fabric often carries sizing or optical brighteners that need scouring off before dyeing.

Crocking (colour rubbing off). Unfixed surface dye. Wash off more thoroughly.

Wool felted during dyeing. Heat plus agitation plus sudden temperature change. Wool needs slow, gentle handling and gradual cooling.

Shade doesn’t match the sample. Shade reproduction depends on water chemistry, exact dye quantity, fabric weight, and liquor ratio all being consistent. Industrial dyeing controls these tightly; home dyeing rarely does. Always weigh the dry fabric and calculate dye as a percentage of that weight rather than estimating.

Preparation

Dyeing failures often trace back to what happened before the dye bath.

Scouring removes oils, waxes, sizing, and manufacturing residues. Unscoured fabric dyes unevenly because the dye can’t reach the fibre uniformly.

Bleaching creates a consistent white base. Essential for pale or bright shades; unnecessary for deep ones.

Mercerisation, applied to cotton, treats the fibre with caustic soda under tension. It increases lustre, strength, and — importantly — dye uptake, meaning less dye is needed for the same depth of shade.

For knitted fabrics specifically, dimensional stability during wet processing is the recurring challenge — knits distort easily under tension. Our knit fabric dyeing section covers the handling differences in detail.

Environmental Considerations

Textile dyeing is water-intensive and generates significant effluent. The main pressure points are water consumption, salt load in reactive dyeing wastewater, energy for heating, and unfixed dye discharged into waterways.

Industry responses include low-liquor-ratio machines, low-salt reactive dyes, digital printing (which applies colour only where needed), enzyme-based pretreatment, and supercritical CO₂ dyeing, which eliminates water from the process entirely for polyester. Most of these remain more common in specification documents than on factory floors, but the direction of travel is clear.

Where to Go From Here

  • Dye Types — reactive, acid, disperse, direct, vat, sulphur and natural dyes in detail
  • Dyeing Processes by Fabric — fibre-specific procedures for cotton, nylon, polyester, viscose and blends
  • Knit Fabric Dyeing — handling knitted structures through wet processing
  • General Dyeing — product guides, reviews and practical dyeing questions

Related areas:

Frequently Asked Questions

Can I dye polyester at home? Realistically, no — not with standard dyes. Polyester needs disperse dyes at around 130°C under pressure, which a domestic stovetop can’t reach. Products sold for synthetic fabrics work by simmering for extended periods and give pale, limited results compared to properly dyed polyester. Dyeing a poly-cotton blend at home will colour the cotton and leave the polyester untouched.

Why did my dyed fabric come out patchy? Almost always a physical problem rather than a chemical one: the vessel was too small, the fabric couldn’t move freely, agitation was inadequate, or the temperature rose too quickly. Use more water than feels necessary and stir consistently throughout.

What’s the difference between a dye and a pigment? A dye dissolves and bonds with the fibre chemically. A pigment is an insoluble particle that sits on the surface and needs a binder to hold it there. Dyed fabric keeps its original hand-feel; pigment-coloured fabric often feels stiffer but can be applied to fibres that are otherwise hard to dye.

Do I need salt when dyeing cotton? For reactive dyeing, yes. Salt reduces the electrical repulsion between the dye and the fibre, which is what drives the dye onto the cotton. Without it, most of your dye stays in the water. You also need soda ash for the fixation reaction — the salt and the alkali do different jobs and both are needed.

Why does my dyed fabric bleed every wash? Either the dye never chemically fixed — wrong dye class for the fibre, or the fixation step was skipped — or unfixed dye was never washed out properly. If bleeding continues past three or four washes, it’s a fixation problem, not a rinsing one.

Are natural dyes better for the environment? Not automatically. They avoid petrochemical synthesis, but they generally need far more plant material per kilo of fabric, more water, and often metal mordants that carry their own disposal concerns. A well-run modern reactive dyeing operation with effluent treatment can have a smaller footprint than poorly managed natural dyeing. It depends on the specific process, not the label.

How much dye do I need? Dye quantity is calculated as a percentage of the dry fabric weight, not by volume of water. Pale shades typically need around 0.5–1% of fabric weight, medium shades 2–3%, and deep shades 4–6% or more. Always weigh the fabric dry before starting.