This Sourdough Discard Carrot Snack Cake is soft, warmly spiced, and perfectly moist, making it the ideal cozy snack cake for spring baking. Baked in an 8×8 pan, it’s simple to prepare and just the right size for sharing with family or enjoying over a few days.
If you keep a sourdough starter, you probably find yourself with extra discard from time to time. This cake is a delicious way to use it, adding subtle tang and tenderness to the crumb.

Freshly grated carrots are the secret to the cake’s soft texture. As the cake bakes, the carrots melt into the batter, creating a rich and incredibly moist crumb.
Warm spices like cinnamon, ginger, and nutmeg give the cake its classic carrot cake flavor. The scent of these spices filling the kitchen while the cake bakes is one of the best parts of making it.
Once the cake cools, it’s topped with creamy homemade cream cheese frosting. The tangy sweetness pairs beautifully with the spiced cake.
To finish, a crunchy walnut streusel is sprinkled over the frosting. This buttery topping adds a delicious nutty texture that makes each slice even more irresistible.
If you like this recipe...
If you like this recipe, then I highly recommend you try my Chai Sheet Cake with Espresso Buttercream for a similar, cozy cake. You can easily cut the recipe in half and bake it in an 8x8 pan.
If you're looking for something summery and seasonal, give my Spiced Zucchini Snack Cake a try! It is extra moist and super easy to whip up in a small pan like this one.
Why You’ll Love This Carrot Snack Cake
- Incredibly moist crumb. Freshly shredded carrots, oil, and sourdough discard create a soft, tender cake that stays moist for days.
- Warm chai-inspired spices. Cinnamon, ginger, cardamom, and cloves give this cake a cozy bakery-style flavor.
- Perfect small-batch dessert. Baked in an 8×8 pan, it’s ideal for casual gatherings, weeknight desserts, or afternoon coffee.
- Simple snack cake format. No layers, no fuss—just bake, frost, and top with crunchy walnut streusel.
- A great use for sourdough discard. The discard adds subtle tang and depth without making the cake sour.
Best Seasons, Holidays, and Occasions to Make This Cake
This cozy snack cake is especially perfect for spring baking, when carrots and warm spices feel right at home in the kitchen. It’s a lovely dessert to enjoy during the transition from winter to warmer days.
It also makes a wonderful Easter dessert, whether served after brunch or as a simple afternoon treat with coffee. The soft carrot cake and cream cheese frosting feel festive without requiring a complicated layer cake.
This cake is also perfect for Mother’s Day gatherings or spring celebrations. Its small 8×8 size makes it easy to serve guests while still feeling homemade and special.
Because it’s simple to bake and easy to slice into squares, it’s great for casual get-togethers, family dinners, and weekend baking projects. The crunchy walnut streusel topping adds just enough texture to make it feel a little extra special.
Whether you’re celebrating a spring holiday or simply craving a cozy dessert, this cake pairs beautifully with a cup of coffee or tea and tastes just as delicious the next day.
Jump to:
Ingredients
Carrot Cake
- All-purpose flour
- Baking powder
- Baking soda
- Salt
- Ground cinnamon
- Ground ginger
- Ground nutmeg
- Sourdough discard
- Brown sugar
- Granulated sugar
- Neutral oil
- Eggs
- Plain yogurt or buttermilk
- Vanilla extract
- Finely grated carrots
- Chopped walnuts (optional)
Walnut Streusel
- Granulated sugar
- All-purpose flour
- Chopped walnuts
- Melted butter
Cream Cheese Frosting
- Cream cheese
- Unsalted butter
- Powdered sugar
- Vanilla extract
- Salt
See recipe card for quantities.
Ingredient Notes
Carrots
Freshly shredded carrots provide moisture and natural sweetness. Finely shredding them helps the carrots melt into the batter, giving the cake a soft texture. I love to use a food processor to shred them to save time! It always comes out perfectly, just make sure they are nice and finely shredded!
Sourdough discard
Discard adds moisture and a slight tang that balances the sweetness of the cake and frosting. It also gives the crumb a tender, bakery-style texture.
Oil
Oil keeps carrot cake moist longer than butter. It creates a softer crumb and prevents the cake from drying out.
Brown sugar
Brown sugar adds a deeper caramel flavor that pairs beautifully with the warm spices and carrots.
Chai spices
A blend of cinnamon, cardamom, ginger, cloves, and nutmeg gives this cake its cozy spiced flavor.
Four-Step Overview
Note: I bake by weight for accuracy. Cup measurements are approximate and may vary depending on how you scoop.

