Chocolate Carrot Cake

Total Time:Prep: 35 min. Bake: 25 min. + cooling
Lauren Habermehl

By Lauren Habermehl

Recipe by Pamela Brown, Williamsburg, Michigan

Tested by Taste of Home Test Kitchen

Updated on Aug. 20, 2025

This contest-winning chocolate carrot cake combines all the decadence of your favorite chocolate cake with the moisture, texture and tang of an old-fashioned carrot cake.

Who says you can’t have your carrot cake and eat your chocolate too? My husband is predictable: Every year for his birthday, he will request one of two cakes to celebrate—chocolate or carrot. This year, he surprised me and asked if he could have both. Luckily, this chocolate carrot cake recipe saved the day.

Just like old-fashioned carrot cake, this recipe is loaded with finely shredded carrots, which add moisture and texture, and a traditional cream cheese frosting offers plenty of tang. Where this recipe deviates is the addition of heavenly cocoa powder to both the cake batter and the frosting. The result is an ultra-tender, rich and decadent cake that’s truly the best of both worlds.

After just one bite, my husband said I could return his birthday gift because this chocolate carrot cake was all he needed. Who knew that carrots are the secret to the best-ever chocolate cake?

Chocolate Carrot Cake Ingredients

Chocolate Carrot Cake Tohd25 26433 Jonathanmelendez 01
JONATHAN MELENDEZ FOR TASTE OF HOME

  • Carrots
  • Sugar
  • Canola oil
  • Eggs
  • All-purpose flour
  • Baking cocoa
  • Baking soda
  • Salt

Frosting:

  • Softened cream cheese
  • Softened butter
  • Confectioners’ sugar
  • Baking cocoa
  • Vanilla extract
  • Walnuts
  • Semisweet chocolate chips

Directions

Step 1: Prep the pans

Line two 9-inch round baking pans with parchment, then grease the paper and set the pans aside.

Step 2: Mix the ingredients

A bowl of grated carrots, eggs, and liquid being whisked, surrounded by baking ingredients: butter, chocolate chips, vanilla, flour, walnuts, brown sugar, egg shells, and a measuring cup on a countertop.
JONATHAN MELENDEZ FOR TASTE OF HOME

Preheat the oven to 350°F. In a large bowl, beat the carrots, sugar, oil and room-temperature eggs until everything is well blended. In a separate bowl, combine the flour, cocoa, baking soda and salt.

Step 3: Add the dry ingredients to the wet ingredients

Gradually beat the dry ingredients into the carrot mixture until blended.

Step 4: Bake the cake

Two round cake pans filled with chocolate cake batter sit on a countertop surrounded by baking ingredients, including butter, cream cheese, eggs, chocolate chips, walnuts, vanilla extract, and a glass measuring cup.
JONATHAN MELENDEZ FOR TASTE OF HOME

Divide the cake batter evenly between the two prepared pans. Bake the cakes for 25 to 30 minutes or until a toothpick inserted in the center comes out clean. Let the cakes cool in the pans for 10 minutes before removing them to wire racks to cool completely.

Step 5: Make the frosting

Two round chocolate cake layers, a bowl of chocolate frosting, bowls of walnuts and chocolate chips, and a plastic spider are arranged on a countertop for cake decorating.
JONATHAN MELENDEZ FOR TASTE OF HOME

In a large bowl, beat the cream cheese and butter until fluffy. Beat in the confectioners’ sugar, cocoa powder and vanilla until smooth.

Step 6: Frost and decorate the cake

A chocolate cake topped with chocolate chips and chopped walnuts sits on a counter next to a bowl of walnuts, a bowl of chocolate chips, a mixing bowl with chocolate frosting, and a cooling rack.
JONATHAN MELENDEZ FOR TASTE OF HOME

Place the bottom cake layer onto a serving plate. Top it with half the frosting, then repeat with the remaining layer. Sprinkle the cake with nuts and chocolate chips.

Two plates of chocolate layer cake with frosting and nuts, surrounded by bowls of chocolate chips and walnuts, a pink napkin, and two spoons on a light marble surface.
JONATHAN MELENDEZ FOR TASTE OF HOME

