My thick, gooey Lemon Bars with a shortbread crust and vibrant lemon flavor are the perfect dessert, with just the right amount of sweetness. This is my go-to recipe for bake sales or sharing sweets with friends, because they keep well, transport well, and everyone loves homemade lemon bars.

This post may contain affiliate links. Read my disclosure policy.
Helpful Reader Reviews
“Best lemon bars ever! Lemon filling is tart and perfect. Follow this recipe and you can’t go wrong.“ – Barb ★★★★★
“This is the only lemon bar recipe that I have found that never fails me! Thank you.“ – Pat ★★★★★
Lemon Bars Video
Watch how easy it is to make my classic lemon bar recipe, and especially don’t miss my easy tip for making the crust easier to mold. You’ll make this dessert on repeat!
Classic Lemon Bar Recipe
Take one bite, and then you will fall in love with these classic lemon bars. The lemon custard filling is similar to our Lemon Curd Recipe, brimming with satisfying, tangy lemon flavor and perfectly balanced in sweetness.
I learned how to make Lemon Bars years ago from one of Ina Garten’s early cookbooks, Barefoot Contessa Parties. All these years later, I still make lemon bars very close to her original recipe, except I’ve made tiny tweaks and added vanilla to the crust. I’ve also developed an easier way to mold the crust.

Lemon Bar Ingredients
The ingredients for homemade lemon bars are simple: pantry staples and plenty of fresh lemons.
- Butter – unsalted and softened to room temperature, gives the crust that buttery, shortbread flavor.
- Sugar – granulated sugar sweetens the crust and balances the tanginess of the lemon juice. If using Meyer lemons (naturally sweeter), reduce the sugar by 1 cup. You’ll also need confectioners’ sugar to dust the top.
- Pantry Staples – All-purpose flour, vanilla extract, and salt
- Eggs – room temperature helps the lemon custard to set
- Lemons – zest your lemons first, then juice them. Do not use bottled lemon juice or concentrate. You’ll want lemons at room temperature. If you like variety, you can substitute the lemon with grapefruit, orange juice, or lime juice to change up the flavor of your bars, but use less sugar when using sweeter citrus.

How to Make Lemon Bars
My lemon bar recipe is easy to make with these simple steps. Serve once chilled.
- Prep – Preheat to 350°F and line a 9×13 casserole dish with parchment paper for easy lift and removal.
- Make the Crust – Cream butter and sugar in the bowl of a stand mixer, then add vanilla extract, flour, and salt, and mix until crumbly. Press into the pan. Bake for 18-20 minutes or until lightly golden. Cool slightly on a rack.
- Lemon Filling – In a mixing bowl, whisk together eggs and sugar, and then whisk in lemon juice and zest. Add flour and whisk until completely blended.
- Bake – pour filling over the warm crust and bake at 350˚F for 30-35 minutes until the center is set and no longer wobbly. Cool on the counter for 1 hour and chill in the fridge for at least 2 hours.
- Serve – Cut into squares and dust with powdered sugar to serve.

How to Know When Lemon Bars are Done
The center of the lemon bars should be fully set before being removed from the oven. If you give the pan a jolt, it should NOT wobble in the center.
Pro Tip for Slicing Lemon Bars
The best way to cut lemon bars is just like with a Cheesecake, for clean and pretty slices, wipe the knife blade clean with a damp paper towel between slices.

Troubleshooting Lemon Bars
If your lemon bars don’t set or don’t turn out quite right, here are a few common reasons and easy fixes:
- Lemon bars didn’t set – They likely needed more bake time. The center should look set and not jiggle when you gently shake the pan. If it still wobbles, bake a few more minutes. Also, adding extra lemon juice can make the filling runny.
- Cutting Lemon Bars too soon – they continue to firm up as they cool. Once cooled to room temperature, refrigerate for at least 2 hours before slicing.
- Using the wrong pan size – A smaller pan makes the filling too thick to set properly. A 9×13 pan works best for this recipe.
- Filling wasn’t whisked smooth – Be sure the flour is fully whisked into the filling so it thickens evenly while baking.
- Cold Ingredients – Use room temp eggs and lemon juice, which incorporate easier into the custard.
- Crust underbaked – The crust should be lightly golden before adding the filling. If it’s too pale, it can turn soft after baking.
- Bubbles or browned spots on top – Totally normal! These come from the air in the eggs while whisking, and you can hide them with powdered sugar.

