Moist Chocolate Walnut Cake Recipe for Perfectly Soft Layers

Moist milk chocolate cake infused with black walnut and finished with a fluffy chocolate-walnut buttercream, this Chocolate Walnut Cake is a true treat. It pairs perfectly with coffee or tea and makes a lovely dessert for any special occasion.

A chocolate walnut layer cake with several slices taken out.

Black walnut offers a slightly retro, distinctive flavor that pairs beautifully with chocolate. While many desserts today range from red velvet to every shade of chocolate, the classic chocolate-and-walnut combination remains timeless and delicious.

This cake carries that nutty profile through every layer, including the frosting, and the chopped walnuts on top add a welcome crunch. If you enjoy rich, bakery-style chocolate cakes, this recipe—similar in richness to my Chocolate Cinnamon Cake—will be right up your alley.

🌰 Why you’ll love this chocolate nut cake

  • Exceptionally moist: Tender crumb that highlights every flavor.
  • Milk chocolate-forward: Both cake and frosting showcase milk chocolate notes.
  • Crowd-pleaser: Black walnut’s bold, nutty character pairs wonderfully with chocolate and often surprises people in the best way.
A slice of chocolate walnut cake on a plate.

🍴 Equipment

I bake layer cakes in a sheet pan and cut rounds with cake rings, but you can use round pans if you prefer. A cake ring set and a ¼ sheet pan are handy for the 1x batch described here.

📋 Ingredients

This recipe uses a simple two-bowl method—no advanced techniques are required. The ingredients below are chosen to produce consistently moist, tender cake layers.

A shot of all the chocolate walnut cake ingredients.
The Cake Ingredients

Dry ingredients (whisk together in a medium bowl):

  • All-purpose flour
  • Baking powder
  • Baking soda
  • Salt
  • Instant Clearjel (or instant pudding mix as a substitute)
  • Unsweetened cocoa powder
  • Sugar and brown sugar

Wet ingredients (whisk together in a large bowl):

  • Large eggs
  • Buttermilk
  • Water (or brewed coffee for deeper chocolate flavor)
  • Vegetable oil
  • Vanilla extract
  • Black walnut extract
  • Apple cider vinegar (added just before baking)
  • Melted salted butter (added at the end for gloss and moisture)
  • Chopped walnuts
The chocolate walnut buttercream ingredients.
The Chocolate Walnut Buttercream Ingredients

For the milk chocolate walnut buttercream, whip together cream cheese, salted butter, butter-flavored shortening, powdered sugar, cocoa powder, Instant Clearjel, vanilla, and black walnut extract until light and fluffy. Decorate with a chocolate ganache drizzle, additional walnuts, and optional chocolate curls for a polished finish.

🥣 Instructions

Below are the streamlined steps for baking, frosting, and assembling this cake. Refer to the recipe card for precise measurements and bake times.

Cake dry ingredients in a bowl.

1. Preheat oven to 325°F. Line a 1″ tall ¼ sheet pan with parchment and lightly spray the parchment and sides.

2. Sift or whisk the dry ingredients (except brown sugar) in a large bowl, then add the brown sugar and combine. Whisk wet ingredients in a separate bowl until smooth.

3. Pour wet into dry, then immediately add apple cider vinegar to activate the leavening. Whisk until combined, then whisk in the melted butter. Fold in most of the chopped walnuts, reserving a few tablespoons for the top.

Chocolate cake batter in a bowl with chopped walnuts mixed in.

4. Pour batter into the prepared pan, smooth it, sprinkle the reserved walnuts across the top, and bake on the middle rack for 22–26 minutes, or until a toothpick comes out with just a few moist crumbs. Cooling times may vary by oven or batch size.

Chocolate cake batter in a sheet pan with nuts sprinkled on top.

5. Cool the cake completely. For easiest cutting and layering, chill or freeze the cake for a few hours, then cut rounds with cake rings or slice as desired.

Chocolate walnut cake in a sheet pan cut out with cake rings.

6. Make the buttercream: combine powdered sugar, cocoa, and Instant Clearjel. Beat softened cream cheese until smooth, add room-temperature salted butter, then the shortening, and mix until smooth. With the mixer on low, gradually add the sugar mixture, then vanilla and black walnut extract. Beat on high 2–3 minutes until light and fluffy. The frosting will thicken slightly as it rests.

Chocolate buttercream in a stand mixer.

7. Layer the cake with buttercream between each layer. Apply a thin crumb coat, chill briefly to set, then finish with a final coat of buttercream. Add a ganache drizzle, pipe rosettes if desired, and garnish with chopped walnuts and chocolate curls.

Two layers of a chocolate cake being layered.

8. Serve at room temperature for best texture. If refrigerated, allow the cake to come back to room temperature for 2–3 hours before serving.

🧁 Variations

Try these simple tweaks to change the flavor profile:

  • Replace black walnut extract with 1 tsp cinnamon in a 1x batch for a chocolate-cinnamon-walnut version.
  • For a subtler walnut note, omit the extract and use brewed coffee instead of water in the batter; add a tablespoon of brewed coffee to the buttercream.
  • Swap walnuts for pecans or another preferred nut.
  • Add 1 tbsp espresso powder, a half cup of bittersweet chips, or use dark cocoa powder for deeper chocolate flavor.

