Sourdough Carrot Cake

A soft, perfectly spiced carrot cake with a subtle sourdough twist, topped with rich cream cheese frosting and crunchy walnuts. If you love carrot cake, this version takes it to the next level!

closeup of piece of carrot cake with cream cheese frosting

Why use sourdough in carrot cake? The natural acidity in the starter deepens the flavor, enhances the spices, and creates an unbelievably moist crumb. Plus, it’s a fantastic way to use up sourdough discard—because your starter deserves more than just bread!

This cake is perfect for Easter, birthdays, or whenever you need a cozy, spiced dessert that feels a little nostalgic and a lot delicious.

Adding sourdough discard isn’t just about reducing waste—it actually makes the cake better!

  • Creates a tender, moist crumb – The acidity in sourdough keeps the cake soft without making it dense.
  • Enhances the spices – A subtle tang balances the sweetness, making the warm cinnamon and ginger shine.
  • Adds incredible depth of flavor – It won’t taste “sour,” just richer and more complex.

Want a stronger sourdough flavor? Use discard that has been stored in the fridge for a few days. Prefer a milder taste? Use freshly fed starter!

After trying this carrot cake, make sure you try adding sourdough discard to other cakes, too! My favorites are sourdough chocolate cake (its so rich and decadent!) and sourdough vanilla cake. Trust me, they are SO much better than the boxed stuff!

overhead view of platter with sourdough cake and plates with pieces and bowl of chopped walnuts beside

Why you’ll love this recipe

✔ Soft, moist, & perfectly spiced – The ideal balance of cinnamon, nutmeg, ginger, and cloves.
✔ Easy to make – Simple steps, no complicated techniques.
✔ Topped with cream cheese frosting – Because carrot cake isn’t complete without it!
✔ Perfect for any occasion – A holiday dessert or a cozy weekend bake.

one layer carrot cake with cream cheese frosting on plate with cut piece at an angle

How to make carrot cake with discard

This simple, no-fuss cake comes together in just a few steps. Here is a brief overview of the recipe so you know what to expect. For the full set of written directions, please scroll down to the recipe card below.

Step 1: Prep your ingredients

  • Preheat the oven to 350°F and grease a 9×13-inch pan.
  • Line with parchment paper for easy removal (optional but recommended).
  • Grate the carrots finely and press out excess moisture with paper towels.

Step 2: Make the batter

  • In a stand mixer, beat together wet ingredients for 2 minutes.
  • In a separate bowl, whisk together the dry ingredients.
  • Toss the grated carrots with 1 tablespoon of the dry mixture—this helps them distribute evenly in the cake.
  • Gently mix the dry ingredients into the wet ingredients, stirring just until combined.
  • Fold in the carrots and 1 cup of chopped walnuts (save the rest for topping).

Tip: Overmixing can make the cake dense—stir just until combined for the best texture!

Step 3: Bake the cake

  • Pour the batter into the prepared pan and spread it evenly.
  • Bake for 50-60 minutes, or until a toothpick inserted in the center comes out clean.
  • Let the cake cool completely before frosting.
collage of four images showing making sourdough carrot cake batter

How to make the frosting

A rich, creamy frosting is the perfect match for this spiced cake!

  • Beat softened cream cheese until smooth and fluffy.
  • Add powdered sugar, vanilla, a splash of milk, and a pinch of sea salt.
  • Mix until light and spreadable.
  • Spread over the cooled cake and sprinkle with the remaining walnuts.

Storage Tips

✔ At Room Temperature: Store covered for up to 2 days.
✔ In the Fridge: Keeps well for up to 5 days in an airtight container.
✔ Freezing: Freeze slices (without frosting) for up to 3 months. Thaw, frost, and enjoy!

Tip: If refrigerating, let the cake sit at room temperature for 30 minutes before serving for the best texture.

overhead view of sourdough carrot cake with cream cheese frosting and chopped walnuts on grey plate with fork

Sourdough is better when shared

If you try this recipe, let me know! Leave a comment and rating below.

