Detergent manufacturing is a multi-stage industrial process that starts with synthesizing or sourcing a handful of key chemical ingredients, then blending them into the powder, liquid, or pod that ends up on store shelves. The heart of every detergent is a surfactant, the molecule that actually lifts grease and dirt off surfaces, but a finished product also contains builders that soften water, enzymes that break down protein and starch stains, optical brighteners that make fabrics look whiter, and various stabilizers and fragrances. How all of these come together depends heavily on whether the end product is a powder or a liquid, because each format requires different equipment, temperatures, and mixing strategies.
Where Surfactants Come From
Surfactants are the workhorses of any detergent, and making them is its own industrial process before the final detergent formulation even begins. The two most common families are anionic surfactants and nonionic surfactants. Anionic surfactants carry a negative electrical charge that helps repel dirt once it has been pulled off a fabric or dish. Nonionic surfactants have no charge and are especially good at tackling oily, greasy soils. Most commercial detergents use a blend of both.
The dominant anionic surfactant in laundry and dishwashing detergents is linear alkylbenzene sulfonate, commonly abbreviated LAS. Producing it starts with linear alkylbenzene, a petroleum-derived compound. That raw material is pumped into a tubular falling-film reactor, where it meets a stream of sulfur trioxide gas. The reaction, called sulfonation, attaches a sulfonate group to the molecule, converting it into the active cleaning agent.1Journal of Surfactants and Detergents. Alkylaromatics in Detergents Manufacture: Modeling and Optimizing Linear Alkylbenzene Sulfonation The reaction generates a lot of heat, so the falling-film design keeps a thin layer of liquid running down the inside of a cooled tube, preventing the mixture from overheating and degrading.
Nonionic surfactants follow a different path. The most common type is made by reacting a fatty alcohol, often derived from coconut or palm kernel oil, with ethylene oxide in a process called ethoxylation. Manufacturers load the fatty alcohol into a pressurized reactor along with a potassium hydroxide catalyst, then inject ethylene oxide in controlled doses. The reaction chains ethylene oxide units onto the alcohol molecule, and the number of units added determines how water-soluble the final surfactant will be.2Chemical Engineering & Technology. Kinetics and Modeling of Fatty Alcohol Ethoxylation in an Industrial Spray Loop Reactor Industrial-scale ethoxylation typically takes place in spray tower reactors where the fatty alcohol is atomized into fine droplets to maximize contact with the ethylene oxide gas.
Builders and Why Hard Water Matters
Surfactants alone would work well in perfectly pure water, but tap water contains dissolved calcium and magnesium ions. These minerals grab onto surfactant molecules and pull them out of action, reducing cleaning power. To counteract this, detergent formulations include builders, ingredients whose job is to tie up those mineral ions so the surfactant can do its work unimpeded.3Jurnal Kimia Sains dan Aplikasi. Synthesis of Zeolite from Sugar Cane as Detergent Builder: Variation of Si/Al Ratio and Hydrothermal Time
For decades, the go-to builder was sodium tripolyphosphate, a phosphate compound that is extremely effective at capturing calcium and magnesium. However, phosphates that wash down the drain feed algae blooms in rivers and lakes, a problem that led to partial or full phosphate bans in household detergents across much of Europe and North America. The detergent industry responded by switching to zeolites, crystalline minerals that trap hard-water ions inside their cage-like structure. Synthetic zeolites are now the dominant builder in powder detergents worldwide. Liquid detergents often rely instead on citrates or other organic chelators that dissolve more easily in water-based formulations.
Enzymes, Brighteners, and the Rest of the Formula
A modern detergent contains far more than surfactant and builder. Enzymes are proteins produced through fermentation of specially engineered microorganisms. Each type targets a different kind of stain: proteases break down blood and grass, amylases tackle starch-based food stains, lipases handle grease, and cellulases smooth out tiny fiber fuzz to keep fabrics looking fresh. Enzyme manufacturers grow these proteins in large fermentation tanks, then stabilize and concentrate them into liquid or granulated forms that detergent producers blend in during the final formulation step.
Optical brighteners are another near-universal additive. These are fluorescent dyes that absorb invisible ultraviolet light and re-emit it as visible blue light. The effect makes white fabrics appear brighter than they would on their own, a visual trick rather than actual cleaning. Quality detergents typically contain optical brighteners at levels above half a percent, and at that concentration the brightener represents a meaningful share of total raw-material cost.4Journal of the American Oil Chemists’ Society. Optical brighteners as detergent additives
Rounding out a typical formula you will find fragrances (which are complex blends of dozens of individual aroma chemicals), anti-redeposition agents that keep loosened dirt suspended in the wash water instead of settling back onto clothes, foam regulators, and sometimes bleach activators. Oxygen-based bleach compounds like sodium percarbonate release hydrogen peroxide in the wash to help break down colored stains at lower temperatures. Each of these components is sourced or manufactured separately and brought together only in the final blending stage.
How Powder Detergent Is Made
Powder detergent production typically follows one of two routes: spray drying or dry mixing (sometimes called agglomeration).
In spray drying, the manufacturer first prepares a thick liquid slurry by mixing surfactants, builders, and water together in large mixing vessels. That slurry is then pumped to the top of a tall tower, sometimes ten stories high, and sprayed through nozzles into a stream of hot air flowing upward. As the droplets fall through the tower, the water evaporates and each droplet solidifies into a hollow, porous granule. The result is the familiar light, fluffy powder that dissolves quickly in the washing machine. The dried base powder is then coated or mixed with heat-sensitive ingredients like enzymes, fragrances, and bleach compounds in a separate post-tower step, since those ingredients would be destroyed by the high temperatures inside the drying tower.
The alternative, agglomeration, skips the drying tower entirely. Instead, a concentrated liquid binder, usually a surfactant paste, is sprayed onto dry powder ingredients tumbling inside a rotating drum or high-speed mixer. The binder causes fine particles to stick together into larger granules. This approach produces denser, more compact powders, which is why many of the “concentrated” or “compact” detergent powders on the market are agglomerated rather than spray-dried. Agglomeration also uses less energy because there is no need to evaporate large volumes of water.
How Liquid Detergent Is Made
Liquid detergent manufacturing looks quite different. There is no drying step, and the challenge shifts from removing water to achieving a perfectly stable, uniform blend. Raw materials arrive at the plant as liquids or are pre-dissolved: surfactant pastes, enzyme concentrates, fragrance oils, dyes, and viscosity modifiers all need to be mixed into a single homogeneous product that will not separate on the shelf.
Industrial mixing equipment has evolved considerably to meet this challenge. Modern liquid detergent plants use a range of mixing technologies, from variable-speed-drive mixers and ribbon blenders to multi-shaft homogenizers and specialized high-shear detergent mixers.5i-manager Publications. Recent advances in industrial liquid mixing: A comprehensive review on improved detergent mixer and competing detergent mixer technologies The goal is to get every ingredient evenly distributed while minimizing energy consumption and avoiding excessive foaming during the process. High-shear mixers spin at thousands of revolutions per minute, breaking up clumps and emulsifying oils so that the final product stays uniform through months of shelf life.
A key consideration in liquid formulations is stability. Hydrotropes, small molecules like sodium xylene sulfonate or sodium cumene sulfonate, are added to keep concentrated surfactant solutions from turning cloudy or gelling over time. Getting the balance right between surfactant concentration, hydrotrope level, and water content is one of the trickier formulation puzzles in the industry, and manufacturers fine-tune these ratios for each specific product line.
Pods and Unit-Dose Formats
Single-dose pods, or capsules, represent a newer manufacturing challenge. These products contain highly concentrated liquid detergent sealed inside a water-soluble polyvinyl alcohol (PVA) film. The liquid inside a pod can be two to ten times more concentrated than a standard liquid detergent, which means the formulation chemistry has to work in a much more cramped molecular environment. Stabilizing enzymes and fragrances at these concentrations requires careful selection of solvents and encapsulation techniques.
The manufacturing line for pods typically involves thermoforming the PVA film into small pockets on a conveyor, filling each pocket with a precise dose of liquid (or multiple liquids in different chambers for multi-compartment pods), then sealing a second layer of PVA film over the top. The sealed pods pass through a drying tunnel to remove any surface moisture that might cause them to stick together, and are then packaged in moisture-resistant containers. The entire process has to be carefully humidity-controlled, since the PVA film dissolves on contact with water and even ambient moisture can compromise the seal.
The Carbon Footprint of Production
Manufacturing detergent has a measurable environmental cost. A life-cycle assessment of concentrated enzyme detergent production found that making one kilogram of the product generated roughly 2.5 kilograms of COâ‚‚-equivalent greenhouse gas emissions.6PubMed Central. Formulation improvement of a concentrated enzyme detergent for high-speed rail trains through life cycle assessment methodology The biggest contributors to that footprint were the production of surfactants and of glycerol used as an enzyme stabilizer, not the energy consumed on the factory floor or the transportation of raw materials. That finding suggests that reformulating the recipe itself, choosing lower-carbon ingredients or reducing how much stabilizer is needed, matters more than optimizing factory energy use.
The same study showed that tweaking the formulation to reduce the amount of enzyme stabilizer without sacrificing cleaning performance could cut annual carbon emissions by thousands of tons for a single large-volume product line, along with multi-million-dollar savings in raw-material costs.6PubMed Central. Formulation improvement of a concentrated enzyme detergent for high-speed rail trains through life cycle assessment methodology This kind of ingredient-level optimization is where the industry is increasingly focusing its sustainability efforts.
Factory Wastewater and What Comes Out of the Plant
Detergent manufacturing plants produce wastewater that is loaded with surfactants, and treating it before discharge is a significant engineering problem. Standard biological treatment systems work reasonably well, but newer approaches can push removal rates even higher. One recent study evaluated an advanced treatment system combining electrocoagulation with a membrane bioreactor for wastewater from a detergent plant. The setup achieved removal of over 95% of organic pollutants and nearly 100% of anionic surfactants, outperforming a standard membrane bioreactor alone.7PubMed. Gaining comprehensive insight into the effect of electrocoagulation integrated in a membrane bioreactor on the detergent manufacturing plant wastewater treatment and membrane fouling These treatment levels matter because even trace amounts of surfactant in discharged water can be toxic to aquatic life if they accumulate.
Once detergent products reach consumers and go down household drains, the surfactants enter municipal sewage systems. The major surfactants in current use, including LAS and alkyl phenol ethoxylates, are partially broken down by aerobic bacteria during sewage treatment and partially adsorbed onto sewage sludge.8Biochimica et Biophysica Acta. The biodegradation of surfactants in the environment When that sludge is applied to agricultural land, surfactant residues usually end up in the range of 0 to 3 milligrams per kilogram of soil, and further microbial degradation in the soil reduces the levels enough that the risk to soil organisms is considered very low, with safety margins often a hundredfold above concentrations that would cause harm.8Biochimica et Biophysica Acta. The biodegradation of surfactants in the environment
How the Industry Got Here
Synthetic detergents are a relatively modern invention. Soap, made from animal fat and lye, served humanity for thousands of years, but it performs poorly in hard water and leaves the scummy residue many people still associate with old bathtub rings. The first synthetic detergents appeared around 1916, driven partly by wartime shortages of the fats needed for soap production.9PubMed Central. Synthetic detergents: 100 years of history Early synthetic formulas were crude by modern standards, but they had one huge advantage: they worked in any kind of water.
By the mid-twentieth century, branched-chain alkylbenzene sulfonates had become the dominant surfactant. The problem was that microorganisms in rivers and treatment plants could not easily break these branched molecules down, leading to persistent foam on waterways. The industry shifted to linear alkylbenzene sulfonates in the 1960s, which biodegrade far more readily. That switch, along with the later move away from phosphate builders, represents the two biggest environmental course corrections in detergent manufacturing history. The trend continues today with growing interest in bio-based surfactants derived from sugars and plant oils rather than petroleum.
Skin Safety and How Finished Products Are Tested
Before a detergent reaches consumers, manufacturers run a battery of tests to ensure it does not cause skin irritation or allergic reactions, especially for products marketed as “sensitive” formulas. A clinical study of two sensitive-skin detergent products examined their effect on the skin microbiome of people with atopic dermatitis, one of the populations most vulnerable to detergent-related irritation. After a week of use, neither product significantly altered the diversity of skin bacteria, and both received average tolerability ratings above 9.5 out of 10 from participants.10PubMed Central. Evaluating the Impact of Laundry Detergents on the Skin Microbiome of Atopic Dermatitis Patients—A Clinical Study One of the two formulations even showed a slight increase in beneficial bacteria counts after the testing period.
This kind of microbiome testing is relatively new in the detergent world. Traditional safety testing focused on patch tests for irritation and allergenicity, measuring redness and swelling on skin exposed to the detergent. The newer approach recognizes that the community of bacteria living on your skin plays an active role in skin health, and that a detergent residue left on fabric after washing has repeated, prolonged contact with your body. For people with eczema or other inflammatory skin conditions, choosing a detergent that does not disrupt this microbial balance is a practical consideration that goes beyond simple irritation testing.
Raw Materials and the Supply Chain
One thing that surprises people about detergent manufacturing is how global and interconnected the supply chain is. The fatty alcohols used to make nonionic surfactants come largely from palm kernel oil and coconut oil, which means detergent production is tied to tropical agriculture in Southeast Asia and West Africa. Linear alkylbenzene, the feedstock for LAS surfactants, comes from petroleum refining. Sodium carbonate (soda ash) used as a pH buffer is mined or produced from trona deposits. Enzymes are manufactured by a small number of specialized biotech companies, primarily in Europe, that ship concentrated enzyme preparations worldwide.
Because these raw materials originate in different parts of the world and in different industries, the cost and availability of finished detergent is sensitive to everything from palm oil harvest conditions to crude oil prices to natural gas costs (which affect the production of ethylene oxide for nonionic surfactants). A detergent factory itself might be better thought of as a blending and packaging operation. The real chemistry happens upstream, in sulfonation plants, ethoxylation reactors, and enzyme fermentation facilities, often run by entirely different companies. The detergent manufacturer’s core expertise is in formulation: figuring out the right combination and proportion of ingredients to hit a target cleaning performance, stability, scent, and price point, then scaling that recipe to millions of units.