Food

How to Make Coconut Custard Filling (No Lumps)

By Hayride Live · Updated · 3 min read

The most common way coconut custard filling goes wrong is curdling or turning watery, which happens when the eggs cook too fast or the mixture isn’t stirred enough. The fix is a gentle double-boiler method with constant stirring and a thickener like cornstarch. This gives you a smooth, set filling that holds its shape in cakes, tarts, and cream puffs.

Fast Stovetop Method

This is the quickest way to get a cooked custard, and it works well if you keep the heat low and stir constantly. It takes about 10 minutes of active cooking.

  1. In a medium saucepan, whisk together 1 cup (200 g) granulated sugar, 3 tbsp (24 g) cornstarch, and ¼ tsp salt.
  2. Whisk in 2 cups (480 ml) whole milk and 1 cup (240 ml) canned coconut milk (full-fat, not light).
  3. Place over medium heat and cook, stirring constantly with a whisk or silicone spatula, until the mixture thickens and just begins to bubble, about 6–8 minutes. It should coat the back of a spoon.
  4. In a small bowl, lightly beat 3 large egg yolks. Slowly drizzle about 1 cup of the hot milk mixture into the yolks while whisking, to temper them.
  5. Pour the yolk mixture back into the saucepan, whisking continuously. Return to medium-low heat and cook for 2–3 minutes more, until the custard is thick and steamy, but not boiling. It should reach 160°F (71°C) on a food thermometer (USDA FSIS safe minimum for egg dishes).
  6. Remove from heat and stir in 1 tsp vanilla extract and 1 cup (85 g) sweetened shredded coconut (toast it first for more flavor, if you like).
  7. Press plastic wrap directly onto the surface to prevent a skin, and cool to room temperature before using. Refrigerate if not using within 2 hours.

Thorough Double-Boiler Method

Use this when you want the most foolproof result, especially if you’re making a large batch or are nervous about curdling. The double boiler gives you more control over the heat.

  1. Set up a double boiler: fill a saucepan with 1–2 inches of water and bring to a simmer over medium heat. Place a heatproof bowl on top, making sure the bottom doesn’t touch the water.
  2. In the bowl, whisk together 1 cup (200 g) sugar, 3 tbsp (24 g) cornstarch, and ¼ tsp salt. Whisk in 2 cups (480 ml) whole milk and 1 cup (240 ml) coconut milk.
  3. Cook over the simmering water, stirring constantly, until the mixture thickens and reaches 160°F (71°C), about 10–12 minutes. The steam will cook it gently, so you have more leeway.
  4. Temper the 3 beaten egg yolks with about 1 cup of the hot mixture, then stir the yolks back into the bowl. Cook for 3–4 minutes more, stirring, until very thick and smooth.
  5. Stir in 1 tsp vanilla and 1 cup (85 g) shredded coconut. Remove from heat and press plastic wrap on the surface.
  6. Cool completely before using. It will thicken more as it cools.

When to Use Each

The stovetop method is fine for everyday pies and tarts where you’re filling a pre-baked shell and serving within a day. The double-boiler method is better when you need a sturdier filling for layer cakes or pastries that will sit for a while, or when you’re making a double batch and want extra insurance against curdling. Both methods produce the same texture; the double boiler just reduces the risk of scorching.

How to Tell It Worked

A properly cooked coconut custard filling should be thick enough to hold a line when you run a finger across the back of a spoon. It should be smooth and glossy, with no scrambled egg bits. If it looks curdled, you likely cooked it too fast or didn’t stir enough—you can sometimes rescue it by whisking in a few tablespoons of cold milk, but it may not set as firmly.

Fixing Common Problems

If your custard is too thin, it probably didn’t cook long enough. Return it to the heat and cook for 2–3 more minutes, stirring, until it thickens. If it’s too thick, whisk in a little warm milk, a tablespoon at a time, until it loosens. If it has lumps, push it through a fine-mesh strainer before adding the coconut. If it’s watery after chilling, you might have used light coconut milk—full-fat gives a richer, more stable set.

Storage and Make-Ahead

Store the filling in an airtight container in the refrigerator for up to 4 days. Press plastic wrap on the surface to keep it from forming a skin. You can freeze it for up to 1 month, but thaw in the refrigerator and whisk well before using—the texture may soften slightly. Always refrigerate any dessert with this filling within 2 hours of serving.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.