Love and links are always appreciated! If you’d like to share this recipe, please link to the post directly for the recipe, please do not copy and paste or screenshot. Thank you so much for supporting me. XOXO – Jenni

closeup of piece of carrot cake with cream cheese frosting
Jenni Ward – Sourdough Surprises

Sourdough Carrot Cake

This moist and spiced sourdough carrot cake is a delicious way to use sourdough discard! Packed with cinnamon, nutmeg, and ginger, and topped with creamy cream cheese frosting.
Prep Time 15 minutes
Cook Time 1 hour
Total Time 1 hour 15 minutes
Servings: 16 pieces
Course: Cake
Cuisine: American
Calories: 561

Ingredients
  

  • 3 cups shredded carrots
  • 2 cups granulated sugar
  • 1 cup olive oil
  • ½ cup unsweetened applesauce
  • 3 eggs room temperature
  • ½ cup sourdough starter discard, 100% hydration
  • 1 teaspoon vanilla extract
  • 2 cups all purpose flour
  • 2 teaspoons ground cinnamon
  • 2 teaspoons baking soda
  • ½ teaspoon ground ginger
  • ¼ teaspoon ground nutmeg
  • ¼ teaspoon ground cloves
  • ¼ teaspoon salt
  • 2 cups chopped walnuts divided
Frosting:
  • 16 oz cream cheese room temperature
  • 2 cups powdered sugar
  • 1 teaspoon vanilla extract
  • 1 Tablespoon milk
  • 1 pinch sea salt

Method
 

Sourdough Carrot Cake
  1. Preheat the oven to 350 F.
  2. Prepare a 9×13 pan by smearing all the edges and corners with butter. I liked to add a piece of parchment paper on top of this, and butter that, as well. This is an extra step, but helps if you want to pull the whole cake out of the pan easily.
  3. Grate the carrots on the smallest hole of your box grater. Place the shredded carrots in between two sheets of paper towel, and place a plate on them to help squeeze out any excess liquid.
  4. In the bowl of your stand mixer, combine the sugar, olive oil, eggs, applesauce, sourdough starter, and vanilla. Mix on medium speed for about 2 minutes, until it is all combined well. This step adds some air bubbles into the batter, so don’t skip it.
  5. In a large mixing bowl, whisk together the flour, cinnamon, baking soda, salt, ginger, nutmeg and cloves.
  6. In a medium mixing bowl, add the carrots with 1 Tablespoon of the dry ingredients mixture and toss to coat. This helps your carrots to evenly distribute in the cake batter.
  7. Add the dry ingredients to the stand mixer and stir until just combined.
  8. Fold in the carrots and 1 cup of chopped walnuts (save the over cup for decoration after frosting).
  9. Pour the cake batter into the prepared pan and smooth out to make sure its even in the pan.
  10. Bake the cake for 50-60 minutes, until a toothpick inserted in the center comes out clean and the cake does not jiggle when you gently shake the pan.
  11. Cool the cake in the pan completely.
Cream Cheese Frosting
  1. When the cake has completely cooled, you can mix the frosting.
  2. In the bowl of a stand mixer, add the softened cream cheese and mix until it is soft and fluffy, about 3 minutes.
  3. Add in the powdered sugar, vanilla, milk , and a pinch of sea salt.
  4. Mix on medium speed until combined and fluffy.
  5. Frost over the cake.
  6. Sprinkle the remaining 1 cup of chopped walnuts over the frosting.

Nutrition

Serving: 1gCalories: 561kcalCarbohydrates: 60gProtein: 7gFat: 34gSaturated Fat: 9gPolyunsaturated Fat: 9gMonounsaturated Fat: 14gTrans Fat: 0.003gCholesterol: 59mgSodium: 295mgPotassium: 218mgFiber: 2gSugar: 43gVitamin A: 4442IUVitamin C: 2mgCalcium: 62mgIron: 2mg

Notes

Tip: Using pre-shredded carrots purchased from the store will not give you the correct texture in this cake.

Tried this recipe?

Let us know how it was!

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating