Cover of Soap: Ash, Fat, Foam, a book by Ketineni RamaraoFrom the book Soap: Ash, Fat, Foam
Chapters 11, 20 and 21. Read the full book free as a PDF.
Sepia postcard photograph looking down into a very large round soap kettle full of soap inside a factory, with pipes and overhead rods above it and the caption A Soap Kettle printed below.
A soap kettle, from a postcard issued by Swift & Company of Fort Worth, Texas. Date not stated on the record. The kettle is where fat and lye are boiled into soap. Photo: Swift & Company (postcard); UTA Libraries Digital Gallery, Public domain, via Wikimedia Commons.

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

Diagram of five stages of factory soap making: saponify fats with caustic soda, separate spent lye with glycerine, wash and finish, dry and chip, plod and stamp.
The factory route from fat to bar, from the New Zealand Institute of Chemistry description. Original IOI diagram.

The NZIC describes the continuous process in stages.

  1. Saponification. Bleached fats and oils are mixed with caustic soda in a reactor. The product is wet soap in a brine.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

Sources

Reaction description and "no lye remains" are from the FDA. The factory stages, 125 C, 25 to 35 percent glycerine, 0.5 percent NaCl, 0.3 percent NaOH and 31 percent water are from the NZIC, which describes one continuous process; plants vary. Fatty acid percentages are from the Wikipedia table.

More from this book

History · From the book Soap: Ash, Fat, Foam

The history of soap: from Babylonian clay to the detergent age

Soap goes back about 4,800 years on the written evidence.

Types · From the book Soap: Ash, Fat, Foam

Types of soap: hard, soft, Castile, Marseille, Aleppo and detergent bars

A bar called soap might be an olive oil block cured for months, a potash paste cooked over a fire, or a synthetic detergent that the regulator says is not soap at all.

Technique · From the book Soap: Ash, Fat, Foam

Cold process soap making: how it works, what trace means and why you cure

Cold process is the method most handmade soap uses.

Traditional soap · From the book Soap: Ash, Fat, Foam

How African black soap is made: ash, oil and hours over a fire

In traditional African black soap the alkali comes from burnt plant waste, the same ash-and-fat idea found in the oldest written soap evidence.