The Recipe That Never Lets Me Down
I once baked these for a nervous first-time host, and they came out perfect without a single hiccup.

Learn more about DanyRecipes and why I love recipes you can trust. These are lemon bars from scratch with every common mistake solved.
Why This Recipe Is Truly Foolproof
Every step here has a built-in safety net: a parchment sling for easy lifting, a pre-baked crust that stays crisp, and a clear wobble test for doneness. Even beginners get a smooth, bright filling and clean, sliceable squares.
This lemon bars recipe fits a standard 9×13 pan and uses simple pantry staples. It is one of my most dependable lemon desserts, and it sits happily next to my chewy thumbprint lemon curd cookies on a dessert table.
Simple Ingredients, Zero Stress
For the crust:
- 2 cups all purpose flour
- 1/2 cup powdered sugar, plus extra for dusting
- 2 tablespoons cornstarch, for a forgiving, tender crumb
- 1/4 teaspoon fine salt
- 1 cup (2 sticks) cold unsalted butter, cubed
For the lemon filling:
- 1 3/4 cups granulated sugar
- 4 large eggs, at room temperature
- 2/3 cup fresh lemon juice, strained
- 1 tablespoon lemon zest, finely grated
- 1/4 cup all purpose flour, sifted
- Pinch of salt

Step by Step to Success
STEP 1
Heat the oven to 350°F and line a 9×13 pan with parchment, leaving an overhang on two sides so the bars lift out without sticking.
STEP 2
Whisk the flour, powdered sugar, cornstarch, and salt, then cut in the cold butter until the mixture clumps when squeezed.
STEP 3
Press the dough evenly into the pan and bake for 18 to 20 minutes until the edges turn light golden.
STEP 4
Whisk the sugar, eggs, lemon juice, zest, flour, and salt until completely smooth, with no flour lumps left.
STEP 5
Pour the filling over the warm crust and bake for 22 to 26 minutes, until the center just barely wobbles when you nudge the pan.
STEP 6
Cool on a rack, chill for at least 2 hours, then lift out, dust with powdered sugar, and slice into squares.
Serving Ideas and Easy Twists
- Serve chilled with fresh berries and a dollop of whipped cream.
- Stir a teaspoon of vanilla into the crust for a warm, bakery style note.
- Offer a few of my crispy shortbread lemon curd cookies alongside for a buttery crunch.
- Swap a quarter of the lemon juice for lime juice for a livelier tang.
- Cut into small squares and tuck them into a tin for gifting.

Foolproof Homemade Lemon Bars From Scratch
Ingredients
Equipment
Method
- Preheat the oven to 350°F (175°C). Line a 9×13-inch baking pan with parchment paper, leaving an overhang on two sides to create a sling for lifting out the bars.
- Whisk together the flour, powdered sugar, cornstarch, and salt. Cut in the cold cubed butter with a pastry cutter or fork until the mixture forms damp crumbs that clump when squeezed.
- Press the crust mixture evenly and firmly into the prepared pan. Bake for 18 to 20 minutes, until the edges are lightly golden.
- In a mixing bowl, whisk together the granulated sugar, eggs, fresh lemon juice, lemon zest, sifted flour, and salt. Mix gently until completely smooth and no flour lumps remain. Avoid over-whisking to prevent excess foam.
- Pour the lemon filling over the warm pre-baked crust. Bake for 22 to 26 minutes, until the edges are set and the center barely wobbles when you gently nudge the pan.
- Transfer the pan to a wire rack and let it cool. Refrigerate for at least 2 hours, then lift the slab out using the parchment sling. Dust with powdered sugar and cut into squares with a clean knife.
Notes
- Keep the butter cold so the shortbread crust stays tender rather than greasy.
- Press the crust firmly and evenly into the pan to help it hold together after baking.
- Sift the flour before adding it to the filling and whisk gently until smooth.
- Pour the filling over the crust while it is still warm so the layers bond well.
- Use the wobble test: the edges should be set while the center barely moves. The filling will continue to firm up as it cools.
- Chill completely before slicing, and wipe the knife between cuts for neat squares.
- Dust with powdered sugar just before serving to keep the finish bright and fresh.
Pro Tips
- Whisk the sifted flour into the filling well so no lumps bake into the custard.
- Pour the filling onto a warm crust so the layers bond and the base stays crisp.
- Trust the wobble test, since the filling firms up as it cools.
- Keep the butter cold for a tender crust that never turns greasy.
- Chill the pan fully before cutting for clean, tidy squares.
- Dust with powdered sugar right before serving so it stays bright white.
FAQs
What makes this recipe foolproof?
The cornstarch keeps the crust tender, the parchment sling prevents sticking, and the wobble test removes the guesswork. Follow those three and the bars set perfectly.
Why did my filling bake up cloudy or foamy?
Over whisking adds air that rises while baking. Stir gently until just smooth, and skim any foam before pouring.
How do I store leftovers?
Cover and refrigerate for up to 4 days, with parchment between layers. Freeze undusted bars for up to 2 months.
Can I use bottled lemon juice?
Fresh juice tastes brighter, so I recommend it. If you must use bottled, pick a pure, not from concentrate variety.
What if my bars are still runny after chilling?
They likely needed a few more minutes in the oven. Return the pan to 325°F for 5 to 8 minutes, then chill again.
Baked With Confidence
There is real joy in a recipe that works every single time. I hope these bars give you the same easy win they give me. For more citrus treats, try my melt in your mouth lemon curd cookies, the 5 ingredient glazed lemon curd cookies, or the zesty drop lemon curd cookies.













