What Happens When Oil and Water Mix?

Oil and water pushed together will temporarily mingle, forming a cloudy, chaotic suspension, but within seconds or minutes the two liquids begin creeping apart again, oil floating to the top while water settles below. This separation is driven by a powerful thermodynamic preference: water molecules would rather bond tightly with one another than accommodate oily, nonpolar molecules in their midst. Yet “they don’t mix” is only the beginning of the story, because much of modern food science, medicine, environmental cleanup, and even your own biology depends on finding clever ways to make oil and water coexist.

Why Water Pushes Oil Away

Water is an unusually social molecule. Each one can form up to four hydrogen bonds with its neighbors, creating a dynamic, constantly shifting network. When a nonpolar molecule like a hydrocarbon from cooking oil is dropped into that network, the surrounding water molecules have to rearrange themselves to avoid the intruder. They form a more ordered cage around it, which actually reduces the system’s disorder. That reduction in disorder, measured as a large negative change in entropy, is thermodynamically costly. The system “wants” to minimize that cost, so it drives the nonpolar molecules together and out of the water, restoring the water’s preferred bonding arrangement. This is the hydrophobic effect, and it is the fundamental reason oil and water separate.

The hydrophobic effect is not about oil and water repelling each other through some electromagnetic force. It is about water’s strong preference for itself. The hydrogen bonds between water molecules are so favorable that any molecule that cannot participate gets squeezed out. Researchers have traced this to a structural competition between the hydrogen bonds at the interface with a nonpolar surface and those deeper in the bulk water.

The Invisible Boundary Between the Two Liquids

When oil and water sit in the same container, a thin boundary forms between them called the interface. This interface has measurable tension, a bit like the surface of a drum pulled taut. Interfacial tension exists because water molecules at the boundary are bonding with fewer neighbors than they would prefer, creating an energetic penalty for every unit of contact area between the two liquids. The system naturally minimizes that area, which is why a blob of oil in water pulls itself into a sphere: a sphere has the smallest surface area for a given volume.

Interfacial tension also explains why shaking a bottle of oil and water produces round droplets rather than thin sheets, and why those droplets rapidly merge back together once you stop shaking. Reducing that tension is the key to keeping the two liquids mixed, and that is where emulsifiers enter the picture.

How Emulsions Force Oil and Water Together

An emulsion is a mixture of two immiscible liquids, usually oil and water, in which one is dispersed within the other as tiny droplets. The most common way to create one is by pumping mechanical energy into the system, through blending, shaking, or high-pressure homogenization, which deforms and breaks large blobs into smaller and smaller droplets.

But mechanical energy alone produces an unstable situation. The moment you stop blending, those droplets start merging. To prevent that, you need something sitting at the interface between each droplet and the surrounding liquid, lowering the tension and physically blocking droplets from fusing. Surfactants are the classic solution. These molecules have a split personality: one end is water-loving and the other is oil-loving. They wedge themselves into the interface, with their water-loving head facing the water phase and their oil-loving tail buried in the oil droplet. This lowers the energy cost of maintaining all that interface, making smaller droplets easier to create and harder to destroy.

You encounter emulsions constantly. Milk is an oil-in-water emulsion where fat droplets are dispersed in a water-based liquid, stabilized by proteins. Mayonnaise is a similar system, with egg lecithin acting as the emulsifier. Butter, by contrast, is a water-in-oil emulsion: tiny water droplets trapped in a continuous fat phase. The direction matters. Whether oil droplets sit in water or water droplets sit in oil depends on the ratio of the two liquids, the type of emulsifier, and how the mixture was prepared.

Why Emulsions Eventually Fall Apart

Even well-made emulsions are not truly stable in a thermodynamic sense. They are metastable, meaning they persist for a useful period but are always sliding toward separation. Several processes drive that breakdown.

Coalescence is the most intuitive: two droplets bump into each other, the thin film of continuous phase between them drains away, and they merge into one larger droplet. Larger droplets rise (or sink) faster, accelerating further merging. Surfactants slow coalescence by forming a protective film over each droplet that resists thinning and rupture.

Ostwald ripening is subtler. Even without droplets touching, material can migrate from smaller droplets to larger ones through the continuous phase, because molecules at a curved surface are slightly more soluble than those at a flatter one. Over time, small droplets shrink and large droplets grow, coarsening the emulsion. Research has shown that coalescence and Ostwald ripening are the main destabilizing mechanisms for oil-in-water emulsions. One strategy to fight Ostwald ripening involves adding a component to the oil phase that is essentially insoluble in water. Because that component cannot migrate between droplets, it creates a compositional imbalance that resists the ripening process. Studies have found that adding around 20% of a water-insoluble oil like corn oil to a more soluble oil phase can effectively halt droplet growth.

