This post may contain affiliate links . Read my full Disclosure Policy.
These Sourdough Lemon Bars have a soft, buttery shortbread crust topped with a bright and tangy lemon custard filling. Finished with a light dusting of powdered sugar, they’re packed with fresh lemon flavor and the perfect balance of sweet and tart.

Save & Summarize
This is the kind of dessert you’ll want to bring to every spring gathering! The filling is tart yet sweet, and the shortbread crust is really soft, but durable enough to hold the lemon custard filling, creating the perfect balance of flavors and textures. Simple to make but full of flavor, these lemon bars are an irresistible dessert that will have everyone asking for the recipe.
If you love bright flavors, be sure to also try my Lemon Blueberry Sourdough Focaccia and Strawberry Lemon Sourdough Scones.
Why you will love this recipe
- Only 7 simple ingredients – You only need a few simple ingredients to make this easy Sourdough Lemon Bar recipe.
- Great use for sourdough discard – This Sourdough Lemon bar uses discard as a thickener and stabilizer for the filling as well as in the shortbread crust.
- Bright, fresh flavors – Just like my Lemon Poppy Seed Sourdough Muffins, the bright lemon is the perfect flavor for spring or summer baking.
- Easy recipe for special occasions – These Sourdough Lemon Bars are sure to be the talk of the party! They are the perfect dessert for Easter Brunch, Mother’s Day, or any other spring gathering.
Important Ingredients and Substitutions

- Sourdough discard – I recommend using fresher discard so that the flavor is not too overpowering in the filling. Active sourdough starter will also work if you do not have discard.
- Lemon – Lemon juice and lemon zest create the bright lemon custard filling. I recommend using fresh lemon juice for the best flavor. If you have extra lemons make my Lemon Blueberry Sourdough Bread.
- Sugars – You will need powdered sugar for the crust and to dust on top of the bars, as well as granulated sugar for the filling.
- Butter- I use salted butter, but if you use unsalted butter, I recommend adding 1/4 teaspoon of salt to the dough.
See all the ingredients and amounts in the recipe card below.
Instructions to make Sourdough Lemon Bars

Step 1 – Make the shortbread crust
Melt the butter and mix with the discard in a medium bowl. Add the powdered sugar and flour and mix to combine.

Step 2 – Bake the crust
Grease or line a 9×9 baking pan and press the shortbread cookie dough into the bottom of the pan. Make sure to press the dough all the way into the corners. You can use a piece of parchment paper to help press the dough down.
Bake the crust in a preheated 350℉ oven for 20 minutes.

Step 3 – Make the filling
While the crust bakes, make the filling. Add the sugar to a mixing bowl and zest the lemon. Rub the zest and sugar between your fingers to release the oils.
Then whisk in the eggs, lemon juice, and discard until fully incorporated. Right before pouring it on the crust, whisk again to ensure it is all mixed up.

Step 4 – Bake
Pour the lemon filling over the hot crust and bake for 22-25 minutes. The top will look set and will have just a slight jiggle when it is ready.

Step 5 – Chill
Let the lemon bars cool down and then cover and chill in the fridge for 1-2 hours to finish setting.

Step 6 – Serve
Top with powdered sugar and cut into 9-16 squares depending on your desired size.
Recipe Tips
- Make sure to bring the crust all the way to the edges of the pan to ensure that the lemon custard doesn’t leak underneath the crust.
- Use room temperature discard so that it is easier to mix in with the rest of the ingredients.
- I recommend using fresher discard so it’s not too tangy in the filling.
- Make sure the eggs are completely whisked when making the filling, because if not, they can cook like egg whites on top.
- The lemon filling will seem very runny when pouring onto the crust, but it will set as it bakes.
- Use fresh-squeezed lemon juice for the best flavor. You will need about 2 large lemons.