Step 1: Mix the cake batter: Whisk the dry ingredients in one bowl and the wet ingredients in another. Stir them together until just combined, then fold in the finely grated carrots.

Step 2: Bake the cake: Spread the batter into a prepared 8×8 pan and bake at 350°F for 30-35 minutes or until a toothpick inserted in the center comes out clean. Let the cake cool completely.

Step 3: Make the walnut streusel: Stir together sugar, flour, chopped walnuts, and melted butter until crumbly. Spread on a baking sheet and bake at 350°F for 10–15 minutes until golden. Let cool completely.

Step 4: Frost and finish: Spread cream cheese frosting over the cooled cake, then sprinkle the cooled walnut streusel over the top before slicing and serving.
Weigh your ingredients! Using a kitchen scale ensures your measurements are accurate, which is key for getting consistent results in baking. It takes the guesswork out of measuring and helps your recipes turn out exactly as intended every time.
Substitutions
- Oil: Use any neutral oil such as vegetable, canola, avocado, or melted coconut oil.
- Brown sugar: Swap with all granulated sugar or use coconut sugar for a deeper caramel flavor.
- Sourdough discard: Use active starter or replace it with 60g plain yogurt or buttermilk if you don’t have discard.
- Carrots: Pre-shredded carrots can work in a pinch, but freshly grated carrots give the best moisture and texture.
- Walnuts: Replace with pecans or leave them out completely for a nut-free cake.
- Spices: Adjust the spice blend to taste—extra cinnamon, a pinch of cloves, or cardamom all work well in carrot cake.
- Yogurt or buttermilk: Either works well, or substitute sour cream for a richer crumb.
- Cream cheese frosting: You can skip the frosting and dust the cake with powdered sugar for a lighter finish.
Variations
- Pineapple: Add 60g crushed pineapple (well drained) for extra moisture.
- Coconut: Fold in 40g shredded coconut.
- Orange Carrot Cake: Add 1 teaspoon orange zest to the batter.
- Brown Butter Frosting: Brown the butter before mixing the frosting for a nutty flavor.
Equipment
- 8×8 baking pan
- Box grater or food processor
- Large mixing bowl
- Medium mixing bowl
- Small mixing bowl
- Whisk
- Rubber spatula
- Kitchen scale
- Measuring cups and spoons
- Parchment paper
- Baking sheet
- Hand mixer or stand mixer
Storage
- Room temperature: If the cake is unfrosted, cover it tightly and store at room temperature for up to 2 days.
- Refrigerator: Once frosted with cream cheese frosting, store the cake covered in the refrigerator for up to 5 days.
- Freezer: The unfrosted cake can be wrapped tightly in plastic wrap and frozen for up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature before frosting and serving.
- Make ahead: This cake actually tastes even better the next day as the spices and carrot flavor continue to develop.
Audrey's Tip
Use a food processor to shred the carrots.
A food processor makes shredding carrots incredibly quick and produces fine, even pieces that blend seamlessly into the batter. This helps the cake bake up extra soft and moist without noticeable carrot strands.
FAQ
Pre-shredded carrots are usually too thick and dry for carrot cake. Freshly shredded carrots provide better moisture and texture.
Yes! The batter can also be baked in a 9×9 pan. The cake will be slightly thinner and may bake 3–5 minutes faster.
Yes! The cake can be baked a day ahead and stored covered at room temperature. Frost and add the streusel topping just before serving.
Nope! The sourdough discard only adds depth of flavor, but the cake still tastes sweet and warmly spiced.
Related
Interested in my other cake recipes? Try these:

