These bars combine a buttery shortbread base with a bright, tangy lemon custard and a sweet powdered sugar glaze. The method uses a two-stage bake to ensure the crust stays crisp while the lemon filling sets into a smooth, creamy texture, making them a great choice for a brunch spread or a tea-time treat.
Select Your Pan and Prep Your Tools
A 9x9 inch (23x23 cm) square baking pan is the standard size for this recipe to ensure the bars are about 1 inch (2.5 cm) thick. If you only have an 8x8 inch (20x20 cm) pan, the bars will be thicker and may require an additional 5-8 minutes of baking time to set the center. For a 13x9 inch (33x23 cm) pan, you must double the entire recipe to avoid the batter spreading too thin and burning.
Line the pan with parchment paper, leaving an overhang on two opposite sides. This allows you to lift the entire block of bars out of the pan once cooled, which is necessary for getting clean, straight edges when slicing. Greasing the pan with butter alone often leads to the shortbread sticking to the corners, making the bars crumble during removal.
You will need a medium mixing bowl for the crust and a larger bowl or a stand mixer for the lemon filling. A whisk is essential for removing lumps from the lemon custard, and a fine-mesh sieve is helpful for the powdered sugar glaze to ensure there are no clumps. Use a digital kitchen scale for the most accurate measurements, as flour and powdered sugar can pack down in measuring cups.
Swap Ingredients to Change the Flavor
You can substitute the lemon juice with lime juice in a 1:1 ratio to create lime poppy seed bars. The flavor profile remains similar, though lime is slightly more acidic and floral. If you prefer a more intense citrus punch, replace 1 tablespoon (15 ml) of the lemon juice with 1 tablespoon (15 ml) of fresh lemon zest; this adds the aromatic oils of the peel without adding extra liquid that could make the filling runny.
For the poppy seeds, you can use chia seeds in a 1:1 ratio. Chia seeds provide a similar crunch and visual appeal, though they may absorb slightly more moisture from the batter. If you want a nuttier base, replace 1/4 cup (30 g) of the all-purpose flour in the crust with almond flour. This will make the crust more tender and crumbly, though it will be less structurally sound than the all-purpose version.
If you need to substitute the butter, unsalted butter is preferred so you can control the salt levels. Salted butter can be used, but you should reduce the added salt in the recipe by about 1/4 teaspoon (1.5 g). For a dairy-free option, a firm plant-based butter stick can be used at a 1:1 ratio, but be aware that the crust may brown faster and have a softer texture.
Serves 16 · Prep 20 min · Cook 45 min · Total 3 hr 5 min
Ingredients
- For the Crust:
- 1/2 cup (115 g) unsalted butter, softened
- 1/4 cup (50 g) powdered sugar
- 1 1/4 cups (155 g) all-purpose flour
- 1/4 teaspoon (1.5 g) salt
- For the Lemon Filling:
- 1 cup (200 g) granulated sugar
- 2 tablespoons (16 g) all-purpose flour
- 1 tablespoon (9 g) poppy seeds
- 3 large eggs (approx. 150 g without shells)
- 1/2 cup (120 ml) fresh lemon juice
- 1 tablespoon (6 g) lemon zest
- 2 tablespoons (28 g) unsalted butter, melted
- For the Glaze:
- 1 cup (120 g) powdered sugar
- 1 to 2 tablespoons (15-30 ml) lemon juice
- 1/2 teaspoon (2.5 ml) vanilla extract
Instructions
- Preheat your oven to 350°F (175°C). Line a 9x9 inch (23x23 cm) pan with parchment paper as described above.
- In a medium bowl, cream together the 1/2 cup (115 g) softened butter and 1/4 cup (50 g) powdered sugar until smooth. Stir in 1 1/4 cups (155 g) all-purpose flour and 1/4 teaspoon (1.5 g) salt. Mix until a soft dough forms. Note: Raw flour contains bacteria; do not taste the raw dough.
- Press the dough evenly into the bottom of the prepared pan. Use the bottom of a measuring cup to flatten it firmly.
- Bake the crust for 15-18 minutes, or until the edges are barely golden. Remove from the oven and set aside.
- While the crust bakes, whisk together 1 cup (200 g) granulated sugar, 2 tablespoons (16 g) flour, and 1 tablespoon (9 g) poppy seeds in a large bowl.
- Add the 3 eggs, 1/2 cup (120 ml) lemon juice, and 1 tablespoon (6 g) lemon zest. Whisk until the mixture is completely smooth and no flour streaks remain. Stir in the 2 tablespoons (28 g) of melted butter.
- Pour the lemon filling over the hot baked crust.
- Bake for another 22-27 minutes. The bars are done when the edges are set and the center has a slight jiggle but does not look liquid. To ensure food safety, the egg-based filling should reach a safe minimum internal temperature of 160°F (71°C) according to USDA FSIS guidelines, checked with a food thermometer in the center.
- Remove from the oven and cool completely in the pan on a wire rack for about 2 hours. This cooling period is critical for the custard to set.
- Whisk together 1 cup (120 g) powdered sugar, 1 tablespoon (15 ml) lemon juice, and 1/2 teaspoon (2.5 ml) vanilla. If the glaze is too thick to pour, add the second tablespoon of lemon juice one teaspoon at a time.
- Drizzle the glaze over the cooled bars. Let the glaze set for 30 minutes before lifting the bars out of the pan using the parchment paper.
- Cut into 16 squares using a sharp knife, wiping the blade between cuts for clean edges.
Fix the Filling When It Goes Wrong
If the bars come out too runny or the center feels like a liquid pudding, they were likely pulled from the oven too early. You can return them to the oven at 325°F (160°C) for 5-10 minutes, but only if they are still warm. If they have already cooled, you cannot re-bake them without overcooking the crust. The best fix for runny bars is to refrigerate them for an additional 4 hours; the butter and eggs will firm up, creating a denser, fudge-like consistency.
Too-dense or rubbery bars usually result from over-mixing the eggs. When you whisk the filling, stop as soon as the ingredients are combined. Beating the eggs too vigorously incorporates too much air, which causes the bars to puff up in the oven and then collapse into a dense, rubbery layer. If this happens, the flavor remains the same, but the texture is less creamy. Serve them chilled to mask the density.
If the top of the bars is cracked, the oven temperature was likely too high, causing the edges to set and the center to rise and split. To prevent this, ensure your oven is properly calibrated with an oven thermometer. If cracks occur, the glaze is your best tool; pour the glaze generously over the cracks to seal the surface and provide a uniform look.
Dry bars occur when the crust is overbaked or the filling is left in too long. If the crust is hard, it is usually because the butter was too soft or the flour was over-measured. Use the "spoon and level" method for flour or a scale. If the filling is dry, it means the eggs have over-coagulated. To fix this in future batches, check the internal temperature and remove the pan the moment it hits 160°F (71°C).
Keep the Bars Fresh
Because these bars contain eggs and dairy, they must be refrigerated within 2 hours of coming out of the oven. Store the bars in an airtight container with parchment paper between layers to prevent the glaze from sticking to the bars above. They will keep in the refrigerator for 3-4 days.
For longer storage, these bars can be frozen for up to 3 months. Freeze them in a single layer on a baking sheet for 1 hour before transferring them to a freezer-safe container or wrapping them individually in plastic wrap and foil. This prevents them from freezing together in one large block.
To thaw, move the bars from the freezer to the refrigerator overnight. If you need to reheat a bar, use a microwave on low power for 10-15 seconds, though they are typically enjoyed cold or at room temperature. Always reheat leftovers to 165°F (74°C) if you are concerned about food safety, although for a dessert bar, a slight warm-up is usually sufficient. Never reheat these bars in a slow cooker.