Carrot Cake With Walnuts and Cream Cheese Frosting

Two layers of carrot and walnut cake with cream cheese frosting

A good carrot cake has more going on than sweetness: soft carrot flecks, warm spice, a little walnut crunch and cream cheese frosting with a tangy edge. This two-layer version keeps those familiar parts in balance. There is no pineapple or raisin mixture to prepare, and the batter comes together with a whisk and spatula before the frosting needs a mixer.

A two-layer carrot and walnut cake with cinnamon, ginger and a tangy cream cheese frosting.
Two layers of carrot and walnut cake with cream cheese frosting

I want the carrot and cinnamon to stay noticeable under the frosting. A soft layer in the middle and a simple coat over the top give each slice enough contrast without turning the cake into a decorating assignment.

Freshly grated carrots make the difference

Finely grated fresh carrots beside a box grater

Wash, peel and grate the carrots yourself rather than using thick bagged matchsticks. Fine, short shreds distribute more evenly through the batter and soften as the cake bakes. Weigh 350 g after trimming and peeling so the amount does not depend on whether your carrots happen to be especially large.

Do not squeeze the grated carrots dry. Their moisture belongs in the batter. At the same time, resist adding an extra handful simply because there is a little left on the board; more carrot changes the balance of a cake rather than automatically making it better.

Cinnamon carries most of the spice flavor, with a small amount of ginger behind it. Ordinary ground cinnamon works well. If you prefer a gentler cinnamon note, the Ceylon cinnamon guide explains how its flavor differs from cassia. The walnuts should be chopped small enough to sit comfortably in a forkful, not left in large halves.

Mix a cake batter, not a bowl of grated vegetables

Whisk the flour, leavening, salt and spices together first so the small ingredients are evenly distributed. In a second bowl, whisk the oil, both sugars, eggs and vanilla until smooth. Break up any firm brown-sugar clumps before they disappear into the mixture.

Fold the dry ingredients into the wet just until the flour is incorporated, then fold in the carrots and walnuts. Scrape the bottom of the bowl as you go. The batter will be thicker than a pourable chocolate cake batter, but the carrots should be coated throughout rather than sitting in dry clumps.

Divide the batter between two prepared 8-inch round pans. If you have a scale, weigh the filled pans to keep the layers close in size. Uneven layers are still edible, but one shallow pan can finish baking well before a deeper one, which makes the oven check less straightforward.

Let the layers cool before building the cake

Two unfrosted carrot cake layers cooling on wire racks

Bake on the center rack at 350°F. Start checking after about 30 minutes: the centers should feel set, and a cake tester should come out without wet batter. A few soft crumbs are fine. Check both pans rather than assuming they have baked at exactly the same rate.

Let the cakes rest in their pans for 15 minutes, then loosen the edges and turn them onto racks. Remove the parchment and allow them to cool completely. Handle each layer with a flat hand or a broad cake lifter so it stays supported; a warm, moist layer is easy to crack if lifted by one edge.

Give the cooling stage room in your schedule. Two hours is a practical allowance, but the real cue is a completely cool center. Frosting a warm layer softens the filling and makes a stacked cake more likely to slide. If the layers are ready before you are, wrap them once cool and refrigerate.

A simple cream cheese finish

Use full-fat brick-style cream cheese and softened unsalted butter. A spreadable tub product can behave differently because its formulation and moisture vary. Previously frozen cream cheese can also become grainy; our cream cheese freezing guide explains why it is a less predictable choice for a smooth frosting.

Beat the butter and cream cheese just until smooth, then mix in powdered sugar, vanilla and salt. Stop when the frosting is creamy and spreadable. If the kitchen is warm and it feels loose, chill it briefly before piling in more sugar. This frosting is for filling and a simple coat, not tall piped decorations.

Place one layer on a plate, spread about a third of the frosting over it, then add the second layer and finish the top and sides. Refrigerate the finished cake, covered, and use within three days. Let individual slices sit briefly before serving so the frosting softens, keeping total time out under two hours, or one hour above 90°F.

Carrot Cake Recipe

Laura Ambrouse
Two layers of carrot and walnut cake with cream cheese frosting
No ratings yet
Save
A two-layer carrot and walnut cake with cinnamon, ginger and a tangy cream cheese frosting.
Estimated Recipe CostAbout US$9.75 per batch (ingredient portions only; US grocery estimate, October 2026; prices vary; excludes tax, delivery, water, energy and optional extras)
Prep Time 30 minutes
Cook Time 35 minutes
Cooling 2 hours
Total Time 3 hours 5 minutes
Servings: 12 slices
Course: Dessert
Cuisine: American
Calories: 649

