Close up stack of homemade lemon bars with silky yellow lemon filling and buttery shortbread crust dusted with powdered sugar

Lemon Bars Recipe with Buttery Shortbread Crust

5 from 7 votes

My mom once famously said, “Who the hell wants lemon bars?” and that was the day I knew she was wrong about everything. Turns out, everyone wants lemon bars, especially when they look and taste like these. That bright, tangy filling paired with a buttery shortbread crust is simple, nostalgic, and honestly hard to beat.

This lemon bar recipe is the one I keep coming back to. The crust is buttery with a tender, melt-in-your-mouth crumb, the filling is silky, tart, and perfectly set, and it all comes together with ingredients you probably already have. No shortcuts, no gelatin, no box mix. Just a really good lemon bar made the right way… and dare I say, better than grandma’s? Don’t worry, we don’t have to tell her.

Whether you’re making these for a summer cookout, a holiday tray, or just because you have a bag of lemons and a reason, this is the only lemon bars recipe you’ll need.

A stack of homemade lemon bars with a buttery shortbread crust dusted with powdered sugar

Why You’ll Love These Lemon Bars

  • Made completely from scratch with simple ingredients
  • Perfect balance of sweet and tart
  • Smooth, glossy filling with no white film
  • Buttery shortbread crust that stays crisp
  • Easy to make with minimal prep (and hardly any dishes!)

What Makes These The Best Lemon Bars

There are a lot of lemon bar recipes out there, and most of them have at least one problem. After making more batches than I can count, here is what actually makes this one different:

  1. Bake at a slightly lower temperature. Reducing the oven temperature for the filling allows it to set gently, which keeps the texture silky and prevents cracking
  2. A cornstarch shortbread crust. Adding cornstarch to the crust creates a more tender, fine crumb that holds up under the wet filling and stays crisp for days, even after sitting in the fridge.
  3. Rub the zest into the sugar. This is one of the most important steps in making lemon bars. Rubbing lemon zest into the sugar releases the natural oils and intensifies the lemon flavor throughout the filling.
  4. Pouring over a hot crust. Adding the filling to a hot crust helps it set faster and prevents that soggy bottom layer.

Ingredients You’ll Need

For the Shortbread Crust

  • All-purpose flour forms the base of the crust and gives it structure. Without enough flour, the crust crumbles and falls apart when you slice.
  • Cornstarch is the secret weapon in this crust. It replaces a small portion of the flour and creates a more tender, fine crumb that stays crisp under the wet filling. Most recipes skip this and wonder why their crust gets soggy.
  • Salted butter, cold and cubed, is what gives the shortbread its rich, flaky texture. Cold butter is non-negotiable here. As it bakes, the water in the butter turns to steam, separating the layers and giving you that melt-in-your-mouth bite. Soft or melted butter makes a dense, greasy crust.
  • Granulated white sugar sweetens the crust and helps the edges brown evenly in the oven.
  • Kosher salt balances the sweetness and makes every other flavor in the crust taste more like itself.
  • Vanilla bean paste or extract adds a warm, subtle depth to the crust, rounding out the tartness of the lemon filling on top.

For the Lemon Filling

  • Granulated sugar sweetens the filling, but more importantly, it’s the vehicle for the lemon flavor. Rubbing it together with the zest before adding anything else is the step that makes the difference between a good lemon bar and a great one.
  • Lemon zest is where the most intense lemon flavor lives. The oils in the zest are more concentrated and aromatic than the juice alone, and working it into the sugar releases those oils directly into the filling.
  • All-purpose flour stabilizes the filling and helps it set cleanly without becoming too eggy or custardy.
  • Eggs are the backbone of the filling. They provide structure and richness and are what allow the filling to set into that silky, sliceable texture. Room temperature eggs incorporate more evenly, so pull them out ahead of time.
  • Fresh lemon juice is where the tartness comes from. Bottled juice is flat and one-dimensional. You need fresh, and you need enough of it. Plan on 3 to 4 lemons.
  • Kosher salt does the same thing here as in the crust — it keeps the filling from tasting one-note sweet and makes the lemon flavor pop.

For the Topping

  • Powdered sugar is the classic finish. It adds a gentle sweetness on top and gives the bars that signature look. Dust it on right before serving, not before storing.
