Flaky pastry layers and silky vanilla custard come together in this irresistible bakery-style dessert. Once you try this homemade custard square, you will never look at store-bought slices the same way.
In a bowl, combine flour and salt. Add cold butter cubes and mix lightly.Add water and lemon juice and mix until dough forms.Roll the dough into a rectangle and fold into thirds. Repeat the rolling and folding process several times.Chill the dough if it becomes soft during folding.Divide dough into two portions and roll each into a thin rectangle.Place pastry sheets on baking trays and prick with a fork.Bake at 400°F (200°C) for 18–20 minutes until golden.Warm milk in a saucepan.Whisk egg yolks, sugar, cornstarch, and salt in a bowl.Slowly add warm milk while whisking.Return mixture to the saucepan and cook while whisking until thick.Stir in butter and vanilla extract.Place one baked pastry sheet in a lined pan.Spread custard evenly over the pastry layer.Place the second pastry sheet on top.Chill in the refrigerator for at least 3 hours.Dust with powdered sugar and slice into squares before serving.