Completely made from scratch, this homemade sourdough carrot cake is absolutely delicious. Super moist with the perfect amount of spice, it’s topped with a decadent cream cheese frosting. This is one of our favorite cakes.

two slices of sourdough carrot cake topped with cream cheese frosting and a few shredded carrots and chopped pecans on white plates on a white countertop

I’m always looking for ways to use up sourdough discard. I’m a firm believer that you should never just toss out your sourdough starter, but rather use it in a variety of different discard ways.

Why throw away good starter when you can make cake out of it? Am I right?

This sourdough carrot cake has all the classic carrot cake flavors and is topped with deliciously sweet cream cheese frosting. But wait – there’s a sourdough twist.

The sourdough not only adds another layer of flavor with the slight tanginess, but this recipe can also be long fermented so the grains are more broken down, making it easier to digest and the nutrients more bioavailable.

Also, this may be your kids’ new favorite way to eat carrots. I kid. 

overhead photo of sourdough carrot cake topped with cream cheese pecan frosting on a white countertop with a napkin and jars of shredded carrots and chopped pecans to the right

Why you will love this recipe:

Delicious: Super yummy spiced cake smothered in cream cheese frosting.

Can be long fermented: Struggle with eating non-fermented grains? No worries. You can ferment this recipe overnight so it is easier to digest.

Easy: It only takes a few minutes to mix this cake up for the oven. If you want to make it easier, put the carrots through the shredding blade on a food processor.

two square slices of sourdough carrot cake topped with cream cheese frosting and pecans on a white plates

Sourdough Carrot Cake Making Tips:

  • This cake can be made quick or long fermented for more health benefits.
  • Grate carrots by hand and don’t use pre-shredded carrots. The pre-shredded carrots are too thick to bake nicely in cake.
  • Active sourdough starter or sourdough discard will work for this recipe, since the sourdough isn’t used for rising, but rather for flavor and fermentation.
  • Allow the cake to cool completely before frosting. If you don’t, you will be left with a melted soupy frosting mess.
  • Ensure the baking powder and baking soda are fresh. If they have been sitting in the back of the cabinet for a while and are past their prime, then the cake won’t rise properly.

This post contains affiliate links, which means I make a small commission at no extra cost to you. See my full disclosure here.

Want to save this recipe?
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

FAQ

side view of a sourdough carrot cake topped with cream cheese frosting gin a glass baking dish with a wooden utensil to the right

What does sourdough do for cakes?

It can help reduce the amount of gluten formation in the cake, which in turn helps the cake be more tender rather than tough and chewy. It can also add a depth of flavor to the cake with a wonderful, mild sourdough tang.

Can I use sourdough discard straight from the fridge?

Yes. As long as it has not been too long since feeding the starter, you can mix it up and use it.

jars of flour, sugar, salt, nuts, vanilla extract, and measuring cups on a white countertop

Ingredients:

Eggs

Oil – Preferably a healthy oil, like melted coconut oil or avocado oil.

Sugar – White granulated sugar

Brown sugar

Sourdough starter– Active or discard. New to sourdough? Learn how to make your own sourdough starter here.

Vanilla extract

All-purpose flour

Leaveners – Baking powder and baking soda

Salt

Cinnamon

Carrots – 3 large carrots

Pecans

Tools you may need:

Stand mixer

Box grater or food processor

9×13 baking dish or cake pans

Measuring cups and spoons

overhead photo of a sourdough carrot cake topped with cream cheese frosting in a a glass baking dish on a white countertop with a wooden spoon to the left

How To Make Sourdough Carrot Cake:

Preheat oven to 350 degrees. Grease a 9×13 inch pan or line with parchment paper.

Grate carrots and chop pecans. For easy grating, I suggest using a food processor with a grating attachment. A box grater will also do.

brown sugar, white sugar, oil, and sourdough starter in a bowl

In a large bowl, whisk together eggs, oil, white sugar, brown sugar, sourdough starter and vanilla.

a bowl of dry ingredient and another bowl of wet ingredients on a white countertop

