Sourdough carrot cake is an easy and delicious dessert to make with your sourdough discard. Heavily spiced with cinnamon, nutmeg, and ginger and topped with cream cheese frosting. You will never look at carrot cake the same way again!

Isn’t carrot cake amazing? I mean, it’s heavily spiced, it’s smothered in cream cheese frosting and hello – it’s hiding vegetables!
My version also adds in extra spices. In addition to cinnamon, there’s tons of nutmeg, ginger and cloves. Also, sourdough starter. Its good, guys. So. Good.
I just can’t resist using my sourdough starter in desserts. The slightly sourdough tang just adds a really fun depth of flavor that just works so well in sweet recipes! From sourdough brownies, sourdough sugar cookies, and sourdough pound cake – there is just so much more than bread that your starter can do!
So why add sourdough discard to carrot cake? Texture! The yeast in the starter, even when not active, helps to add a really great bouncy texture to the cake. Its dense, moist, and flavorful. Basically, you need this cake.

How to make sourdough carrot cake
For the full set of directions, make sure you scroll down to the recipe card below.
- Preheat the oven to 350 F.
- 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.
- 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.
- 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.
- In a large mixing bowl, whisk together the flour, cinnamon, baking soda, salt, ginger, nutmeg and cloves.
- 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.
- Add the dry ingredients to the stand mixer and stir until just combined.
- Fold in the carrots and 1 cup of chopped walnuts (save the over cup for decoration after frosting).
- Pour the cake batter into the prepared pan and smooth out to make sure its even in the pan.
- 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.
- Cool the cake in the pan completely.

How to make cream cheese frosting.
When the cake has completely cooled, you can mix the frosting.
- In the bowl of a stand mixer, add the softened cream cheese and mix until it is soft and fluffy, about 3 minutes.
- Add in the powdered sugar, vanilla, milk , and a pinch of sea salt (affiliate link).
- Mix on medium speed until combined and fluffy.
- Frost over the cake.
- Sprinkle the remaining 1 cup of chopped walnuts over the frosting.

Frequently Asked Questions:
Here are some great recipe notes to help you get the best carrot cake you can!
Why is carrot cake made with oil and not butter?
Carrot cake is made with oil and not butter to help it be really moist and last for days.
Can I use pre-shredded carrots from the produce section?
You could, but you shouldn’t. Those carrots are really too large and won’t cook into the cake as well. You should really shred them as finely as you can
What kind of sourdough starter should I use?
This cake should be made with a 100% hydration sourdough starter, meaning it’s fed with equal amounts of flour and water. Read my guide a refresher on how to feed your sourdough starter.
The starter should be at room temperature when you use it for this recipe, as that helps it to mix into the cake batter better.
New to sourdough? Read my Ultimate Guide to Sourdough for Beginners to answer all the questions you have!

How to make variations of this recipe:
You can add in different ingredients to change up your sourdough carrot cake.
Try adding:
- Swap out the walnuts for pecans
- Add raisins
Go easy on the add ins, though! This is supposed to be a spice cake, and too many other flavors and textures in the cake will muddy the flavors and change the texture of your cake. Do NOT add pineapple to this recipe, though – it will make the batter too wet and it won’t bake right.

Other easy dessert recipes:
Other carrot recipes:
- French Carrot Salad
- George Washington Carrot Tea Cake
- Moroccan Spiced Roasted Carrots
- Ginger Honey Roasted Carrots

Food tastes better when its shared! If you try this recipe, let me know! Leave a comment and rate below! Love and links are always appreciated! If you’d like to share this post, please link to this post directly for the recipe, please do not copy and paste or screenshot. Thanks so much for supporting me! xoxo
Want to save this for later? PIN THIS TO YOUR DESSERT BOARD on Pinterest!


Sourdough Carrot Cake Recipe
Sourdough carrot cake is an easy and delicious dessert to make with your sourdough discard. Heavily spiced with cinnamon, nutmeg, and ginger and topped with cream cheese frosting. You will never look at carrot cake the same way again!
Ingredients
- 3 cups shredded carrots
- 2 cups granulated sugar
- 1 cup olive oil
- 1/2 cup unsweetened applesauce
- 3 eggs, room temperature
- 1/2 cup sourdough discard, 100% hydration
- 1 teaspoon vanilla extract
- 2 cups all purpose flour
- 2 teaspoons ground cinnamon
- 2 teaspoons baking soda
- 1/2 teaspoon ground ginger
- 1/4 teaspoon ground nutmeg
- 1/4 teaspoon ground cloves
- 1/4 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
Instructions
How to make the cake:
- Preheat the oven to 350 F.
- Prepare a 9x13 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.
- 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.
- 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.
- In a large mixing bowl, whisk together the flour, cinnamon, baking soda, salt, ginger, nutmeg and cloves.
- 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.
- Add the dry ingredients to the stand mixer and stir until just combined.
- Fold in the carrots and 1 cup of chopped walnuts (save the over cup for decoration after frosting).
- Pour the cake batter into the prepared pan and smooth out to make sure its even in the pan.
- 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.
- Cool the cake in the pan completely.
How to make cream cheese frosting.
- When the cake has completely cooled, you can mix the frosting.
- In the bowl of a stand mixer, add the softened cream cheese and mix until it is soft and fluffy, about 3 minutes.
- Add in the powdered sugar, vanilla, milk , and a pinch of sea salt.
- Mix on medium speed until combined and fluffy.
- Frost over the cake.
- Sprinkle the remaining 1 cup of chopped walnuts over the frosting.
Recommended Products
As an Amazon Associate and member of other affiliate programs, I earn from qualifying purchases.
Nutrition Information:
Yield: 16 Serving Size: 1Amount Per Serving: Calories: 556Total Fat: 34gSaturated Fat: 9gTrans Fat: 0gUnsaturated Fat: 23gCholesterol: 64mgSodium: 325mgCarbohydrates: 58gFiber: 2gSugar: 42gProtein: 7g
Nutrition information is an estimate and is provided for informational purposes only. For the most accurate information, please calculate using your specific brands and exact measurements.
Melissa
Sunday 15th of May 2022
Does it freeze well? And then frost once defrosted?
Jenni
Tuesday 17th of May 2022
Yes! You can freeze it unfrosted, and then frost once defrosted.
Beth
Monday 3rd of May 2021
Oh my goodness! This cake is so delicious and very yummy! Such a great cake and perfect for dessert throughout the week. My family loves it!
candycarrotking
Sunday 21st of November 2021
@Beth, What do you mean "throughout the week"? Is it not good enough for a Sunday?
Toni
Monday 3rd of May 2021
Such an amazing carrot cake! It is totally irresistible!
Ilan @ IronWhisk.com
Friday 13th of July 2012
Funny! Mise en place here too.
(for anyone just reading this comment, it probably won't make sense to anyone else but Jenni)