Close up of homemade lemon bars showing the silky lemon filling and crispy shortbread crust dusted with powdered sugar

How to Make Lemon Bars from Scratch Step By Step

Step 1: Make the shortbread crust

Whisk together the dry ingredients, then cut in the cold butter until the mixture resembles fine crumbs. Press it evenly into a parchment-lined pan, edge to edge, uniform thickness, and bake until the edges are lightly golden and the kitchen smells like shortbread.

Step 2: Prepare the lemon filling

Rub the lemon zest into the sugar with your fingers until the mixture is fragrant and pale yellow. This is the step that makes the filling taste like real lemon. Whisk in the flour, add the eggs one at a time, then stir in the fresh lemon juice and salt. Mix gently, you want smooth, not airy.

Whisking together the ingredients for the lemon filling.

Step 3: Pour and bake

Pour the filling directly onto the hot crust straight from the oven. Tap the pan gently on the counter to pop any air bubbles, then slide it back in at a reduced temperature. Bake until the edges are set, and the center has just the faintest jiggle.

Pouring the lemon filling over the hot baked shortbread crust

Step 4: Cool and chill

Let the bars cool completely at room temperature before transferring to the fridge. Chill for at least 2 hours — no shortcuts here. Once fully set, lift them out using the parchment overhang, slice into clean squares, and dust generously with powdered sugar right before serving.

Stack of homemade lemon bars on a plate with fresh lemon halves and a raspberry in the background

Wait… How Do I Zest a Lemon?

Zesting sounds intimidating if you’ve never done it, but it takes about 30 seconds once you know what you’re doing.

Use a microplane. A microplane grater is the best tool for the job. It produces a fine, feathery zest that blends evenly into the sugar, without any chunky or chewy bits in your filling. If you don’t have one, the smallest holes on a box grater work too.

Only zest the yellow part. The yellow outer layer is where all the flavor and essential oils live. The white layer underneath, called the pith, is bitter and will make your filling taste off. Use light, gentle strokes and rotate the lemon as you go so you’re always hitting fresh yellow skin.

Zest before you juice. Always zest your lemons first, then cut and juice them. Once a lemon is cut, it becomes nearly impossible to zest cleanly.

Now take what you just learned and make one of my favorite recipes, Lemon Layer Cake!

How to Know When Lemon Bars Are Done Baking

Lemon bars can be tricky to read because the filling looks deceptively soft even when it’s done. It will only take about 20-25 minutes to fully bake lemon bars, but here are some signs to look for:

The jiggle test. Give the pan a gentle shake. The edges should be fully set, and the center should have just a slight, unified jiggle — like Jell-O moving as one piece rather than liquid sloshing around. If the center looks wet or ripples on its own, it needs more time.

The surface should look matte. A glossy, shiny surface means the filling is still raw. Once it turns matte and slightly opaque, you’re in the right zone.

The edges will look slightly puffed. You may notice the edges pulling away from the parchment just slightly. That’s a good sign.

When in doubt, pull them on the earlier side. Overbaked lemon bars turn rubbery and lose that silky texture. They will continue to firm up as they cool at room temperature, and then fully set during the 2-hour chill in the refrigerator. What looks slightly underdone in the oven will be perfectly sliceable after chilling.

Tips for Perfect Lemon Bars Every Time

  • Use fresh lemon juice only. Bottled lemon juice is flat and one-dimensional. Fresh juice is brighter and more complex, making the filling taste like real lemon. For half a cup, you’ll need 3 to 4 lemons.
  • Don’t overmix the filling. Whisk gently and only until combined. Too much air creates bubbles and an uneven surface on your finished bars.
  • Your crust should be hot when you add the filling. Pour the lemon filling directly onto the crust straight from the oven. This helps the two layers bond and prevents a soft, soggy bottom.
  • Don’t rush the chill. These bars need at least 2 hours in the fridge to fully set. Cutting them warm will give you a runny filling and messy slices. I know it’s hard to wait, but trust the process.
  • Dust with powdered sugar right before serving. If you dust the bars before storing, the powdered sugar will absorb into the filling overnight in the fridge and disappear. Add it right before you serve for that classic finish.
Overhead view of stacked homemade lemon bars generously dusted with powdered sugar showing the silky lemon filling and crispy shortbread crust

