Microfoam in coffee: the science behind beautiful latte art
A white heart-shaped design on the surface of a latte looks like magic, but it starts with a very physical process: steam injecting air into the milk, and casein protein holding that air in place as tiny bubbles that are not visible to the naked eye. Understanding how protein works and how temperature affects it, baristas will know why sometimes the foam is smooth and shiny like wet paint, and sometimes it's dry and crumbly and can't be poured into a design.
Foam is what: air held by protein
Foam is essentially air trapped in milk due to casein protein. Casein protein acts as a natural surfactant: it moves to the surface of each air bubble and forms a membrane that prevents the bubbles from merging with each other. Approximately 80% of milk protein is casein and about 20% is whey protein, mainly β-lactoglobulin, as reported in a 2022 study by Klimanova et al. This ratio determines how easily milk foams and how long the foam lasts.
Microfoam differs from regular foam in bubble size. Microfoam has extremely small and uniform bubbles, usually smaller than 100 micron, forming a smooth, shiny milk block that can be poured into a continuous stream and blends into the espresso instead of forming a separate layer. In contrast, dry foam has large, visible bubbles, is crumbly and light, and only sits on the surface of the cup. The Specialty Coffee Association's Coffee Skills Program describes ideal foam as smooth, shiny, and moist, with no visible bubbles; uneven, dry, or discolored foam is not accepted in their evaluations.
Inside a foam bubble: protein membrane holds air
Conceptual diagram, not actual electron microscopy image of foam.
- Protein membrane: casein and whey protein surround each air bubble, preventing bubbles from merging with each other. The stronger the membrane, the longer the foam lasts.
- Small and uniform bubbles: microfoam has bubbles that are usually smaller than 100 micron, uniform, and therefore milk looks smooth and shiny like wet paint and can be poured into a continuous stream.
- Large and dry bubbles: dry foam has large, uneven, light, and crumbly bubbles that only sit on the surface of the cup and can't hold a design.
Conceptual diagram, not actual electron microscopy image of foam. Bubble size is only illustrative.
Temperature decides everything
Temperature changes how casein protein works, and research has measured this very clearly. A research group at the University of Queensland found that when milk is foamed at around 45 degrees Celsius or higher, casein micelle particles spread out and link up on the surface of the bubble, forming a stronger membrane. However, when they foamed skimmed milk at 65 degrees Celsius and 85 degrees Celsius, foam stability decreased with temperature. A 2022 study in Italy also found that whey protein starts to denature partially around 60 degrees Celsius, which is a reason why foam becomes weaker at higher temperatures.
| Discovery | Temperature | Source |
|---|---|---|
| Foam is most stable when foamed | At around 45 degrees Celsius | Kamath et al., 2008 |
| Best temperature for steaming milk; most beautiful bubble distribution in pasteurized milk | 50 to 60 degrees Celsius, best at 60 degrees Celsius | Klimanova et al., 2022 |
| Foam stability decreases with temperature | Test at 65°C and 85°C | Kamath and colleagues, 2011 |
| Nutritional quality is not affected when frothing; some vitamins and enzymes decrease at higher temperatures | 60 to 65°C | Santini and colleagues, 2023 |
In practice, there is no single magical number, but the usable range is 55 to 65°C. Below this range, the cup is still warm, and above this range, the foam weakens and the milk loses its sweetness. Many baristas stop at around 60 to 65°C to ensure the cup is hot enough to serve, and use a thermometer until they become accustomed to the feeling.
Remember this when frothing milk: only add air when the milk is still cold, in the first few seconds, then submerge the spout and create a whirlpool. Stop at 55 to 65°C, gently tap the surface once to break the large bubbles, and then rotate evenly until the milk surface is smooth before pouring.
Three factors make up good foam
Protein holds the foam
Casein accounts for approximately 80% of milk protein, whey around 20%. Protein surrounds the air bubbles to form a membrane, and a strong membrane results in a stable and smooth foam.
Fat makes it smooth
Fat hinders foam formation, especially at 15 to 45°C, but whole milk foam has smaller and smoother bubbles than skim milk foam.
Temperature defines the shape
From 45°C, the casein membrane becomes stronger. Above 60°C, whey is denatured, and the foam weakens. The range of 55 to 65°C is the balance point.
Fat is the most contentious factor. In a study measuring foam at 5 to 85°C, milk fat reduces the ability to form foam and the stability of whole milk foam, especially in the range of 15 to 45°C, while homogenization and UHT treatment reduce this effect. On the other hand, whole milk foam has smaller bubbles than skim milk foam. This aligns with what baristas see every day: skim milk foam is easy to form and abundant, but hard and difficult to shape, while whole milk foam produces a smooth and shiny foam, suitable for latte art.
Which milk makes the best foam
In experiments using an espresso machine steam wand, fresh pasteurized milk produces a more stable foam than UHT milk, and consumers can distinguish between the two through smell and taste. A subsequent study linked the better foam of pasteurized milk to β-lactoglobulin and lactoferrin. Therefore, if latte art is important, use fresh pasteurized milk, starting with cold milk in a cold pitcher to allow sufficient time to shape before the milk warms up. Oat milk or soy milk is a different story, as they do not have casein and whey like cow's milk, so the foam-making process is quite different.
Two pouring rhythms: sink and rise
All latte art designs use the same two rhythms. The first rhythm is called sink: tilt the cup, hold the pitcher higher than the cup by a few centimeters, and pour a thin, even stream into the center of the cup. From above, the milk sinks down into the crema layer and mixes with the espresso without leaving a mark on the surface. When the cup is about half to two-thirds full, switch to the rise rhythm: lower the spout to the surface of the cup and pour a bit more forcefully, at this point the foam rises up and the white design begins to appear, while lifting the pitcher slightly to make the milk stream thin again and pulling it through the design to finish.
| Basic shapes | Drawing method | Common mistakes |
|---|---|---|
| Heart | Push the foam evenly to the surface of the cup, then lift the pitcher and cut through the middle | The steam wand is too high when drawing the design, so the white design does not appear |
| Tulip | Push the pitcher up and down several times, each time moving it slightly forward, then cut through | The milk is too thin, causing the layers to blend together |
| Rosetta | Gently shake the pitcher back and forth with your wrist while pulling back, then cut through | Shake the pitcher too vigorously or pull back too quickly |
Learning in the order of heart, tulip, and rosetta is logical: heart teaches the transition from immersion to pouring, tulip teaches stopping and starting the milk flow, and rosetta adds controlled wrist movement. Between each cup, only change one variable at a time, first the milk texture, then the pouring height, and the pitcher position, to see which change actually helps the design appear
Frequently Asked Questions
What is microfoam and how does it differ from regular foam?
Microfoam is milk that is frothed to a fine foam, with extremely small and uniform bubbles, typically less than 100 microns, creating a smooth, wet-looking milk mass that can be poured in a continuous stream. Regular foam has larger, visible bubbles, is dry and spongy, and only floats on top of the coffee. It's the small and uniform bubbles that hold the latte art design.
How hot should milk be frothed to?
The ideal temperature range is between 55°C and 65°C. A 2022 study using an espresso machine steam wand found that pasteurized milk created the best foam at 50-60°C, with the most uniform bubble distribution at 60°C. Below this range, the cup is still warm, while above it, the foam weakens due to whey protein denaturation. Many baristas stop at around 60-65°C to serve a hot cup.
Why does foam become weaker as it gets hotter?
Foam is held together by a protein membrane surrounding each air bubble. When milk is frothed at temperatures above 45°C, casein micelles spread out and bond with each other on the bubble surface, creating a stronger membrane. However, frothing at 65°C and 85°C reduces foam stability, partly due to whey protein denaturation above 60°C. Adding a few more degrees beyond this threshold only weakens the membrane further.
Does whole milk or skim milk create better foam?
It depends on the purpose. Skim milk creates foam easily and abundantly, but it's hard and difficult to pour designs. Whole milk creates foam a bit more challenging due to the fat content, especially at 15-45°C, but it produces smaller, more uniform bubbles, which is what baristas need for latte art. Pasteurized fresh milk also creates more stable foam than UHT milk, and consumers can distinguish between the two.
Why is my foam dry and unable to pour designs?
The three most common causes are over-steaming, steaming too late when the milk is already hot, or overheating. To fix this, only steam the milk when it's still cool, for a few seconds at the beginning, then submerge the steam wand to create a whirlpool that breaks down large bubbles into smaller ones. Once done, gently tap the pitcher once to break down large bubbles, then rotate it until the milk surface is smooth, and pour immediately, as the foam starts to separate as soon as movement stops.
References
- Klimanova, Y., et al. (2022). Effect of steam frothing on milk microfoam: Chemical composition, texture, stability and organoleptic properties. International Dairy Journal, 135, 105476. View full text
- Kamath, S., Huppertz, T., Houlihan, A. V., and Deeth, H. C. (2008). The influence of temperature on the foaming of milk. International Dairy Journal, 18, 994–1002. View full text
- Kamath, S., Webb, R. E., and Deeth, H. C. (2011). The composition of interfacial material from skim milk foams. Journal of Dairy Science, 94, 2707–2718. View full text
- Santini, G., et al. (2023). Effects of different steam injection conditions on cappuccino’s nutritional profile. Food Chemistry, 428, 136757. View full text
- Pro Coffee Academy (2026). Milk Steaming and Latte Art: Microfoam Science and Technique. View full text
- Wikipedia. Microfoam. View full text