In a separate bowl, mix the flour, baking soda, baking powder, salt and cinnamon. 

Add the dry ingredients into the wet ingredients until just incorporated. Try not to over mix.

shredded carrots and chopped pecans being added to sourdough carrot cake batter

Stir in carrots and fold in pecans.

hand stirring sourdough carrot cake batter with a wooden spatula

Pour into prepared pan.

bake sourdough carrot cake in a glass baking dish with two jars of shredded carrots and chopped pecans to the right

Bake in the preheated for 40 to 50 minutes.

Allow to cool before frosting.

close up picture of a square slice of sourdough carrot cake topped with cream cheese frosting, shredded carrots and pecans

Make It Long Fermented:

The Day Before:

Mix together oil, sourdough starter and flour. Cover and allow to ferment for 8-12 hours.

The Next Day 

Preheat oven to 350 degrees. Grease a 9×13 inch pan.

Whisk together eggs, brown sugar, white sugar, and vanilla.

Add to fermented dough.

Sprinkle over remaining dry ingredients and mix well.

Fold in grated carrots and chopped pecans.

Pour into prepared pans and bake for 40-50 minutes.

Allow to cool completely before frosting.

side view of sourdough carrot cake with cream cheese frosting in a glass baking dish with a wooden utensil covered with frosting to the right

How To Make Cream Cheese Frosting

To a stand mixer, add softened cream cheese and butter. Whip together for a few minutes.

Slowly pour in confectioners’ sugar and vanilla. 

stand mixer with whisk attachment butter, cream cheese, and confectioners sugar

Whip until nice and fluffy.

chopped pecans on top of cream cheese frosting in a metal bowl

Fold in chopped pecans (optional).

Variations:

  • Swap out the pecans for chopped walnuts, pistachios, or sliced almonds.
  • Add orange zest for a brighter take. 
  • Add raisins.
  • Turn it into a trifle. Break up the cake and place in into a trifle dish, layering the cake with frosting. Yum!
  • Make them into sourdough carrot cake cupcakes. Make the recipe as stated before, but place them into lined muffin tins and bake for 18-22 minutes or until a toothpick comes out clean.

Find More Delicious Cake Recipes:

If you try this recipe and love it, I would love if you gave it 5 stars! Thank you! Tag me on Instagram @farmhouseonboone.

Sourdough Carrot Cake

4.47 from 126 votes
Super moist with the perfect amount of spice, it's topped with a decadent cream cheese frosting. This is one of our favorite cakes.
Prep: 10 minutes
Cook: 40 minutes
Total: 50 minutes
Servings: 12
close up picture of a square slice of sourdough carrot cake topped with cream cheese frosting, shredded carrots and pecans
Save this recipe!
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

Ingredients 

  • 4 large eggs
  • 3/4 cup oil
  • 1 cup sugar
  • 1 cup brown sugar
  • 1/2 cup starter
  • 2 teaspoons vanilla
  • 2 cups all purpose flour
  • 2 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon salt
  • 2 teaspoons cinnamon
  • 2 cups grated carrots, 3 large
  • 1 cup chopped pecans

Cream Cheese Frosting

  • 8 ounces cream cheese, softened 

  • 1/2 cup butter, softened 

  • 3 cups confectioners’ sugar

  • 1 teaspoon vanilla
  • 1 cup chopped pecans

Instructions 

  • Preheat oven to 350 degrees. Grease a 9×13 inch pan or line with parchment paper.
  • Grate carrots and chop pecans.
  • In a large bowl, whisk together eggs, oil, white sugar, brown sugar, sourdough starter and vanilla.
  • In a separate bowl, mix the flour, baking soda, baking powder, salt and cinnamon.
  • Add the dry ingredients into the wet ingredients until just incorporated. Try not to over mix.
  • Stir in carrots and fold in pecans.
  • Pour into prepared pan.
  • Bake in the preheated for 40 to 50 minutes.
  • Allow to cool before frosting.