Storage instructions
To store the Sourdough Lemon Bars, add them to an airtight container and store in the refrigerator for up to one week.
You can also freeze the lemon bars for up to 3 months. I recommend cutting the lemon bars into squares and then freezing the bars before adding the powdered sugar dusting on top. You can wrap them individually with plastic wrap so you can remove as many as you’d like at a time. To thaw, add the bars to the fridge overnight and then serve with a fresh dusting of powdered sugar.
Recipe FAQ
Yes, either active starter or discard will work in this recipe.
Sure! The recipe will work with other types of citrus, such as oranges.
It is normal to have a layer of air bubbles on the top of your lemon bars. It is caused by air rising from the eggs as it bakes. Some batches of lemon bars will have it, and some won’t. Both are normal, and it doesn’t affect the taste. Just cover with a dusting of powdered sugar, and no one will notice!
More Sourdough Desserts
Sourdough Discard Recipes
Sourdough Strawberry Cheesecake Cookies
Sourdough Discard Recipes
The Best Sourdough Strawberry Shortcake Recipe
Sourdough Discard Recipes
Sourdough Carrot Cake (9×13 or Bundt pan)
Sourdough Breakfast Recipes
Strawberry Lemon Sourdough Scones
Tried the Sourdough Lemon Bars or another recipe from the site? I’d love to hear about it! Drop a star rating and share your thoughts in the comments. Can’t wait to see what you’re baking!

Sourdough Lemon Bars
Equipment
Ingredients
Shortbread crust
- 140 grams salted butter , 10 Tablespoons
- 75 grams sourdough discard , ⅓ cup
- 60 grams powdered sugar , ½ cup
- 210 grams all-purpose flour, 1 ½ cup
Filling
- 300 grams granulated sugar , 1 ½ cup
- 1 zest of one large lemon
- 4 large eggs
- 75 grams sourdough discard, ⅓ cup
- 75 grams freshly squeezed lemon juice, ⅓ cup, 2 large lemons
Instructions
- Preheat: Preheat the oven to 350℉
- Make shortbread: Melt the butter and mix with the discard in a medium bowl. Add the powdered sugar and flour and mix to combine.140 grams salted butter , 75 grams sourdough discard , 60 grams powdered sugar , 210 grams all-purpose flour
- Add to pan: Grease or line a 9×9 baking pan and press the shortbread cookie dough into the bottom of the pan. Make sure to press the dough all the way into the corners. You can use a piece of parchment paper to help press the dough down.
- Bake shortbread: Bake the crust for 20 minutes.
- Make filling: While the crust bakes, make the filling. Add the sugar to a mixing bowl and zest the lemon. Rub the zest and sugar together to release the oils.300 grams granulated sugar , 1 zest of one large lemon
- Add wet ingredients: Whisk in eggs, lemon juice, and discard until fully incorporated. Right before pouring it on the crust give it one last mix. 4 large eggs, 75 grams freshly squeezed lemon juice, 75 grams sourdough discard
- Add filling: Pour the lemon filling over the hot crust and bake for 22-25 minutes. The top will look set and will have just a slight jiggle like jello when it is ready.
- Cool: Let the lemon bars cool and then chill in the fridge for 1-2 hours to finish setting.
- Serve: Top with powdered sugar and cut into 9 squares.
Notes
- Make sure to bring the crust all the way to the edges of the pan to ensure that the lemon custard doesn’t leak underneath the crust.
- Use room temperature discard so that it is easier to mix in with the rest of the ingredients.
- I recommend using fresher discard so it’s not too tangy in the filling.
- Make sure the eggs are completely whisked when making the filling, because if not, they can cook like egg whites on top.
- The lemon filling will seem very runny when pouring onto the crust, but it will set as it bakes.
- Use fresh-squeezed lemon juice for the best flavor. You will need about 2 large lemons.
- To store, refrigerate for 1 week or freeze for up to 3 months.
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.











the best!
Thanks so much!
These bars are so easy to make and delicious! Next time, I will use discard that is only a day or two old as you suggested, but I wanted to make them today and only had half the quantity in fresh discard.
Love the layout of your recipe cards having the ingredient measurements included in each step. It is so nice not having to scroll back to get them.
Thanks so much, Betty!
These are SO good. The shortbread is thick and the lemon filling is silky smooth and just tart enough. Will be making again!
Thanks Cassie!!
These are amazing and so easy to make. It’s my first time making lemon bars and they turned out just as you described. Thank you for all the tips.
I just made this! Easy to make and followed directions. Cannot wait to comment on how it tastes! It looks and smells amazing!
So happy to hear that! Hope you love it.
Quick, easy and very tasty
I tested this recipe so many times to get it just right, and they are absolutely delicious! So much lemon flavor and a soft, chewy crust.