This Sourdough Carrot Cake is a soft and cozy 8×8 snack cake made with warm spices, fresh carrots, and sourdough discard for incredible flavor. Finished with creamy homemade cream cheese frosting, it’s the perfect easy spring dessert for Easter, brunch, or afternoon coffee.
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
Audrey’s Tip: For the best carrot cake texture, grate the carrots on the small holes of a box grater. Finely grated carrots melt into the batter as it bakes, making the cake incredibly moist instead of chunky.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.