How to Store and Freeze Lemon Bars

Store lemon bars in an airtight container in the refrigerator for up to 5 days. Layer them between sheets of parchment paper to keep the edges clean and the powdered sugar intact.

To freeze, place the bars (without the powdered sugar dusting) in a single layer on a baking sheet and freeze until solid, about 1 hour. Transfer to a freezer-safe container or bag and freeze for up to 3 months. Thaw overnight in the refrigerator and dust with fresh powdered sugar before serving.

Frequently Asked Questions

Why are my lemon bars not setting?

The most common reason lemon bars don’t set is underbaking or not chilling them long enough. The filling should have no jiggle in the center when you take it out of the oven. If it’s still wobbly, give it another few minutes. And once it’s out, it needs at least 2 full hours in the refrigerator before slicing.

Can I make lemon bars ahead of time?

Absolutely. These are actually better the next day after they’ve fully chilled overnight. Make them up to 3 days in advance and store in an airtight container in the refrigerator. Dust with powdered sugar right before serving.

Can I use Meyer lemons for lemon bars?

Yes. Meyer lemons are sweeter and less acidic than regular lemons, so the filling will be slightly less tart. If you love a bold, tangy lemon bar, stick with regular lemons. If you prefer something a little milder and more floral, Meyer lemons are a great option.

Do lemon bars need to be refrigerated?

Yes. Because of the egg-based filling, lemon bars should be stored in the refrigerator. They will keep for up to 5 days in an airtight container.

Stack of homemade lemon bars on a plate with fresh raspberries and lemon halves in the background

More Recipes You’ll Love

If you liked this lemon bars recipe, here are a few more from the Everything Just Baked kitchen:

Get to Baking!

There you have it, a lemon bar recipe that actually delivers. Crisp shortbread crust, silky, tangy filling, clean slices every time. And yes, Mom, people do want lemon bars. Apparently, a lot of them, including me!

If you make these, I want to see them. Tag me on Instagram or TikTok @everythingjustbaked so I can see your creations. And if someone in your life tries to tell you lemon bars are not worth making, send them this recipe and let the bars do the talking.

Enjoyed this recipe? Leave a star rating and a comment below — it helps more people find this post, and it genuinely makes my day to hear how yours turned out.

Close up stack of homemade lemon bars with silky yellow lemon filling and buttery shortbread crust dusted with powdered sugar

Lemon Bars Recipe with Buttery Shortbread Crust

5 from 7 votes
Print Recipe Pin Recipe
Prep Time 15 minutes
Cook Time 40 minutes
Total Time 2 hours 55 minutes
Servings 16 bars
Course Dessert
Cuisine American
Calories 164
These homemade lemon bars have a buttery shortbread crust, a silky tangy lemon filling, and set perfectly every single time.

Ingredients

Shortbread Crust
  • 1 cup (125g) all-purpose flour
  • 1/4 cup (30g) cornstarch
  • 1/2 cup (113g) salted butter, cold and cubed
  • 1/4 cup (50g) granulated sugar
  • 1/4 tsp kosher salt
  • 1/2 tsp vanilla bean paste or extract
Lemon Filling
  • 1 cup (200g) granulated white sugar
  • 1 tbsp lemon zest packed
  • 2 tbsp (16g) all-purpose flour
  • 3 large eggs room temperature
  • 1/2 cup (120g) fresh lemon juice (3–4 lemons)
  • Pinch of kosher salt
Topping
  • Powdered sugar, for dusting

Instructions

  • Preheat oven to 350°F (177°C). Line an 8×8" pan with parchment, leaving overhang for easy removal.

Make the Shortbread Crust

  • In a bowl, whisk together flour, cornstarch, sugar, and salt. Using a pastry cutter, a fork or your hands cut in cold butter until the mixture resembles fine crumbs. Mix in vanilla just until combined.
  • Press evenly into the pan. Bake 18–20 minutes, until edges are lightly golden.

