Process · Consumer Staples · Household Products
How soap is made: from fat and lye to the bar
Soap is the oldest chemical manufacture most people still use every day. The reaction has not changed in thousands of years. What changed is how well factories control it and what they do with the glycerine.
From the book Soap: Ash, Fat, FoamChapters 11, 20 and 21. Read the full book free as a PDF.

The reaction
Ordinary soap is made by combining fats or oils with an alkali such as lye, according to the US FDA. The fats and oils may come from animal, vegetable or mineral sources. Chemically, they are triglycerides: three fatty acid chains attached to a glycerol backbone. An alkaline solution breaks each fat apart in a reaction called saponification. The fatty acids become salts, which are the soap molecules, and glycerol is released. When soap is made properly, the FDA says, no lye remains in the finished product.
The New Zealand Institute of Chemistry describes the factory reaction as triglyceride plus caustic soda giving glycerine plus soap. It is exothermic, and in a modern autoclave-type reactor it runs quickly at around 125 degrees Celsius. The soap molecule is the salt of a long-chain carboxylic acid, and that structure is why it cleans: one end attracts water and the other attracts grease.
Which alkali, which fat
The alkali decides the character of the bar. Sodium soaps from sodium hydroxide are firm. Potassium soaps from potassium hydroxide are softer or often liquid. Before the chemical industry, potash came from the ashes of plants, which is the ash in the book's title.
The fat matters just as much. The NZIC says the most common fats in factory soap are tallow, coconut oil and palm kernel oil, and that different oils give soaps of different hardness, odour and lather, so the ratios are controlled closely. The fatty acid mix differs a lot between them. The Wikipedia table reports about 46 percent lauric acid in palm kernel oil and none in tallow or palm oil. Tallow is mostly oleic, palmitic and stearic acid, and palm oil is mostly palmitic and oleic.
The factory route
The NZIC describes the continuous process in stages.
- Saponification. Bleached fats and oils are mixed with caustic soda in a reactor. The product is wet soap in a brine.
- Separation. Salt makes the soap less soluble, since soap is not very soluble in salt water while glycerine is. The mixture separates into two layers: crude soap, and a brine and glycerine mixture called spent lye or sweet waters.
- Washing. The soap still holds most of its glycerine, so it is washed with fresh lye in a column. The system is set so the spent lye carries 25 to 35 percent glycerine, because above 35 percent the brine no longer takes up glycerine efficiently.
- Centrifuging. After a final separation, the NZIC reports soap at about 0.5 percent sodium chloride and 0.3 percent sodium hydroxide, with about 31 percent water.
- Drying and chipping. The soap is heated and sprayed into an evacuated chamber, which flashes the water off. Chips are scraped from the walls and squeezed together by screws called plodder worms to form soap noodles, the base or neat soap.
- Finishing. The noodles are blended with additives, then pressed, cut and stamped into bars.
Where the glycerine goes
The glycerine produced in the reaction is a valuable by-product. Factories remove it with the spent lye and sell it. The Wikipedia article notes that it is sometimes left in the product as a softener, which is how glycerin soaps are made. The difference between a handmade bar, which keeps its glycerine, and a factory bar, which has lost most of it, is one of the real differences between the two, and it is covered in cold process soap making.
What the old methods share
The kettle in the photograph is the same idea at industrial scale: a large vessel in which fat and alkali are boiled until they become soap. The traditional Mediterranean soaps discussed in the types of soap were made in large cauldrons over several days. The reaction is the one the Sumerians used. For when that began, see the history of soap.
Quick answers
How is soap made?
Fats or oils are reacted with an alkali such as lye in a process called saponification. The product is soap, which is the salt of a fatty acid, plus glycerine.
What is saponification?
The reaction that splits a fat into glycerol and fatty acid salts when it meets a strong alkali. Those salts are soap.
Why is salt used in soap making?
Soap is not very soluble in salt water, but glycerine is. Adding salt separates crude soap from a brine and glycerine mixture.
Does soap contain lye?
Made properly, the finished soap contains no lye, according to the FDA.