Ingredients
  

Cake
  • 2 1/2 cups all-purpose flour 300 g, spooned and leveled
  • 2 teaspoons baking powder 8 g
  • 1/2 teaspoon baking soda 3 g
  • 2 teaspoons ground cinnamon 5 g
  • 1/2 teaspoon ground ginger 1 g
  • 2/3 teaspoon fine salt 4 g
  • 3/4 cup canola oil 180 ml / about 165 g
  • 3/4 cup packed light brown sugar 150 g
  • 125 g granulated sugar about 1/2 cup plus 2 tablespoons
  • 3 large eggs 150 g without shells
  • 2 teaspoons vanilla extract about 8 g
  • 350 g finely grated carrots prepared weight, about 3 cups; do not squeeze dry
  • 3/4 cup chopped walnuts 80 g
Frosting
  • 12 oz full-fat brick-style cream cheese 340 g, softened
  • 1/2 cup unsalted butter 113 g, softened
  • 320 g powdered sugar about 2 3/4 cups, sifted
  • 1 teaspoon vanilla extract about 5 g
  • 1 g fine salt a scant 1/4 teaspoon

Equipment

  • 2 8-inch round cake pans at least 2 inches deep
  • 1 box grater
  • 2 Mixing bowls
  • 1 electric hand mixer
  • 2 wire cooling racks

Instructions
 

Bake
  1. Heat the oven to 350°F (175°C). Line the bases and sides of two 8-inch round pans, at least 2 inches deep, with parchment. Finely grate the carrots and chop the walnuts.
  2. Whisk the flour, baking powder, baking soda, cinnamon, ginger and salt together in a bowl.
  3. In a large bowl, whisk oil, both sugars, eggs and vanilla until smooth, breaking up brown-sugar clumps. Fold in the dry ingredients just until combined. Fold in the grated carrots and walnuts, scraping the bottom of the bowl.
  4. Divide the batter evenly between the pans and smooth the tops. Bake for about 30–38 minutes, checking both pans at 30 minutes. The centers should be set and a cake tester should come out without wet batter; a few moist crumbs are fine.
  5. Cool in the pans for 15 minutes. Loosen the edges, turn out onto racks and remove parchment. Cool completely, allowing about 2 hours in total or longer if needed. Do not frost warm layers.
Frost
  1. Beat the softened cream cheese and butter with an electric mixer until smooth. Add powdered sugar gradually on low speed, then vanilla and salt. Mix only until creamy and spreadable. If soft from a warm kitchen, refrigerate briefly until it holds a soft ridge.
  2. Place one cooled layer on a serving plate and spread with about one-third of the frosting. Add the second layer. Spread the remaining frosting over the top and sides in a simple coat. Refrigerate the covered cake and use within 3 days. Let individual slices soften briefly before serving.

Nutrition

Serving: 1 slice (1/12 batch)Calories: 649kcalCarbohydrates: 74.4gProtein: 7.3gFat: 37gSaturated Fat: 12.3gPolyunsaturated Fat: 8.1gMonounsaturated Fat: 14.5gCholesterol: 95mgSodium: 415mgPotassium: 228mgFiber: 2.2gSugar: 51.5gCalcium: 121mgIron: 1.9mg

Video

Notes

Video credit: Preppy Kitchen’s “BEST Carrot Cake Recipe” demonstrates carrot cake and cream cheese frosting. This card uses its own two-layer formula and walnuts rather than the video’s pecans. Follow this card’s measurements, pan size and doneness cues.
Nutrition is an ingredient-based estimate per one-twelfth of the frosted cake from USDA SR Legacy entries: 300 g flour, 350 g carrots, 165 g canola oil, 150 g brown sugar, 125 g white sugar, 150 g eggs, 8 g baking powder, 3 g baking soda, 5 g cinnamon, 1 g ginger, 5 g total salt, 13 g total vanilla, 80 g walnuts, 340 g cream cheese, 113 g butter and 320 g powdered sugar. It includes all frosting and no decoration. Actual portions and brands vary. Cooking-sensitive vitamins and unavailable trans-fat values are not estimated.
Keep the cream-cheese-frosted cake refrigerated at 40°F or below. Limit time at room temperature to 2 hours, or 1 hour above 90°F. For longer preparation, wrap fully cooled unfrosted layers and freeze for up to 2 months for best quality; thaw wrapped in the refrigerator before frosting. Contains wheat, eggs, milk and walnuts.

Tried this recipe?

Let us know how it turned out!

Sources

Leave a Comment

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

Recipe Rating




Scroll to Top