Detergent has to travel before it can clean
Dropping detergent into a washing machine does not put it in contact with a stain — it puts it into bulk water at one end of a concentration gradient, with the stain sitting somewhere on the far side of a fabric weave. Getting from powder or liquid dose to the stain surface is a transport problem, and the transport mechanism, in the absence of strong bulk mixing right at the fibre surface, is molecular diffusion.
Fick's laws, in the shape that matters here
Fick's first law says the flux of dissolved detergent is proportional to the local concentration gradient; Fick's second law turns that into a time-evolution equation for the concentration field itself:
J = -D * dC/dx (Fick's first law: flux follows the gradient)
dC/dt = D * d2C/dx2 (Fick's second law: 2D diffusion field)
D = diffusion coefficient (m2/s), larger for small surfactant
monomers than for large enzyme molecules or micelles
C = local detergent concentration in the wash-water film
Two things fall directly out of this equation. First, diffusion is fast over microscopic distances and slow over macroscopic ones — the characteristic time to diffuse a distance L scales as L squared over D, so getting detergent through the thin water film wetting a fibre takes moments, but if the machine never agitates the load, reaching the interior of a tightly folded garment could take far longer than a wash cycle allows. Second, a steeper gradient (higher local concentration difference) drives faster flux, which is exactly why pre-treating a stain with concentrated detergent works better than relying on the diluted wash bath alone.
Surfactants loosen the stain, enzymes take it apart
Once detergent molecules reach the fibre-stain interface, two separate mechanisms take over. Surfactants lower the interfacial tension between fabric and stain and roll oily soil up into removable droplets, the same mechanism that makes hand soap work. But many common stains are not oily at all — they are proteins (blood, grass, egg), starches (gravy, potato) or fats bound tightly to the fibre — and surfactant action alone barely touches them.
This is where enzymes take over. Proteases hydrolyse the peptide bonds holding protein stains together, cutting large sticky molecules into small water-soluble fragments that diffuse away instead of staying bound to the fibre. Amylases do the same for starch stains, and lipases break down fats and oils into soluble fatty acids and glycerol. Each enzyme is itself a large molecule that must diffuse to the stain before it can act, and because enzymes are much bigger than surfactant monomers, their diffusion coefficient is correspondingly smaller — one reason a longer wash or pre-soak noticeably improves enzyme-dependent stain removal even when surfactant has already reached the stain.
Why temperature and agitation matter so much
Diffusion coefficients grow with temperature (roughly following the Stokes-Einstein relation, where D is proportional to temperature divided by fluid viscosity), so warmer water genuinely speeds delivery of detergent to the stain. But enzymes have an optimal temperature window and denature if a wash runs too hot, which is why detergent formulations balance a diffusion benefit at higher temperature against an enzyme-activity penalty. Mechanical agitation matters even more directly: it continuously refreshes the water layer against the fibre surface, replacing a locally depleted, low-concentration boundary layer with fresh detergent-rich water, which keeps the concentration gradient — and therefore the diffusive flux — as steep as possible throughout the cycle.
Frequently asked questions
Why does cold-water detergent still work?
Modern laundry enzymes are engineered variants selected or mutated to stay active at 15-20 degrees Celsius, and diffusion, while slower in cold water, still delivers enough surfactant and enzyme to a stain over a normal wash cycle. Cold-water formulas simply use enzymes with lower optimal temperatures than older hot-wash products required.
Does more detergent clean clothes faster?
Only up to a point. Once surfactant concentration passes the critical micelle concentration, extra detergent mostly forms more micelles in the bulk water rather than increasing the concentration gradient driving molecules into the fabric, so cleaning power plateaus while rinsing gets harder and residue risk goes up.
Why do pre-treated stains come out better than a normal wash?
Pre-treatment applies detergent directly onto the stain at high concentration with no bulk water to dilute it, which creates a much steeper concentration gradient and lets enzymes and surfactant start working immediately rather than waiting for diffusion through the wash cycle to bring them into contact.
Try it live
Everything above runs in your browser — open Laundry Detergent Diffusion Simulator and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.
▶ Open Laundry Detergent Diffusion Simulator simulation