Make the Lemon Filling

  • In a bowl, combine the sugar and lemon zest and using your fingers rub together until fragrant and pale yellow. (this step releases the oils for extra lemon flavor!)
  • Whisk in the flour. Add eggs one at a time, whisking gently until smooth. Do not overly whip, we do not want to incorporate too much air. Stir in the lemon juice and salt.
  • Immediately pour the filling over the hot crust, then gently tap the pan on the counter to release any air bubbles.
  • Reduce oven to 325°F (163°C) and bake 20–25 minutes, until center is just set (no jiggle).
  • Cool completely at room temperature then chill for at least 2 hours in the refrigerator. Do not skip this step, the lemon bars need time to set.
  • Using the parchment paper overhang lift the bars out of the pan, slice, and dust generously with powdered sugar. Enjoy!

Notes

  • Use fresh lemon juice only. Bottled lemon juice will give you a flat, one-dimensional filling. You need 3–4 lemons for half a cup. Check out this lemon squeezer, it’s a lifesaver!
  • Your crust should be hot when you add the filling. Pour the lemon filling directly onto the hot crust straight from the oven. This helps the two layers bond and prevents a soggy bottom.
  • Don’t skip the chill. These bars need at least 2 hours in the fridge to fully set. Cutting them warm will give you a runny filling and messy slices. I know it’s hard to wait, but trust the process.
  • Storage. Store lemon bars in an airtight container in the refrigerator for up to 5 days. Layer them between sheets of parchment paper to keep the edges clean.
 
 

Nutrition

Nutrition Facts
Lemon Bars Recipe with Buttery Shortbread Crust
Amount per Serving
Calories
164
% Daily Value*
Fat
 
7
g
11
%
Saturated Fat
 
4
g
25
%
Trans Fat
 
0.2
g
Polyunsaturated Fat
 
0.4
g
Monounsaturated Fat
 
2
g
Cholesterol
 
46
mg
15
%
Sodium
 
94
mg
4
%
Potassium
 
31
mg
1
%
Carbohydrates
 
25
g
8
%
Fiber
 
0.3
g
1
%
Sugar
 
16
g
18
%
Protein
 
2
g
4
%
Vitamin A
 
222
IU
4
%
Vitamin C
 
3
mg
4
%
Calcium
 
9
mg
1
%
Iron
 
1
mg
6
%
* Percent Daily Values are based on a 2000 calorie diet.
Tried this recipe?Let us know how it was!

Try These Other Recipes

12 Comments

  1. 5 stars
    Absolutely, hands down the best lemon bars. Easy recipe. Smooth filling. crust firm and light flavor. Soooo good.

  2. Very yummy! Very lemony! Followed recipe just as stated. Lemon held it’s shape when cut, but if I make it again, I’ll add some cornstarch to the lemon filling to make it a little firmer. I might also add another half recipe of the filling to make it thicker, but leave the crust amounts the same.

  3. 04/04/26 making the lemon 🍋 bar recipe wish me luck 🤞 so far so good, crust is in the oven and filling is ready to pour, excited to see how they will come out 😁

  4. 5 stars
    These lemon bars were a hit for Easter Sunday dinner. Very delicious and so simple to make. I read one commenter saying she would add a little cornstarch to her filling on her next batch, so I did add a half a teaspoon of cornstarch (I always get a little worried because I’m high altitude), but honestly I didn’t need to because the filling was set before the full baking time. I love Justin’s recipes!

  5. 5 stars
    This was my first time making lemon bars from scratch and they were perfection. No changes or substitutions were made nor needed.
    My husband commented twice how good they were. Tangy, but not too sweet – yours was the first recipe that only asked for 1 cup of sugar in the filling and I loved that it wasn’t sickly sweet. Thank you!
    Also – your chocolate chips cookies are the best!!!

  6. Might make this recipe. Looks delicious, like all your other recipes. I was wondering if I would have to adjust anything if I were to add a raspberry puree swirl in it?

    1. ohhhh your a genius! I haven’t tested it, but I would just swirl it right on top of the lemon bar mixture! Keep everything the same. let me know how it goes

      1. 5 stars
        Update: made these for mother’s day and swirled in raspberry puree. It was delicious! My mom loved them and even my dad ate several and lemon is not his thing.
        I also made your vanilla pound cake. I definitely overmixed it, it was very dense, but we just popped it in the microwave, perfection!🤌🏾
        I can’t wait to try out your other recipes

  7. 5 stars
    I made this and your confetti cake, my daughter is special needs and she loves your videos! She turned 40 last Friday ! Needless to say, both vanished quickly ! Thank you for all you do!

5 from 7 votes

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating