When the pan gets a gentle nudge, the lemon filling should be set at the edges but still have a faint wobble in the center. That small bit of movement is easy to mistake for underbaking, but it’s the cue I watch for with these lemon bars. The filling finishes setting as the pan cools, while the shortbread crust stays firm enough to lift and cut.
I make the crust with melted butter, which brings the dough together quickly without needing a mixer. The filling gets a little flour, too; it helps the eggs and lemon juice bake into a sliceable layer instead of a soft puddle. Once the bars have cooled and had time in the refrigerator, you get a clean contrast: a tender, buttery base under a bright lemon center.

Kitchen Note
Pour the filling over the crust while the crust is still hot. Have the filling whisked and ready before the crust comes out, so it can go straight into the pan without an unnecessary pause.
Save these lemon bars with shortbread crust for a batch with a buttery base and a bright, softly set lemon center.
The Little Bit of Flour That Keeps Lemon Filling Sliceable
Lemon juice and eggs make a tender custard, but they need a little help holding a neat edge once the bars are cut. The flour whisked into the sugar gives the filling more structure as it bakes. It’s a small addition, and it keeps the center from behaving like a loose lemon custard when you lift out a piece.
Whisk the flour thoroughly into the granulated sugar before adding the eggs. That distributes it through the dry mixture and makes it easier to whisk the eggs in smoothly, rather than chasing small flour pockets around the bowl. The finished filling should look even and fluid before it goes into the pan, without visible streaks of flour or egg.
There’s a useful balance in the bake: the edges need to look set, while the center can still move slightly when you nudge the pan. Waiting for the middle to become completely firm in the oven risks taking the bars past that tender texture. Cooling and chilling do the rest of the setting, so judge the bake by the gentle wobble—not by expecting a rigid center straight from the oven.
Why Fresh Lemon and Melted Butter Matter in These Bars

- Fresh lemon juice and finely grated zest — They supply both the filling’s sharp citrus taste and its fragrant lemon aroma. Fresh juice matters here, and the zest adds a concentrated citrus note that juice alone can’t fully provide. Grate the zest finely so it disperses through the filling instead of leaving large strips.
- Unsalted butter — Melted butter binds the shortbread dough and gives the crust its rich, tender bite. Unsalted butter keeps the salt level predictable; let it cool slightly before stirring it into the dry ingredients so it’s no longer hot.
- All-purpose flour, divided between crust and filling — Flour gives the crust enough body to press into an even layer, while the portion in the filling helps it set. Use the flour in its designated portions; putting all of it into one part changes the balance of both layers. An everyday, inexpensive all-purpose flour works well.
- Confectioners’ sugar and granulated sugar — Confectioners’ sugar blends smoothly into the crust and helps keep its texture tender. Granulated sugar sweetens the lemon filling and is whisked with the filling flour first, so it’s worth keeping the two sugars in their separate roles.
- Large eggs and kosher salt — Eggs give the lemon layer its custardy structure, so use large eggs for the intended balance. The kosher salt seasons the crust and keeps the buttery base from tasting flat; there isn’t a need to add extra salt elsewhere.
Building the Crust and Catching the Filling at the Right Jiggle
Press an Even Layer of Shortbread Dough
Heat the oven to 350°F and line a 9×13-inch metal pan with parchment, leaving an overhang on the long sides, then lightly grease the parchment. Whisk the crust flour with the confectioners’ sugar and salt before stirring in the melted, slightly cooled butter. Stop when a soft dough forms; it should hold together when pressed, not look like a dry pile of crumbs. Press it evenly into the pan so one end doesn’t bake thinner than the other.
Bake Until the Edges Turn Lightly Golden
Bake the crust for 18 to 20 minutes. Look for lightly golden edges rather than waiting for the whole surface to become deeply browned. The crust will bake again beneath the filling, so a pale center at this stage is expected. Keep the next component ready, since the filling goes onto the hot crust.
Whisk a Smooth Lemon Filling
Whisk the granulated sugar and the remaining flour together in a medium bowl first. Add the eggs and whisk until the mixture is smooth, then whisk in the lemon juice and finely grated zest. If you see pale flour streaks or small clumps, keep whisking before pouring; an even mixture gives the bars a consistent texture. Pour it over the hot crust.
Let the Center Keep a Slight Wobble
Bake for 22 to 26 minutes, until the edges of the filling look set and the center barely jiggles when you gently nudge the pan. A loose ripple across the whole surface means it needs more time; a slight movement in the middle is the cue to stop baking. Cool the pan completely, then refrigerate the bars for at least 2 hours. Use the parchment overhang to lift them out before cutting.
Two Ways to Cut the Same Pan of Lemon Bars
Small lemon bites for a dessert tray
After chilling and lifting the slab from the pan, cut the bars into smaller squares instead of 16 full portions. The recipe stays the same, but the smaller format makes each piece easier to pick up and gives you more pieces to arrange on a tray.
Slim bars with a longer shape
Cut the chilled slab into narrow rectangles rather than square pieces. This changes the shape, not the balance of crust and lemon filling, and it makes a tidy hand-held portion. Keep the cuts in the same direction so the pieces lift cleanly from the parchment.
Storage and Reheating
- Refrigerator: Store the bars in an airtight container for up to 4 days. The crust softens a little as it sits, but the lemon layer stays set.
- Freezer: Freeze cut bars in a single layer until firm, then transfer them to an airtight freezer container with parchment between layers. Thaw in the refrigerator before serving.
- Reheating: These bars are best cold or chilled, so don’t reheat them; warming can soften the filling and crust.
Questions That Come Up While Baking Lemon Bars

Lemon Bars with Shortbread Crust
Ingredients
Equipment
Method
- Heat the oven to 350°F.
- Line a 9x13-inch metal baking pan with parchment paper, leaving an overhang on the long sides, and lightly grease the parchment.
- Whisk 2 cups of the flour with the confectioners' sugar and salt.
- Stir in the melted butter until a soft dough forms.
- Press the dough evenly into the prepared pan.
- Bake for 18 to 20 minutes, until the edges are lightly golden.
- Whisk the granulated sugar with the remaining 1/4 cup flour in a medium bowl.
- Whisk in the eggs until smooth.
- Whisk in the lemon juice and zest.
- Pour the filling over the hot crust.
- Bake for 22 to 26 minutes, until the filling is set around the edges and the center barely jiggles when the pan is gently nudged.
- Cool completely in the pan.
- Refrigerate for at least 2 hours.
- Lift the bars out with the parchment and cut into bars.