Time: 45 min · Serves: 16 · The key step: bake the crust until deep golden before adding the filling. These lemon squares have a crisp shortbread base and a bright, tangy custard topping that sets firm enough to cut cleanly. They suit potlucks, lunchboxes, or an afternoon snack with coffee.
Ingredients
- For the crust: 1 ½ cups (190 g) all-purpose flour, ½ cup (60 g) powdered sugar, ½ cup (115 g) cold unsalted butter, cubed
- For the filling: 4 large eggs, 1 ½ cups (300 g) granulated sugar, ½ cup (120 ml) fresh lemon juice (about 3 lemons), 2 tbsp (16 g) all-purpose flour, 1 tbsp (8 g) cornstarch, 1 tbsp (15 ml) lemon zest (about 2 lemons)
- For dusting: 2 tbsp (15 g) powdered sugar
Instructions
- Heat the oven to 350°F (175°C). Line a 9×9-inch (23×23 cm) baking pan with parchment paper, leaving overhang on two sides.
- Make the crust: in a medium bowl, whisk together the flour and powdered sugar. Cut in the cold butter with a pastry blender or your fingers until the mixture resembles coarse meal with some pea-sized bits. Press evenly into the bottom of the pan.
- Bake the crust for 18-20 minutes, until the edges are lightly golden and the center is set (not shiny). The crust should be fully baked before adding the filling; a pale crust will turn soggy.
- While the crust bakes, make the filling: in a large bowl, whisk the eggs until frothy. Add the granulated sugar and whisk until thick and pale, about 1 minute. Whisk in the lemon juice, flour, cornstarch, and lemon zest until smooth. The mixture will be thin; that is correct.
- Pour the filling over the hot crust immediately after it comes out of the oven. Return the pan to the oven and bake for 20-25 minutes, until the filling is set around the edges and the center jiggles only slightly when the pan is nudged. The filling should not be liquid; it will firm further as it cools.
- Cool completely in the pan on a wire rack, about 30 minutes. Refrigerate for at least 2 hours before cutting—this makes clean squares. Lift out with the parchment, dust with powdered sugar, and cut into 16 squares.
Doneness Cues
The crust is done when it is deep golden at the edges and the center feels firm to a light touch, about 18-20 minutes. The filling is done when the edges are set and the center wobbles like jelly, not like liquid, after 20-25 minutes. If the center still ripples when you shake the pan, bake 3-4 minutes more. The internal temperature of the egg filling should reach 160°F (71°C) per USDA FSIS safe minimum for egg dishes; check with an instant-read thermometer inserted into the center.
Common Mistakes and Fixes
Soggy Crust
If the crust is underbaked before the filling goes in, the liquid soaks in and the bottom turns soft. Bake the crust until it is fully golden, not just pale, and pour the filling in while the crust is still hot.
Curdled or Weeping Filling
Overbaking causes the eggs to curdle and the top to crack, and the filling may weep liquid. Pull the pan out when the center still has a gentle jiggle. Also, whisk the filling just until combined; over-whisking incorporates air bubbles that create a spongy texture.
Sticky Cuts
Cutting warm squares drags the filling and ruins the edges. Refrigerate the baked pan for at least 2 hours, then wipe the knife clean between cuts. Dust with powdered sugar only after cutting, or the sugar melts into the surface.
Variations
For a lime version, replace the lemon juice and zest with the same amount of lime. For a slightly softer, more custardy texture, reduce the flour in the filling to 1 tbsp (8 g) and keep the cornstarch at 1 tbsp (8 g). To make a gluten-free version, substitute the all-purpose flour in both crust and filling with a 1:1 gluten-free baking flour blend; the crust will be slightly more crumbly.
Storing Leftovers
Store the squares in an airtight container in the refrigerator for up to 4 days. They are best eaten cold or at room temperature within 2 hours of removal from the fridge. To freeze, wrap individual squares in plastic wrap and place in a freezer bag for up to 2 months; thaw in the refrigerator overnight. Do not leave the pan out at room temperature for more than 2 hours total, as the egg filling is perishable.
Making Ahead
These squares keep well for a day, so you can bake them the evening before serving. Keep them refrigerated and dust with powdered sugar just before serving. If you prefer a firmer, more tart bar, increase the lemon juice to ⅔ cup (160 ml) and reduce the sugar to 1 ¼ cups (250 g); this will make the filling slightly more set and tangier.
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).






