Here's something that drives me a little crazy in shampoo bar discussions: everyone argues about whether lye is safe, or whether it survives curing. That's missing the point entirely. In a properly made true soap shampoo bar, there should be no free lye left. Lye is a process reagent-it reacts with oils and disappears. The real question isn't "Is there lye in my bar?" It's "What did the lye create, and what does that mean for hair in real water?"
That's the angle almost nobody covers, and it's where most shampoo bar failures actually hide.
Lye Doesn't Stay Lye-It Becomes Your Soap's Personality
When you make a true soap shampoo bar, lye-usually sodium hydroxide (NaOH) for solid bars or potassium hydroxide (KOH) for pastes and liquids-reacts with triglycerides to produce soap and glycerin. The basic reaction looks like this:
Triglyceride + 3 NaOH → Glycerin + 3 Sodium fatty acid salts
If your formula is calculated correctly and saponification is complete, all the lye is consumed. So when a customer says, "I don't want lye in my shampoo bar," the technically accurate answer is: there shouldn't be any. But that's not the end of the story. Lye leaves its fingerprint in the form of the soap molecules it creates. And those molecules determine how the bar behaves on hair.
The Soap Scum Problem Starts with Lye's Choices
Here's where it gets interesting. Lye doesn't just turn oil into soap. It converts specific fatty acids into specific sodium soaps. And those sodium soaps behave very differently on hair-especially in hard water.
Take a typical coconut-heavy shampoo bar. Coconut oil is loaded with lauric acid (C12) and myristic acid (C14). Under saponification, lye converts these into sodium laurate and sodium myristate.
Here's what those soap salts do:
- Sodium laurate (C12): Cleans aggressively, dissolves easily in water, and forms scum like crazy in hard water.
- Sodium myristate (C14): Strong cleanser, moderately soluble, still high scum potential.
- Sodium palmitate (C16): Moderate cleanser, low solubility, moderate scum.
- Sodium stearate (C18): Weak cleanser, very low solubility, moderate scum.
- Sodium oleate (C18:1): Gentle cleanser, moderate solubility, moderate scum.
- Sodium ricinoleate (from castor): Low cleansing, high solubility, lower scum tendency.
The problem isn't residual lye. The problem is that lye created sodium laurate, which is highly water-soluble in the bar but turns into calcium laurate when it meets hard water. That reaction looks like this:
2 Sodium laurate + Ca²⁺ → Calcium laurate ↓ + 2 Na⁺
Calcium laurate is insoluble. It's the same white ring in your bathtub. On hair, it deposits as a microscopic hydrophobic film. That's the waxy, coated, dull, tangly feeling so many people blame on "lye residue" or "transition" or "detox." It's not lye residue. It's soap scum-created by the lye reaction, but not lye itself.
This is why a high-coconut true soap shampoo bar can feel amazing at first. Sodium laurate strips oils aggressively, so hair feels clean. But over repeated washes, especially in hard water, that scum builds up. The bar becomes a scum-generating machine.
Why Superfat Can't Save a Coconut-Heavy Shampoo Bar
Many handmade shampoo bar makers use a high superfat-often 6% to 8%. That means they deliberately use less lye than the oils require, leaving unsaponified oils in the bar. The idea is that those free oils will condition the hair and soften the harshness of the soap.
From a manufacturing perspective, this is a weak fix.
- The free oils do not stop calcium and magnesium ions in rinse water from reacting with dissolved sodium laurate.
- The free oils can actually act as a binder, trapping calcium soap scum on the hair shaft.
- High superfat in a shampoo bar reduces lather, increases the risk of rancidity, and can create a heavy, waxy build-up.
Superfat is not a chelator. It doesn't soften water. It doesn't prevent soap scum. It just adds oil to a system that's already forming a mineral-soap film on the hair. A better approach is to lower superfat to 1-3%, rebalance the fatty acid profile away from pure lauric/myristic dominance, and include a real chelator.
pH, Cuticles, and the Curing Myth
True soap shampoo bars-whether made with NaOH or KOH-are alkaline. A 1% solution of sodium fatty acid salts usually has a pH of about 9 to 10.5. That's not a defect. It's the chemistry of soap. You cannot neutralize soap to pH 5.5 without converting it back into fatty acids and destroying its cleansing ability.
Hair's cuticle swells in alkaline conditions. Repeated use of high-pH soap on hair can lead to raised cuticles, rough texture, more tangling, color fading, loss of shine, and increased moisture loss.
Some makers claim that curing lowers pH. It does not. Cure time allows water to evaporate and soap crystals to restructure, but the pH stays alkaline. A six-week-old true soap bar is not pH-neutral. It is still soap.
An acidic rinse-diluted vinegar, citric acid, or a low-pH conditioner-can temporarily smooth the cuticle. But it does not remove calcium soap scum. Vinegar will not dissolve calcium laurate effectively. That film stays until you use a chelating or surfactant-based cleanser. This is why true lye soap is often a poor base for a shampoo product. It can be done, but it fights against hair chemistry.
NaOH vs KOH: A Solubility Shift, Not a Rescue
Some makers switch from NaOH to KOH thinking potassium soap will be gentler or less scum-forming. Here's the reality: potassium soaps are softer and more water-soluble. A KOH shampoo bar is usually a paste or liquid soap unless you combine it with NaOH or other structuring agents. Potassium laurate is more soluble than sodium laurate, so the lather may rinse more easily.
But potassium laurate still reacts with calcium and magnesium to form calcium laurate. The hard water problem does not go away. KOH does not rescue a shampoo bar from scum formation. It only changes the physical form and solubility profile.
Manufacturing Controls: What Actually Matters
In professional manufacturing, you have to verify residual free alkali. Here are the key quality control points:
- Zap test or pH test: A properly saponified bar should not have a metallic "zap" on the tongue. pH alone isn't enough because all soap is alkaline, but a pH above 11 in a finished bar often means excess free lye.
- Titration for free alkali: More precise than pH strips. Contract manufacturers measure residual alkali and control it.
- Lye purity: NaOH purity varies. Technical-grade lye may contain impurities. Use cosmetic-grade NaOH.
- Lye pockets: High-lauric soap can trace fast. False trace, overheating, and insufficient mixing can trap unreacted lye pockets in the bar. That's a real safety issue and a sign of poor process control.
The Citric Acid Trap
One of the most common manufacturing errors in shampoo bars is adding citric acid as a chelator without adjusting the lye amount. Citric acid reacts with NaOH:
Citric acid + 3 NaOH → Sodium citrate + 3 H₂O
Roughly 1 gram of citric acid neutralizes 0.624 grams of NaOH. If you add 10 grams of citric acid to your batch but don't add back about 6.24 grams of NaOH, you've accidentally increased your superfat and reduced the lye available for saponification. That changes the bar's structure, lather, and stability.
A cleaner solution is to add sodium citrate directly, which avoids the lye adjustment problem, or to use tetrasodium EDTA or tetrasodium glutamate diacetate in syndet formulations.
The "Lye-Free" Label: Usually It Means Not Soap
There's also a regulatory angle that rarely gets discussed. Under FDA rules in the U.S., a product made primarily from alkali salts of fatty acids and labeled only as "soap" is generally not regulated as a cosmetic. But once you call it a shampoo bar, market it for cleansing hair, or make cosmetic claims, it becomes a cosmetic-or even a drug if you make dandruff or scalp-treatment claims.
That means the product must be safe under intended use, properly labeled, and backed by safety substantiation. A true lye soap shampoo bar with a pH of 10 may still be sold, but the manufacturer is responsible for proving it's safe for hair and scalp. Many small-batch "natural" shampoo bars made from coconut oil and lye, with high superfat and no chelator, would not pass a formal cosmetic safety review.
The "lye-free" label on many commercial shampoo bars usually means the bar isn't true soap at all. It's a syndet bar made from synthetic detergents like sodium cocoyl isethionate (SCI), sodium coco-sulfate (SCS), cocamidopropyl betaine, and other pH-balanced surfactants. These bars are typically formulated at pH 4.5-6 and don't form calcium soap scum. That's the real reason they perform better on hair-not because they're "lye-free," but because they're not soap.
What This Means for Your Formulation
If you're making or buying a true lye-based shampoo bar, don't fear lye. Understand what lye creates. Here's the hidden cascade that happens with a poorly designed bar:
- Lye converts high-lauric oils into sodium laurate and sodium myristate.
- These soaps dissolve in water and strip hair oils efficiently.
- In hard water, they react with calcium and magnesium to form insoluble scum.
- Scum deposits on hair, building up over repeated washes.
- High pH swells the cuticle, making scum more adherent and hair rougher.
- Superfat oils coat the hair and trap the scum.
- The user blames "lye," "transition," or "detox"-when the real problem is poor shampoo bar architecture.
A better true soap shampoo bar needs:
- A balanced fatty acid profile-not 70-100% coconut oil
- Lower superfat, around 1-3%
- A chelator like sodium citrate or tetrasodium EDTA
- Precise lye calculation and verified complete saponification
- Honest labeling about hard water performance
- An acidic rinse recommendation if used in hard water
A truly high-performance shampoo bar usually needs something else entirely:
- A syndet base with SCI/SCS
- pH adjustment to 4.5-5.5
- No true soap at all
- No lye-based saponification step
- Chelators, conditioning agents, and preservatives appropriate for the wet bar environment
Lye isn't the villain. But it is the hidden architect of the most common shampoo bar failure. Once you see that, you stop arguing about whether lye is "safe" and start formulating for what happens after saponification-on the hair, in real water, over repeated washes. That's the difference between a soap bar that happens to be used on hair and a properly designed shampoo bar.