Yield examples for a 1x batch: one 6″ three-layer cake (cut from a ¼ sheet pan), 18 cupcakes, or other pan configurations listed in the recipe card.

🧊 Storage

This cake is best at room temperature. Leftover slices can sit at room temperature up to 24 hours; after that, store them airtight in the refrigerator. For longer storage, freeze cake layers for up to two weeks before assembling. Buttercream can be made 2–3 days ahead and refrigerated—bring to room temperature and rewhip briefly before using.

A chocolate cake on a cake stand decorated with chocolate drip and walnuts and chocolate curls.

💭 FAQ

What’s the difference between black walnut and regular walnut?

Black walnuts have a bold, robust flavor compared with milder English walnuts. Their intense nuttiness stands up well to rich chocolate, which makes them a great choice in this cake.

How do you make chocolate cake with walnuts?

This recipe adds walnut extract and chopped walnuts to a moist chocolate cake base. Another approach is to incorporate ground walnuts into the batter, as in Italian walnut cakes (Torta di Noci).

Do I have to use vegetable oil?

Vegetable oil helps keep the cake moist and gives a tender crumb. Substituting another neutral oil is possible, but avoid options that impart strong flavors.

More Chocolate & Nutty Cake Recipes

If you like this cake, you may enjoy other moist chocolate layer cakes with nutty or complementary flavors.

  • a slice of fudgy triple chocolate ganache cake
    Extra Moist Triple Chocolate Ganache Cake
  • a closeup of a slice of moist chocolate cinnamon cake
    Grandma’s Chocolate Cinnamon Cake
  • A slice of elvis cake on a plate
    Elvis Cake (Banana with Peanut Butter Frosting)
  • A large slice of chocolate cake with peanut butter frosting.
    Chocolate Cake with Peanut Butter Frosting

Did you make this cake? Tag @amycakesbakes in your photos on Instagram and consider subscribing for more bakery-style recipes for moist cakes, pies, and cookies.

Thanks for reading. ❤️

Amy's Signature

📖 Recipe & Step-by-Step Instructions

Chocolate Walnut Cake (moist and soft)

Buttery, moist, and soft milk chocolate cake with a hint of black walnut and crunchy walnut pieces, frosted with a milk chocolate-walnut buttercream. A 1x batch yields a 6″ three-layer cake when cut from a ¼ sheet pan.
8 servings
Prep Time: 20 mins
Cook Time: 22 mins
Cake Layering Time: 25 mins

Ingredients

Dry Ingredients

  • 177 g (1 1/4 cups + 1 Tbsp) all-purpose flour
  • 1 1/2 tsp baking powder
  • 1 tsp baking soda
  • 3/4 tsp salt
  • 2 Tbsp instant clearjel (or instant pudding mix)
  • 15 g (3 Tbsp) unsweetened cocoa powder
  • 100 g (1/2 cup) sugar
  • 170 g (3/4 cup packed) brown sugar

Wet Ingredients

  • 2 large eggs
  • 3/4 cup buttermilk
  • 1/4 cup water or brewed coffee
  • 1/4 cup + 3 Tbsp vegetable oil
  • 1 1/2 tsp vanilla extract
  • 2 tsp black walnut extract

Other Cake Ingredients

  • 1 tsp apple cider vinegar
  • 3 oz (3/4 stick) salted butter, melted
  • 3/4 cup chopped walnuts (measure after chopping)

Milk Chocolate Walnut Buttercream

  • 4 oz cream cheese
  • 1 1/2 sticks (6 oz) salted butter
  • 48 g (1/4 cup) butter-flavored shortening
  • 455 g (3 1/2 cups) powdered sugar
  • 2 Tbsp unsweetened cocoa powder
  • 1 Tbsp instant clearjel
  • 1 Tbsp pure vanilla extract
  • 1/2 tsp black walnut extract

Instructions

Bake the Cake

  1. Preheat oven to 325°F. Line a 1″ tall ¼ sheet pan with parchment and spray lightly.
  2. Sift or whisk dry ingredients (except brown sugar) into a bowl, then add brown sugar and mix. Whisk wet ingredients in another bowl.
  3. Pour wet into dry, add apple cider vinegar immediately, and whisk until combined. Whisk in melted butter, then fold in chopped walnuts (reserve a small amount for topping).
  4. Spread batter in the pan, sprinkle reserved walnuts on top, and bake 22–26 minutes. Cool completely; for easiest cutting, chill or freeze before cutting with cake rings.

Make the Buttercream

  1. Whisk powdered sugar, cocoa, and Instant Clearjel together.
  2. Beat cream cheese until smooth, add room-temperature salted butter and beat until no lumps remain.
  3. Add butter-flavored shortening and beat until smooth. With mixer on low, add the sugar mixture slowly.
  4. Add vanilla and black walnut extract. Scrape the bowl, then beat on high 2–3 minutes until light and fluffy.

Layer, Decorate, and Serve

  1. Cut cake layers with rings from chilled or frozen cake. Layer with buttercream between each layer.
  2. Apply a thin crumb coat, chill to set, then finish with the final coat of buttercream.
  3. Microwave prepared ganache until pourable and drizzle down the cake sides if desired. Pipe rosettes, add chopped walnuts and chocolate curls to finish.
  4. Serve at room temperature for best texture.
Author: Amy
Calories: 950 kcal (estimated)