Skip to ContentGo to accessibility page

27.2 Soap

27.2 • Soap

Soap has been in use for nearly 5000 years. As early as 2800 BC, the Babylonians boiled fats with ashes to create a soap-like substance. Ancient Egyptian medical papyri dating from 1550 BC reveals that Egyptians bathed regularly with soap made from a mixture of animal fats, vegetable oils, and alkaline salts. Chemically, soap is a mixture of the sodium or potassium salts of the long-chain fatty acids produced by hydrolysis (saponification) of animal fat with alkali. Wood ash was used as a source of alkali until the early 1800s, when the LeBlanc process for making Na2CO3 by heating sodium sulfate with limestone became available.

Crude soap curds contain glycerol and excess alkali as well as soap but can be purified by boiling with water and adding NaCl or KCl to precipitate the pure carboxylate salts. The smooth soap that precipitates is dried, perfumed, and pressed into bars for household use. Dyes are added to make colored soaps, antiseptics are added for medicated soaps, pumice is added for scouring soaps, and air is blown in for soaps that float. Regardless of these extra treatments and regardless of price, though, all soaps are basically the same.

Soaps act as cleansers because the two ends of a soap molecule are so different. The carboxylate end of the long-chain molecule is ionic and therefore hydrophilic (Section 2.12), or attracted to water. The long hydrocarbon portion of the molecule, however, is nonpolar and hydrophobic, avoiding water and therefore more soluble in oils. The net effect of these two opposing tendencies is that soaps are attracted to both oils and water and are therefore useful as cleansers.

When soaps are dispersed in water, the long hydrocarbon tails cluster together on the inside of a tangled, hydrophobic ball, while the ionic heads on the surface of the cluster protrude into the water layer. These spherical clusters, called micelles, are shown schematically in Figure 27.2. Grease and oil droplets are solubilized in water when they are coated by the nonpolar, hydrophobic tails of soap molecules in the center of micelles. Once solubilized, the grease and dirt can be rinsed away.

Figure 27.2 A soap micelle solubilizing a grease particle in water. An electrostatic potential map of a fatty acid carboxylate shows how the negative charge is located in the head group.

As useful as they are, soaps also have drawbacks. In hard water, which contains metal ions, soluble sodium carboxylates are converted into insoluble magnesium and calcium salts, leaving the familiar ring of scum around bathtubs and a gray tinge on white clothes. Chemists have circumvented this problem by synthesizing a class of synthetic detergents based on salts of long-chain alkylbenzenesulfonic acids. The mechanism of synthetic detergents is the same as that of soaps: the alkylbenzene end of the molecule is attracted to grease, while the anionic sulfonate end is attracted to water. Unlike soaps, though, sulfonate detergents don’t form insoluble metal salts in hard water and don’t leave an unpleasant scum.

Problem 27-3
Draw the structure of magnesium oleate, a component of bathtub scum.
Problem 27-4
Write the saponification reaction of glyceryl dioleate monopalmitate with aqueous NaOH.
Citation/Attribution
Reuse and redistribution of this content in digital or print format:
  • This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's prior written permission.
  • This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License, which means that you can reuse and modify the material only for noncommercial purposes, must attribute OpenStax, and must distribute any derivative works under the same license.
  • Any commercial printing of this textbook, including using a local or custom printer, must be approved by OpenStax, and proper citation provided.
  • OpenStax-copyrighted images, activities, assessments, and similar components of this book are subject to the same licensing – CC-BY-NC-SA. They can be used for noncommercial purposes with attribution. Commercial use requires permission.
  • Permission requests: Anyone who intends to incorporate this content (including text, images, and other components) into large language models, use it in AI offerings, use it commercially (including in print), and/or has questions about another use case is welcome to complete our reuse request form.
Attribution information
  • If you are redistributing all or part of this book in a noncommercial print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/organic-chemistry/pages/1-why-this-chapter

  • If you are redistributing all or part of this book in a noncommercial digital format, then for every page that includes OpenStax content, you must license the derivative work under the same CC-BY-NC-SA license as the original, and include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/organic-chemistry/pages/1-why-this-chapter

Citation information

The information below includes the information needed to generate citations in most major styles (APA, MLA, etc.); you must reformat and organize the information as needed to fit the requirements of the style. Use the information below to generate a citation. We recommend using a citation tool such as this one.

© Jul 1, 2026 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License. The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo, and Rice University name, and Rice University logo trademarks, or wordmarks are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.