Sourdough Carrot Cake

March 5, 2025 | By Carmyn Suzor If you click on links we provide, we may receive compensation.

This is HANDS DOWN the best sourdough carrot cake recipe! Topped with rich cream cheese frosting, it's moist, delicious, and easy to make. Using simple ingredients like flour, eggs, carrots, raisins, cinnamon, and pecans, it comes together quickly with leftover sourdough starter discard.

A slice of sourdough carrot cake on a plate.


 

This sourdough carrot cake has all the classic carrot cake flavors with a fun twistโ€”sourdough discard!

Itโ€™s the perfect way to reduce food waste and whip up something the whole family loves. You won't believe how moist this cake is, with the perfect ratio of raisins, pecans, and carrots!

Plus, itโ€™s topped with a fluffy, creamy, and light cream cheese frosting thatโ€™s sweetened perfectlyโ€”so much better than the overly sweet store-bought versions. And the best part is that it only takes a couple of minutes to make!

Itโ€™s sure to become one of your favorite cakes and is perfect for the holidays or any special occasion!

Carmyn Suzor standing in a kitchen.

Carmyn's Notes

This carrot cake recipe is one of my family's favorite! I love doubling (or even tripling) the recipe so I can stash some in the freezerโ€”perfect for when a carrot cake craving hits. Just whip up some fresh cream cheese frosting, and dessert is ready in no time!

Want mini versions? This recipe makes the cutest carrot cake cupcakesโ€”18 to 24 depending on how big you like them! Just pop the batter into cupcake liners and bake for about 25 minutes. Easy, fun, and super delicious!

Enjoy! xx

Ingredients

Ingredients for sourdough carrot cake on a table.
  • Cake Batter: For the cake batter, you'll need all-purpose flour, sourdough discard, baking soda, ground cinnamon, salt, granulated sugar, eggs, vanilla extract, vegetable oil, shredded carrots, raisins, and chopped pecans.
  • Cream Cheese Frosting: This homemade frosting is made with cream cheese, butter, vanilla extract, and powdered sugar.
  • Optional Garnishes: Chopped pecans are sprinkled around the top surface of the cake.

Substitutions

  • Sourdough Starter Discard: This carrot cake was developed to be made with leftover sourdough discard, but active discard can also be used. You will still need to add the leavening agents for the cake to rise as it bakes.
  • Pre-Shredded Carrots: A 10-ounce bag of pre-shredded carrots works as a shortcut instead of grating them or using a food processor. Chop them into smaller pieces before adding to the batter.
  • Oil Substitutes: You can swap vegetable oil with 1 cup of melted coconut oil, avocado oil, or two sticks of melted unsalted butter. Avoid using olive oil because its flavor is too strong for this cake.
  • Nut Options: You can replace pecans with walnuts. For extra flavor, toast the pecans at 350ยฐF on a baking sheet for 10 minutes before using.

How to make sourdough carrot cake

Preheat your oven to 350ยฐF (176ยฐC). Lightly grease two 8" cake pans with oil and cover the bottoms with parchment paper (optional). Add a handful of flour to the pans and rotate them to coat them with flour to prevent sticking. Shake out any excess flour.

Mixing dry ingredients for sourdough carrot cake in a bowl.

Step 1

Whisk together the all-purpose flour, ground cinnamon, salt, and baking soda in a small mixing bowl and set aside.

Mixing wet ingredients for sourdough carrot cake in a bowl.

Step 2

In a separate bowl, whisk the eggs, vanilla extract, granulated sugar,  discard, and vegetable oil until fully incorporated.

Combining the wet ingredients and dry ingredients for sourdough carrot cake in a bowl.

Step 3

Pour the dry ingredients into the wet mixture and stir them with a spatula until combined. Fold in the grated carrots, raisins, and ยฝ cup chopped pecans.

Sourdough carrot cake batter in two cake pans on a table.

Step 4

Pour the batter evenly into the cake pans and bake for 35-40 minutes or until a toothpick inserted into the middle comes out clean.

Baked sourdough carrot cake layers on a cooling rack.

Step 5

Remove from oven and let cool for 20 minutes. Then, transfer the cakes to a wire rack to cool completely before frosting.

Trim the tops of each cake to level the surface, creating a smooth, even base.

Beating the ingredients for cream cheese frosting in a bowl.