Creaming and sedimentation are gravity-driven: lighter oil droplets float upward in a water-in-oil emulsion, or denser water droplets sink in an oil-in-water system. This does not immediately break the emulsion, but it concentrates the droplets, making coalescence more likely. The salad dressing separating on your shelf is creaming in action.

Emulsions That Form Without Any Shaking

Not all emulsions need a blender. One of the more surprising phenomena is spontaneous emulsification, which can happen when the chemistry of the system is right. The most familiar example is the “ouzo effect,” named after the Greek anise-flavored spirit. Ouzo is a clear solution of water, ethanol, and the essential oil trans-anethole. When you add water, you dilute the ethanol, and the trans-anethole suddenly finds itself in a solvent that can no longer keep it dissolved. It precipitates out as a cloud of tiny droplets, turning the drink milky white. No stirring required.

Researchers studying this process with advanced techniques found that trans-anethole first forms small aggregates that then coalesce into micron-sized droplets. The effect is driven entirely by the shifting solubility as the solvent composition changes, not by any external energy input. Similar spontaneous emulsification happens in certain pharmaceutical formulations and perfume concentrates when they contact water.

Solid Particles as Emulsifiers

Surfactant molecules are not the only way to stabilize an emulsion. Tiny solid particles can do the job too, and often do it better. These are called Pickering emulsions, named after the chemist who described them over a century ago. The idea is simple: if a solid particle is partially wettable by both oil and water, it will lodge at the interface between the two liquids, anchored far more firmly than a surfactant molecule. Once enough particles coat a droplet, they form a rigid shell that makes coalescence extremely difficult.

Pickering emulsions are more resistant to breaking apart than surfactant-stabilized versions precisely because removing a solid particle from an interface requires much more energy than removing a surfactant molecule. This extra stability has attracted attention in drug delivery, food science, and even the petroleum industry. Researchers have prepared crude-oil-in-water Pickering emulsions using iron oxide nanoparticles, for instance, aiming to improve the flow properties of heavy crude oil during transport through pipelines.

Oil and Water Inside Your Body

The same hydrophobic effect that makes salad dressing separate is one of the most important forces in biology. Every cell in your body is wrapped in a membrane made of lipids, molecules with a water-loving head and two oil-loving tails. In water, these lipids spontaneously arrange into a double layer, tails facing inward and heads facing outward, creating a barrier that separates the watery interior of the cell from the watery exterior. The driving forces behind this self-assembly are rooted in the hydrophobic effect and electrostatic interactions.

Protein folding, the process by which a long chain of amino acids crumples into a precise three-dimensional shape, also depends heavily on the hydrophobic effect. Amino acids with oily side chains get buried in the protein’s interior, away from water, while those with water-friendly side chains face outward. Research indicates that the gain in translational entropy of water molecules, as the protein folds and reduces its water-exposed surface area, is a primary driving force behind this process. When that effect weakens, for example under very high pressure, proteins can unfold and lose their function. This is why pressure can denature proteins, and it connects the humble kitchen observation of oil and water separating to fundamental questions about how life works at the molecular level.

Oil Spills and the Ocean

When crude oil meets seawater, the results are far more complex than a neat layer sitting on top. Crude oil is not a single substance but a mixture of thousands of hydrocarbon compounds with different properties. When spilled, a drop of crude oil quickly spreads into a thin slick on a still water surface, while more weathered or heavier oils barely spread at all. Wave energy and wind churn the slick into an emulsion, often a water-in-oil type where seawater droplets get trapped inside the oil. These emulsions can be remarkably stable and are sometimes called “chocolate mousses” because of their thick, brown, pudding-like appearance. Handling these mousses, whether at sea or on shore, is a major challenge in oil spill response because they can contain 60 to 80 percent water by volume, dramatically increasing the total volume of material that must be collected.

Chemical dispersants work by lowering the interfacial tension between the oil and water, breaking the slick into tiny droplets that disperse into the water column. This makes the oil more accessible to natural degradation but spreads it through a larger volume of water, which raises its own environmental concerns.