When life gives you lemons, make these lemon bars! These bar cookies will become your go-to for potlucks, picnics, parties, and holidays like Easter or Christmas.
I love cookie bar recipes like my Pecan Pie Bars, Baklava, and Strawberry Pretzel Salad, because they are easy to make and even easier to serve. These lemon bars are no exception.
Lemon Bars

Ingredients
For the Shortbread Crust:
- 1/2 lb unsalted butter, (16 Tbsp) room temperature
- 1/2 cup granulated sugar
- 1 1/2 tsp vanilla extract
- 2 cups all-purpose flour
- 1/4 tsp salt
For the Lemon Filling:
- 7 large eggs, room temperature
- 3 cups granulated sugar, *
- 2 Tbsp lemon zest, from 4 to 5 lemons
- 1 cup lemon juice, freshly squeezed (from 5 large or 8 medium lemons)**
- 1 cup all-purpose flour
- Confectioners sugar, to dust
Instructions
- Prep: Preheat oven to 350˚F. Line a 13×9 baking pan with parchment paper (it should go most of the way up the sides so filling doesn’t spill over.
- Crust: In the bowl of a stand mixer fitted with the paddle attachment, cream together softened butter and 1/2 cup sugar. Add 1 1/2 tsp vanilla extract, 2 cups flour, and 1/4 tsp salt. Continue mixing until the mixture is crumbly and no dry flour remains. Spread the dough evenly into the bottom of your prepared pan. Press it with your fingertips to flatten and even out the dough. Bake crust at 350˚F for 18-20 minutes or until lightly golden at the edges. Transfer to a wire rack to cool slightly.
- Lemon Filling: While the crust is baking, zest then squeeze the lemons and prepare your filling. In a large mixing bowl, whisk together eggs and sugar until blended. Add Lemon juice and lemon zest and whisk to combine. Add 1 cup of flour and whisk until smooth and very well blended, and no traces of flour remain.
- Bake: Pour filling over the warm crust and bake in the center of a preheated oven at 350˚F for 30-35 minutes or until the filling is set. As soon as the filling is no longer wobbly in the center, remove from the oven so you don’t overbake.
- Chill: Cool in the pan at room temperature for at least 1 hour, then refrigerate for at least 2 hours before serving.
- Serve: Pull the parchment paper up slightly to loosen from the pan, then transfer to a cutting board and cut into 18-20 squares, then dust the tops with powdered sugar.
Notes
**Carefully measure the lemon juice so the filling sets up properly. Storage and Make-Ahead:
- Refrigerating: Cool to room temperature within 2 hours of baking, and then cover with plastic wrap and refrigerate. Dust with powdered sugar just before serving.
- To Freeze: Once lemon bars are fully chilled in the refrigerator, cover the baking dish with a couple of layers of plastic wrap and freeze for 3-4 months. You can also transfer leftover pieces to a freezer-safe zip bag for easier storage. When ready to eat, dust with powdered sugar, since they’re good right out of the freezer.
Nutrition Per Serving
Filed Under
More Recipes with Lemon
Check out our post on all the genius Ways to Use Lemons, and then try some of my favorite lemony recipes:
- Lemonade Recipe
- Blueberry Bread
- Strawberry Lemonade
- Lemon Ricotta Pancakes
- Blueberry Muffins with Lemon Glaze
- Winter Fruit Salad
- Lemon Chicken Recipe
- Lemon Posset
- Lemon Vinaigrette



Hi I’m trying to cut back on carbs and was wondering if I added half almond flour and regular flour if this would work with recipe?
Hi Christina! I haven’t tested that to advise. Please let us know if you experiment.
These are going to be the Easter dessert I bring this year. They look wonderful.
Where can I get the rectangle pan, with the square corners, you baked the bars in?
Hi Carol! I have the pan linked in the blog post under the section, “how to make lemon bars.” The red font words are links that can be clicked on.
I hope you love the recipe!
I made my first batch last week. They turned out looking just like Natasha’s and are delicious!!!
This is the best recipe for lemon bars and will be my go-to. If you like lemon bars, you NEED this recipe!!!
This needs a stronger parchment paper if there is such a thing, mine just ripped so no sliding out, more like hammer and chisel to get the slab out of there. Tasted good but consumers need to know about the paper,
I was disappointed in this recipe! Way too much flour. The bars were too gummy. And, yes, I did follow the recipe .
Hi Kathy, Be sure to measure by fluffing the flour first with a spoon then spoon it into a dry ingredient measuring cup and scrape off the top. If you push your measuring cup into a flour bin, you will get up to 25% too much flour. Also, do not tap the flour down in the measuring cup.
Not sure what I did wrong but the top of them is cakey. It looks like three layers. A cake like layer, a lemony layer, and the bottom crust. Did I overwhip the filling?
HI Laura, I’ve never seen that happen before so it could be due to over-whipping. I suggest watching the video tutorial to see where things started to look different. Also consider if any substitutions were made?
I made these a few weeks ago and they came out perfect! I made them yesterday and somehow they ended up like upside down lemon bars! The curd seeped through the crust and was on the bottom! They taste delicious they’re just odd looking.
Maybe I let the crust cool too much before I added the lemon mixture? Any ideas?
Hi Mellany! Yes, that’s a possibility. It’s also possible that the crust lifted or wasn’t packed in tight enough so it created room for the custard to seep through.
I had the same thing happen and I can confirm it was over-whipping the custard. I tried a second batch with less whipping and the issue was resolved.
Our neighbors sent over a bag of lemons, so I just made these for the second time and they came out perfect for the second time. Thank you for this delicious recipe!
That’s great, Debbie! So glad you’re enjoying it.
The best lemon bars ever! So easy to make. I used fresh lemons straight from the lemon tree. Thank you Natasha!
I’m so glad to hear that, Vicky!
I’ve been asked to make these for a friend’s wedding in 2″ square cupcake liners. How would you adjust the baking time to ensure they come out the right consistency? I did a trial run and they were a bit firm.
HI Brooke, I haven’t tried that myself to advise on a bake time. I recommend running a test or two with different times to see which you like best. I wish I could be more helpful.
Not sure what the problem is but I followed the recipe EXACTLY. 35 minutes and the top is completely brown and it is still jiggly. Going to have to leave it in longer and see what happens. I was so careful too.
Hi Tina! Are you using a convection oven? This recipe is written for a conventional oven on regular bake mode. Also, I highly recommend getting an Internal oven thermometer (Amazon affiliate link) to help ensure your oven is heating properly and not over heating. I hope that helps.
I just made these and my top turned completely brown. Cooked for 35 minutes
Natasha~ I just made these and while they taste delicious after one hour of cooling and two more in the fridge the filling is not set. Was careful to use ONLY one cup of lemon juice. HELP!! 🙂 P.S. I love your website!
Hi Ellen! I’m sorry to hear that. The most common reasons are either not baking it long enough or not having the correct ratio of ingredients for the filling. I would look over the recipe again to see if you missed anything or measured incorrectly. Be sure to fully preheat your oven before baking them.
I just tried this recipe and it was so worth the lemon zest and fresh juice!
Glad you enjoyed them!
Dear Natasha,
Thank you for your recipe!
I think my execution made for a lot of errors.. but the taste of the filling was super nice, sweetness and tartness was just right and my family loved it! Do you have any possible insights as to why the shortbread crust came out on top instead of being at the bottom after I baked it? It turned upside-down. It’s amazing I could probably use that phenomenon on another recipe but as for lemon squares, it took me by surprise.
Baking doesn’t come off as easy as cooking does for me. I think I need more practice.
Again thank you for sharing your recipe!
Hi Aya! Usually, this happens either when there is a big space between the crust and the sides of the pan where the the custard can slip underneath, or the crust is cooled down too much before you add the filling.
It could also be that your crust may have been over mixed. Here is what one of our readers wrote: “I figured it out – I made these for the eighth time yesterday and they came out upside down again – but after making them so many times, I figured out what went wrong – I OVERMIXED the crust ingredients… instead of crumbly, I got a cookie-dough consistency – and sure enough, the crust rose above the custard and it turned out as lemon crumble!!” I hope this helps.
Dear Natasha, thank you for taking the time to reply!
That checks out, I might have overmixed the crust and perhaps it was too cooled when I poured the filling in.
I’ll have a go at it again and use your recipe for sure, it’s the best! Thanks again!
You’re welcome, Aya! You got this & I hope you love it!
Hi Natasha
These Lemon Bars are awesome! I have had so many compliments when I make them. I keep having an issue though with the parchment paper sticking to the crust. It’s a pain trying to peel it off before I cut them. Wondered if anyone else had this happen.
Hi Michelle, I found if you pull the parchment paper up slightly to easily loosen from the pan then transfer to a cutting board.
I have not tried this recipe yet but I’m in a time crunch and wonder if I make the crust a day ahead? Thanks
Hi Rose, I haven’t tried just making the crust a day ahead but I think that’s fine. You can make this recipe a head of time, just check the Make Ahead tips.
Merry Christmas
I am used to Ina or Paula Deen’s recipe and then I came across yours and as excited to try as I love vanilla in most things? ;)I love that there is vanilla in the crust because I mean, c’mon who doesn’t love vanilla in most things? 😉
For the gluten full recipe I followed to a T and the lemon custard is so rich and probably the best lemon bars I’ve ever made!
I used this recipe to do a gluten free version so I can gift these to others and also enjoy a few myself without gluten.
For the crust: I added 1/2 tsp of vanilla paste, 1/2 tsp of almond extract along w/the 1.5 tsp of homemade vanilla.
I did 1/4 C of fine sugar & 1/4 C of powder sugar. I used Arrowhead Mills gluten free flour in place of AP.
For the filling I used 2 C of sugar instead of 3.
I added about 1/2 tsp of extra lemon zest.
I added the 1 C of gf flour to the filling.
It’s in the oven and since I’m not eating gluten (for the most part) I’ve been looking for gf recipes and I’m hopeful it’s going to be amazing!
Thank you Natasha! Many blessings
Hi Laura! Thank you for sharing that with us. I’m so glad you loved the recipe! Let us know how they turned out with the modifications for GF.
Hi,
I just finished making the lemon bars and for some reason the filling turned brown (and burned) on top while beneath it was still uncooked. What did I do wrong? I followed the recipe exactly….
Hi Ellen. It’s likely your oven running hot or not baking evenly. I would recommend using an Internal oven thermometer (Amazon affiliate link) to see if your oven is calibrated well. Also- if you have a heating element at the top, be sure to position your oven rack so it’s not too close to the burner.
This recipe is written for a conventional oven on regular bake mode. If you are using a different oven/setting you’ll likely need to make adjustments.
Hi Natasha,
I do not have a pan 13x9x2″. Would 9x9x2″ pan work?
Hi Molly, I haven’t tested that to advise but if you cut the recipe in half, you can use 3.5 eggs. You need to whisk it up and then divide it into two by taking two tablespoons out. I hope that helps.
Amazing. These are the perfect lemon bars. And the crust is so good I’m about to try making cookies out of it
Thats a wonderful idea, Jake! I’m so glad you loved it!
I had lemons! But didn’t know what I could with all of them? So I looked at recipes and decided on using your lemon bars version because from experience I’ve found that your recipes are always clear, straightforward and successful. Plus watching your videos is always instructive and entertaining. They turned out great! You’re getting famous… and for good reason. I wish I could post an image, but I did on my FB page. People think I’m a good chef and I fool them because I use your recipes : ) Thank you.
That’s wonderful! Thank you for trying my recipe! I’m so glad you loved them.