Curious Minds

Clear answers to science and history questions

How to Make Custard for Nanaimo Bars

· 5 min read · Science

Making custard for Nanaimo bars is essential for crafting the traditional middle layer that’s smooth, creamy, and rich with a delicate vanilla flavor. This custard layer sits between the chocolate-topped top layer and the coconut-graham crumb base, providing a soft, cool contrast in texture and taste. The custard must be thick enough to set firmly without refrigeration but still melt in your mouth. Achieving this requires careful preparation, the right ingredients, and attention to detail during cooking. Before starting, ensure you have all your equipment ready and ingredients measured—this custard cooks quickly and demands constant stirring.

What You'll Need

  • 2 tablespoons cornstarch
  • 1/4 cup granulated sugar
  • 1/4 teaspoon salt
  • 2 large egg yolks (not whole eggs)
  • 1 1/2 cups whole milk (do not substitute with low-fat or non-dairy unless specified in tips)
  • 2 tablespoons unsalted butter
  • 1 teaspoon pure vanilla extract
  • Medium saucepan (preferably heavy-bottomed)
  • Whisk
  • Measuring cups and spoons
  • Heatproof spatula or wooden spoon
  • Bowl for mixing dry ingredients

Step-by-Step

  1. Combine the cornstarch, sugar, and salt in a small bowl. Whisk them together thoroughly to break up any lumps and ensure even distribution.
  2. In a separate bowl, whisk the two egg yolks until smooth and slightly thickened, about 30 seconds. Set aside.
  3. Pour the milk into the saucepan and place over medium heat. Warm the milk until it’s steaming and just beginning to simmer around the edges—do not let it boil. Stir occasionally to prevent a skin from forming.
  4. Slowly add about 1/4 cup of the hot milk to the egg yolks, whisking constantly to temper them. This prevents the eggs from scrambling when added to the hot mixture.
  5. Gradually add another 1/4 cup of hot milk to the yolks, continuing to whisk. This further tempers the eggs and prepares them for mixing with the rest of the milk.
  6. Reduce the heat under the saucepan to medium-low. Add the cornstarch mixture to the remaining hot milk, whisking constantly to dissolve the starch and prevent clumping.
  7. Whisk in the tempered egg yolk mixture into the saucepan. Stir continuously and thoroughly to combine.
  8. Cook the mixture, stirring constantly with a whisk or heatproof spatula, until it begins to thicken. This usually takes 3 to 5 minutes. The custard is ready when it coats the back of a spoon—draw a line with your finger across the spoon; if the line holds without the liquid running into it, it’s thick enough.
  9. Remove the saucepan from heat. Stir in the butter until fully melted and incorporated. Then mix in the vanilla extract.
  10. Immediately pour the hot custard over the chilled base layer of your Nanaimo bars (already prepared and set in the pan). Use a spatula to spread it evenly across the surface, taking care not to mix it into the base.
  11. Refrigerate the pan for at least 30 minutes, or until the custard layer is completely set and firm to the touch before adding the chocolate topping.

Common Mistakes

  • Not tempering the eggs: Adding raw egg yolks directly to hot milk will cause them to scramble, resulting in a lumpy, curdled custard.
  • Boiling the custard: Once the mixture is on the stove, boiling will cause the custard to break or curdle. Keep heat at medium-low after adding the eggs.
  • Under-stirring: Failing to whisk constantly leads to lumps, especially when adding cornstarch. Stir from the bottom and sides of the pan.
  • Using low-fat milk: Whole milk is essential for richness and proper setting. Skim or low-fat milk results in a thin, weak custard.
  • Adding butter or vanilla too early: These should only be incorporated after removing from heat to preserve flavor and texture.

Tips

  • Use real vanilla extract for the best flavor—imitation vanilla lacks depth.
  • For a richer custard, substitute 1/2 cup of milk with heavy cream.
  • If you’re in a hurry, chill the custard layer in the freezer for 15–20 minutes, but watch closely to avoid freezing the edges.
  • Ensure your base layer is fully chilled before adding custard—this helps the custard set evenly.
  • Always strain the custard through a fine-mesh sieve if you suspect any lumps formed during cooking.
  • Double-check that your cornstarch isn’t expired; old starch loses thickening power.

Troubleshooting

  • Custard is too thin: It may not have cooked long enough or the cornstarch was old. Return to low heat and cook, stirring constantly, for another 1–2 minutes. If still thin, mix 1 teaspoon cornstarch with 1 tablespoon cold milk, then whisk into the hot custard and cook briefly.
  • Custard is lumpy: Strain immediately through a fine sieve while still hot. Press with a spatula to smooth out.
  • Custard curdled: This usually happens from excessive heat or not tempering eggs. Unfortunately, it can’t be fully salvaged—start over, but you can use the broken custard as a sauce if strained and blended.
  • Custard didn’t set: Likely due to incorrect ratios, expired cornstarch, or too much liquid. Ensure you followed the recipe exactly and use fresh ingredients.
  • Layer cracked after setting: This can happen if the custard was poured too hot over a cold base. Let the base warm slightly at room temperature for 2–3 minutes before pouring, or ensure the custard isn’t scalding hot.

Frequently Asked Questions

  • Can I make the custard ahead of time? Yes, prepare it up to one day in advance. Store covered in the fridge and gently reheat over low heat, stirring, before using.
  • Can I use corn syrup instead of sugar? No—this recipe relies on granulated sugar for proper texture and thickening. Substitutes alter consistency.
  • Why use only egg yolks? Yolks provide richness and emulsifying power without the water content of whites, which can weaken the set.
  • Can I make this custard without eggs? Traditional Nanaimo bar custard requires eggs. Egg-free versions exist but use alternative stabilizers and won’t taste authentic.
  • My custard tastes starchy—what went wrong? Either too much cornstarch was used or it wasn’t cooked long enough. Always cook until thick and glossy, which removes the raw starch flavor.
  • Can I double the recipe? Yes, but use a larger saucepan and increase stirring time slightly. Do not overcrowd the pan.
In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions