Science, Maths & Technology

DIY: Make Your Own Soap

Updated Thursday 27th September 2007

A step-by-step guide to making soap, part of the BBC/OU's programme website for Rough Science 1

In theory, you can make soap by treating almost any fat or oil with sodium hydroxide or potassium hydroxide (for a 'soft' soap). Some recipes use animal fats like tallow (from beef) or lard (from pork). Others use vegetable oils, like coconut or olive oil. Soapmaking (or saponification as the chemical reaction is called), like any chemical experiment, is sensitive to the purity of the reactants, the reaction conditions used and the care with which you carry it out.

Making soap the Rough Science way

electrolysis Copyrighted image Icon Copyright: Used with permission

In our first attempt at making soap on Capraia, we tried to produce sodium hydroxide from seawater using electrolysis. This was scuppered when the windmill electricity generator was blown down in high winds.

wood ashes Copyrighted image Icon Copyright: Used with permission

We then resorted to dissolving wood ashes in water to give a dilute potassium hydroxide solution, which we boiled with olive oil, but this too was unsuccessful.

By purifying our starting materials, and paying closer attention to every step in the process, our third attempt (again with potassium hydroxide) eventually produced a liquid soap.

using wood ashes Copyrighted image Icon Copyright: Used with permission

In this activity, we'll use a mixture of coconut and olive oil, with sodium hydroxide (sometimes called caustic soda), to make a solid soap. Homemade soap is particularly good for your skin because the glycerine formed as a byproduct of saponification remains in the soap, to soften your skin.

The experiment takes about three hours, but your soap product will need to be 'matured' over a four- to six-week period before you can use it.

making soap Copyrighted image Icon Copyright: Used with permission

Make your own

What You'll Need:

For 250g of soap, you’ll need the following:

  • 32g solid sodium hydroxide*
  • 125g vegetable fat
  • 55g pure olive oil (50cm3)
  • 55g white coconut oil*
  • 100cm3 distilled or rain water (not tap water) **
  • 5g essential oil* of your choice, or the juice of a lemon (optional)
  • spectacles or goggles
  • rubber gloves
  • cotton housecoat or apron (not nylon)
  • kitchen scales
  • plastic or glass measuring jug
  • 2 one-litre heat-resistant glass bowls
  • 2 plastic tablespoons (one for the oils and one for the sodium hydroxide solution)
  • thermometer (0 to 100°C)
  • suitably sized plastic moulds
  • newspaper

* available from most pharmacies or health food shops
** 1cm3 is the same as 1ml


  • You MUST wear protective rubber gloves and eye protection (prescription spectacles should do) throughout, as well as a cotton housecoat or apron to protect your clothes from splashes.
  • You MUST read and understand all the warnings printed on the caustic soda container before you start this experiment. The solutions you’ll be handling are caustic, and will burn your skin on contact. They will also damage most kitchen surfaces.
  • If you get any:
    – on your skin, rinse it off with copious amounts of running water, until your skin no longer feels soapy
    – in your eyes, wash them immediately with cold running water, and go to a hospital
    – in your mouth, wash it out with water until the unpleasant taste has disappeared.
  • Never use aluminium or zinc utensils; they will react with the sodium hydroxide solution.
  • Have a large bowl of clean, cold water handy, for use in the event of an accident.
  • Remove all food and drink from your work area, and keep children and animals well away from your workspace and chemicals.
  • Always work in a well-ventilated area (if possible, outside), and avoid working on your own.




  1. It’s advisable to do this first step outside. Stirring continuously, gradually add the sodium hydroxide carefully to 200cm3 of cold distilled water in one of the mixing bowls. Never add the water to the pellets! Avoid inhaling the fumes while doing this. The temperature of the solution will rise as you continue stirring, until all of the solid has dissolved. Let this solution cool to around 45° C.


    producing soap Copyrighted image Icon Copyright: Used with permission
  2. Next weigh out the vegetable fat, olive oil and coconut oil into one of the mixing bowls. Warm the mixture gently by standing the bowl in hot water, stirring all the time, until it reaches 45° C. Don’t let the temperature of this mixture rise above 50° C.
  3. When the sodium hydroxide solution and the mixture of fat and oils are both at the required temperature, pour the former slowly into the latter and stir thoroughly for 15 minutes with a spoon.
  4. Saponification doesn’t happen instantly! With some vegetable oils it can take weeks to complete, but you should see something happening after 5 or 10 minutes; the mixture should start to thicken up. The process involves several stages, the first of which is called ‘tracing’. If you let the mixture run off the back of the spoon into the mixing bowl, you should see that the soap that’s formed floats on top; in other words, it leaves a ‘trace’ on the surface.


    The time it takes to trace depends on the particular fats and oils you use; the lighter the fats or oils, the longer they’ll take to trace.


    looking like custard Copyrighted image Icon Copyright: Used with permission

    Stir the mixture gently for 5 minutes or so, then leave it for 15 minutes, before stirring for a further 5 minutes . . . and so on, until after about an hour the mixture thickens to the consistency of custard.


    All this may just seem like cooking, but there’s some serious chemistry going on here. As saponification proceeds, the oils, fat and caustic soda react together, heat is generated, water evaporates and the soap begins to harden.

  5. If you want fragrant soap, stir in the essential oil or lemon juice at this stage.
  6. Pour your traced mixture into the plastic moulds and put them in an airing cupboard.
  7. Tidy up your work area straightaway and thoroughly wash all of the utensils you’ve used in hot soapy water.
  8. After a week or so, your soap should be hard enough to remove it from the moulds. Put your rubber gloves on to do this! At this stage, it will still contain some unreacted sodium hydroxide. To make it safe to use, stand it on newspaper in the open air at room temperature for two to three weeks, after which saponification should be complete. The longer you leave it, the better your soap will be.


