These sourdough discard carrot cake bars are the perfect way to use up your fed or unfed starter while getting a moist, spiced, and lightly tangy treat. The discard adds a subtle depth and helps create a tender crumb, while the cream cheese frosting makes them taste just like classic carrot cake—but in an easy bar form. They come together in one bowl and are great for snacking, dessert, or even a brunch spread.
Ingredients
- 1 cup (240g) sourdough discard (unfed or fed, at room temperature)
- 1/2 cup (120ml) vegetable oil or melted coconut oil
- 3/4 cup (150g) granulated sugar
- 1/2 cup (100g) packed brown sugar
- 2 large eggs, at room temperature
- 1 teaspoon vanilla extract
- 1 1/2 cups (180g) all-purpose flour
- 1 teaspoon baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon salt
- 1 1/2 teaspoons ground cinnamon
- 1/2 teaspoon ground nutmeg
- 1/4 teaspoon ground ginger
- 1 1/2 cups (about 170g) finely grated carrots (about 2-3 medium carrots)
- 1/2 cup (60g) chopped walnuts or pecans (optional)
- 1/2 cup (80g) raisins (optional)
For the cream cheese frosting (optional but recommended):
- 8 oz (226g) cream cheese, softened
- 1/4 cup (60g) unsalted butter, softened
- 1 1/2 cups (180g) powdered sugar
- 1 teaspoon vanilla extract
Instructions
- Preheat your oven to 350°F (175°C). Line a 9x9-inch baking pan with parchment paper, leaving some overhang on two sides for easy lifting.
- In a large mixing bowl, whisk together the sourdough discard, oil, granulated sugar, brown sugar, eggs, and vanilla extract until smooth and well combined.
- In a separate bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger.
- Add the dry ingredients to the wet mixture and stir with a spatula until just combined—do not overmix.
- Fold in the grated carrots, and if using, the nuts and raisins.
- Pour the batter into the prepared pan and spread it evenly.
- Bake for 25–30 minutes, or until a toothpick inserted into the center comes out clean or with just a few moist crumbs. The edges should be lightly golden.
- Let the bars cool completely in the pan on a wire rack. This is crucial before frosting.
- While the bars cool, make the frosting: In a medium bowl, beat the cream cheese and butter together until smooth and creamy. Add the powdered sugar and vanilla, and beat until fluffy. If the frosting is too thick, add a teaspoon of milk; if too thin, add more powdered sugar.
- Once the bars are completely cool, spread the frosting evenly over the top. If you prefer, you can skip the frosting and serve plain.
- Lift the bars out using the parchment overhang, cut into squares, and serve.
Tips
- Use finely grated carrots: Coarse shreds can make the bars watery and uneven. Use the fine side of a box grater or a food processor with a fine grating disc.
- Don't overmix the batter: Overmixing develops gluten, which can make the bars tough. Stir until the flour just disappears.
- Room temperature ingredients matter: Cold eggs or discard can make the batter seize. Let them sit out for 30 minutes before mixing.
- Check for doneness early: Ovens vary. Start checking at 25 minutes to avoid dry bars.
Serving Suggestions
These bars are delicious on their own, but they shine with a dollop of cream cheese frosting. Serve them as a dessert with a scoop of vanilla ice cream, or cut them into smaller squares for a tea-time snack. They also make a great lunchbox treat—just keep the frosting on top or serve it on the side.
Variations
- Add coconut: Fold in 1/2 cup of shredded coconut for extra texture.
- Swap the nuts: Use sunflower seeds or pepitas if you have a nut allergy.
- Make it a loaf: Pour the batter into a 9x5-inch loaf pan and bake for 50–60 minutes, or until a toothpick comes out clean.
- Spice it up: Add a pinch of cloves or allspice for a warmer flavor profile.
Storage and Reheating
Store unfrosted bars in an airtight container at room temperature for up to 3 days. Frosted bars should be refrigerated and will keep for up to 5 days. You can also freeze unfrosted bars for up to 3 months—wrap tightly in plastic wrap and then foil. To reheat, warm a single bar in the microwave for 15–20 seconds, or in a 300°F oven for 5–7 minutes. If reheating frosted bars, remove the frosting first or reheat gently to avoid melting.
Frequently Asked Questions
Can I use active sourdough starter instead of discard?
Yes, you can use active starter, but the bars will be slightly less tangy. The texture will be similar. If your starter is very bubbly, you may need to reduce the baking soda by 1/4 teaspoon to avoid a slightly metallic taste.
Can I make these bars gluten-free?
Yes, you can substitute a 1:1 gluten-free all-purpose flour blend. The texture may be slightly more crumbly, but they will still be delicious. Make sure the blend contains a binder like xanthan gum.
Why are my bars dense or gummy?
This usually happens from overmixing the batter or not baking long enough. Overmixing develops gluten, while underbaking leaves the center wet. Also, make sure your carrots are finely grated and not too wet—pat them dry with a paper towel if they are very moist.
Can I skip the frosting?
Absolutely! The bars are great plain, or you can dust them with powdered sugar. If you want a lighter topping, try a simple glaze made with powdered sugar and milk.
How do I know when the bars are done?
Insert a toothpick into the center. It should come out clean or with a few moist crumbs, not wet batter. The edges will also pull away slightly from the pan.
Can I reduce the sugar?
You can reduce the total sugar to 1 cup (combined) without affecting the texture too much, but the bars will be less sweet. Keep in mind that sourdough discard can be tangy, so some sweetness balances it out.