Science Focus - the home of BBC Science Focus Magazine

How to make a homemade lava lamp

Published: 17th February, 2020 at 11:15
Subscribe to BBC Science Focus Magazine and get 6 issues for just £9.99

Head back to the swinging 60s and build your own DIY lava lamp - groovy!

What you'll need

  • A tall, open container such as a plastic drinks bottle or a glass
  • Cooking oil
  • Water
  • Food colouring
  • Fizzy vitamin tablet or Alka-Seltzer

What to do

  1. Fill the container about a third of the way up with water.
  2. Pour cooking oil on top of the water until the container is nearly full.
  3. Wait for the oil and water to separate.
  4. Add a few drops of food colouring and wait for the water to become coloured.
  5. Break the tablet in half and drop it into the container.
  6. Watch the lava lamp do its thing!
  7. Add more pieces of the tablet to keep the reaction going.
How to make a homemade lava lamp © Dan Bright
© Dan Bright

What's the science?

The key to how the ‘lava lamp’ works is the fact that oil and water don’t mix.

Whether two liquids mix depends on the interactions between their molecules and also their freedom to move around – the stronger the attractive forces, and the greater the possibilities of movement, the more likely they are to mix.

Water molecules are ‘polar’ – one end is negatively charged, and the other is positively charged. This means that water molecules attract each other more strongly than they attract oil molecules, which are ‘non-polar’.

Also, the water molecules end up forming a kind of cage around the oil molecules, restricting the motion of both. This is an unfavourable state, and the water and oil molecules quickly separate. The oil floats on top of the water because it is less dense.

The tablets contain citric acid and sodium bicarbonate, which are released into the water when the tablet dissolves. When particles of these two chemicals come into contact with each other, they react, producing carbon dioxide gas. The gas forms bubbles in the water.

These are less dense than both the water and the oil, so float upwards, dragging along some of the coloured water.


The bubbles burst once they reach the top of the oil, and the water falls back down.


Alom Shaha
Alom ShahaScience teacher, filmmaker and author

Alom is the author of Mr Shaha’s Recipes for Wonder. As well as writing books, he has created, written, produced, directed, and appeared in a wide range of science communication projects, ranging from TV series to live science shows. He is a dad of two and teaches part-time at a comprehensive school in London.


Sponsored content