QuestionSolutions and mixtures
Why Don't Oil and Water Mix? Polar and Nonpolar Molecules

Oil and water do not mix because water molecules are polar and attract each other strongly through hydrogen bonds. Oil molecules are nonpolar and cannot join this network, so the water molecules push the oil into separate droplets or a layer. Oil floats because it is less dense than water.
Contents
The full answer
Water is a polar molecule. Its oxygen atom pulls the shared electrons more strongly than its two hydrogen atoms do, so the oxygen end carries a slight negative charge and the hydrogen ends carry a slight positive charge. On the Pauling scale, oxygen has an electronegativity of about 3.44 and hydrogen about 2.20, and that difference creates the uneven sharing.
Opposite charges attract, so neighboring water molecules line up with their positive hydrogen ends near the negative oxygen ends of other molecules. These attractions are called hydrogen bonds. They are strong enough to keep water liquid at room temperature and make it cling to itself, which is why it beads up on a waxed surface.
Oil, such as olive oil, is made of long molecules built mostly from carbon and hydrogen. Their electrons are shared almost evenly, so they have no strong positive or negative ends. Oil molecules cannot form hydrogen bonds with water, so they cannot fit into the water network.
When oil and water are mixed, the water molecules prefer to stay bonded to each other. They push the oil molecules together to reduce the contact area between the two liquids. Once the shaking stops, the droplets merge and rise. Cooking oil has a density of about 0.91 to 0.92 g/cm³, compared with about 1.00 g/cm³ for water at room temperature, so the oil settles as a layer on top.
The science behind it
Chemists summarize this with the rule “like dissolves like.” Polar solvents such as water dissolve polar or ionic solutes, including salt, sugar and alcohol, because their charged or polar parts bond with the water molecules. Nonpolar solvents, such as some hydrocarbons, dissolve nonpolar solutes such as oils, fats and waxes. Oil and water are mismatched, so they stay apart.
Energy also matters. Making room for an oil droplet means breaking hydrogen bonds between water molecules, and the oil offers no comparable attraction in return. The separated layers therefore have a lower overall energy than a mixture in which water is forced to rearrange around the oil.
Shaking does not change this balance. It only breaks the liquid into many small droplets, which look cloudy for a short time. Each droplet still has a clear boundary with the water around it, and the droplets gradually join into larger ones that separate again.
Density explains why the oil ends up on top rather than sinking. The layer with the lower density rises above the denser one, just as a cork floats in water.
An everyday example
A bottle of oil and vinegar dressing separates into two layers within minutes of being set down. Shaking it creates a cloudy mix, but the oil droplets gather again and rise to the top. The vinegar is mostly water, so it stays below.
Fat behaves the same way in a pot of soup or stock. As the liquid cools, fat drops collect on the surface and form a skin. Adding a little oil to a glass of water shows the same thing: the oil spreads into a thin film and does not dissolve.
These everyday cases show that oil and water are not reacting with each other. They simply do not share a common attraction, so each liquid keeps its own molecules together. Kitchen cooks use this difference when they skim fat from a stew or let vinaigrette settle before pouring.
A related question readers ask
Readers often ask how soap lets grease come off dishes if oil and water do not mix. Soap molecules have a polar head that bonds with water and a long nonpolar tail that bonds with oil. The tails dig into grease while the heads face the water, forming small clusters called micelles. The grease stays inside them, so rinsing carries it away. For details, see how soap cleans.
Emulsifiers in foods work in a related way. In mayonnaise, molecules from egg yolk coat the oil droplets so they stay spread through the vinegar. Without an emulsifier, the same droplets would merge and separate.
Common misconceptions
Oil and water repel each other. They do not push apart on their own. Water molecules attract each other strongly, and oil molecules cannot join them, so the water effectively squeezes the oil out.
Shaking mixes them permanently. Shaking makes a temporary emulsion. Within minutes the droplets merge, and the layers separate again.
Oil and water react with each other. They do not. Neither liquid changes the chemistry of the other, and each can be separated again by letting the layers settle or by pouring one off the other.
Oil is always lighter than water. Most cooking oils float, but some heavy crude oils have a density close to that of water and can sit in the middle or sink.
Frequently asked questions
Why does oil float on water?
Oil floats on water because it is less dense. Most cooking oils have a density of about 0.91 to 0.92 g/cm³, while water is about 1.00 g/cm³ at room temperature, so the oil forms a separate layer on top.
What does ’like dissolves like’ mean?
Like dissolves like means that substances with similar polarity mix. Polar substances such as salt and sugar dissolve in water, while nonpolar substances such as oils and fats do not.
Can oil and water ever mix?
Oil and water can form a temporary mixture called an emulsion when they are shaken or whisked. The droplets soon merge and separate again unless an emulsifier, such as lecithin in egg yolk, holds them apart.
Why does soap help oil mix with water?
Soap molecules have a polar head that bonds with water and a nonpolar tail that bonds with oil. The tails surround grease and hold it in tiny clusters that water can rinse away.
Is oil polar or nonpolar?
Oil is mostly nonpolar because its molecules are long chains of carbon and hydrogen atoms, which share electrons almost evenly. Water is polar because oxygen pulls shared electrons more strongly than hydrogen does.
Why does water stick to itself?
Water molecules are polar, so the slightly positive hydrogen atoms of one molecule attract the slightly negative oxygen atom of another. These attractions are called hydrogen bonds, and they hold liquid water together.
Sources and further reading
- OpenStax, "Chemistry 2e"
- Encyclopaedia Britannica, "Emulsion"
- W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"
Cite this page
“Why Don't Oil and Water Mix? Polar and Nonpolar Molecules.” Atoms & Forces, https://science.bigworldlist.com/questions/why-dont-oil-and-water-mix/.
More about Solubility
- ChemistrySolubility: Definition, Factors and Solubility Rules
- ComparisonDissolving vs Melting: What Is the Difference?
- QuestionHow Do Laundry Detergents Remove Stains? Surfactants and Enzymes
- QuestionHow Do You Test for Halide Ions? The Silver Nitrate Test
- QuestionHow Does Dry Cleaning Work if It Is Not Really Dry?
- QuestionHow Does Mayonnaise Stay Mixed? Emulsions and Emulsifiers
- QuestionHow Does Popping Candy Work? Trapped Carbon Dioxide Bubbles
- QuestionHow Does Soap Clean? The Chemistry of Soap and Micelles
- QuestionHow Does Temperature Affect Solubility? Solids vs Gases