Some marine bacteria have evolved to exploit oil-water interfaces directly. The bacterium Alcanivorax borkumensis, for example, becomes partially hydrophobic when exposed to oil, and its cells physically attach to the oil-water interface, reducing the interfacial tension and forming the beginnings of a biofilm. Remarkably, it is the bacterial cells themselves doing this work at the interface, not a secreted biosurfactant released into the surrounding water. These microbes essentially treat an oil spill as a buffet, colonizing the interface where they can access both the hydrocarbons they eat and the oxygen and nutrients dissolved in the water.

The Rainbow Sheen on a Puddle

One of the most visible results of oil meeting water is the swirling rainbow you see on a puddle or a parking-lot runoff. This is not caused by pigments in the oil. It is an interference effect. When oil forms an extremely thin film on water, light reflects off both the top surface of the oil and the bottom surface where the oil meets the water. Those two reflected beams travel slightly different distances, and depending on the film’s thickness, some wavelengths of light reinforce each other while others cancel out. The result is vivid color.

The specific color you see corresponds directly to the film’s thickness. Early optical measurements showed that oil films on water range from roughly 0.1 to 0.6 micrometers thick, with the thinnest films producing first-order yellows and the thicker ones showing higher-order reds and greens. As the film spreads and thins further, the colors shift and eventually vanish when the film becomes too thin for visible-wavelength interference. This is why the rainbow sheen on a puddle swirls and changes as the oil spreads.

Separating Oil and Water in Industry

If making oil and water mix is hard, separating them once they have been mixed can be just as challenging. Industrial wastewater from petroleum refining, food processing, and metalworking often contains stable oil-in-water emulsions that will not separate on their own within any practical timeframe. Gravity separators work for free oil floating on the surface, but emulsified droplets below roughly 20 micrometers need more aggressive treatment.

Demulsification, the deliberate breaking of an emulsion, can be chemical or physical. Chemical demulsifiers are essentially anti-surfactants: they displace the stabilizing film around each droplet, allowing coalescence. Heat reduces the viscosity of the continuous phase and weakens the interfacial film, speeding things up. Electrocoalescence uses an electric field to pull charged or polarizable droplets together.

Membrane filtration is a newer approach. Researchers have developed hydrogel membranes with dense negative surface charges that disrupt the charge stability holding emulsion droplets apart. One such membrane maintained a separation flux well above a thousand liters per square meter per hour over 20 cycles, with separation efficiency exceeding 99 percent. The goal is a filter you can run continuously under gravity alone, without pumps or added chemicals, making oil-water separation cheaper and more sustainable for industries that generate enormous volumes of oily wastewater.

When Oil Dissolves in Water, a Little

The blanket statement that oil and water “don’t mix” is a useful simplification, but it is not perfectly true. At a molecular level, a tiny amount of any oil will dissolve in water, and a tiny amount of water will dissolve in oil. These solubilities are extremely small under everyday conditions, which is why the effect is invisible in your kitchen. But under high temperature and pressure, the picture changes. Studies of bitumen, the heavy oil found in Alberta’s oil sands, have measured the solubility of water in bitumen-rich liquid at temperatures between roughly 250 and 370 degrees Celsius and pressures up to 260 times atmospheric pressure. Under those conditions, water becomes significantly more soluble in the oil phase. This matters for subsurface petroleum processing, where steam is injected into reservoirs to mobilize heavy oil, and the behavior of water dissolved in the oil phase affects everything from flow rates to equipment corrosion.

Even at room temperature, the slight mutual solubility of oil and water has consequences. It drives Ostwald ripening in emulsions, as discussed earlier, because the dissolved molecules provide the migration pathway between droplets. It also means that trace hydrocarbons from oil can contaminate water supplies at concentrations that matter toxicologically, even when no visible oil is present.

Microfluidics and Precision Droplets

At the cutting edge, engineers are learning to control oil-water interactions at microscopic scales using microfluidic devices, tiny channels etched into chips where fluids flow in precise, predictable patterns. By tuning flow rates and channel geometry, researchers can generate uniform oil droplets in water without any surfactant at all, relying purely on the balance of viscous forces and interfacial tension. In one recent design, combining a glass capillary with a T-shaped channel produced stable, uniform oil droplets even at relatively high water flow rates, and the droplet size could be fine-tuned by adjusting the flow. These surfactant-free droplets are especially valuable in pharmaceutical and cosmetic applications where the surfactant itself might cause irritation or interfere with an active ingredient. Pairing the microfluidic droplet generator with ultrasonic energy downstream can then break those droplets into nanoscale emulsions, creating products with textures and absorption profiles that conventional blending cannot achieve.