How to Use Sodium Hydroxide: Safety, Soap & Cleaning

Sodium hydroxide (also called lye or caustic soda) is a powerful alkaline substance used for soap making, food preparation, cleaning, and dozens of other applications. It demands respect: it generates intense heat when mixed with water, corrodes certain metals and glass, and causes chemical burns on contact with skin. But with the right technique and precautions, it’s straightforward to work with safely.

Protective Gear You Need

Before you open the container, put on nitrile or latex gloves and safety goggles (not just glasses, since splashes can come from any angle). Wear long sleeves and pants made from materials that won’t degrade on contact with lye. Cotton and polyester both hold up well. Keep a supply of clean water nearby so you can flush any accidental skin or eye contact immediately.

Work in a well-ventilated area. When lye hits water, it releases heat and can produce irritating fumes, especially in concentrated solutions. An open window, an outdoor workspace, or a fume hood in a lab setting all work. Avoid confined spaces like small bathrooms.

Mixing Lye Into Water

The single most important rule: always add lye to water, never the reverse. Pouring water onto solid sodium hydroxide can cause a violent exothermic reaction, sending hot, caustic liquid splattering out of the container. Adding lye to a large volume of water lets the heat disperse gradually and keeps the reaction manageable.

Stir the lye in a little at a time. For a typical soap-making batch, you might be dissolving a few ounces into several cups of water. Add small spoonfuls, stir until dissolved, then add more. The solution will heat up quickly, sometimes reaching 90°C (200°F) or higher depending on concentration. Use a heat-resistant container and set it on a surface that can handle warmth. Let the solution cool to your recipe’s target temperature before combining it with other ingredients.

Choosing the Right Container

Lye is surprisingly aggressive toward materials you might assume are safe. Concentrated lye solutions attack soda-lime glass (the kind most kitchen glasses and jars are made from). Even borosilicate glass, like Pyrex, can be damaged by hot concentrated lye over time. Aluminum is especially reactive: lye dissolves it, producing hydrogen gas and heat, which is genuinely dangerous.

Safe options for mixing and storing lye solutions include:

  • Stainless steel (304 or 316 grade): resistant to bases and safe to heat
  • Hard PVC: commonly used for drains, holds up well against acids and bases
  • Polyester containers: resistant to most solvents and alkaline solutions
  • Teflon: resistant to essentially everything except molten lye
  • High-density polyethylene (HDPE): the material most lye is sold in

Nylon is also resistant to alkaline solutions, while silicone spatulas and utensils generally hold up fine at normal working concentrations. The key materials to avoid are aluminum, tin, and ordinary glass.

Using Lye for Soap Making

Soap is made through saponification, a chemical reaction between lye and fats or oils. Each oil requires a specific amount of sodium hydroxide to fully convert into soap. This amount, called the saponification value, varies by oil. For example, sweet almond oil needs roughly 0.134 ounces of lye per ounce of oil, while coconut-based fats require more, around 0.171 ounces per ounce.

Most soap makers use an online lye calculator rather than doing the math by hand. You enter the oils you’re using, their quantities, and the calculator tells you exactly how much sodium hydroxide and water to use. These calculators also let you set a “superfat” percentage, typically 5% to 8%, which leaves a small amount of oil unsaponified in the finished bar for a more moisturizing feel. Getting the lye amount right is critical: too much lye produces a harsh, potentially caustic bar, while too little leaves excess oil that can go rancid.

Once your lye solution and oils are at roughly the same temperature (usually around 38–43°C or 100–110°F), you slowly pour the lye water into the oils and blend until the mixture reaches “trace,” the point where it thickens enough that drizzles leave a visible trail on the surface. From there, you pour it into molds and let it cure for four to six weeks as saponification completes.

Using Lye in Food Preparation

Food-grade sodium hydroxide is the secret behind the deep brown, crackly crust on authentic Bavarian pretzels. Bakeries dip shaped dough into a dilute lye bath before baking. The alkaline solution accelerates browning reactions on the dough’s surface, creating that distinctive flavor and color you can’t replicate with baking soda alone. Employees at traditional pretzel bakeries snap on rubber gloves before dipping, and the dough goes straight into a hot oven afterward.

Lye is also used for curing olives, making hominy from dried corn, and preparing lutefisk. In all these cases, the concentration is low and the food undergoes further processing (rinsing, soaking, or baking) that brings the final pH to safe levels. If you’re using lye for food, make sure you’re purchasing food-grade sodium hydroxide, not a hardware store drain cleaner that may contain additives.

Cleaning and Drain Clearing

Many commercial drain cleaners are concentrated sodium hydroxide. Lye dissolves grease, hair, and organic buildup by breaking down fats and proteins, the same saponification chemistry that makes soap. For drain use, you typically add the dry granules or a prepared solution directly into the drain, let it sit for the recommended time, and flush with hot water.

Lye is also used to clean brewing equipment, strip old finishes from wood furniture, and remove baked-on carbon from oven components. In each case, the principle is the same: the strong base breaks down organic material. Rinse thoroughly with water after cleaning, since residual lye can damage surfaces over time or contaminate the next thing you put in that container.

Storing Lye Properly

Solid sodium hydroxide is hygroscopic, meaning it pulls moisture from the air. Left in an open or poorly sealed container, it absorbs water, clumps together, and eventually dissolves into a puddle of concentrated solution. Store it in an airtight HDPE or polypropylene container, in a cool, dry place. Keep it away from aluminum items and acids. Label the container clearly, and store it where children and pets cannot access it.

Prepared lye solutions don’t expire in the traditional sense, but they can absorb carbon dioxide from the air over time, gradually converting to sodium carbonate and weakening the solution. For soap making, where precision matters, use freshly mixed lye solution or keep prepared solutions sealed tightly.

What to Do if Lye Contacts Your Skin or Eyes

Flush the affected area with large amounts of water for at least 15 minutes. Don’t try to neutralize a lye burn on skin with vinegar or another acid, as this produces additional heat and can worsen the injury. For eye exposure, hold the eye open under gently running water for the full 15 minutes. If lye is swallowed, do not induce vomiting unless specifically instructed by poison control. Seek medical attention after any significant exposure.

Neutralizing and Disposing of Lye

Small amounts of dilute lye solution can be neutralized before disposal by slowly adding a mild acid until the pH reaches 7 (neutral). Household white vinegar (acetic acid) and citric acid both work. Add the acid gradually, stir, and check the pH with test strips. For larger or more concentrated quantities, hydrochloric acid (sold as muriatic acid at hardware stores) is more efficient. The reaction between sodium hydroxide and hydrochloric acid produces only salt water.

Once neutralized, the solution can go down the drain with plenty of running water. Never pour concentrated lye directly into drains connected to septic systems, and check your local waste disposal guidelines for larger quantities. If you have a significant volume of concentrated solution, your municipal hazardous waste facility can handle it.