Lye is a powerful alkaline chemical that dissolves organic matter, from hair in a clogged drain to fats in a soap-making pot. It works by breaking apart the molecular bonds in proteins, fats, and other carbon-based materials, which is why it shows up in such a wide range of uses: clearing pipes, making soap, baking pretzels, processing paper, and even preparing corn for tortillas. Its chemical name is sodium hydroxide (NaOH), though potassium hydroxide (KOH) is also called lye in some contexts, especially in soap making.
How Lye Works at a Chemical Level
Lye is one of the strongest bases on the pH scale, registering around 13 to 14 in concentrated form. At that level of alkalinity, it aggressively breaks down two types of molecular bonds: the ones holding fats together (ester bonds) and the ones holding proteins together (amide bonds). This is why lye can dissolve grease, hair, skin oils, and food residue so effectively. When dissolved in water, it also generates significant heat, which speeds up these reactions further.
At room temperature, lye appears as white pellets, flakes, or granules. It’s highly soluble in water, and the moment it hits liquid it begins reacting. That combination of extreme alkalinity and heat generation is what makes lye both remarkably useful and genuinely dangerous.
Turning Fat Into Soap
Soap making is probably the oldest and most iconic use of lye. The process, called saponification, happens when lye reacts with fats or oils. Fats are built from a molecule called glycerol bonded to three fatty acid chains. Lye breaks those bonds apart, freeing the glycerol (which becomes glycerin, a moisturizing byproduct) and converting the fatty acids into soap molecules.
Specifically, lye strips a hydrogen atom from each fatty acid, turning it into a negatively charged molecule that pairs with a sodium ion from the lye. The result is a sodium salt of a fatty acid, which is the technical definition of soap. These molecules have one end that attracts water and another that attracts oil, which is exactly why soap can wash grease off your hands.
Sodium hydroxide produces hard bar soap. Potassium hydroxide produces softer, liquid soap. For centuries before commercial lye existed, people made their own by soaking wood ash in water to extract alkaline compounds, then simmering that liquid with animal fat over a fire for hours. The word “lye” itself comes from the old English “ley,” referring to this ash-water solution.
Clearing Clogged Drains
Lye-based drain cleaners work by chemically digesting the organic gunk that causes blockages. Hair, grease, soap scum, and food particles are all made of proteins and fats, exactly the materials lye excels at breaking down. When you pour a lye cleaner into a drain, it dissolves in the standing water, generates heat, and begins decomposing the clog from the inside out. The proteins in hair unravel, the grease liquefies, and the blockage breaks apart into smaller molecules that wash away.
This is a brute-force approach, and it works fast. But the same corrosive power that dissolves a clog can also damage certain pipe materials over time, especially older pipes or aluminum fittings.
Baking and Food Preparation
Lye plays a surprisingly important role in the kitchen. The deep mahogany crust on a Bavarian pretzel comes from a quick dip in a dilute lye bath before baking. With a pH around 13, lye is far more alkaline than baking soda (pH around 8), and that extra alkalinity dramatically accelerates a browning reaction on the surface of the dough. The result is a deeply colored, slightly crispy exterior that baking soda alone can’t replicate. The lye is safe to eat once the pretzel is baked, as the heat neutralizes it.
Lye also shows up in a much older food tradition: nixtamalization, the process of soaking dried corn in an alkaline solution. For thousands of years, people in Mexico and Central America soaked maize in water mixed with wood ash or lime (calcium hydroxide) to soften the tough outer hull, making the corn easier to grind into masa for tortillas and tamales. Modern food processing sometimes substitutes sodium hydroxide or potassium hydroxide for the same purpose. Beyond texture, this alkaline treatment makes niacin (vitamin B3) in the corn more available for your body to absorb, and it reduces certain natural toxins produced by mold. Populations that historically ate corn without this process were prone to niacin deficiency.
Other lye-treated foods include olives (which are soaked in lye to remove their bitter compounds), lutefisk (dried fish rehydrated in lye), and certain types of Chinese noodles that get their springy texture from alkaline processing.
Industrial Uses
Lye is one of the most widely used industrial chemicals in the world. In paper manufacturing, it dissolves lignin, the tough compound that holds wood fibers together and makes wood rigid. By breaking down lignin into a liquid, lye frees the cellulose fibers that become paper pulp. This chemical pulping process is the foundation of most modern paper production.
Beyond paper, lye is used in textile manufacturing, petroleum refining, aluminum processing, and water treatment. It serves as a pH adjuster in countless processes where a strong alkaline environment is needed. In the paper industry alone, the stages of processing wood pulp require maintaining a pH above 10.5, a level only achievable with strong bases like sodium hydroxide.
Why Lye Is Dangerous
The same property that makes lye useful (dissolving organic matter) makes it extremely hazardous to skin, eyes, and mucous membranes. Concentrated lye decomposes the lipids and proteins in living tissue on contact. A splash can cause deep chemical burns that continue damaging tissue even after the initial exposure, because the lye keeps reacting as it penetrates deeper layers of skin. Eye contact can cause permanent blindness.
Unlike acid burns, which tend to cause immediate, sharp pain, alkali burns from lye can initially feel slippery or soapy rather than painful, because the lye is literally dissolving the oils in your skin. This can delay the realization that a serious injury is happening. If lye contacts skin or eyes, the critical step is immediate, prolonged rinsing with water. Not a quick splash, but continuous flushing for at least 15 to 20 minutes while seeking medical help.
Safe Handling and Storage
Lye should be stored in containers made of compatible materials. High-density polyethylene (HDPE) plastic and stainless steel are standard choices. Aluminum is a poor choice: lye reacts with aluminum aggressively, generating hydrogen gas and heat, which can be explosive in enclosed spaces. Glass can work for small quantities but risks shattering if the solution heats up.
At concentrations above 30%, lye becomes incompatible with many common container materials. At 50% concentration, even some plastics rated for lower concentrations become unsuitable. Always check the specific concentration against the container’s chemical resistance rating. Store lye in a cool, dry place, sealed tightly, because it readily absorbs moisture and carbon dioxide from the air, which degrades it over time and can cause containers to pressurize.
When mixing lye with water, always add lye to water, never water to lye. Adding water to a concentrated lye mass can cause a violent, spattering exothermic reaction. Adding lye granules slowly to a larger volume of water disperses the heat more safely, though the solution will still get very hot.