Step 6

In a large mixing bowl, beat the butter, cream cheese, and vanilla extract, using an electric mixer until smooth. Add the powdered sugar โ…“ at a time, and beat until the ingredients are fully incorporated.

Spreading cream cheese frosting on the first layer of the sourdough carrot cake.

Step 7

Arrange four pieces of parchment paper on a plate or cake stand, positioned just beneath the edges of where the cake will sit. This step is optional but will give you a clean surface on the plate for serving.

Place the first layer onto the plate and use a spatula to add about โ…“ of the cream cheese frosting to the cake. Then, use an offset spatula to spread the frosting evenly.

(These two different spatulas will help minimize crumbs getting into the icing).

Adding the second layer of sourdough carrot cake ontop of the first layer.

Step 8

Place the second cake layer on top of the first, with the bottom side facing up. This creates an even surface for easier frosting and helps prevent crumbs from mixing into the frosting.



Adding cream cheese frosting to the top of the sourdough carrot cake.

Step 9

Add more cream cheese frosting to the top of the cake using the baking spatula.

Spreading cream cheese frosting around the outside of the sourdough carrot cake.

Step 10

Use an offset spatula to spread the frosting evenly over the top and sides of the cake.

Adding chopped pecans to the top rim of the sourdough carrot cake.

Step 11

Sprinkle ยผ cup of chopped pecans around the top edge of the cake.

Pulling out the first sheet of parchment from underneath the sourdough carrot cake.

Step 12

Gently pull a piece of parchment paper from underneath the cake.

Pulling out the second sheet of parchment from underneath the sourdough carrot cake.

Step 13

Remove the remaining pieces of parchment paper from beneath the cake to reveal clean edges around the bottom.

A slice of sourdough carrot cake on a plate with a fork and napkin.

Step 14

Refrigerate the cake for at least 30 minutes to allow the frosting to set before slicing.

How to Store

Keep the carrot cake covered in the fridge for up to 4 days.

Carrot cake can be frozen for up to 3 months. Wrap each cake layer individually in two layers of plastic wrap, followed by a layer of aluminum foil.

Avoid freezing the cream cheese frosting. Instead, prepare it fresh once the cakes have thawed.

A slice of sourdough carrot cake on a plate with a napkin.
- SUBSCRIBE -
Do you like this recipe?

Subscribe to our newsletter and we'll send you more fresh recipes, valuable troubleshooting advice, useful tips, and other information we believe will be helpful to you!

Sourdough carrot cake recipe.

Sourdough Carrot Cake

This easy sourdough carrot cake recipe is incredibly moist and super delicious! Made with simple ingredients like flour, eggs, carrots, raisins, cinnamon, and pecans, it comes together quickly using leftover sourdough starter discard.
Rate this recipe!
5 from 8 votes
Print Pin Recipe
Prep Time: 1 hour 30 minutes
Cook Time: 35 minutes
Servings: 12 slices
Author: Carmyn Suzor

EQUIPMENT

  • 2 8-Inch Cake Pans
  • Box Grater or Food Processor
  • Mixing Bowls
  • Electric Hand Mixer
  • Cooling Rack

INGREDIENTS

Carrot Cake Batter

  • 2 ยฝ cups (300 grams) all-purpose flour
  • 1 ยฝ cups (300 grams) granulated sugar
  • ยฝ cup (125 grams) sourdough starter discard
  • 4 teaspoons ground cinnamon
  • 1 teaspoon salt
  • 1 ยฝ teaspoons baking soda
  • 4 large eggs
  • 1 teaspoon vanilla extract
  • 1 cup (200 grams) vegetable oil (sub avocado oil or 2 sticks butter)
  • 3 cups carrots (grated)
  • ยฝ cup raisins
  • ยฝ cup chopped pecans (sub walnuts)

Cream Cheese Frosting

  • 16 oz. cream cheese (room temperature)
  • 2 sticks (226 grams) butter (room temperature)
  • 3 teaspoons vanilla extract
  • 2 cups (240 grams) powdered sugar

Optional Garnishes

  • ยผ cup chopped pecans (or walnuts)

INSTRUCTIONS

