These vanilla chocolate raspberry bars are a triple-layer treat: a buttery shortbread crust, a smooth vanilla custard filling, and a glossy chocolate-raspberry topping. The combination of tangy raspberries and rich chocolate balanced by sweet vanilla makes them perfect for parties, bake sales, or a special dessert at home. They’re easier than they look—no special equipment needed—and the layers set beautifully for clean slicing.
Ingredients
- For the crust: 1 ½ cups (190g) all-purpose flour, ½ cup (100g) granulated sugar, ½ teaspoon salt, ¾ cup (170g) unsalted butter, cold and cut into small cubes
- For the vanilla filling: 2 large eggs, ¾ cup (150g) granulated sugar, 2 tablespoons all-purpose flour, 1 teaspoon vanilla extract, ½ cup (120ml) whole milk, 2 tablespoons unsalted butter, melted
- For the topping: 1 cup (170g) semisweet chocolate chips, ½ cup (120ml) heavy cream, 1 cup (125g) fresh or frozen raspberries (if frozen, thaw and pat dry)
Instructions
- Preheat your oven to 350°F (175°C). Line an 8-inch square baking pan with parchment paper, leaving overhang on two sides for easy lifting.
- Make the crust: 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 crumbs. Press evenly into the bottom of the prepared pan. Bake for 15 minutes, until lightly golden. Set aside to cool slightly while you make the filling.
- Make the filling: In a medium bowl, whisk the eggs and sugar until pale and slightly thickened. Whisk in the flour and vanilla until smooth. Gradually whisk in the milk and melted butter until fully combined.
- Pour the filling over the warm crust. Return to the oven and bake for 20–25 minutes, until the filling is set around the edges but still slightly jiggly in the center. The internal temperature should reach 160°F (71°C) if you check with an instant-read thermometer. Remove and let cool completely on a wire rack.
- Make the topping: Place the chocolate chips in a heatproof bowl. Heat the cream in a small saucepan until it just begins to simmer (not boiling). Pour the hot cream over the chocolate and let stand for 2 minutes, then stir until smooth and glossy.
- Gently fold the raspberries into the chocolate mixture, being careful not to crush them too much. Pour the topping over the cooled vanilla layer, spreading evenly.
- Refrigerate the bars for at least 2 hours, or until the topping is firm. Once set, use the parchment overhang to lift the whole block out of the pan. Slice into 16 squares with a sharp knife, wiping the blade between cuts for clean edges.
Tips
- Use cold butter for the crust: Cold butter creates a flaky, tender shortbread. If the butter warms up, the crust can become tough. If needed, chill the crust in the fridge for 10 minutes before baking.
- Don’t overmix the filling: Overwhisking incorporates too much air, which can cause the filling to puff and crack as it bakes. Mix just until smooth.
- Pat raspberries dry: If using frozen raspberries, excess moisture can make the chocolate topping seize or become runny. Thaw them first and blot with paper towels.
- Chill before slicing: The bars need at least 2 hours in the fridge to set properly. For the cleanest cuts, chill for 4 hours or overnight.
Serving Suggestions
Serve these bars chilled or at room temperature. They pair beautifully with a scoop of vanilla ice cream or a dollop of whipped cream. For a festive touch, dust with powdered sugar just before serving. They’re also great with coffee or tea as an afternoon treat.
Variations
- White chocolate version: Swap the semisweet chocolate for white chocolate chips and add an extra ¼ teaspoon vanilla extract to the filling for a sweeter, creamier contrast.
- Nutty twist: Add ½ cup chopped pecans or walnuts to the crust mixture before pressing into the pan.
- Lemon-raspberry: Replace the vanilla extract in the filling with 1 tablespoon fresh lemon zest and 1 tablespoon lemon juice. Omit the chocolate topping and simply spread a thin layer of raspberry jam over the cooled filling.
- Gluten-free: Use a 1:1 gluten-free all-purpose flour blend in both the crust and filling.
Storage and Reheating
Store the bars in an airtight container in the refrigerator for up to 5 days. They can be served cold or brought to room temperature for about 20 minutes before serving. To freeze, wrap the whole block (or individual bars) tightly in plastic wrap and then foil; freeze for up to 3 months. Thaw overnight in the fridge before slicing. These bars are best enjoyed cold—reheating is not recommended, as the chocolate topping may melt and the custard may become rubbery.
Frequently Asked Questions
Can I use raspberry jam instead of fresh raspberries?
Yes, you can substitute ⅓ cup seedless raspberry jam for the fresh raspberries. Warm the jam slightly so it stirs easily into the chocolate topping, then proceed as directed. The texture will be smoother and less tart.
Why did my filling crack on top?
Cracking usually happens if the filling is overbaked or if the oven temperature is too high. Bake just until the edges are set and the center is slightly jiggly—it will finish setting as it cools. Also, avoid opening the oven door frequently during baking.
Can I make these bars dairy-free?
Yes, use a plant-based butter substitute (like vegan butter sticks) and replace the milk with unsweetened almond or oat milk. For the topping, use dairy-free chocolate chips and canned coconut cream instead of heavy cream. The texture will be slightly different but still delicious.
How do I get clean, neat slices?
Use a sharp chef’s knife and wipe it clean with a damp paper towel between each cut. For extra clean edges, chill the bars for at least 4 hours or overnight before slicing. You can also dip the knife in hot water and dry it before cutting.
Can I use a 9x13-inch pan instead?
Yes, double all the ingredients and use a 9x13-inch pan. The baking time for the crust will be similar, but the filling may need an extra 5–7 minutes. Check for doneness with the same jiggle test.
Is it safe to eat the bars if the filling is slightly undercooked?
The filling contains eggs, so it must reach an internal temperature of 160°F (71°C) to be safe. If you’re unsure, insert an instant-read thermometer in the center. If it hasn’t reached 160°F, return to the oven for a few more minutes.