The Feast

Home cooking recipes for everyday dinners and easy entertaining

Chocolate Custard Bars: Easy Recipe

· 6 min read · Baking and Desserts

Chocolate custard bars are a rich, silky dessert that combines a buttery shortbread crust with a smooth, chocolatey custard topping. This recipe works because it uses a simple stovetop custard method that sets firmly enough to slice cleanly, yet stays creamy on the palate. The contrast between the crisp crust and the velvety custard makes these bars a crowd-pleasing treat for potlucks, bake sales, or a weekend baking project.

Ingredients

  • For the crust:
    • 1 ½ cups (190 g) all-purpose flour
    • ½ cup (100 g) granulated sugar
    • ½ teaspoon salt
    • ¾ cup (170 g) unsalted butter, cold and cut into small cubes
  • For the custard:
    • 2 cups (480 ml) whole milk
    • ½ cup (120 ml) heavy cream
    • ¾ cup (150 g) granulated sugar
    • ¼ cup (25 g) unsweetened cocoa powder (natural or Dutch-processed)
    • 4 large egg yolks
    • 3 tablespoons (24 g) cornstarch
    • ¼ teaspoon salt
    • 6 oz (170 g) semisweet or bittersweet chocolate, finely chopped
    • 2 teaspoons vanilla extract
    • 2 tablespoons (30 g) unsalted butter, softened

Instructions

  1. Make the crust: Preheat your oven to 350°F (175°C). Line a 9x9-inch baking pan with parchment paper, leaving overhang on two sides for easy lifting. In a medium bowl, whisk together flour, sugar, and salt. Cut in the cold butter using a pastry blender or your fingertips until the mixture resembles coarse meal with some pea-sized butter bits. Press the mixture evenly into the bottom of the prepared pan. Bake for 18–20 minutes, until lightly golden. Set aside to cool slightly while you prepare the custard.
  2. Heat the milk and cream: In a medium saucepan, combine the milk, heavy cream, and half of the sugar (about 6 tablespoons). Heat over medium heat until steaming and small bubbles appear around the edges—do not boil. Remove from heat.
  3. Mix the dry ingredients and yolks: In a separate bowl, whisk together the remaining sugar, cocoa powder, cornstarch, and salt. Add the egg yolks and whisk until smooth and paste-like. The mixture will be thick.
  4. Temper the egg mixture: Slowly pour about ½ cup of the hot milk mixture into the yolk mixture while whisking constantly. Then pour the tempered yolk mixture back into the saucepan with the remaining hot milk, whisking continuously.
  5. Cook the custard: Place the saucepan over medium heat and cook, whisking constantly, until the mixture thickens and comes to a gentle boil. Boil for 1 minute while whisking—this ensures the cornstarch is fully cooked and the custard won’t taste starchy. The custard should be thick enough to coat the back of a spoon.
  6. Add chocolate and butter: Remove from heat and immediately add the chopped chocolate, vanilla, and softened butter. Stir until completely melted and smooth. If the custard is lumpy, you can strain it through a fine-mesh sieve for extra silkiness.
  7. Assemble and chill: Pour the hot custard over the baked crust, spreading it evenly with a spatula. Tap the pan gently on the counter to release any air bubbles. Let cool to room temperature, then cover and refrigerate for at least 4 hours, or until fully set (overnight is best).
  8. Slice and serve: Once chilled and firm, lift the bars out using the parchment overhang. Use a sharp knife to cut into squares, wiping the blade clean between cuts for neat edges. Serve cold.

Tips

  • Use a kitchen scale for the crust: Measuring flour by weight ensures a crisp, not tough, crust. If using cups, spoon the flour into the cup and level it off—do not scoop directly, as that packs in extra flour.
  • Don’t skip the boil: The custard must reach a gentle boil for 1 minute to activate the cornstarch and ensure it sets properly. Under-boiling can result in a runny custard that never firms up.
  • Chill fully before slicing: Rushing the chilling time will cause the bars to be soft and messy. For clean cuts, chill at least 4 hours, and ideally overnight.
  • Substitute milk alternatives: You can replace whole milk with oat milk or almond milk, but the custard may be slightly less rich. Use a full-fat version for best results, and avoid low-fat milks as they can make the custard watery.

Serving Suggestions

Serve these bars chilled, straight from the fridge. For a more indulgent presentation, dust the tops with cocoa powder or powdered sugar just before serving. They pair beautifully with a dollop of whipped cream, a scoop of vanilla ice cream, or a drizzle of raspberry sauce. They also make a great lunchbox treat or a dessert for a dinner party—cut them into small squares for a bite-sized option.

Variations

  • Mocha custard bars: Add 1 tablespoon of instant espresso powder to the milk mixture before heating for a coffee-chocolate twist.
  • Orange chocolate: Stir in 1 teaspoon of orange zest with the vanilla for a citrusy note.
  • Peanut butter swirl: After pouring the custard over the crust, drop small spoonfuls of peanut butter on top and swirl with a knife.
  • Gluten-free crust: Replace the all-purpose flour with a 1-to-1 gluten-free baking flour blend. No other changes needed.

Storage and Reheating

Store the bars in an airtight container in the refrigerator for up to 4 days. They are best served cold, so no reheating is needed. If you prefer a softer texture, let them sit at room temperature for 10 minutes before serving. You can also freeze the bars for up to 2 months: wrap them tightly in plastic wrap and then foil. Thaw in the refrigerator overnight before serving. Do not microwave the bars, as the custard will become runny and the crust soggy.

Frequently Asked Questions

Can I use milk chocolate instead of semisweet?

Yes, but the bars will be sweeter and less intensely chocolatey. If you use milk chocolate, consider reducing the sugar in the custard by 2 tablespoons to balance the sweetness.

Why is my custard lumpy?

Lumps usually happen when the hot milk is added too quickly to the egg mixture, causing the eggs to scramble. Always temper slowly while whisking constantly. If lumps form, you can strain the custard through a fine-mesh sieve before pouring it over the crust.

Can I make this recipe without heavy cream?

Yes, you can replace the heavy cream with an equal amount of whole milk. The custard will be slightly less rich, but it will still set properly. Avoid using skim milk, as it may result in a thinner custard.

How do I know when the custard is thick enough?

The custard should coat the back of a spoon and hold a line when you run your finger through it. It will also bubble gently when it reaches the boiling point. After boiling for 1 minute, it will thicken further as it cools.

Can I use a different pan size?

Yes, you can use a 9x13-inch pan for thinner bars, but you’ll need to reduce the baking time for the crust to about 15 minutes and the custard will set faster. Alternatively, double the recipe for a 9x13-inch pan if you want thicker bars. Adjust the crust baking time to 25–30 minutes.

Do these bars need to be refrigerated?

Yes, because they contain dairy and eggs. Keep them refrigerated at all times, and do not leave them out at room temperature for more than 2 hours total.

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions