This post may contain affiliate links. Please read our disclosure policy.

Homemade Lemon Bars, also known as Lemon Squares, are a super sweet and tart bar cookie.

The base is a rich and delicious lemon flavored buttery shortbread crust. The mixture on top is a creamy and heavenly lemon custard made from fresh lemons. The ratio of lemon to shortbread is perfect. A favorite among lemon desserts, this is the best lemon bar recipe you will find!

stack of lemon bars

Why this recipe works

Classic lemon bars are always a hit. There’s just something about a crisp shortbread crust covered with a tart lemon filling that will make you smile!

  • Simple ingredients: Lemons, eggs, butter, flour, and sugar are all that you’ll need!
  • Perfect balance between sweet and tart. These lemon bars are definitely more on the tart side. There is definitely a sweetness to them, but the sour punch hits you first. Sort of like a Lemon Head candy, only a million times better.
  • Perfect size. I structured the recipe so that they would cook perfectly in a 9×9 inch square baking dish. There are a lot of recipes out there that call for a 9×13 inch baking dish that seem to produce squares that are thin. My preference is for thick, tall lemon bars.
  • The best ratio. My recipe has a thicker layer of lemon curd filling than shortbread. This was intentional because I really wanted the lemon layer to shine. I even added the lemon zest to the simple shortbread crust to ensure every last morsel was overflowing with lip-smacking make-your-mouth-pucker lemon flavor.

Ingredients needed

These are really easy to make. This recipe consists of two parts: the shortbread crust and the lemon layer.

Shortbread crust

  • Butter: I always bake with unsalted butter since salt can always be added, if desired.
  • Sugar
  • All-purpose flour
  • Lemon zest: I use a microplane which works perfectly to remove the zest

Lemon layer

  • Sugar
  • All-purpose flour
  • Eggs: Always use fresh, high-quality large eggs
  • Lemon juice: Freshly squeezed is always recommended but bottled will work
ingredients needed to make lemon bars

How to make lemon bars:

Make Shortbread Crust

  1. Mix Dough. To make a perfectly sweet yet light and flaky shortbread crust, you must start with room temperature butter that gets whipped until light and fluffy. You can use a stand mixer with the paddle attachment to cream the butter. Then add in the sugar and beat the mixture until it is well mixed. Finally, you’ll add the flour and the lemon zest and mix just until all of the flour appears to be somewhat coated with the butter.
  2. Parbake Crust. You will line a 9×9 baking pan with parchment paper or aluminum foil. Bake crust until it just starts to turn golden brown. This may take 20-25 minutes.

Prepare Lemon Filling and Bake

  1. Mix ingredients. While the crust bakes, you can mix together the lemon layer ingredients by hand using a large bowl and a whisk. Start by mixing the dry ingredients, flour and sugar, and then mix in the eggs and fresh lemon juice.
  2. Bake. Pour the tart lemon custard layer right on top of the warm crust. Then continue baking in the oven for another 20-25 minutes. They are done when the luscious lemon filling no longer jiggles.

Slice and Serve

  1. Chill. After you remove the lemon bars from the oven, transfer the pan to a wire rack allow them to cool to room temperature. Then, place them to the refrigerator to chill.
  2. Slice. Lift the lemon bars out of the pan and set onto a cutting board. Generously dust with confectioners’ sugar. Use a large sharp knife to make clean slices, and cut into individual servings.

Cooking tips for best results:

  • Lemon zest and juice: Always zest your lemons before you juice them. If you juice them first, the zest will be more difficult to remove.
  • Bake with parchment: Line a 9×9 pan with parchment paper, or a foil lined parchment, so that the finished bars easily lift out of the pan once done baking. This makes it easy to transfer them to a cutting board for easy cutting. Parchment paper also makes clean up a breeze. If you don’t have parchment paper, foil will work.
  • Make them pretty: Sweetened and dried lemon slices added during the final minutes of cooking make these delicious lemon bars even prettier. I used to buy them at Trader Joe’s, however they have since been discontinued. A dusting of powdered sugar is a must.
  • Lemon varieties: Regular lemons that are available year-round work well in this recipe. Meyer lemons are less acidic, slightly sweeter, and their zest is more aromatic. Either standard or Meyer lemons will work, however my preference is to use Meyer lemons.
  • Baking pan: You can use a metal, glass, or ceramic baking pan. Keep in mind that cooking times may vary, and the baked crust will be ready to come out of the oven faster in a metal pan than it would a ceramic or glass pan.
cut lemon squares on black background


Lemon bars should be stored in an air-tight container and refrigerated. To prevent a skin from forming on top, place plastic wrap directly on top of the lemon squares.

You can enjoy them cold or allow them to come to room temperature before eating.

close up side view of homemade lemon bars

More lemon recipes to love

If the undeniable fresh flavor of lemon tickles your taste buds, then you should consider making some of these sweet and savory lemon inspired recipes!

If you’ve made this or any other recipe on my site, let me know in the comment section how it turned out. I love hearing from my readers!

You can also follow along on PINTEREST, FACEBOOK and INSTAGRAM to see more amazing recipes to satisfy any foodie craving!

Homemade Lemon Bars

