
Ingredients
Vanilla Custard Filling:
2 cups (480 ml) whole milk
4 large egg yolks
1/2 cup (100 g) granulated sugar
3 tbsp cornstarch
2 tbsp unsalted butter
1 1/2 tsp vanilla extract
Cake Base & Top:
1 1/2 cups (180 g) all-purpose flour
1 tsp baking powder
1/4 tsp salt
1/2 cup (115 g) unsalted butter, softened
3/4 cup (150 g) granulated sugar
2 large eggs (room temperature)
1/2 cup (120 ml) milk
Powdered sugar (for dusting)
Instructions
1. Make the Custard Filling:
In a saucepan, heat 2 cups milk over medium heat until warm.
Whisk egg yolks, 1/2 cup sugar, and cornstarch in a bowl until pale and smooth.
Slowly whisk half the warm milk into the yolk mixture to temper, then pour everything back into the saucepan.
Whisk constantly over medium heat until the mixture thickens into a thick pudding.
Remove from heat, stir in 2 tbsp butter and vanilla extract. Transfer to a bowl, cover with plastic wrap touching the surface, and let cool.
2. Prepare the Cake Batter:
Preheat oven to 350°F (175°C) and line an 8×8-inch or 9×9-inch baking dish with parchment paper.
Whisk flour, baking powder, and salt together in a bowl.
In a separate bowl, beat softened butter and 3/4 cup sugar until light and fluffy. Beat in eggs one at a time.
Alternate adding flour mixture and 1/2 cup milk into the butter mixture, beginning and ending with dry ingredients.
3. Layer and Bake:
Spread half of the cake batter evenly over the bottom of the prepared pan.
Carefully spoon and spread the cooled custard over the batter layer, leaving a small border at the edges.
Gently dollop and smooth the remaining cake batter over the custard layer.
Bake for 35–40 minutes until golden on top and a toothpick inserted into the edge comes out clean.
4. Cool & Serve:
Allow the cake to cool completely in the pan, then chill in the refrigerator for at least 2 hours so the custard sets properly.
Slice into square bars and dust generously with powdered sugar before serving.