Classic Lemon Bars with Buttery Shortbread Crust

There’s something about lemon bars that always brings me back to childhood bake sales and summer potlucks. That sweet-tart balance is irresistible. Over the years I’ve made countless desserts, but when I want something simple, bright, and sure to disappear fast, I reach for these classic lemon bars.

Lemon bars on a wire rack.

This recipe delivers the perfect contrast of a buttery shortbread crust and a zesty lemon filling. It’s straightforward — no fancy techniques or special equipment — just honest homemade dessert that tastes like sunshine.

I once brought a pan of these squares to a family picnic. My notoriously picky aunt took one bite and asked, “You made these?” She went back for seconds and thirds, so that’s the highest praise I could hope for. They’ve become a family favorite and a regular request at gatherings: “Are you bringing the lemon bars?” I never mind — it gives me an excuse to make them again.

If you’ve never made lemon bars from scratch, don’t worry. They’re easy to throw together and the results are worth it. Just a heads up: they won’t last long once they come out of the oven, especially if you dust them with powdered sugar.

Why You’ll Love This Recipe

  • Bright, fresh lemon flavor: The filling is tart and sweet with just the right zing.
  • Buttery shortbread crust: Rich, melt-in-your-mouth, and the perfect base for the citrus topping.
  • Feeds a crowd: A 9×13 pan yields plenty of squares for parties, potlucks, or bake sales.
  • Simple ingredients: Pantry staples plus fresh lemon juice — no complicated shopping list.
  • Easy to make: No mixer required. Mix, bake, cool, and serve.
  • Make-ahead friendly: These keep well in the fridge, so you can prepare them a day ahead.

Ingredients

Full ingredient amounts are listed in the recipe card below.

For the crust:

  • All-purpose flour — the base of the crust; measure accurately by leveling with a knife.
  • Sugar — adds sweetness and helps the crust develop a light golden edge.
  • Salt — a pinch to balance the sweetness and enhance buttery flavor.
  • Unsalted butter — melted for easy mixing and pressing into the pan. Use unsalted to control salt.

For the lemon filling:

  • Large eggs — give the filling a silky, custard-like texture; room temperature eggs mix more smoothly.
  • Sugar — balances the tartness of the lemon juice and keeps the filling tender.
  • Fresh lemon juice — freshly squeezed provides the brightest flavor (about 3–4 lemons).
  • All-purpose flour — helps the filling thicken and set as it cools.
  • Baking powder — a small amount adds lightness so the filling isn’t too dense.
  • Powdered sugar — for dusting the finished bars (optional, added just before serving).
Ingredients on a white marble background.

How to Make Lemon Bars

  • Step One: Preheat the oven to 325°F (163°C). Grease a 9×13-inch baking pan or line it with parchment paper, leaving an overhang for easy removal.
  • Step Two: In a large bowl combine the flour, sugar, salt, and melted butter to form the crust. Press the mixture evenly into the prepared pan and bake for about 20 minutes, until the edges are lightly golden.
  • Step Three: While the crust bakes, whisk together eggs, sugar, lemon juice, flour, and baking powder until smooth. Pour the lemon mixture over the hot crust and return to the oven.
  • Step Four: Bake an additional 35 minutes, or until the filling is just set with a slight jiggle in the center. Avoid overbaking — it will firm up as it cools.
  • Step Five: Cool completely, then chill in the refrigerator for clean slicing. Dust with powdered sugar right before serving, if desired.
Collage of mixing ingredients in a bowl and adding to a pan.

What to Serve with Them

  • Fresh berries: Strawberries, raspberries, or blueberries add color and complement the citrus.
  • Whipped cream: A dollop adds creamy contrast to the tart filling.
  • Iced tea or lemonade: Keep the citrus theme going with a refreshing drink for warm days.
  • Coffee or espresso: For a cozier pairing, enjoy with a strong cup of coffee.
  • Vanilla ice cream: A scoop alongside a chilled lemon bar is indulgent and delicious.
A stack of the recipe on a plate.