Sourdough Carrot Snack Cake
Equipment
- 8×8 baking pan
- Box grater or food processor
- Large mixing bowl
- Medium mixing bowl
- Small mixing bowl
- Whisk
- Rubber spatula
- Kitchen Scale
- Measuring cups and spoons
- Parchment Paper
- Baking sheet
- Hand mixer or stand mixer
Ingredients
Sourdough Carrot Cake
- 150 g all-purpose flour 1 ¼ cups
- 4 g baking powder 1 tsp
- 3 g baking soda ½ tsp
- 5 g cinnamon 2 tsp
- 1 g ginger ½ tsp
- 1 g nutmeg ¼ tsp
- 1 g salt ¼ tsp
- 100 g sourdough discard ⅓ cup
- 100 g brown sugar ½ cup packed
- 50 g granulated sugar ¼ cup
- 113 g neutral oil ½ cup
- 60 g full-fat greek yogurt ¼ cup
- 2 eggs
- 5 g vanilla extract 1 tsp
- 200 g finely grated carrots about 2 cups lightly packed
Cream Cheese Frosting
- 113 g cream cheese softened (4 oz)
- 56 g unsalted butter softened (4 tbsp)
- 120 g powdered sugar 1 cup
- 5 g vanilla extract 1 tsp
- Pinch salt
Walnut Streusel (optional)
- 50 g sugar ¼ cup
- 30 g flour ¼ cup
- 40 g chopped walnuts
- 2 tablespoons butter melted
Instructions
Make the cake
- Prep the pan: Preheat oven to 350°F (175°C). Line an 8×8 pan with parchment or lightly grease.
- Mix dry ingredients: In a bowl whisk together flour, baking powder, baking soda, cinnamon, ginger, nutmeg, and salt.
- Mix wet ingredients: In another bowl whisk brown sugar, granulated sugar, oil, egg, egg yolk, vanilla, yogurt, and sourdough discard until smooth.
- Combine: Stir the dry ingredients into the wet ingredients until just combined.
- Add carrots: Using a food processor (recommended!) or grater, finely grate the carrots into tiny pieces. Gently fold into the batter.
- Bake: Pour batter into prepared pan and bake 30–35 minutes, until the center springs back and a toothpick comes out clean.
- Cool: Let cake cool completely in the pan before frosting.
Make the cream cheese frosting
- Beat frosting: Beat cream cheese and butter until smooth and fluffy.
- Add sugar: Mix in powdered sugar, vanilla, and salt until creamy and spreadable.
- Frost: Spread over the cooled cake.
Make the walnut streusel (optional)
- Make the streusel: In a small bowl, stir together sugar, flour, and chopped walnuts until evenly combined.
- Add butter: Pour in the melted butter and stir with a fork until the mixture forms small, crumbly clusters.
- Spread: Scatter the streusel in an even layer on a parchment-lined baking sheet.
- Bake: Bake at 350°F for 10–15 minutes, stirring once halfway through, until the streusel is lightly golden and fragrant.
- Cool: Let the streusel cool completely on the pan—it will crisp up as it cools. Break into smaller clusters if needed before topping the cake.
Notes
- Room temperature: If the cake is unfrosted, cover it tightly and store at room temperature for up to 2 days.
- Refrigerator: Once frosted with cream cheese frosting, store the cake covered in the refrigerator for up to 5 days.
- Freezer: The unfrosted cake can be wrapped tightly in plastic wrap and frozen for up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature before frosting and serving.
- Make ahead: This cake actually tastes even better the next day as the spices and carrot flavor continue to develop.









Leave a Reply