Chapter 6

The science of kaya

Kaya is a stirred custard, like crème anglaise, made with coconut milk instead of cream and cooked much further. Everything in the recipe comes down to setting egg proteins slowly enough that they thicken instead of scrambling.

How eggs thicken

Egg proteins start to unfold at around 60°C and link up as they heat, trapping liquid in a soft network. In a stirred custard, constant movement keeps the network fine, so the result is smooth and thick rather than set into a block.

Why it curdles

Above about 82–85°C the proteins bond too tightly and squeeze out liquid, forming lumps: scrambled eggs. A water bath caps the temperature and slows the heating, giving a wide margin. Sugar also raises the setting temperature, which is why very sweet kaya is more forgiving.

Why caramel makes it brown

Heating sugar to about 160–180°C breaks it into hundreds of new compounds, brown and bitter-sweet. Adding caramel to the custard gives Hainanese kaya its colour and toffee depth. The kaya itself never gets hot enough to brown.

Why pandan turns it green

Pandan juice is coloured by chlorophyll and scented by 2-acetyl-1-pyrroline, the compound also found in jasmine rice. It colours and perfumes Nyonya kaya without changing how it sets.

Coconut fat

Coconut milk is roughly a fifth fat. The fat coats the egg proteins, making the custard richer and slightly slower to set than one made with dairy milk. It also carries the coconut aroma.

Why the butter must be cold

Cold butter melts slowly, so each bite has a cool, salty, solid piece against hot toast and sweet kaya. Warm butter soaks into the bread and the contrast is lost.

The kopitiam egg

In kopitiam eggs the white is only partly set and the yolk liquid, because the eggs sit in water that started at boiling but is cooling. The outer white sets only its most sensitive proteins; the yolk stays below the temperature at which it thickens.

Soy and pepper

Dark soy adds salt, umami and a little molasses sweetness; white pepper adds a sharp, musty heat. Both cut through egg yolk, as salt and pepper do on a boiled egg.

Egg proteins thicken
From about 60°C
Curdling
Above about 82–85°C
Caramel
About 160–180°C
Coconut milk fat
About 17–24%
Kopitiam egg
6–7 min in off-boil water
Kaya in fridge
About 1 week
Small cups of kaya on sale at a bakery
Cups of kaya at a Singapore bakery. Without preservatives, it keeps only days.
Freshly grated white coconut
Grated coconut, squeezed to make the coconut milk for kaya.
Kaya toast dipped into soft-boiled eggs with soy
Soft-boiled eggs: white barely set, yolk liquid.