This Sourdough Discard Carrot Cake is wonderfully moist and full of warm spices, with a tangy sour cream frosting that balances the sweetness. It’s a lovely spring or Easter dessert, though I’d happily enjoy it any time of year.

Why you’ll love this recipe
- This Sourdough Discard Carrot Cake is easy to make and packed with flavor.
- The sour cream frosting (or an optional cream cheese swap) adds a bright, tangy finish that complements the cake’s sweetness.
- The cake is very moist and stays fresh for several days, so leftovers are excellent.
- This recipe is a great way to use sourdough discard while creating a delicious dessert for special occasions or weekend brunch.
- The cake isn’t overly sweet and works well for brunch or dessert.
Ingredients
Below are the ingredients you’ll need to make this Sourdough Discard Carrot Cake.

- Sourdough discard: Use unfed discard at room temperature. This recipe is built for a starter fed 1:1. If your starter uses a different ratio, you may need small adjustments.
- Shredded carrots: Use the small holes of a box grater for even distribution. Coarser shreds are fine but may sink. A microplane gives a very fine shred that almost “melts” into the cake.
- Walnuts & raisins: Optional but recommended for texture and flavor.
- Sour cream: Works well with dairy or non-dairy sour cream. You can substitute cream cheese 1:1 for a classic cream cheese frosting.
See the full recipe card below for exact measurements and step-by-step directions.
Substitutions & Variations
This recipe is flexible—here are a few easy variations to try:
- Add shredded coconut: Fold in ½ cup shredded coconut with the carrots and add-ins.
- Swap mix-ins: Replace walnuts and raisins with your favorite nuts and dried fruit.
- Make a cream cheese frosting: Substitute sour cream with an equal amount of cream cheese for a richer frosting.
- Use active starter: You can swap the discard for 200g active starter without changing other ingredients.
How to Make Sourdough Discard Carrot Cake
Don’t overmix when combining wet and dry ingredients—stir just until combined for a tender crumb. The full recipe card with precise measurements and timing is below.

- Step 1: Whisk dry ingredients together (except sugars).

- Step 2: Shred carrots using the small holes of a box grater.

- Step 3: Mix sugars, oil, eggs, and vanilla until smooth, then add sourdough discard.

- Step 4: Fold dry ingredients into wet until just combined.

- Step 5: Fold in carrots, walnuts, and raisins.

- Step 6: Pour batter into the prepared pan and bake until a toothpick comes out clean.

- Step 7: Once the cake is fully cooled, whip the frosting ingredients until smooth.

- Step 8: Spread frosting, slice, and serve.
Expert Baking Tips
- Shred carrots finely: Small-grate carrots disperse evenly and are less likely to sink.
- Add-ins: Walnuts and raisins add great texture, but you can swap them for other nuts and dried fruit.
- Don’t overmix: Fold ingredients until just combined to keep the cake tender.
- Avoid opening the oven: Let the cake bake undisturbed for the recommended time and check doneness with a toothpick.
- Cool completely before frosting: Warm cake will cause the frosting to soften or melt.
Shredding the Carrots
Use the small holes on a box grater for best results. Larger shreds work but can sink while baking. A microplane produces a very fine shred that blends into the crumb for a more uniform texture.
Storage
Refrigerator: Keep the cake covered or in an airtight container for up to 3 days.
Freezer: You can freeze the cake before or after frosting for up to 3 months.
- To freeze before frosting: Cool completely, wrap tightly in plastic wrap and foil, and freeze.
- To freeze after frosting: Chill the frosted cake briefly to set the frosting, then portion or wrap the whole cake and freeze.
- Thawing: Thaw overnight in the refrigerator or for a few hours at room temperature before serving.

