Soap is made by mixing fats or oils with a strong alkali, triggering a chemical reaction called saponification that splits fat molecules apart and rearranges them into soap and glycerin. That single reaction has been the basis of every bar of soap for thousands of years, from ancient ash-and-tallow mixtures to the precisely formulated bars on your bathroom shelf today. The ingredients have gotten more varied and the methods more refined, but the core chemistry has not changed.
What Saponification Actually Does
Fats and oils, whether from animals or plants, are built from molecules called triglycerides. Each triglyceride is a backbone of glycerol bonded to three fatty acid chains. When you mix a fat with a strong base like sodium hydroxide (lye) or potassium hydroxide, the base breaks those bonds. The glycerol separates out, and each fatty acid chain pairs with a sodium or potassium ion to form a soap molecule. That is saponification in its entirety: fat plus alkali yields soap plus glycerin.1Journal of Surfactants and Detergents. Ultrasonic Initiation of the Alkaline Hydrolysis of Triglycerides (Saponification) Without Phase Catalysis
The type of alkali determines what kind of soap you get. Sodium hydroxide produces hard bar soap. Potassium hydroxide produces a softer soap that dissolves more easily in water, which is why it is used for liquid soaps and shaving creams. The fats and oils you choose matter just as much. Coconut oil, for instance, yields a soap that lathers aggressively and strips oils efficiently, while olive oil creates a milder, more moisturizing bar. Most soap recipes blend several oils to balance hardness, lather, and skin feel.
Why Soap Cleans
Each soap molecule is a tiny two-faced structure. One end is attracted to water and repelled by oil. The other end is attracted to oil and repelled by water. When you lather soap on your hands, the oil-loving ends burrow into grease and dirt particles while the water-loving ends face outward toward the rinse water. This arranges the soap molecules into little clusters that trap the oil inside, lifting it off your skin and suspending it in the water so it rinses away.2Elsevier / ScienceDirect. Experimental study on surface activity of surfactants on their ability to cleaning oil contaminations
Soap also reduces the surface tension of water, which lets the water spread more easily across surfaces and penetrate into fabrics or the tiny crevices of your skin. That is why soapy water feels “wetter” than plain water. The combination of trapping oil particles and lowering surface tension is what makes soap effective at cleaning things that water alone cannot handle.
How Soap Was Made Before Modern Chemistry
People figured out saponification long before they understood the chemistry behind it. The earliest soapmakers used wood ash, which contains potassium carbonate, as their alkali source. Potash, as it was called, was produced by burning plant material and leaching the ashes with water.3Journal of Chemical Education. An Experiment of Chemistry with Historical Context: 18th-Century Potash Production in Brazil The resulting liquid was boiled down and mixed with rendered animal fat. The process was imprecise and the product was often soft and smelly, but it worked.
By the eighteenth century, potash production was a significant industry in colonial regions with abundant forest cover. The alkali was so valuable that it was used not just for soap but also for glass-making, textile processing, and gunpowder. Industrial soapmaking took off in the early nineteenth century after Nicolas Leblanc and later Ernest Solvay developed processes for producing sodium carbonate and sodium hydroxide cheaply from salt, giving soapmakers access to a consistent, powerful alkali that did not require burning down forests.
Cold Process, Hot Process, and Industrial Methods
Modern soapmaking falls roughly into three categories depending on scale and technique. Each one relies on the same saponification reaction but handles it differently.
Cold process is the method most craft soapmakers use at home. You mix measured amounts of oils and lye solution at relatively low temperatures, blend them until the mixture thickens, pour it into molds, and then wait. The saponification continues slowly over the next day or two, and the bars are typically cured for four to six weeks to allow excess water to evaporate and the crystal structure to firm up. The “cold” label is a bit misleading because the reaction itself generates heat, but no external heat source is applied to drive it.
Hot process uses external heat to accelerate saponification. The mixture is cooked, often in a slow cooker or double boiler, until the reaction is complete before it goes into the mold. This shortens the cure time and gives the soapmaker more control over when to add heat-sensitive ingredients like essential oils or botanicals. The trade-off is a rougher, more rustic-looking bar compared to the smooth finish of cold process.
Industrial continuous saponification operates on a completely different scale. Large manufacturers split the fat into fatty acids and glycerin first, then neutralize the fatty acids with alkali separately. This lets them remove and sell the glycerin as a separate product (glycerin is valuable in cosmetics, food, and pharmaceuticals) and precisely control the soap’s composition. The entire process runs continuously rather than in batches, producing tons of soap per day. The resulting “neat soap” is dried, milled, compressed, and stamped into bars. Milled soap, sometimes labeled “triple-milled” or “French-milled,” has been passed through steel rollers multiple times to create a denser, longer-lasting bar with a smoother texture.
The Role of Lye Concentration
Getting the alkali concentration right is one of the most consequential decisions in soapmaking. Too little lye and the reaction will not fully convert the fats, leaving an excessively oily, soft bar that may go rancid. Too much lye and the finished soap will be harsh, potentially irritating or even burning the skin. Research on soap production from recycled cooking oil found that a sodium hydroxide concentration around 10% produced the most stable foam and a clean, firm bar with low moisture content.4Journal of Advanced Mechanical Engineering Applications. Optimisation of NaOH Concentration for Sustainable Soap Production Using Waste Cooking Oil Lower concentrations yielded bars that were too soft; higher concentrations created bars that were unpleasantly alkaline.
Craft soapmakers address this balance through a practice called superfatting, which means deliberately using slightly more oil than the lye can convert. The unconverted fat remains in the finished bar, adding moisturizing properties and providing a safety margin against any excess alkali. A typical superfat level runs between 5% and 8%. Soapmakers use saponification value tables that list how much lye each specific oil requires, then calculate their recipes to leave a controlled amount of unreacted fat behind.
What Happens in Hard Water
Soap works beautifully in soft water but runs into trouble wherever the water supply carries dissolved calcium and magnesium. These minerals react with soap molecules to form insoluble compounds that precipitate out of the water as a sticky residue, commonly known as soap scum.5Journal of the American Oil Chemists’ Society. Liquid laundry detergents based on soap and α‐sulfo methyl esters That whitish film on your shower door or the ring around the bathtub is soap scum. It wastes soap because the molecules that bind to calcium are no longer available for cleaning. It also leaves a residue on skin and hair that can feel dull or waxy.
This limitation is the main reason synthetic detergents displaced soap for laundry and dishwashing during the twentieth century. Synthetic surfactants do not form insoluble salts with hard-water minerals, so they rinse clean regardless of water chemistry. If you live in a hard-water area and prefer traditional soap, a water softener solves the problem at the source by removing the calcium and magnesium before the water reaches your tap. Chelating agents added to soap formulations can also help by sequestering the minerals before they have a chance to react.
Soap Versus Synthetic Detergents on Skin
One of the ongoing debates in dermatology is whether traditional soap or synthetic detergent bars (sometimes marketed as “beauty bars” or “syndet bars”) are gentler on skin. Traditional soap is inherently alkaline, with a pH around 9 to 10. Healthy skin sits at roughly 4.5 to 5.5, a mildly acidic range that supports the skin’s barrier function and its resident microbial community. Research comparing repeated washings with soap versus synthetic detergent cleanser found that soap raised skin pH by about 0.3 units more than the synthetic product, and soap use was associated with higher counts of certain skin bacteria.6Acta Dermato-Venereologica. Influence of repeated washings with soap and synthetic detergents on pH and resident flora of the skin of forehead and forearm
For most people with healthy skin, that pH shift is temporary and clinically insignificant. The skin’s acid mantle recovers within an hour or two. But for people with eczema, rosacea, or chronically dry skin, the repeated alkaline exposure from bar soap can aggravate irritation. Syndet bars, formulated at a pH closer to the skin’s own, may be a better choice for those individuals. The notion that all soap is bad for skin is an oversimplification, though. A well-made, superfatted soap with gentle oils can be milder in practice than a cheap synthetic cleanser loaded with fragrance and preservatives.
Transparent Soap and Other Specialty Bars
Not all soap bars are opaque. Transparent soap has been around since at least the late eighteenth century, when soapmakers discovered that dissolving soap in hot ethyl alcohol, pouring the mixture into molds, and letting it age produced a clear bar.7AOCS Press / ScienceDirect. Transparent and Translucent Soaps The alcohol disrupts the soap’s crystal structure, preventing the large crystals that scatter light and make regular soap opaque. Modern transparent soaps often use glycerin or sugar solutions in place of alcohol to achieve the same effect. The result is a bar that looks appealing on a shelf and feels smooth on the skin, though it typically dissolves faster in water than a dense milled bar.
Translucent soaps fall between transparent and opaque. They let some light through but are not fully clear, which usually means the crystal disruption was partial. Soapmakers control the degree of transparency by adjusting how much solvent or humectant they add and how long the bar is aged. The visual difference between transparent and translucent bars is essentially a matter of crystal size: smaller crystals let more light pass through.
Other specialty formulations include salt bars, which incorporate fine salt into the recipe for a hard, exfoliating bar; castile soap, made entirely or primarily from olive oil; and milk soaps, which substitute part or all of the water with goat’s milk, coconut milk, or another dairy liquid. Each variation changes the bar’s feel and behavior, but the underlying chemistry stays the same.
Making Soap from Waste Cooking Oil
One area that has drawn increasing research attention is producing soap from used cooking oil. Restaurants and food-processing facilities generate enormous volumes of waste oil that is expensive to dispose of and environmentally damaging if dumped. Because saponification requires fats and an alkali, and used cooking oil is still fat, it can be converted into perfectly functional soap.4Journal of Advanced Mechanical Engineering Applications. Optimisation of NaOH Concentration for Sustainable Soap Production Using Waste Cooking Oil The main challenge is that frying degrades the oil, increasing its free fatty acid content and introducing off-odors. Filtering, sometimes combined with activated charcoal treatment, removes most of the impurities. The resulting soap may not win a beauty contest next to a lavender-scented artisan bar, but for cleaning dishes, laundry, or floors it performs well.
Community-level waste oil soap programs have emerged in several countries as both a sustainability measure and a small-scale income source. The economics are straightforward: the raw material is essentially free, the alkali is cheap, and the equipment required is minimal. For people interested in trying it at home, the same cold process technique used with fresh oils works with filtered waste oil, though you will want to superfat a bit more generously to offset the higher free fatty acid levels.
Environmental Tradeoffs
The environmental profile of soap versus synthetic detergent is not as clear-cut as marketing sometimes suggests. Traditional soap, being made from natural fats and an alkali, is inherently biodegradable. Research comparing natural soap with synthetic detergent formulations found that soap’s major components were less toxic to aquatic organisms including algae, crustaceans, and fish, and broke down more readily in aquatic environments.8PubMed Central. Natural soap is clinically effective and less toxic and more biodegradable in aquatic organisms and human skin cells than synthetic detergents That same study also found natural soap to be clinically effective as a cleanser, pushing back against the assumption that gentler environmental impact means weaker cleaning performance.
However, the soap scum problem in hard water means that in many real-world settings, people need to use more soap or switch to synthetic detergents to get things clean. Using more of any product increases its environmental load. And the source of the fats matters: palm oil is widely used in commercial soap because it produces a hard, lathering bar at low cost, but palm oil cultivation is linked to deforestation and habitat loss in tropical regions. Coconut oil, tallow, and other fat sources each carry their own supply-chain concerns. A truly green soap choice depends not just on what happens after the soap goes down the drain but on what went into producing its ingredients.
Accelerating Saponification with Sound
An interesting frontier in soap chemistry involves using ultrasonic energy to drive the reaction. Conventionally, the challenge with saponification is that oil and water do not mix easily, so the reaction happens slowly at the interface between the two liquids. Researchers demonstrated that applying ultrasonic waves to a mixture of sunflower oil and potassium hydroxide could achieve high reaction yields in just 15 minutes at room temperature, with no detectable by-products.1Journal of Surfactants and Detergents. Ultrasonic Initiation of the Alkaline Hydrolysis of Triglycerides (Saponification) Without Phase Catalysis The ultrasound creates intense microscopic mixing at the oil-water boundary, dramatically increasing the contact area between the two phases without needing a phase-transfer catalyst or high temperatures.
This technique is still largely in the research phase, but it points toward a possible future for small-scale and medium-scale soap production: faster batch times, lower energy costs from eliminating the need for heating, and cleaner products. For craft soapmakers used to waiting weeks for cure time, the appeal is obvious, though the equipment is more specialized than a standard kitchen setup. It also opens the door to using temperature-sensitive oils or additives that would break down under the heat of a traditional hot-process method.