There’s something about a pan of thick, golden sourdough chocolate chip cookie bars cooling on the counter that feels like pure comfort. Maybe it’s the way the buttery aroma fills the kitchen, or how those melty chocolate pockets peek through the crackly top. Either way, this recipe is one of those “make once, crave forever” kind of treats—especially if you’ve got extra sourdough discard hanging around.
These bars are soft in the center, slightly crisp on the edges, and loaded with gooey chocolate. The sourdough discard doesn’t make them tangy—it just deepens the flavor, giving you that rich, bakery-style bite without any fuss.
Ingredients
- 1 cup (226g) unsalted butter, melted and slightly cooled
- 1 cup (200g) brown sugar, packed
- ½ cup (100g) granulated sugar
- 2 large eggs, room temperature
- 1 tablespoon vanilla extract
- ½ cup (120g) sourdough discard (unfed, room temp)
- 2 ½ cups (315g) all-purpose flour
- 1 teaspoon baking soda
- ½ teaspoon baking powder
- 1 teaspoon salt
- 1 ½ cups (270g) chocolate chips (semi-sweet or milk)
Instructions
Start by preheating your oven to 175°C (350°F). Line a 9×13-inch baking pan with parchment paper, leaving a little overhang so you can lift the bars out later. Trust me, this makes life way easier.
In a large mixing bowl, whisk together the melted butter, brown sugar, and granulated sugar. It should look glossy and smooth, almost like caramel. That’s your base, and it’s where the magic begins.
Crack in the eggs and add the vanilla extract. Whisk until everything is fully combined and slightly thickened. Now stir in the sourdough discard. At this stage, it might look a little unusual—slightly looser than traditional cookie dough—but don’t worry, that’s exactly how it should be.
In a separate bowl, mix together the flour, baking soda, baking powder, and salt. Gradually fold the dry ingredients into the wet mixture. Don’t overmix—just stir until you no longer see dry flour streaks.
Now comes the best part: fold in the chocolate chips. Go generous here. You want every bite packed with chocolate.
Spread the dough evenly into your prepared pan. It will be thick, so use a spatula or even your hands to press it into the corners. For an extra bakery-style look, sprinkle a few extra chocolate chips on top.
Bake for 25–30 minutes, or until the edges are golden brown and the center is just set. If you like your bars fudgier, lean closer to 25 minutes. If you prefer a more set texture, go toward 30.
Once baked, let the bars cool completely in the pan. This part takes patience, but cutting too early will make them fall apart. Once cooled, lift them out using the parchment paper and slice into squares or rectangles.
Tips for the Best Cookie Bars
Use room temperature ingredients. It helps everything blend smoothly and gives you that perfect texture.
Don’t skip the parchment paper. It’s the easiest way to remove the bars cleanly without breaking them.
If you want thicker bars, use a smaller pan like 9×9 inches and increase baking time slightly.
Flavor Variations
These bars are super versatile, so you can switch things up depending on your mood:
- Add chopped walnuts or pecans for crunch
- Swap half the chocolate chips for white chocolate or butterscotch
- Sprinkle flaky sea salt on top before baking for that sweet-salty vibe
- Mix in a spoonful of peanut butter into the batter for a nutty twist
Storage
Store your cookie bars in an airtight container at room temperature for up to 4 days. If you want to keep them longer, pop them in the fridge for up to a week. You can also freeze them—just wrap individual bars and store for up to 2 months. Warm them slightly before eating and they’ll taste fresh out of the oven again.Storage
Store your cookie bars in an airtight container at room temperature for up to 4 days. If you want to keep them longer, pop them in the fridge for up to a week. You can also freeze them—just wrap individual bars and store for up to 2 months. Warm them slightly before eating and they’ll taste fresh out of the oven again.
Final Thoughts
These sourdough chocolate chip cookie bars are the kind of recipe you make when you want something easy but impressive. No scooping dough, no chilling time—just mix, bake, and enjoy. The sourdough discard adds a subtle depth that takes them from basic to unforgettable.