Cream Cheese Frosting

  • To a stand mixer, add softened cream cheese and butter. Whip together for a few minutes.
  • Slowly pour in confectioners’ sugar and vanilla.
  • Whip until nice and fluffy.
  • Fold in chopped pecans (optional).
  • Frost cooled cake.

Notes

  • This cake can be made quick or long fermented for more health benefits.
  • Grate carrots by hand and don’t use pre-shredded carrots. The pre-shredded carrots are too thick to bake nicely in cake.
  • Active sourdough starter or sourdough discard will work for this recipe, since the sourdough isn’t used for rising, but rather for flavor and fermentation.
  • Allow the cake to cool completely before frosting. If you don’t, you will be left with a melted soupy frosting mess.

Nutrition

Calories: 756kcal | Carbohydrates: 89g | Protein: 8g | Fat: 43g | Saturated Fat: 11g | Polyunsaturated Fat: 9g | Monounsaturated Fat: 21g | Trans Fat: 0.4g | Cholesterol: 101mg | Sodium: 521mg | Potassium: 244mg | Fiber: 3g | Sugar: 66g | Vitamin A: 4155IU | Vitamin C: 1mg | Calcium: 111mg | Iron: 2mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Like this? Leave a comment below!

Sharing is caring!

4.47 from 126 votes (110 ratings without comment)

Leave a comment

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

Recipe Rating




88 Comments

  1. Morgan Gerald says:

    Hi Lisa!

    What ingredients do you add for the long ferment?

    1. Lisa Bass says:

      All of them!

  2. Mary says:

    This looks amazing! My husband’s favorite dessert.

  3. Sherise says:

    I followed the directions perfectly for this cake and used active sourdough starter. I used the long fermentation process and the cake smelled really good but the cake was in the oven for over an hour. The top of it burned and the cake concaved once I pulled it out. The entire cake on the inside was liquid…

    1. Lisa Bass says:

      It sounds like it may have over fermented and lost it’s ability to rise. That can happen during a long fermentation if it ferments too much.

  4. Jen says:

    5 stars
    Can I make this in two 9” cake pans instead of the 9 by 13?

    1. Lisa Bass says:

      Yes! You may have to adjust the cooking time accordingly though.

  5. Simone says:

    5 stars
    Could you please, please, please show the ingredients in grams? Of course I can do it myself but it would make all your recipes so much more doable to the rest of the world AND more precise: the recipe works the same every time.
    It would be so much appreciated.
    Thanks in advance from the NL 🌷

    1. Lisa Bass says:

      My newer recipes are all updated in grams. Here’s my conversion chart to make it easier on the older recipes.

  6. Sherry says:

    So easy to mix up! My family loved them!!

  7. Angie says:

    5 stars
    I used fresh milled spelt and soft white wheat berries for this recipe. Thank you for sharing – as it was a really humid day – I altered here and there and it came out perfect!

  8. Anonymous says:

    5 stars
    This is the best carrot cake! It is delicious and so moist.

    1. Lisa Bass says:

      Thanks for sharing!

    2. Jennifer Jacobs says:

      This cake is amazing, everyone always loves it! But every single time I bake it, it falls….any tips as to why?! My other cakes don’t fall like this! Thank you.

      1. Lisa Bass says:

        That’s interesting.Sometimes over mixing can actually cause your cake to fall in the middle. It gets too much air in the batter and then it collapses during the baking process.

  9. Lydia says:

    When long fermenting do you just follow instructions then allow to ferment then bake or only ferment certain ingredients?

    1. Lisa Bass says:

      Yes, I typically don’t ferment anything that has baking soda or baking powder in it. I add that the next day.

  10. Shelby Johnson says:

    Could I used flax eggs or applesauce to replace the egg? Thanks!

    1. Lisa Bass says:

      I have never tried it to know for sure.

      1. Shelby Johnson says:

        5 stars
        I swapped the eggs for one cup of applesauce and it turned out great! The texture is perfect and my kiddos both approved!

        1. Lisa Bass says:

          That is amazing to hear! So glad it worked.