Prep20 minutes
Cook40 minutes
cool time30 minutes
Total1 hour
Servings 16 servings
Homemade Lemon Bars, also known as Lemon Squares, are a super sweet and tart bar cookie. The base is a rich and delicious lemon shortbread. The top is a creamy and heavenly lemon custard layer. The ratio of lemon to shortbread is perfect. This is the best lemon bar recipe you will find!


Shortbread crust:

  • 3/4 cup butter softened (3/4 cup = 12 tablespoons)
  • 3/8 cup granulated sugar note: 3/8 cup equivalent to 6 Tablespoons (75 grams)
  • 1 1/2 cups all purpose flour
  • zest from one lemon equivalent to about 2 1/2 teaspoons (5 grams) of zest

Lemon layer

  • 1 1/2 cups granulated sugar
  • 1/4 cup all purpose flour
  • 4 eggs beaten
  • 2/3 cup fresh squeezed lemon juice may require 4-5 large lemons
  • sweetened dried lemon slices optional
  • powdered sugar for dusting


  • Preheat oven to 350°F.

Mix and bake crust

  • In a medium bowl or your stand mixer with the paddle attachment, cream butter until light and fluffy. Add the sugar and beat until well blended. Add flour and lemon zest and blend just until a crumb mixture forms.
    shortbread crust dough
  • Press into the bottom of an ungreased parchment lined 9×9 inch pan. Bake shortbread for 20-25 minutes in the preheated oven, or until firm and golden. 
    shortbread crust in square pan

Make filling and bake

  • While the crust is cooking, whisk together the remaining 1 1/2 cups sugar and 1/4 cup flour in a separate bowl. Whisk in the eggs and lemon juice. Pour over the baked crust.
    lemon bars in pan just before going into oven
  • Bake for an additional 20-25 minutes. If adding sweetened dried lemon slices, press them into the top a few minutes before the baking is complete. Remove from oven and allow bars to cool to room temperature.
    freshly baked lemon bars in pan

Chill and slice

  • Transfer pan to the refrigerator and allow bars to chill. The bars will firm up as they cool.
  • Once chilled, remove from pan. Optional: dust with powdered sugar.
    dusting lemon bars with powdered sugar
  • To serve, cut into nine 3-inch squares for large lemon bars or 16 smaller 2-inch squares.
    slicing homemade lemon squares


serving size is one 2-inch bar


Calories: 237kcal, Carbohydrates: 35g, Protein: 2g, Fat: 9g, Saturated Fat: 5g, Cholesterol: 63mg, Sodium: 92mg, Potassium: 43mg, Sugar: 23g, Vitamin A: 325IU, Vitamin C: 4mg, Calcium: 10mg, Iron: 0.9mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Did you make this? Leave me a comment below

This recipe was originally published in January 2018 and has been updated with helpful information, ingredient and process photos, as well as recipe tips. Don’t worry – the recipe hasn’t changed!

Hi! I’m Krissy.

I love to create the BEST versions of your favorite recipes. If you love to cook, love to eat, or just have a deep appreciation for good food, you’re in the right place! Stick around… I have hundreds of recipes for you to make.

You May Also Like

Leave a comment

Ask a question or leave a comment. I'm happy to help in any way and I love hearing what you think about the recipe. Be sure to leave a rating!

Recipe Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.


  1. Hi Krissy,
    Could you tell me, in grams or ounces, how much is in 1 1/2 cups flour? I prefer weighted ingredients to volume measures.
    Also, do you have a trick for keeping confectioner’s sugar from melting once you’ve sprinkled the bars? The sugar looks pretty for all of an hour and then, it dissolves into the bars. Thank you for any help with my questions. Your bars look great and I hope to make them very soon.

    1. Hi! I actually prefer to cook with weight as well, but because most of my baking recipes are pretty forgiving, I only list the volume. If you google the conversion, that’s the same kind of answer I’d give you (but I don’t want to tell you a number because I haven’t tested). I feel like the sugar stays pretty visible for a long time, especially if you wait until they are completely cool and any stickiness on the top has time to firm up. A second layer never hurt anything either! 🙂

      1. 5 stars
        This is my 1st time I used a homeade Lemon Bar recipe. It is wonderful! Thank you so much! It bothers me your 1st message is from a crabby person. Even I know add what you want? Remember that person has to live with themselves 24/7. Next time I may add a layer of fresh Rasberry jam after it cools? What do you think? Thanks again.

    1. Are you unable to make the correction? Recipes are written for the majority not for individuals. I have to make corrections all the time because my daughter has Celiac. So grow up

      1. 5 stars
        This is my 1st time I used a homeade Lemon Bar recipe. It is wonderful! Thank you so much! It bothers me your 1st message is from a crabby person. Even I know add what you want? Remember that person has to live with themselves 24/7. Next time I may add a layer of fresh Rasberry jam after it cools? What do you think? Thanks again.

        1. OMG – raspberry and lemon is a match made in heaven. If you try it, please let me know what you think!

  2. The recipe says 1;3 cup flour but the instructions says 1/4 cup flour. Wondering which is it

    1. I’m so sorry about that! I’ve corrected the recipe. Should be 1/4 cup (although the difference is super negligible so either would work). Thank you for pointing out that typo!