Classic Homemade Lemon Bars Recipe

Published :

November 13, 2026

|

Modified :

November 13, 2026

|

Posted By :

by:

danyrecipes

This post may contain affiliate links

|

No comments

Classic Homemade Lemon Bars Recipe

Sunshine on a Buttery Crust

I still remember the first time I made lemon bars in my grandmother’s sunny kitchen, standing on a stool while the whole house filled with the scent of warm butter and fresh citrus.

That memory is the heart of everything I share, and you can read more about DanyRecipes if you’re curious how this cozy corner of the internet began. This lemon bars recipe gives you a tender shortbread crust under a silky, tangy filling that disappears from the pan before it even cools.

Why These Bars Will Win You Over

These are lemon bars from scratch, with no boxed mix and no shortcuts. The crust turns golden and crumbly, and the filling sets into a bright custard that is sweet and tart in the same bite.

Because this recipe uses a 9×13 pan, you get a generous batch for potlucks, bake sales, and family gatherings. If you love lemon desserts, these sit right alongside my chewy thumbprint lemon curd cookies as a reliably bright treat.

Everything You Need From the Pantry

For the crust:

  • 2 cups all purpose flour
  • 1/2 cup powdered sugar, plus extra for dusting
  • 1/4 teaspoon fine salt
  • 1 cup (2 sticks) cold unsalted butter, cubed

For the lemon filling:

  • 2 cups granulated sugar
  • 4 large eggs, at room temperature
  • 2/3 cup fresh lemon juice (about 4 large lemons, strained)
  • 2 tablespoons lemon zest, finely grated
  • 1/4 cup all purpose flour
  • Pinch of salt

Let’s Bake Together

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 easily.

STEP 2

Mix the flour, powdered sugar, and salt, then cut in the cold butter with a pastry cutter or your fingertips until the mixture looks like coarse, damp crumbs.

STEP 3

Press the dough firmly and evenly into the pan, then bake for 18 to 20 minutes until the edges are lightly golden.

STEP 4

While the crust bakes, whisk the sugar, eggs, lemon juice, zest, flour, and salt until smooth and fully combined.

STEP 5

Pour the filling over the hot crust and return the pan to the oven for 20 to 25 minutes, until the center barely jiggles and no longer looks wet.

STEP 6

Cool the pan completely on a rack, chill for at least one hour, then lift out, dust generously with powdered sugar, and slice into squares.

Ways to Twist and Serve Them

  • Swap half the lemon juice for lime or Meyer lemon juice for a softer, floral tang.
  • Stir a teaspoon of poppy seeds into the crust for a bakery style crunch.
  • Serve chilled with fresh raspberries or a spoonful of whipped cream.
  • Pair a platter of bars with my crispy shortbread lemon curd cookies for a full citrus dessert table.
  • Cut into small squares for parties and wrap in parchment as edible gifts.

Pro Tips

  • Use fresh lemon juice only, since bottled juice tastes flat and can make the filling taste dull.
  • Pour the filling onto the crust while it is still hot so the layers bond and the bottom stays crisp.
  • Do not overbake, because the filling firms up as it cools and overbaking makes it rubbery.
  • Wipe your knife clean between cuts for sharp, tidy edges.
  • Chill the bars fully before slicing, since patience gives you clean squares.
  • Add the powdered sugar just before serving, because it melts into the filling if added too early.

Sweet Glazed Classic Homemade Lemon Bars

These classic homemade lemon bars feature a tender, buttery shortbread crust topped with a silky, sweet-tart lemon custard. Made from scratch with fresh lemon juice and zest, they are perfect for potlucks, bake sales, family gatherings, and everyday treats.
Prep Time 20 minutes
Cook Time 45 minutes
Cooling and Chilling Time 1 hour
Total Time 2 hours 5 minutes
Servings: 24 bars
Course: Dessert
Cuisine: American
Calories: 220

Ingredients
  

Shortbread Crust
  • 2 cups all-purpose flour
  • 1/2 cup powdered sugar plus extra for dusting
  • 1/4 tsp fine salt
  • 1 cup unsalted butter 2 sticks, cold and cubed
Lemon Filling
  • 2 cups granulated sugar
  • 4 large eggs at room temperature
  • 2/3 cup fresh lemon juice about 4 large lemons, strained
  • 2 tbsp lemon zest finely grated
  • 1/4 cup all-purpose flour
  • 1 pinch salt

Equipment

  • 9×13-inch Baking Pan
  • Parchment paper
  • Mixing bowls
  • Whisk
  • Pastry Cutter
  • Wire Cooling Rack

Method
 

  1. Preheat the oven to 350°F (175°C). Line a 9×13-inch baking pan with parchment paper, leaving an overhang on two sides so the bars can be lifted out easily.
  2. Mix the flour, powdered sugar, and salt in a bowl. Cut in the cold cubed butter using a pastry cutter or your fingertips until the mixture resembles coarse, damp crumbs.
  3. Press the dough firmly and evenly into the prepared pan. Bake for 18 to 20 minutes, until the edges are lightly golden.
  4. While the crust bakes, whisk together the granulated sugar, eggs, fresh lemon juice, lemon zest, flour, and salt until smooth and fully combined.
  5. Pour the lemon filling over the hot crust. Return the pan to the oven and bake for 20 to 25 minutes, until the center barely jiggles and no longer looks wet.
  6. Cool the pan completely on a wire rack, then refrigerate for at least 1 hour. Lift the bars out using the parchment overhang, dust generously with powdered sugar, and slice into squares.

Notes

Keep the lemon bars covered in the refrigerator for up to 4 days. For freezing, wrap the unsliced bars tightly without powdered sugar and freeze for up to 2 months. Thaw overnight in the refrigerator and dust before serving. Use fresh lemon juice for the brightest flavor, and pour the filling over the crust while it is still hot. Avoid overbaking because the filling continues to firm as it cools. Chill thoroughly and wipe the knife clean between cuts for neat squares. Optional variations include replacing half the lemon juice with lime or Meyer lemon juice, adding 1 teaspoon of poppy seeds to the crust, or serving with fresh raspberries or whipped cream.

FAQs

How do I store lemon bars?
Keep them covered in the refrigerator for up to 4 days. Layer parchment between the squares so they do not stick together.

Can I freeze them?
Yes, freeze the unsliced, undusted bars wrapped tightly for up to 2 months. Thaw overnight in the fridge and dust with fresh powdered sugar before serving.

Why is my filling runny?
It was most likely underbaked or not chilled long enough. The center should barely wobble when you pull it out, and a full hour of chilling finishes the set.

Can I use a different pan size?
An 8×8 pan works if you halve the recipe, though the baking time may be a few minutes shorter. Always check for that gentle wobble in the center rather than trusting the timer alone.

Why did my crust turn out greasy or crumbly?
Greasy crusts usually mean the butter was too warm, and crumbly ones mean the dough was not pressed firmly. Keep the butter cold and press the dough tightly into the pan.

A Sweet Little Goodbye

There is something deeply comforting about pulling a pan of golden lemon bars from the oven and watching the kitchen light up. I hope this one becomes a favorite in your home the way it is in mine. If you are craving more citrus after this, try my melt in your mouth lemon curd cookies or the 5 ingredient glazed lemon curd cookies, and if you want a zippier bite, there are my zesty drop lemon curd cookies too.