You might like to try to and improve on the above recipe by using different oils and fats, or different reaction times. You could also add food colours to your soap to improve its appearance. This is the way practising synthetic chemists work, experimenting with different starting materials and reaction conditions, until they get the result they want. So experiment away and have fun!



Soap Crafters Soapmaking from Scratch
Soap Recipes

The BBC and the Open University are not responsible for the content of external websites.


Book 3 of ST240, Our Chemical Environment, The Open University

Coss M., The Handmade Soap Book, New Holland (Publishers) Ltd UK

Neal’s Yard Remedies, Make Your Own Cosmetics, Aurum Press, 1997

Phanstiel O. IV et al., ‘Synthesis of exotic soaps in the chemistrylaboratory’, Journal of Chemical Education, 75:5, p. 612, 1998


For further information, take a look at our frequently asked questions which may give you the support you need.

Have a question?

Other content you may like

Elements of the Periodic Table Creative commons image Icon The Open University under Creative Commons BY-NC-SA 4.0 license activity icon

Science, Maths & Technology 

Elements of the Periodic Table

Explore the impact of chemical elements on our bodies, our world, and see how they changed the course of history

Challenge: Make Fireworks Copyrighted image Icon Copyright: BBC article icon

Science, Maths & Technology 

Challenge: Make Fireworks

The team of scientists who took the Rough Science trip to Carriacou were asked to create explosions in the sky

Alcohol Copyrighted image Icon Copyright: BBC article icon

Science, Maths & Technology 


Why does alcohol do what it does to us?

Sacrificial Metals Copyrighted image Icon Copyright: Production team article icon

Science, Maths & Technology 

Sacrificial Metals

In the Rough Science programme 'The Reef', the Rough Scientists constructed a burglar alarm to protect the delicate coral reef off the island of Chumbe. They strung out a wire across the surface of the water to mark out a no-go region for boats. If a boat crossed the line the circuit was completed and the alarm sounded. Being an important nature reserve this had to be powered by an environmentally friendly source – wave power or sunlight. Rough Scientist Mikey B was given the challenge of stopping the wire rusting over time. He decided to use a lump of magnesium as a sacrificial electrode. To find out more about how magnesium stops iron rusting and how it is used to protect oil drilling platforms and boats, read this extract from the second level OU course Our Chemical Environment (ST240).

Carbon in sea plants Copyrighted image Icon Copyright: article icon

Science, Maths & Technology 

Carbon in sea plants

Down on the reef, carbon is as important as for land creatures.

Ever Wondered About... Food additives? Copyrighted image Icon Copyright: Production team article icon

Science, Maths & Technology 

Ever Wondered About... Food additives?

Are the additives in foods giving us more than just a longer shelf life and distinctive flavour?

Chemical plants Copyrighted image Icon Copyright: Production team article icon

Science, Maths & Technology 

Chemical plants

Plants provide us with an enormous array of chemicals essential to industry and to our daily lives. But why are the chemicals there and why does the plant produce them?

Mike Bullivant's Med diary: First impressions Copyrighted image Icon Copyright: Production team video icon

Science, Maths & Technology 

Mike Bullivant's Med diary: First impressions

Mike Bullivant gives his first impressions of the scientists' new island home for Rough Science: Mediterranean.

5 mins
The molecular world Copyrighted image Icon Copyright: Used with permission free course icon Level 2 icon

Science, Maths & Technology 

The molecular world

From diamonds to dynamite, everything involves a chemical reaction. This free course, The molecular world, introduces you to the concepts and principles that underpin chemistry at the molecular level. Everyday experiences are used to help you to understand the more complex issues.

Free course
20 hrs