Short answer: melt 450 g olive oil, 270 g coconut oil and 180 g shea butter, then stir in a solution of 127 g lye (sodium hydroxide) dissolved in 250 g water. Blend until the mix thickens like pudding, pour it into a mold, unmold after 1 to 2 days and let the bars cure for 4 to 6 weeks. The batch makes about 10 bars. For soap without lye, melt a ready-made melt-and-pour base and pour it into molds.
I make cold process soap a couple of times a year, a loaf at a time, and the part that worries beginners, the lye, is the easiest part to get right: weigh it on a scale, wear goggles and gloves, and add it to water. The real mistakes happen with measuring cups and guessed swaps. This guide covers the cold process recipe step by step, how to cut and cure the bars, the lye-free melt-and-pour method, how to change the oils safely and how to check a finished bar with a pH strip.
At a glance
What you need
- 450 g (15.9 oz) olive oil
- 270 g (9.5 oz) coconut oil
- 180 g (6.3 oz) shea butter
- 127 g (4.5 oz) sodium hydroxide (lye), 100% pure
- 250 g (8.8 oz) distilled water
- A digital scale, stick blender and loaf mold
Steps
- Put on goggles and gloves.
- Stir the lye into the water and let it cool.
- Melt the oils and cool them to 100 to 120°F.
- Blend the lye solution into the oils until it thickens.
- Pour into the mold, unmold in 1 to 2 days and cure 4 to 6 weeks.
Use a scale, not cups
Weigh everything in grams, including the water. Soap recipes are written by weight, and a cup of lye flakes can weigh 20% more or less than the next cup. Never scale or swap oils without rechecking the lye amount in a lye calculator.
This guide contains Amazon affiliate links. 33Science earns a commission on qualifying purchases. See our affiliate disclosure.
Ingredients and tools for homemade bar soap