Variations and Substitutions

  • Lime or orange juice: Swap the lemon for lime for extra zing, or orange for a sweeter bar.
  • Gluten-free: Use a 1:1 gluten-free flour blend in both crust and filling.
  • Add zest: Stir in a tablespoon of lemon zest to the filling for more citrus aroma and flavor.
  • Coconut crust: Add shredded coconut to the crust for texture and a tropical note.
  • Alternative crusts: Try crushed shortbread, vanilla wafers, or graham crackers; nut-based crusts (ground almonds or pecans) add crunch and depth.
  • Berry swirl: Dollop raspberry or blueberry jam on top of the filling and gently swirl before baking for color and fruity interest.
  • Less sugar: Reduce the sugar in the filling slightly for a tarter bar, keeping in mind it may affect texture.
The recipe on a platter.

Storage Instructions

  • Room temperature: If serving the same day, bars can sit out up to 6 hours covered loosely.
  • Refrigerator: Store in an airtight container for up to 5 days — chilled bars often taste even better.
  • Freezer: Freeze in a single layer, then stack with parchment between layers in a freezer-safe container for up to 3 months.
  • Thawing: Thaw overnight in the refrigerator or at room temperature for about 30 minutes. Dust with powdered sugar just before serving to keep the appearance fresh.
The recipe on a plate.

Recipe Tips and Tricks

  • Use fresh lemon juice: It makes a noticeable difference in brightness and flavor.
  • Press the crust firmly: Use your hands or a measuring cup bottom to compact the crust for a sturdy base.
  • Don’t overbake: The filling should be slightly jiggly; it will set as it cools.
  • Line your pan: Parchment with an overhang makes removal and slicing easier.
  • Pan choice: A glass pan yields a softer crust; a light-colored metal pan gives a crisper edge.
  • Cool completely before cutting: This helps the lemon layer finish setting for clean squares.
  • Wipe the knife between cuts: For neat edges, wipe the blade with a warm, dry cloth between slices.
  • Dust last-minute: Powdered sugar melts if added too early — sprinkle it right before serving.
The recipe on a plate with a bite out of it.

Why Your Lemon Bars Might Not Be Setting

  • Not baked long enough: The filling should jiggle slightly, not be liquid. Add a few more minutes if needed.
  • Oven temperature: An oven that runs cool can prevent the filling from setting properly.
  • Insufficient cooling: Let the bars cool fully and then chill before cutting; they firm up as they rest.
  • Too much liquid: Excess lemon juice or very large eggs can affect the texture.
  • Undermixed filling: Ensure ingredients are fully combined for an even set.

In most cases, additional baking time and proper cooling will fix setting issues.

What Are the Brown Spots on Top?

Brown spots are normal and usually come from caramelized sugar or slightly more cooked egg on the surface. They don’t affect flavor and are easily disguised with a dusting of powdered sugar.

Lemon Bars — Recipe Card (Summary)

Lemon Bars

Yield: 12 squares | Prep: 10 minutes | Cook: 50 minutes | Total: about 1 hour

Classic lemon bars with a buttery shortbread crust and tangy lemon filling. Easy to make and perfect for gatherings.

Ingredients (summary)

Crust: 2 cups all-purpose flour, 1/2 cup sugar, 1/4 tsp salt, 1 cup unsalted butter (melted).

Filling: 6 large eggs, 3 cups sugar, 1/2 cup lemon juice (fresh), 6 tbsp all-purpose flour, 1 tsp baking powder, powdered sugar for garnish.

Instructions (summary)

  1. Preheat oven to 325°F. Grease or line a 9×13-inch pan.
  2. Mix crust ingredients, press into pan, and bake 20 minutes.
  3. Whisk filling ingredients together, pour over hot crust, and bake 35 minutes.
  4. Cool completely, chill, then cut into squares and dust with powdered sugar if desired.

Nutrition (per square, estimated)

Calories: 484 kcal | Carbohydrates: 78 g | Protein: 6 g | Fat: 18 g | Sugar: 59 g

The nutrition values are estimates from an online calculator and should not replace professional advice.

Final Note

These lemon bars are a simple, reliable dessert that brightens any gathering. Fresh lemon juice, a well-pressed crust, and careful cooling make all the difference. Enjoy — and expect requests for the recipe!