Sourdough Sugar Cookie Bars with Vanilla Buttercream
This post may contain affiliate links. Please read our disclosure policy.
These Sourdough Sugar Cookie Bars have all the buttery flavor and soft, chewy texture of classic sugar cookies—without all the rolling, cutting, and decorating! They’re baked in one pan, topped with a smooth vanilla buttercream frosting, and are perfect for birthdays, holidays, or anytime you’re craving an easy homemade dessert.
If you have a little extra time, my classic Sourdough Sugar Cookies are always worth making, but these bars are my go-to when I want something simpler. You can even long-ferment the dough for up to 3 days for even more sourdough flavor, and if you’re looking for another cookie favorite, my Sourdough Brown Sugar Cookies are another must-try.

Quick Look: Sourdough Sugar Cookie Bars
- Prep Time: 15 minutes
- Cook Time: 20–25 minutes
- Total Time: 1 hour 40 minutes
- Servings: 12 cookie bars
- Calories: ~ 267 kcal per bar (based on nutrition panel)
- Cook Method: Baked
- Flavor Profile: Soft, buttery, and chewy with hints of vanilla and almond, topped with a smooth, creamy vanilla buttercream frosting. Easy to customize for any celebration!
- Difficulty: Easy — Simple pantry ingredients, baked in one pan, and no rolling or cutting required!
SUMMARIZE & SAVE THIS CONTENT ON
Why You’ll Love These Sourdough Sugar Cookie Bars
- Soft and chewy, not cakey — These bars stay soft and have the perfect chewy texture from the center all the way to the edges. The cornstarch and extra egg yolk help keep them tender so you won’t end up with dry, cakey cookie bars. My Sourdough Blondies are another chewy dessert that’s always a hit.
- Made with simple pantry ingredients — If you already keep sourdough discard in the fridge, there’s a good chance you have everything else on hand already, too. These Sourdough Granola Bars are another easy sourdough discard recipe made with everyday pantry ingredients.
- Rich, buttery flavor — Butter gives these bars that classic sugar cookie flavor, while the vanilla and almond extracts add a little extra depth. My Sourdough Thumbprint Cookies start with a similar buttery cookie dough before they’re filled with jam.
- Easy to decorate for any occasion — I finished these with pink buttercream and confetti sprinkles, but they’re easy to change for just about any celebration. Swap the frosting color, use your favorite sprinkles, or leave them plain if you prefer. My Sourdough Fruit Pizza is another recipe that’s easy to dress up for birthdays, holidays, and other special occasions.
- Can be long-fermented — The dough can be covered and refrigerated for up to 3 days before baking, making it easy to fit around your schedule. That’s especially handy if you’re baking for a party or holiday and want to spread the work out. My Overnight Sourdough Recipes collection includes plenty of other recipes you can prep ahead, too.
Ingredients & Substitutions
* To find precise measurements, scroll to the bottom of this post to find the recipe card*

- Unsalted butter—You’ll want to use room-temperature butter. If you press the butter, it leaves a fingerprint, but it doesn’t leave your finger oily. Cold butter doesn’t cream as well.
- Sugar—I wouldn’t recommend reducing the sugar. It helps keep the cookie bars chewy rather than cakey, while also giving them the right amount of sweetness. Granulated white sugar gives these bars the classic sugar cookie flavor and texture, but organic cane sugar works well too.
- Eggs—Use room temperature eggs so they mix more easily into the batter. Since the sourdough discard adds extra moisture, I only use the egg yolks to help keep the dough balanced. If you forgot to take the eggs out ahead of time, place them in a bowl of warm water for about 5 minutes.
- Vanilla Extract—I used a combination of vanilla and almond extracts. I love the subtle fruity, nutty notes the almond extract adds to these sourdough sugar cookie bars, but you can leave it out if you prefer.
- Flour – I use all-purpose flour for these sourdough discard sugar cookie bars. I haven’t tested this recipe with bread flour or whole wheat flour yet, but if you give either one a try, I’d love to hear how it turns out.
- Leaveners—A little baking powder and baking soda give these delicious sugar cookie bars a light lift without making them cakey.
- Cornstarch—Adding some cornstarch keeps these sourdough cookie bars soft, more tender, and chewier.
- Sourdough Discard—For sweet treats like these easy sugar cookie bars, I prefer to use fresh sourdough discard that’s no older than 1–2 days. It gives the bars a classic sugar cookie flavor, while older discard adds a more noticeable tang. You can also use the same amount (by weight) of active sourdough starter.

Vanilla Buttercream
- Unsalted butter: Use softened butter for the creamiest, smoothest buttercream. If you’re using salted butter instead, leave out the pinch of salt.
- Food color: I used 1 drop of red food coloring to create a soft pastel pink, but it’s completely optional. You can easily customize these sugar cookie bars for any holiday or celebration by changing the frosting color and using your favorite sprinkles.
- Powdered sugar
- Confetti Sprinkles – My kid’s favorite part! I used these sprinkles! I love how you can easily change them out to fit for any holiday or celebration.
How to Make Sourdough Sugar Cookie Bars
- Preheat the oven to 350°F and line an 8×8-inch square pan with parchment paper. Set aside.