Carrot Cake Batter

  • Preheatย your oven to 350ยฐF (176ยฐC). Lightlyย greaseย two 8" cake pans with oil and cover the bottom of the pans with parchment paper (optional).ย Addย a handful of flour to the pans andย rotateย the pans to coat with flour to prevent sticking.ย Shakeย out excess flour.
  • In a small mixing bowl,ย whiskย together 2 ยฝ cups (300 grams) all-purpose flour, 4 teaspoons ground cinnamon, 1 teaspoon salt, 1 ยฝ teaspoons baking soda andย set aside.
  • In a medium-sized batter bowl, whisk 4 large eggs, 1 teaspoon vanilla extract, 1 ยฝ cups (300 grams) granulated sugar, ยฝ cup (125 grams) sourdough starter discard, and 1 cup (200 grams) vegetable oil onย until fully combined.
  • Pourย the dry ingredients into the wet ingredients andย stirย them together using a spatula until combined.ย Foldย in 3 cups carrots, ยฝ cup raisins and ยฝ cup chopped pecans.
  • Pourย the batter evenly into the cake pans andย bakeย forย 35-40 minutesย or until a toothpick inserted into the middle comes out clean.
  • Removeย from oven, letย coolย for 20 minutes beforeย transferringย the cakes to a cooling rack toย coolย completely before frosting.

Cream Cheese Frosting

  • In a large mixing bowl,ย beatย 2 sticks (226 grams) butter, 16 oz. cream cheese, and 3 teaspoons vanilla extract, using an electric mixer until smooth.ย Addย the 2 cups (240 grams) powdered sugar โ…“ at a time andย beatย until the ingredients are fully incorporated.

Assembly

  • Arrange four pieces of parchment paper on a plate or cake stand positioned just beneath the edges of where the cake will sit. Placeย the first layer on the cake stand or plate, with the bottom facing up, andย use a baking spatula to add about โ…“ of the cream cheese frosting to the cake. Then, use an offset spatula to spread the frosting evenly. (These two different spatulas will help minimize crumbs getting into the icing).
  • Place the second cake layer on top of the first, with the bottom side facing up. This creates an even surface for easier frosting and helps prevent crumbs from mixing into the frosting.
  • Add more cream cheese frosting to the top of the cake using the baking spatula. Use an offset spatula to spread the frosting evenly over the top and sides of the cake. Sprinkle ยผ cup chopped pecans around the top edge of the cake.
  • Gently pull a piece of parchment paper from underneath the cake. Remove the remaining pieces of parchment paper from beneath the cake to reveal clean edges around the bottom.
  • Refrigerate the cake for at least 30 minutes to allow the frosting to set before slicing.

NOTES

  • This recipe makes 18-24 cupcakes. Use cupcake liners and bake for 25 minutes.
  • Store covered in the fridge for up to 4 days.
  • Carrot Cake can be frozen for up to 3 months. Wrap the slices individually in 2 layers of plastic wrap and a layer of aluminum foil.

Nutrition

Serving: 1slice | Calories: 804kcal | Carbohydrates: 76g | Protein: 8g | Fat: 53g
5 from 8 votes

did you make this recipe?

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

Recipe Rating




32 Comments

  1. these recipes do me no good if I can't ferment the batter as I am highly gluten intolerant and need to ferment sourdough for 48 hours.

    1. Hi Lynn, you can ferment the batter for 48 hours in the fridge. Just leave out the leavening agents and add in when you are ready to bake.

  2. can you make this in a loaf pan, and how long would a bake it for? I have both a 9x4 and an 8x4 inch pans

    1. Hi Karen, I would use both of your pans because it is a lot of batter. Typically quick breads take about 45 minutes, check with a toothpick, and add more time if needed.

  3. 5 stars
    This recipe is AMAZING!!! Super moist and just the right amount of sugar. I canโ€™t get over how delicious the cream cheese frosting is

  4. Iโ€™m disappointed in your listing of ingredients. Your recipes are always so good with exact weight measurements and great instructions. In the cream cheese frosting do you mean 226 grams of butter? I donโ€™t buy butter in โ€œsticksโ€. Canโ€™t wait to make this recipe as I like carrot cake very much and your recipe with Sourdough discard will be yummy Iโ€™m sure.

    1. Hi Donna, on my end the recipe card shows two sticks of butter (226 grams) ๐Ÿ˜Š We hope you love this carrot cake!

    1. The batter should fit fine in a 9x13. I would check on it around 25 minutes with a toothpick and add more time if needed.