At home

Why does milk foam when you shake it?

Shaking mixes air into the milk. Milk proteins help the little bubbles last longer.

A glass of milk with a layer of small foam bubbles
A glass of milk with a layer of small foam bubbles · AI-generated illustrative image
✦ The short answer

Shaking breaks up some of the air above the milk into lots of small bubbles. Milk proteins collect where the air touches the liquid. They stabilize the thin films around the bubbles, so the foam sticks around for a while.

Shake some milk in a small bottle and set it down. There’s now a pale layer full of tiny bubbles on top. If you shake water on its own, that layer usually disappears much sooner. What makes milk different?

The air comes from above the milk

In a half-full bottle, there’s air above the milk. When you shake it, the milk sloshes around and traps little pockets of air. The bubbles rise and collect at the surface.

Foam takes up more room than the liquid that makes it because the bubbles contain air. Some milk stays liquid at the bottom. Some of it forms the thin walls between the bubbles.

On the left, air sits above the milk. On the right, some of that air is trapped in small bubbles in the foam. Liquid milk remains below.
On the left, air sits above the milk. On the right, some of that air is trapped in small bubbles in the foam. Liquid milk remains below.

Milk proteins help the bubbles stay intact

Milk contains several kinds of protein. Some collect where an air bubble touches the milk. They form a very thin layer at the surface of the bubble.

This layer helps the liquid film hold together when the bubble changes shape a little. Bubbles can still pop or merge. Water shaken on its own has no milk proteins, so under similar conditions its bubbles usually disappear sooner.

A greatly enlarged section between two air bubbles. The purple dots represent proteins collecting where the air touches the milk.
A greatly enlarged section between two air bubbles. The purple dots represent proteins collecting where the air touches the milk.

Foam changes as it sits

While the foam sits, some liquid drains down through the spaces between the bubbles. The films can get thinner. Some break, and the foam layer shrinks.

How much foam forms and how long it lasts depend in part on the temperature, the milk, and the way you froth it. Even cold milk can foam when you shake it.

↗ Try it yourself

Shake cold milk and cold water

  1. Take two clear plastic bottles of the same size with screw caps. Put three tablespoons of cold water in one and three tablespoons of cold milk in the other. Close both tightly and leave room for air above the liquid.
  2. Shake each bottle separately for about 15 seconds, using about the same effort. Set each one down and look right away at how thick the layer of bubbles is.
  3. Look at each bottle again after about one minute. Which one has more of its layer of bubbles left?

Use clean plastic bottles with tight lids and cold liquids. Rinse away any traces of dish soap first, since it can make foam on its own.

The takeaway

Shaking mixes air into milk. Milk proteins stabilize the thin films around the bubbles, helping the foam last longer.

A little question for you

What helps the bubbles in milk foam last longer?

Sources & further reading

Kamath et al. · The composition of interfacial material from skim milk foams ↗Xiong et al. · Foaming properties of milk protein dispersions ↗Lajnaf et al. · Foaming and air-water interfacial properties of milk proteins ↗

Our stories explain the main idea in our own words. Pictures and models simplify reality and are not drawn to scale.

Copy link

Select and copy this address: