Table of Contents
Warm from the oven, these classic lemon bars hit every sense: a buttery shortbread crust that shatters gently beneath your fork, topped with a gleaming layer of tangy lemon custard that carries floral citrus aroma through every bite. The lemon filling sets just firm enough for truly sharp, clean squares yet remains silky and bright, each wedge dusted with a gentle snowfall of powdered sugar for that extra touch.
For this recipe, I pair a firm, melt-in-your-mouth shortbread with a boldly tart, classic lemon custard filling that’s achingly simple, fresh juice, zest, eggs, and just the right amount of sugar for balance without muting the citrus. Prebaking the crust is the key: it stays golden and crisp, supporting the luscious filling instead of turning soggy. I know I’ve nailed it when the filling jiggles slightly in the center and then slices up perfectly clean after chilling.

Why This Recipe Frickin’ Works
- Prebaking the shortbread crust builds a sturdy, crisp foundation that resists sogginess under the wet lemon filling.
- A precise ratio of lemon juice to sugar ensures the bars lean pleasingly tart, letting true citrus flavor star without being overly sweet.
- A quick whisk by hand, and not over-mixing, prevents air bubbles in the filling, yielding an ultra-smooth custard that sets clean.
- Shocking the bars onto a rack after baking helps prevent overbaking, the residual heat carries the filling to a just-set finish for clean edges.
- Generous chilling guarantees sharp, neat slices and the ideal set for both the top and crust below.
Ingredient Notes for Classic Lemon Bars with a Buttery Shortbread Crust
- Unsalted butter: Forms the foundation of the shortbread and keeps the crust rich and tender. Use high-quality European-style butter for best flavor and texture.
- Granulated sugar: Brings subtle sweetness to the crust and balances the tartness of the filling without making it candy-sweet. The granules also help achieve a tender crumb in the base.
- All-purpose flour: Provides just enough structure for the shortbread to hold up under the custard while still crumbling gently at the bite.
- Fine sea salt: Lifts and intensifies both crust and lemon flavors. Don’t skip it, lack of salt can leave the bars flat.
- Eggs: Supply structure and richness in the filling, helping the custard set while keeping it silky and not rubbery.
- Lemon juice and zest: Fresh only! The zest adds intense citrus aroma, while the juice brings tang and brightness. Bottled juice lacks vibrancy for this recipe.
- Powdered sugar: Used only to dust the finished bars, adding a classic, sweet finish and a polished look.
Expert Baking Tips
- Use a metal, not glass or ceramic, pan to ensure the shortbread crisps properly and the lemon filling sets evenly without overbaking.
- Press the crust firmly into every corner to avoid uneven thickness, which can cause cracked bases after slicing.
- Always pour the lemon filling onto a hot, just-baked crust for the cleanest layers and best texture.
- Don’t over-mix the filling; excess air will make the top frothy or prone to cracking instead of shiny and smooth.
- Chill for several hours before slicing for sharp, bakery-style edges, wiping the knife between cuts yields the neatest results.
Ingredients for Lemon Bars
- 115 grams unsalted butter (cold, cut into cubes)
- 60 grams granulated sugar
- 150 grams all-purpose flour
- 1/4 teaspoon fine sea salt
- 200 grams granulated sugar (for lemon filling)
- 3 large eggs (at room temperature)
- 90 ml freshly squeezed lemon juice (about 2 large lemons)
- 1 tablespoon finely grated lemon zest (from about 2 lemons)
- 2 tablespoons all-purpose flour (for lemon filling)
- 1/8 teaspoon fine sea salt (for lemon filling)
- for dusting powdered sugar (as needed)
How to Make Lemon Bars
- STEP 1). Prep the pan and oven Preheat your oven to 350°F (175°C). Lightly grease an 8-inch square metal baking pan and line it with parchment, leaving an overhang for easy removal. This step guarantees you can lift the bars out cleanly for perfect slicing and reduces the chance of sticking.
- STEP 2). Make shortbread dough Combine the cold, cubed unsalted butter, 60 grams granulated sugar, 150 grams flour, and 1/4 teaspoon salt in a medium bowl. Use clean hands or a pastry cutter to rub or cut in the butter until the mixture resembles damp sand and holds together when squeezed, with no visible flour.
- STEP 3). Press and prebake crust Tip the shortbread mixture into your prepped pan. Press evenly and firmly into the base with fingertips or a flat-bottomed glass, ensuring tight corners and an even layer. Bake for 20-22 minutes, until the edges are a shade golden and the surface feels set, not soft.
- STEP 4). Make lemon filling While the crust bakes, whisk 200 grams granulated sugar, eggs, lemon juice, lemon zest, 2 tablespoons flour, and 1/8 teaspoon salt in a clean bowl until smoothly combined, no streaks or foam. Avoid over-whisking, which introduces air pockets that can create bubbles or cracks.
- STEP 5). Pour filling and bake Once the crust is done, briefly whisk the lemon filling again and pour over the hot crust. Tilt the pan gently to distribute evenly. Return to the oven and bake 18-21 minutes. The filling should be just set with a gentle jiggle, and no longer liquid in the center when nudged.
- STEP 6). Cool, chill, and dust Place the pan on a wire rack and let cool completely to room temperature, about 1 hour, then chill in the fridge for at least 2 hours, longer ensures sharper slices. Use the parchment to lift out, dust with powdered sugar, and cut into 16 clean bars using a hot, wiped knife.
Storage and Freezing
- Room temperature (covered): up to 8 hours
- Refrigerate (airtight): up to 4 days
- Freeze (well-wrapped): up to 2 months
- Thaw in fridge overnight, then dust with fresh powdered sugar before serving for best texture.
Frequently Asked Questions
How do I know when lemon bars are baked through without overbaking?
Lemon bars are finished when the filling appears set at the edges and the center just barely jiggles when shaken, think the texture of barely-set custard. If the filling bubbles aggressively, it likely overbaked, resulting in a rubbery, dry texture and dull color.
Allowing the bars to finish setting as they cool and chill is crucial. The residual heat carries the filling to a perfect finish, so always remove them while still a tad wobbly for a classic, silky slice.
Why is my lemon bar crust soggy or separating from the filling?
Soggy bases usually happen from underbaking the shortbread or pouring filling onto a cool crust. The crust must be golden and set, with the filling added while hot to bond properly and lock out moisture.
If the base separates from the filling, excessive flour, insufficient pressing, or using glass pans can also be culprits. Using a metal pan and keeping to precise measurements keeps those crisp, neat layers intact.
What’s the best way to cut lemon bars cleanly?
Sharp, clean lemon bars require a chilled slab and a hot, dry chef’s knife. Dip the knife in hot water, wipe dry, and slice in a downward motion, wiping the blade between each cut to avoid tearing or sticking.
Cutting while the filling is still warm, or using a dull blade, leads to ragged, messy edges. Proper chilling sets the custard for picture-perfect slices every time.
Can I use bottled lemon juice for lemon bars?
Bottled lemon juice lacks the floral, vibrant aroma and acidity of fresh lemons, resulting in a filling that tastes muted and one-dimensional compared to classic lemon bars. The zest is equally critical for delivering real citrus punch.
Always use freshly squeezed lemon juice and zest for bold flavor, balanced acidity, and unmistakable citrus brightness in both aroma and taste that define bakery-style lemon squares.
How do I prevent my lemon bars from cracking on top?
Most cracks appear from over-whisking the filling or baking at too high a temperature. Whisk the filling just until smooth, never to a froth, and bake as directed for the proper set and glassy surface.
Cooling on a rack and chilling before slicing also allow the custard to finish setting slowly and evenly, helping prevent cracks or leathery tops from rapid temperature changes.
More Sweet Treats to Fall in Love With
- Bakery-Style Lemon Poppy Seed Muffins with Moist, Tender Crumbs
- Lemon Blueberry Scones with Tender Centers and Crisp Edges
- Moist Lemon Pound Cake with a Tender Crumb and Lemon Glaze
- Best Bakery-Style Blueberry Muffins Recipe with Tall, Moist Tops
- Small Batch Chocolate Chip Cookies with Chewy Centers and Crisp Edges

