Why Custard Thickens: Egg Proteins and the Science of Creamy Texture
IntermediateQuick Answer
Custard thickens because egg proteins, primarily ovalbumin and ovomucin, begin to denature and link together between 160°F and 180°F, forming a soft gel. Go above that window and the proteins contract too tightly, squeeze out water, and curdle. Starch in pastry cream raises the curdling temperature by physically blocking protein chains from bonding too aggressively.
The Science
Custard is one of the simplest preparations in cooking: eggs, dairy, maybe sugar. The ratio is easy to learn. The technique is not. Thousands of failed batches end up as sweet scrambled eggs, and the reason is always the same. Temperature ran away.
Understanding why custard thickens, and what makes it curdle, means understanding a narrow window of protein chemistry. Get inside that window and the results are reliably silky. Ignore it and you’re hoping.
The Thickening Mechanism
Egg yolks contain several proteins, but the most important for custard are the lipoproteins that hold the yolk together. Whole eggs and egg yolks also contain ovalbumin and other proteins that begin to change structure when heated.
In their natural state, egg proteins are folded into compact shapes. Heat gives them energy, and they start to uncoil and extend. As the temperature rises, these unfolded protein chains begin to bump into each other and form new bonds. The resulting protein network traps water and fat molecules inside, turning the liquid into a soft, pourable gel. That gel is custard.
The process is protein denaturation, the same transformation described in the denaturation article and the egg science article. The difference in custard is that you want the network to be very loose and fine. You’re aiming for a gel that barely holds together, not a solid mass.
The Narrow Temperature Window
Egg proteins in a custard base start to set around 160°F. The ideal texture for most stirred custards (creme anglaise, ice cream base, curd) falls between 170°F and 180°F. At that range, the network is just dense enough to coat a spoon and hold body.
Above 185°F, the proteins bond too aggressively. The network contracts and tightens, squeezing water out of the structure. That expelled water is why curdled custard looks wet and grainy. The proteins have essentially overshot their target and packed too tightly together.
The difference between a perfect custard and curdled eggs is less than 15°F. That’s why recipes call for constant stirring and close attention. It’s also why a thermometer is more reliable than any visual cue.
What Tempering Does and Why It Works
Most custard recipes instruct you to “temper” the eggs before adding them to the hot liquid. You pour the hot cream or milk into the beaten eggs in a thin stream while whisking constantly.
The goal is to raise the egg temperature gradually before it ever contacts the full heat of the pan. If you dumped cold eggs directly into hot milk, the eggs closest to the hot liquid would instantly overheat and coagulate before mixing fully. Tempering distributes the heat slowly and evenly, bringing the eggs up to near the milk temperature without shocking them.
Starch Changes the Rules
Pastry cream (creme patissiere) adds flour or cornstarch to the custard base. This is not just for extra thickness. It fundamentally changes the thermal properties of the mixture.
Starch granules absorb water and swell during cooking, a process called starch gelatinization. As the granules swell and eventually burst, they release long amylose chains that physically crowd the space between protein molecules. Those crowded starch chains interrupt the protein-to-protein bonding that causes curdling.
The result: pastry cream can be brought to a full boil without curdling. In fact, you should bring it to a boil. Boiling is what activates the starch fully and drives off any raw-flour flavor. Without starch, boiling plain custard would produce nothing but scrambled eggs. With it, the starch takes the heat that would have destroyed the protein network and redirects it into thickening the starch instead.
The Double Boiler Logic
A double boiler puts a bowl or pot over simmering water, so the custard never contacts a direct heat source. The steam from the simmering water reaches a maximum temperature of around 212°F. The bowl above it stays well below that.
This buys you a temperature ceiling. Even if you walk away for a moment, the custard can’t exceed the temperature of the steam around it. It’s slow cooking by design. For delicate preparations like sabayon or lemon curd, the double boiler is the only practical approach because the margin between done and ruined is too small for a direct burner.
Acid Lowers the Set Temperature Slightly
Lemon juice or other acids in custard have a real effect. Acid lowers the pH, which changes the charge on the protein molecules. At lower pH, proteins start bonding at a slightly lower temperature, which means lemon curd sets at around 165-170°F instead of 170-175°F. This also means it curdles at a slightly lower temperature, so lemon-based custards need even more attention.
The acid effect is why creme brulee, which has no acid, is more forgiving than lemon curd, which has a lot. Both are custards. Both use the same protein chemistry. The difference is the safety margin.
The Rescue Attempt
When custard starts to curdle, your first move should be to cool it fast. Pour it immediately into a cold bowl or ice bath. Stopping the heat stops the protein bonding. If you caught it early, the curds are small and the texture may still be recoverable.
Blending at high speed with an immersion blender can break small curds back into the liquid and restore the appearance of a smooth custard. Strain it through a fine-mesh sieve afterward to catch anything that didn’t blend smooth.
Severe curdling, where the mixture looks like wet scrambled eggs floating in liquid, can’t be saved. The protein bonds are permanent and the structure is gone. At that point, the best option is to strain out the curds and use the strained liquid for something else.
The path to avoiding this entirely is straightforward: use a thermometer, keep the heat low, and pull the custard off the heat before it hits 180°F. Carryover heat will take it a few degrees higher on its own.
What This Means for You
Use a thermometer. Pull custard off heat at 170-175°F for pourable creme anglaise, or 180°F for a thicker set. Temper your eggs by adding hot liquid slowly while whisking constantly. If it starts to curdle, immediately pour it into a cold bowl and strain. Catching it early and cooling fast can sometimes save it.
References
- McGee H. On Food and Cooking: The Science and Lore of the Kitchen. Scribner, 2004.
- Lomakina K, Mikova K. (2006). Foaming properties of egg white. Czech J Food Sci. 24(3):110-118.
- Raikos V, Campbell L, Euston SR. (2007). Effects of sucrose and sodium chloride on foaming properties of egg white proteins. Food Res Int. 40(3):347-355.
- Lund DB. (1989). Effects of heat processing on nutrients. In: Nutritional Evaluation of Food Processing. AVI Publishing.