Why Water and Oil Does Not Mix: A Simple Scientific Explanation

If you have ever tried to mix vegetable oil and water in a jar, you know the result: no matter how hard you shake it, the oil quickly separates and floats back to the top. This happens because of a simple rule in chemistry: “like dissolves like.” Water and oil do not mix because water molecules are polar (they have a slight positive charge on one end and a slight negative charge on the other), while oil molecules are nonpolar (they have an even distribution of charge). The two types of molecules simply do not attract each other, so they stay apart.
The Science of Polarity
A water molecule (H₂O) is shaped like a bent “V” with the oxygen atom at the center and the two hydrogen atoms on one side. Oxygen pulls the shared electrons more strongly than hydrogen does, giving the oxygen end a slight negative charge and the hydrogen ends a slight positive charge. This uneven charge distribution makes water a polar molecule.
Oil is made of long chains of carbon and hydrogen atoms (hydrocarbons). In these chains, carbon and hydrogen share electrons fairly evenly. The molecule has no positive or negative ends — it is nonpolar. Because there is no charge difference, oil molecules have no way to grab onto water molecules.
The American Chemical Society explains that polar molecules tend to dissolve only in other polar solvents, and nonpolar molecules dissolve only in nonpolar solvents American Chemical Society. When you pour oil into water, the water molecules would rather stick to each other (via hydrogen bonds) than interact with the oil. The oil molecules also prefer to stay together. So the two liquids separate into distinct layers.
Hydrogen Bonding in Water
Water molecules are held together by a special type of attraction called hydrogen bonding. The positive hydrogen end of one water molecule is attracted to the negative oxygen end of another. These bonds are relatively strong, and they create a network that excludes nonpolar molecules. When oil is added, the water molecules cannot form hydrogen bonds with the oil. Instead, the water molecules at the boundary reorganize to maintain their hydrogen bonds with each other, pushing the oil away.
Why Shaking Does Not Work
Vigorous shaking creates only a temporary mixture called an emulsion. When you shake the jar, you break the oil into tiny droplets that are suspended in the water. But the droplets are still surrounded by a thin film of water, and the water molecules still do not interact with the oil. As soon as you stop shaking, the droplets begin to collide and merge. Because the oil molecules are less dense than water, the larger droplets rise to the top. Within a few minutes, the two layers are completely separated again. Without an emulsifier — a third substance that can bridge the polar and nonpolar worlds — the mixture will always separate.
The Role of Emulsifiers
An emulsifier is a molecule that has both a polar (water-loving) end and a nonpolar (oil-loving) end. One common example is lecithin, found in egg yolks. When you make mayonnaise, the lecithin in the yolk surrounds the oil droplets, with its polar end facing the water and its nonpolar end facing the oil. This stabilizes the droplets and prevents them from merging. The Royal Society of Chemistry notes that emulsifiers are essential for many food products, from salad dressings to ice cream Royal Society of Chemistry.
Everyday Examples
The principle that oil and water do not mix shows up in many common situations.
- Salad dressing: A vinaigrette separates into a layer of oil on top and vinegar (which is mostly water) on the bottom. You have to shake it just before serving, and even then it separates again quickly.
- Spills on water: When oil spills into the ocean, it spreads into a thin layer on the surface because it is less dense and does not mix with the seawater. This is why cleanup is so difficult — the oil stays on top rather than dissolving.
- Cleaning greasy dishes: Water alone cannot remove grease or oil from a pan. That is why you need soap, which acts as an emulsifier. Soap molecules have a polar end that attaches to water and a nonpolar end that attaches to grease, allowing the grease to be rinsed away.
Key Takeaways
- Water molecules are polar (uneven charge distribution), while oil molecules are nonpolar (even charge distribution). Polarity differences prevent the two liquids from mixing.
- Hydrogen bonds between water molecules are strong, and water molecules prefer to bond with each other rather than with nonpolar oil molecules.
- Shaking creates a temporary emulsion, but the oil and water separate again because no stable chemical bond forms between them.
- Emulsifiers, such as lecithin in egg yolks, can stabilize mixtures of oil and water by bridging the polar and nonpolar molecules.
- Everyday examples include salad dressing separation, oil spills, and the need for soap to clean greasy dishes.