- In a medium bowl, whisk together the flour, baking powder, baking soda, cornstarch, and salt.

- In the bowl of a stand mixer (or electric mixer), cream together the butter and sugar until light and fluffy.

- On low speed, mix in the egg yolks one at a time, then add the sourdough starter discard (or active starter), vanilla extract, and almond extract until smooth.

- Slowly add the dry ingredients to the wet ingredients until no streaks of flour remain.

- Press the cookie dough into the prepared baking pan.

- Bake the sourdough sugar cookie bars for 20–25 minutes. The bars are done when the edges are lightly golden brown and the center still has a slight jiggle.
- Remove the bars from the oven and place the pan on a wire rack to cool completely.

- In a stand mixer fitted with the paddle attachment, beat the softened butter on medium speed for 2 minutes. Add the powdered sugar, heavy cream, vanilla extract, salt, and food coloring. Mix on low until combined, then beat until light and fluffy.

- Top the cooled cookie bars with the frosting and sprinkles. Slice and enjoy!
McKenna’s Helpful Tips
- Don’t overbake. This will make the bars cakey and dry instead of thick and chewy. The bars will continue to bake as they cool in the pan.
- Use wet fingers to press the dough into the pan. The dough is thick, and lightly wetting your fingers makes it much easier to spread into an even layer.
- Wipe your knife clean between slices. It only takes a few seconds, but it gives you much cleaner-looking bars after the buttercream has been spread on top. It’s the same trick that gives me clean-cut Sourdough Brownies.
- The bars will sink. Don’t worry. This is normal. They’ll be covered with buttercream frosting, so no one will ever know.
How to Store
Store the frosted sugar cookie bars in an airtight container at room temperature for up to 3 days. If your kitchen is especially warm, store them in the refrigerator for up to 5 days. Let the bars sit at room temperature for about 20–30 minutes before serving so the buttercream softens and the bars have their best texture.
For longer storage, freeze the unfrosted cookie bars for up to 3 months. Wrap them tightly in plastic wrap, then place them in a freezer-safe container or bag. Thaw at room temperature before frosting and serving.

Sourdough Sugar Cookie Bars FAQs
Yes, you can! Cover the cookie bar dough and refrigerate it for up to 3 days before baking. When you’re ready to bake, let the dough come to room temperature first, or bake it straight from the refrigerator and add a few extra minutes to the baking time.
Yes. Fold 60–80 grams of jimmy-style sprinkles into the cookie dough after the dry ingredients have been mixed in. Give it a quick mix, then press the dough into the prepared pan as directed. Jimmy-style sprinkles hold their shape much better than nonpareils. If you’re putting together a holiday cookie tray or dessert platter, consider pairing these bars with Sourdough Peanut Butter & Jelly Sandwich Cookies for a fun variety of flavors and colors.
The cookie bars are done when the edges are lightly golden brown and the center still has a slight jiggle. If a toothpick inserted into the center comes out clean, they’re already overbaked. I use the same visual cues when baking Sourdough Magic Chocolate Bars to keep them soft and gooey.
Yes! You can double this recipe if you’re serving a larger crowd. Simply double the ingredients and bake the cookie bars in a 9×13-inch baking pan.
If you tried this Sourdough Sugar Cookie Bars recipe or any other recipe on my blog, please leave a 🌟 star rating and let me know how it went in the📝 comments below. Thanks for visiting!