Recipe FAQs
Sourdough discard is the portion of starter removed when you feed your starter. Rather than throwing it away, you can use it in baked goods like this carrot cake to add flavor and reduce waste.
Yes. While not specifically tested by the author, bake times will be shorter—start checking at 12 minutes and expect up to about 20 minutes depending on your oven and muffin size.
A 9-inch round pan has less area than a 9×9 square, so the batter will be deeper. You can bake in a 9-inch round, but expect longer bake time and consider tenting with foil toward the end to prevent over-browning. Alternatively, reduce quantities by roughly 20% to better match pan size.
Yes. Replace the sour cream in the frosting with an equal amount of cream cheese. Note that some dairy-free cream cheeses may not produce the same texture or flavor as dairy cream cheese; the sour cream frosting is a reliable dairy-free option.
No. Use dairy or dairy-free sour cream based on preference or dietary needs. Both work well in the frosting.
More Sourdough Cake Recipes
-
Sourdough Chocolate Zucchini Cake
-
Sourdough Lemon Loaf Cake
-
Sourdough Zucchini Cake
-
Sourdough Discard Strawberry Cake
If you try this Sourdough Discard Carrot Cake, please leave a star rating and a comment to share how it went. Happy baking!

Sourdough Discard Carrot Cake
Jessica Vogl
Equipment
- Kitchen scale
- Box grater
- Hand-held mixer
- Spatula
- 9×9-inch baking pan
- Cooling rack
Ingredients
For the Cake:
- ¾ cup all-purpose flour
- 1 ½ teaspoons baking soda
- 1 ½ teaspoons baking powder
- 1 ½ teaspoons ground cinnamon
- 1 teaspoon ground ginger
- ½ teaspoon ground cloves
- ½ teaspoon ground nutmeg
- ¼ teaspoon kosher salt
- ⅔ cup packed brown sugar
- ⅔ cup granulated sugar
- ⅓ cup vegetable oil
- 2 eggs
- 1 ½ teaspoons vanilla extract
- 200 grams (about ¾ cup) sourdough discard, unfed and at room temperature
- 2 cups shredded carrots
- ½ cup chopped walnuts (optional)
- ¼ cup raisins (optional)
For the Frosting:
- 4 Tablespoons unsalted butter, softened
- 4 Tablespoons sour cream (dairy or non-dairy), at room temperature
- ½ teaspoon vanilla extract
- 1 ¾ cups confectioner’s sugar
Instructions
- Preheat oven to 350℉. Grease and flour a 9×9-inch pan (or line with parchment) and set aside.
- In a small bowl, whisk flour, baking soda, baking powder, cinnamon, ginger, cloves, nutmeg, and salt. Set aside.
- Peel and shred carrots on the small holes of a box grater. Set aside.
- In a large bowl, use a hand mixer to beat the brown sugar, granulated sugar, oil, eggs, and vanilla until smooth and slightly fluffy, about 1 minute. Add the sourdough discard and mix until smooth.
- Fold the dry ingredients into the wet mixture until just combined and no dry spots remain. Fold in shredded carrots, walnuts, and raisins. Transfer batter to the prepared pan.
- Bake 45–50 minutes, or until a toothpick inserted into the center comes out clean. Let the cake cool in the pan 15 minutes, then transfer to a cooling rack to cool completely.
- For the frosting: Beat softened butter until creamy (2–3 minutes). Add sour cream and vanilla and mix until smooth. Add confectioner’s sugar and beat until combined. If the frosting is too thick, add sour cream 1 tablespoon at a time until you reach your desired consistency.
- When the cake is fully cooled, spread the frosting over the cake. Slice and serve.
Notes
*If you prefer not to grease and flour the pan, you can line it with parchment paper after greasing for easy removal.
To make a cream cheese frosting: Use 4 Tbsp cream cheese in place of the sour cream and follow the same steps. Note that some dairy-free cream cheeses may yield different texture or flavor; sour cream is a reliable non-dairy option.
To bake with active starter: Substitute 200g active starter for the discard without other changes.
Nutrition
Carbohydrates: 42 g
Protein: 2 g
Fat: 11 g
Leave a comment and share your experience. Happy baking!