Classic Lemon Bars with a Buttery Shortbread Crust
Ingredients
Equipment
Method
- Preheat your oven to 350°F (175°C). Lightly grease an 8-inch square metal baking pan and line it with parchment, leaving an overhang for easy removal. This step guarantees you can lift the bars out cleanly for perfect slicing and reduces the chance of sticking.
- Combine the cold, cubed unsalted butter, 60 grams granulated sugar, 150 grams flour, and 1/4 teaspoon salt in a medium bowl. Use clean hands or a pastry cutter to rub or cut in the butter until the mixture resembles damp sand and holds together when squeezed, with no visible flour.
- Tip the shortbread mixture into your prepped pan. Press evenly and firmly into the base with fingertips or a flat-bottomed glass, ensuring tight corners and an even layer. Bake for 20-22 minutes, until the edges are a shade golden and the surface feels set, not soft.
- While the crust bakes, whisk 200 grams granulated sugar, eggs, lemon juice, lemon zest, 2 tablespoons flour, and 1/8 teaspoon salt in a clean bowl until smoothly combined, no streaks or foam. Avoid over-whisking, which introduces air pockets that can create bubbles or cracks.
- Once the crust is done, briefly whisk the lemon filling again and pour over the hot crust. Tilt the pan gently to distribute evenly. Return to the oven and bake 18-21 minutes. The filling should be just set with a gentle jiggle, and no longer liquid in the center when nudged.
- Place the pan on a wire rack and let cool completely to room temperature, about 1 hour, then chill in the fridge for at least 2 hours, longer ensures sharper slices. Use the parchment to lift out, dust with powdered sugar, and cut into 16 clean bars using a hot, wiped knife.
Notes
- Use a metal, not glass or ceramic, pan to ensure the shortbread crisps properly and the lemon filling sets evenly without overbaking.
- Press the crust firmly into every corner to avoid uneven thickness, which can cause cracked bases after slicing.
- Always pour the lemon filling onto a hot, just-baked crust for the cleanest layers and best texture.
- Don’t over-mix the filling; excess air will make the top frothy or prone to cracking instead of shiny and smooth.
- Chill for several hours before slicing for sharp, bakery-style edges, wiping the knife between cuts yields the neatest results.