Sourdough Sugar Cookie Bars
Enter your email below, and we’ll send it straight to your inbox! Plus, you’ll get my newest sourdough recipes and best tips every week!
Ingredients
Sourdough Sugar Cookie Bars
- 220 grams all-purpose flour 1 1/2 cups + 1 Tablespoon
- 4 grams baking powder 1 teaspoon
- 2 grams baking soda 1/4 teaspoon
- 7 grams cornstarch 2 teaspoons
- 3 grams salt 1/2 teaspoon
- 200 grams sugar 1 cup
- 113 grams unsalted butter, room temperature 1/2 cup
- 2 egg yolks, room temperature
- 100 grams sourdough discard, room temperature 1/3 cup
- 8 grams vanilla extract 2 teaspoons
- 1 gram almond extract, optional 1/4 teaspoons
Vanilla Buttercream
- 113 grams unsalted butter, room temperature 1/2 cup
- 180 grams powdered sugar scant 1 1/3 cups
- 30 grams heavy cream 2 Tablespoon
- 4 grams vanilla extract 1 teaspoon
- pinch of salt
- food coloring, optional
- confetti sprinkles, optional
Instructions
Sourdough Sugar Cookie Bars
- Preheat the oven to 350 degrees F and line an 8×8 inch square pan with parchment paper. Set to the side.
- In a medium bowl, whisk together the flour, baking powder, baking soda, cornstarch and salt. Set to the side.220 grams all-purpose flour, 4 grams baking powder, 2 grams baking soda, 7 grams cornstarch, 3 grams salt
- In a bowl of a stand mixer, cream together the butter and sugar on medium speed until light and fluffy, about 3-4 minutes.200 grams sugar, 113 grams unsalted butter, room temperature
- On low speed, mix in the egg yolks one at a time until fully incorporated. Then add the sourdough discard, vanilla extract and almond extract until smooth.100 grams sourdough discard, room temperature, 2 egg yolks, room temperature, 8 grams vanilla extract, 1 gram almond extract, optional
- Slowly add the dry ingredients into the wet ingredients until there are no more streaks of flour. The cookie dough will be thick. If you’d like, you can add sprinkles to the cookie dough. I’d add 60-80 grams of jimmy-style sprinkles and give a quick mix.
- Press the sourdough sugar cookie dough into the prepared baking pan. Note: Since the dough is thick, it can be quite challenging to spread. I like to lightly wet my fingers and press the dough into an even layer. Remember, it doesn’t have to be perfect since we’ll be covering it with frosting!
- Bake the Sourdough Sugar Cookie Bars for 20-25 minutes. Be careful not to OVERBAKE. The bars are done when the edges are lightly golden brown and the center still has a slight jiggle. The bars will continue to bake while they cool in the pan. If you poke a toothpick in the center and it comes out clean, it is overbaked.
- Remove the cookie bars from the oven and place on a wire rack to cool completely. Note: The bars will sink, this is expected! If you’d like a more even finish, you can press the bake of a spoon on the edges to help flatten them.
Vanilla Buttercream Frosting
- In a stand mixer with a whisk attachment, beat the softened butter on medium speed for 2 minutes or until smooth and creamy.113 grams unsalted butter, room temperature
- Next, add the powdered sugar, heavy cream, vanilla, pinch of salt and food coloring. I used one drop of red food coloring for a light shade of pink. Mix on low until everything is combined, then beat on medium-high for about 3 minutes or until light and fluffy.180 grams powdered sugar, 30 grams heavy cream, 4 grams vanilla extract, pinch of salt, food coloring, optional
- Once the sugar cookie bars have completely cooled, spread the frosting evenly on top and top with sprinkles, if desired. Slice into 8 larger bars or 16 smaller bars and enjoy!confetti sprinkles, optional
Notes
Ingredients & Substitutions
- Unsalted butter—You’ll want to use room-temperature butter. If you press the butter, it leaves a fingerprint, but it doesn’t leave your finger oily. Cold butter doesn’t cream as well.
- Sugar—I wouldn’t recommend reducing the sugar. It helps keep the cookie bars chewy rather than cakey, while also giving them the right amount of sweetness. Granulated white sugar gives these bars the classic sugar cookie flavor and texture, but organic cane sugar works well too.
- Eggs—Use room temperature eggs so they mix more easily into the batter. Since the sourdough discard adds extra moisture, I only use the egg yolks to help keep the dough balanced. If you forgot to take the eggs out ahead of time, place them in a bowl of warm water for about 5 minutes.
- Vanilla Extract—I used a combination of vanilla and almond extracts. I love the subtle fruity, nutty notes the almond extract adds to these sourdough sugar cookie bars, but you can leave it out if you prefer.
- Flour – I use all-purpose flour for these sourdough discard sugar cookie bars. I haven’t tested this recipe with bread flour or whole wheat flour yet, but if you give either one a try, I’d love to hear how it turns out.
- Leaveners—A little baking powder and baking soda give these delicious sugar cookie bars a light lift without making them cakey.
- Cornstarch—Adding some cornstarch keeps these sourdough cookie bars soft, more tender, and chewier.
- Sourdough Discard—For sweet treats like these easy sugar cookie bars, I prefer to use fresh sourdough discard that’s no older than 1–2 days. It gives the bars a classic sugar cookie flavor, while older discard adds a more noticeable tang. You can also use the same amount (by weight) of active sourdough starter.
Vanilla Buttercream
- Unsalted butter: Use softened butter for the creamiest, smoothest buttercream. If you’re using salted butter instead, leave out the pinch of salt.
- Food color: I used 1 drop of red food coloring to create a soft pastel pink, but it’s completely optional. You can easily customize these sugar cookie bars for any holiday or celebration by changing the frosting color and using your favorite sprinkles.
- Powdered sugar
- Confetti Sprinkles – My kid’s favorite part! I used these sprinkles! I love how you can easily change them out to fit for any holiday or celebration.
Helpful Tips
- Don’t overbake. This will make the bars cakey and dry instead of thick and chewy. The bars will continue to bake as they cool in the pan.
- Use wet fingers to press the dough into the pan. The dough is thick, and lightly wetting your fingers makes it much easier to spread into an even layer.
- Wipe your knife clean between slices. It only takes a few seconds, but it gives you much cleaner-looking bars after the buttercream has been spread on top. It’s the same trick that gives me clean-cut Sourdough Brownies.
- The bars will sink. Don’t worry. This is normal. They’ll be covered with buttercream frosting, so no one will ever know.





This recipe isn’t just delicious, it’s also so easy and festive! My kiddos loved helping make the frosting and putting on the sprinkles.