Olive oil
Mostly oleic acid triglycerides
450 g (50%)Gives a mild, conditioning bar. Plain or pomace olive oil works; extra virgin is not worth the extra cost in soap.
Coconut oil
Mostly lauric acid triglycerides
270 g (30%)Makes the bar hard and gives big, fast lather. Use the solid kind (76°F melt point), not fractionated liquid coconut oil, which has a different lye value.
Shea butter
Stearic and oleic acid triglycerides
180 g (20%)Adds hardness and a creamy, lotion-like lather. Cocoa butter or lard can replace it with a small lye change (see the oils table).
Sodium hydroxide (lye)
NaOH
127 gThe alkali that turns oil into soap, one of the sodium compounds every kitchen chemist should know. Buy 100% sodium hydroxide sold for soap making, never drain cleaner with added metal flakes or other chemicals.
Distilled water
H2O
250 gDissolves the lye. Tap water minerals can leave spots and speed up spoilage of the oils.
Essential oil
Optional
Up to 27 g (3% of oils)Lavender, cedarwood and peppermint hold up in cold process soap. Citrus oils fade within weeks.
Why the recipe has extra oil
Soap makers build in a small surplus of oil called the superfat. This recipe uses 5% less lye than the oils could consume, so every bit of lye reacts and a little oil stays in the bar to soften skin. It is the safety margin that covers small weighing errors.
Tools
- A digital kitchen scale that reads in grams
- A stick blender with a stainless steel shaft
- A silicone loaf mold (about 9 by 3.5 by 3 inches) or a lined shoebox
- Splash goggles and nitrile gloves, plus long sleeves
- A heat-safe plastic (marked #5 PP) or stainless steel pitcher for the lye solution
- A stainless steel pot, a silicone spatula and a kitchen thermometer
No aluminum
Never use aluminum, tin or zinc pots, spoons or molds. Lye eats aluminum and gives off hydrogen gas. Glass works but can crack from the heat and eventually etches; stainless steel and #5 plastic are safer.
Lye safety: read this before you start
Sodium hydroxide is a corrosive substance, classed under GHS as causing severe skin burns and eye damage (H314). Dry flakes in a sweaty hand burn; a splash of solution in the eye can blind. Every soap maker handles it safely with the same few habits.
Before you start
- Wear goggles and gloves from the moment the lye container opens until the soap is in the mold and the tools are washed. Glasses are not goggles.
- Add lye to water, never water to lye. Pouring water onto a pile of lye can heat a small spot to boiling and splash it out of the pitcher.
- Mix in a ventilated spot. The solution heats to nearly 200°F within a minute and gives off a choking vapor for a short time. Stand back, open a window or work near the stove fan.
- Keep children and pets out of the room. The solution looks like water.
- Skin contact: rinse with lots of running water for at least 15 minutes and take off splashed clothing. Do not use vinegar on skin; water is the first aid.
- Eye contact: rinse with water for at least 15 minutes, holding the eyelid open, and get medical help right away.
- Swallowed: rinse the mouth, do not cause vomiting and call Poison Control (1-800-222-1222 in the US).
- Store lye sealed and labeled, out of reach. It absorbs moisture from the air and clumps.
Raw soap batter is still caustic until it sets, so keep gloves on while pouring and cleaning. Leave the pot and blender for a day before washing them: the batter left on them turns into soap and rinses off easily.
How to make cold process bar soap at home
Cold process is the classic way to make soap from scratch. “Cold” means the oils are not cooked: the reaction makes its own heat. Read all the steps once before you begin, and have the mold ready.
- Gear up and set out the mold. Put on goggles, gloves and long sleeves. Line the mold if it is not silicone.
- Weigh the water. Weigh 250 g of distilled water into the heat-safe pitcher.
- Make the lye solution. Weigh 127 g of sodium hydroxide into a dry container. Pour it slowly into the water while stirring, turning your face away from the steam. Stir until the solution turns clear, then set it somewhere safe to cool.
- Melt the oils. Weigh the coconut oil and shea butter into the pot and melt them on low heat. Take the pot off the heat and add the 450 g of olive oil, which also cools the mix.
- Match the temperatures. Wait until both the lye solution and the oils are between 100 and 120°F (38 to 49°C), within about 10 degrees of each other. This takes 30 to 60 minutes for the lye.
- Combine. Pour the lye solution into the oils down the shaft of the stick blender to avoid splashing.
- Blend to trace. Pulse the blender for a few seconds, stir with it switched off, and repeat. In 2 to 5 minutes the batter thickens until a drizzle leaves a trail on the surface: this is called trace.
- Add scent. Stir in the essential oil at light trace with the spatula.
- Pour. Pour the batter into the mold, tap it on the counter to release air bubbles and smooth the top.
- Insulate. Cover the mold with cardboard and a towel for 24 hours. The soap heats up and turns slightly translucent, then sets.

Stop at light trace, when the batter looks like thin custard. A blender works fast, and batter blended to thick pudding sets in the pot before you can pour it smoothly.
Batter seized?
If the batter goes lumpy or sets in seconds after you add essential oil, the oil caused seizing. Spoon it into the mold anyway and press it down. It still makes good soap, just a rustic-looking one. Clove, cinnamon and many floral fragrance oils are the usual causes.
Cutting and curing the bars
- Unmold after 24 to 48 hours. The loaf should feel firm, like cold cheese. If it dents easily, give it another day.
- Cut into bars. Wear gloves. Slice the loaf into bars about 1 inch (2.5 cm) thick with a soap cutter, a wire cheese cutter or a long kitchen blade. This loaf gives about 10 bars.
- Space them out. Stand the bars on a rack or a sheet of parchment with a finger width between them, in a dry room out of direct sun.
- Turn them weekly. Flip each bar once a week so all sides dry evenly.
- Wait 4 to 6 weeks. The bars are ready when they feel hard and have stopped losing weight. Weigh one bar each week if you want to know for sure.

Most of the chemistry is finished within a day or two. Curing is about water: the bar dries out, gets harder and lasts much longer in the shower. A bar used at one week melts into mush and feels harsher; the same bar at five weeks lathers better and lasts twice as long. High-olive recipes such as pure castile soap improve for six months or more.
White film on top?
A thin white powder on the top of a fresh loaf is soda ash: leftover lye on the surface reacts with carbon dioxide in the air and forms sodium carbonate. It is harmless. Steam it off, plane it off or leave it; spritzing the fresh soap with rubbing alcohol right after pouring prevents most of it.
Easier option: melt and pour soap without lye
Melt and pour soap is a ready-made soap base that has already been through saponification at a factory. You melt it, add color and scent, and pour. It skips handling lye, has no cure time and suits kids with an adult at the stove. The trade-off is less control: most bases contain added glycerin and solvents so they remelt cleanly, which makes them sweat in humid rooms.
- Cut the base. Cut 1 lb (450 g) of melt and pour soap base into 1-inch cubes so it melts evenly. Clear glycerin, goat milk and shea bases all work the same way.
- Melt in short bursts. Microwave the cubes in a glass measuring jug in 30-second bursts, stirring between each, until fully liquid. Keep it under about 160°F (70°C); overheated base turns rubbery and thick.
- Add color and scent. Stir in up to 1 teaspoon of essential oil per pound and a little soap-safe colorant. Stir slowly to avoid bubbles.
- Pour. Pour into silicone molds and spritz the surface with rubbing alcohol to pop the bubbles.
- Let it set. Leave the soap for 1 to 2 hours at room temperature, or 30 minutes in the fridge, then pop it out.
- Wrap it. Wrap each bar in plastic wrap within a day. The glycerin pulls water from the air and beads up as “sweat” on unwrapped bars.

Use the scraps
Leftover slivers of either kind of soap make a pump hand soap: grate them into hot water and let the gel set overnight. See how to make liquid hand soap for the ratio.
Cold process vs melt and pour
| Cold process | Melt and pour | |
|---|---|---|
| Handles lye | Yes | No |
| Hands-on time | About 1 hour | 20 to 30 minutes |
| Ready to use | After 4 to 6 weeks | Same day |
| Control over ingredients | Full: you choose every oil | Limited to the base you buy |
| Good for kids | No | Yes, with an adult melting the base |
| Cost per bar | Lowest once you own the tools | Higher; the base does the work |
Changing the oils (and the lye)
Every oil needs a different amount of lye to turn into soap, so swapping one oil for another changes the recipe. The table shows how much sodium hydroxide 100 g of each oil consumes completely. Use it to see why a swap matters, then run the final recipe through a lye calculator such as SoapCalc before you weigh anything.
| Oil or fat | What it adds | Usual share of oils | NaOH per 100 g (no superfat) |
|---|---|---|---|
| Olive oil | Mild, conditioning; slow to harden | 30 to 100% | 13.5 g |
| Coconut oil (76°F) | Hardness, big bubbly lather; drying above 30% | 15 to 30% | 18.3 g |
| Shea butter | Hardness, creamy lather | 5 to 20% | 12.8 g |
| Cocoa butter | Very hard bar; brittle above 15% | 5 to 15% | 13.7 g |
| Lard | Hard, long-lasting, creamy lather | 20 to 50% | 13.8 g |
| Palm oil | Hardness (use certified sustainable) | 20 to 40% | 14.2 g |
| Sunflower oil | Conditioning; soft, spoils sooner | Up to 15% | 13.4 g |
| Castor oil | Boosts and stabilizes lather; sticky above 10% | 5 to 10% | 12.8 g |
The difference looks small, but it adds up. Replacing all 270 g of coconut oil with olive oil cuts the lye needed by about 13 g; using the original 127 g anyway leaves free lye in the bar. Going the other way leaves a greasy, soft bar that goes rancid sooner.
Check every recipe
Online recipes in “cups” and recipes with no superfat figure are a common source of lye-heavy soap. Check any recipe you find in a lye calculator, with a superfat of 5 to 8%, before you make it.
How to test homemade soap with a pH strip
A finished bar should be mildly alkaline. True soap always is: a pH of 9 to 10 is normal, and no cold process soap reaches skin-neutral 5.5. What you are checking for is free lye, which pushes the pH higher.
- Wait for a cured bar. Test after at least 2 weeks of curing; fresh soap reads higher than it will end up.
- Make a lather. Wet the bar with distilled water and rub up a small lather on the surface.
- Press a strip into it. Touch a pH test strip to the lather and compare the color within a few seconds.
- Read the result. pH 8 to 10: normal soap. pH 11 or higher: too much lye; do not use it on skin.
Some soap makers use the old “zap test”, touching the tongue to a bar to feel for a sting. A strip gives a number without the risk. A bar that reads high can still be shredded and used for laundry, or rebatched: grate it, melt it with a little water and a measured amount of extra oil, and remold it.
The science: how oil and lye become soap
In three sentences
Oils are made of three fatty acid chains joined to a glycerol backbone. Lye snaps the chains off and each one pairs with sodium: that pair is a soap molecule. The leftover backbone becomes glycerin, which stays in a handmade bar.
Saponification
The reaction is called saponification, from the Latin for soap. Every gram of oil needs a fixed amount of lye to react completely, which is why recipes list exact weights and why the reaction stops once one of the two runs out. Sodium hydroxide, one of the common strong bases, makes hard bars. Potassium hydroxide makes soft, water-soluble soap and is used for liquid castile.
Why soap cleans
Each soap molecule has two ends that behave very differently. One end, the long fatty acid tail, mixes with oil and grease. The other end, the charged sodium salt, mixes with water. In the sink, the tails dig into a film of grease and the heads face outward, so the grease breaks up into tiny droplets that rinse away. The same action lifts dirt and germs from skin. Dish soap works the same way.
Why the oils change the bar
Fatty acids differ in chain length and shape. Short, straight chains like coconut oil’s lauric acid dissolve fast, so they lather quickly and also strip skin oils. Long chains like olive oil’s oleic acid dissolve slowly, which gives a gentler bar with smaller bubbles. Straight saturated chains such as stearic acid in shea and cocoa butter pack tightly, the way stacked pencils do, and make the bar hard. Balancing the three is what soap recipes are about.
Why handmade soap differs from store bars
Most store bars sold as “beauty bars” are not soap at all but synthetic detergents. The FDA notes that very few true soaps remain on the market. Commercial soap makers that do make true soap usually remove the glycerin and sell it separately, while a handmade bar keeps all of it. That retained glycerin, plus the superfat, is why handmade soap feels less drying. If dry hands are still a problem, follow up with a homemade hand cream.
Troubleshooting homemade soap
| Problem | Cause | Fix |
|---|---|---|
| Batter will not trace after 15 minutes | Oils or lye too cool, or hand stirring only | Use a stick blender in short bursts; warm the pot slightly. |
| Batter thickens in seconds | Fragrance oil, too-hot oils or over-blending | Pour right away and press into the mold. |
| Soft, sticky loaf after 2 days | Lots of soft oils, extra water or a cool room | Leave it in the mold another 2 to 3 days. |
| Oily pockets or liquid in the mold | Not blended to trace, or weighing error | Do not use. Rebatch or discard with gloves on. |
| White powder on top | Soda ash from air contact | Harmless. Steam or plane it off. |
| Cracks on top or a crack through the middle | Overheated during gel phase | Insulate less next time; still safe to use. |
| Dark ring in the center of a bar | Partial gel phase | Cosmetic only. Insulate evenly or not at all. |
| Orange spots after a few weeks | Oils going rancid (“dreaded orange spots”) | Use within months; skip sunflower; store cool and dry. |
| Bar stings or reads pH 11+ | Too much lye | Do not use on skin. Rebatch with extra oil or use for laundry. |
Liquid under the loaf
A layer of clear liquid or white crystals in the bottom of the mold is often unreacted lye. Do not touch it bare-handed and do not use the soap. Wipe it up with gloves and paper towels.
Soap made from plant oils and lard is safe for septic systems and drains, and the cured bars are fully reacted. Leftover lye solution should never go down the sink undiluted: mix it with plenty of water and pour it slowly down the drain with the tap running, or keep the exact amount you need to avoid leftovers.
More practical science: browse all our everyday science how-tos, from household chemistry to experiments you can build at home.
Frequently asked questions
Dissolve sodium hydroxide in water, let it cool, and blend it into melted oils until the mix thickens. Pour it into a mold, unmold after 1 to 2 days, cut it into bars and let them cure for 4 to 6 weeks. For a lye-free version, melt and remold a melt-and-pour soap base.
Not from scratch. All true soap is made by reacting oils with lye. Melt-and-pour bases let you make soap at home without handling lye, because the reaction already happened at the factory.
Yes, when the recipe is weighed correctly and the soap has cured. The lye reacts completely with the oils, and a recipe with a 5 percent superfat leaves extra oil rather than leftover lye in the bar.
Cold process soap needs 4 to 6 weeks. Most of the reaction finishes in 1 to 2 days, but the bar needs the extra weeks to dry out, harden and become milder. Melt-and-pour soap needs no cure.
Melt-and-pour soap is the easiest: you melt a base, add scent and pour it into molds. For soap from scratch, a simple three-oil recipe of olive oil, coconut oil and shea butter is the usual first recipe.
Most bars combine a hard oil for hardness and lather, such as coconut oil, with a soft oil for mildness, such as olive oil, plus a butter like shea or cocoa butter. Coconut oil is usually kept at 30 percent or less because more dries the skin.
Soap making suppliers, hardware stores and online stores sell sodium hydroxide. Buy 100 percent sodium hydroxide, not drain cleaner with added ingredients.
Soft soap usually has a high share of liquid oils, extra water or not enough curing time. Leave it in the mold for a few more days and let the bars cure longer. Adding coconut oil, shea butter or cocoa butter to the next batch makes a harder bar.
A recipe with 900 grams of oils fills a standard loaf mold and makes about 10 bars of about 4 ounces each after curing.
Per bar, cold process soap made from bulk oils costs less than handmade soap from a shop, though the scale, blender and mold are a one-time cost. It is rarely cheaper than basic supermarket bars.
Sources
- US Food and Drug Administration. Frequently asked questions on soap
- PubChem. Sodium hydroxide: safety and hazards
- NIOSH Pocket Guide to Chemical Hazards. Sodium hydroxide
- SoapCalc. Lye calculator and oil saponification values
- Handcrafted Soap and Cosmetic Guild. How to make soap
- Wikipedia. Saponification
- PubChem. Glycerol