How to Store Chocolate Carrot Cake

Like any cake with cream cheese frosting, this chocolate carrot cake should be kept refrigerated when it’s not being served. Store it in a covered cake carrier or wrap it with storage wrap to preserve freshness. The cake is best enjoyed within three or four days.

If you like, you can freeze the cake too. First refrigerate it until the frosting is firm, then wrap the cake tightly in a layer of storage wrap and a layer of heavy-duty foil before freezing it for up to three months. Thaw it in the refrigerator overnight before serving.

When serving a carrot and chocolate cake that has been refrigerated, we recommend removing the cake from the refrigerator and letting it sit at room temperature for at least 30 minutes before serving.

Chocolate Carrot Cake Tips

A slice of chocolate layer cake with chocolate frosting and walnuts sits on a white plate, next to a bowl of walnuts, a bowl of chocolate chips, two spoons, and a pink napkin. More cake is visible in the background.
JONATHAN MELENDEZ FOR TASTE OF HOME

What is the best way to shred carrots for carrot cake?

As for how to shred carrots, there are a few tried-and-true methods. Our favorite techniques include using a box grater, a food processor with a grating attachment or a mandoline slicer. For this chocolate carrot cake recipe, we find that finely shredded carrots yield the best texture, so choose a tool from your kitchen that will give you the finest shreds possible.

Does this carrot and chocolate cake taste like carrots?

No. Carrot cake doesn’t actually taste like carrots. Just as with the kraut in this chocolate sauerkraut cake, the carrots don’t flavor the cake; rather, they add tons of moisture and a pleasing texture. This chocolate zucchini cake is another example of how shredded veggies can be used to enhance cake.

Is this chocolate carrot cake recipe healthy?

Unfortunately, not really. Though this chocolate and carrot cake recipe contains veggies, it’s not a health food. That said, there are ways you can cut the fat, sugar and/or calories to make this a healthier cake recipe. First, you might substitute an equal amount of applesauce or mashed banana for the canola oil. You could also swap in a reduced-fat cream cheese (e.g., Neufchâtel cheese) for the regular cream cheese in the frosting. Cutting or modifying sugar can be a bit trickier, since the sugar not only makes the cake sweet but impacts its rise, color and texture too. If you’re up for experimenting, substitute 1-1/2 cups of honey or maple syrup for the sugar in the cake batter.

TEST KITCHEN APPROVED

Chocolate Carrot Cake

Contest Winner
Yield:16 servings
Prep:35 min
Cook:25 min

Ingredients

  • 3 cups finely shredded carrots
  • 2 cups sugar
  • 1-1/4 cups canola oil
  • 4 large eggs, room temperature
  • 2 cups all-purpose flour
  • 1/2 cup baking cocoa
  • 1 teaspoon baking soda
  • 1/2 teaspoon salt
  • FROSTING:
  • 1 package (8 ounces) cream cheese, softened
  • 1/2 cup butter, softened
  • 3-3/4 cups confectioners' sugar
  • 1/4 cup baking cocoa
  • 3 teaspoons vanilla extract
  • 1/4 cup chopped walnuts
  • 1/4 cup semisweet chocolate chips
Shop Recipe

Directions

  1. Line two 9-in. round baking pans with parchment paper; grease and set aside. In a large bowl, beat the carrots, sugar, oil and eggs until well blended. Combine the flour, cocoa, baking soda and salt; gradually beat into carrot mixture until blended.
  2. Pour into prepared pans. Bake at 350° for 25-30 minutes or until a toothpick inserted in the center comes out clean. Cool for 10 minutes before removing from pans to wire racks to cool completely.
  3. For frosting, in a large bowl, beat cream cheese and butter until fluffy. Beat in the confectioners' sugar, cocoa and vanilla until smooth.
  4. Place bottom layer on a serving plate; top with half of the frosting. Repeat with remaining cake layer. Sprinkle with nuts and chocolate chips.
Loading Popular in the Community
Finely shredding the carrots gives this cake an extra-nice texture. The walnuts sprinkled on top add crunch, but you can leave them off if you prefer. —Pamela Brown, Williamsburg, Michigan
Recipe Creator
Loading Reviews
Back to Top