This post may contain affiliate links. As an Amazon Associate, I earn from qualifying purchases. Please read my disclosure.
Chocolate and nuts make for an iconic duo, and that’s just one of the reasons I love this chocolate walnut cake. This cake is rich, moist, and topped with a glossy ganache. The chocolate flavor is intense, and offset by the delicately earthy butter crunch of walnuts.

I was obsessed with baking my coffee and walnut loaf cake, until this chocolate version became my new family favorite. I use dark chocolate, cocoa powder, and heavy cream for this one. While it is a cake, I have done my best to make it decadent, but still mindful. And chocolate is full of antioxidants, so I think you should bake this tonight… For your health. Ha!
I was on a mission to get my kids to eat more walnuts. These are the nuts that require some convincing. I noticed how much they were enjoying my vegan chocolate lava cake one night, and thought to myself, if only I had hidden walnuts in there. Lightbulb! How could I forget, my kids would eat just about anything if it was hidden in chocolate. The next week, I made sure to bake this cake while the kids were at school, and did not garnish the ganache with chopped walnuts. After dinner, I gave them each a slice without divulging too much. It was chocolate. They were happy. And they had no idea that they had eaten walnuts. Picky eaters 0, mom 1.
I firmly believe that simple recipes are the best ones. And this cake is proof of that. The batter comes together in minutes, pours into a single pan, and bakes to a perfectly tender, chocolate-rich base. No layering, no stacking, no finicky steps. Just honest-to-goodness chocolate cake.
The structure of this cake works because of a careful balance between moisture and crumb. Oil keeps the cake tender for days, while a proper folding technique ensures the walnuts are well distributed and do not weigh down the batter. The ganache sets into a smooth layer, complementing the cake, rather than overpowering it, creating a dessert that tastes deeply chocolatey but still balanced.
I love nothing more than the combination of chocolate and nuts. Any kind of nuts, really! It is like a gift from the universe. But I have always felt that walnuts get somewhat overlooked in the dessert world. That is why I try to incorporate them into as many dishes as possible. Which is why I hid them in this cake, thinking I could trick my kids.
After having made this many times, my eldest suggested I sprinkle walnuts on top as a decoration. They knew! I am not sure exactly when they figured it out, but I was glad that they had finally accepted walnuts into their diet. I reckon it was all brain function boost from the walnuts that wised them up to my secret. Ha!
Latest Recipe Video!
🥘 Ingredients
This cake uses straightforward baking essentials, with a few key ingredients that elevate the flavor.


For the cake
Almond milk: I use almond milk, combined with a bit of lemon juice to create a tender crumb.
Lemon juice: Lemon juice reacts with the raising agent, which gives my cake the rise I want.
Coconut sugar: I use coconut sugar as a healthier alternative to refined white sugar for natural sweetness.
Salt: Salt enhances the chocolate flavor and cancels out any bitterness from the instant coffee.
Baking powder and baking soda: This is essential for getting my cake to rise.
All-purpose flour: I use all-purpose flour to provide a solid structure and a light crumb.
Vanilla extract: Vanilla essence gives my chocolate cake that X factor, as it rounds out all the flavors.
Chopped walnuts: These nuts provide a crunchy, earthy, buttery contrast in each bite, which is what makes this cake special.
Instant coffee granules: I used instant coffee mixed with hot water to intensify the chocolate flavors. It does not leave behind any coffee taste.
For the ganache
Dark chocolate: I use good-quality dark chocolate for the base of the ganache.
Heavy cream: I mix this into the dark chocolate to create a silky, smooth frosting.
🔪 How To Make
This is an easy one-layered cake with simple steps and a complex flavor profile.
Preheat oven and prep: I begin by preheating my oven 350F, and lining an 8X8-inch square pan with parchment paper. Then I whisk the almond milk and lemon juice and allow it to sit.
Combine dry ingredients: Next, I combine my coconut sugar, salt, baking powder, baking soda, cocoa powder, and flour in a large bowl.


Combine wet ingredients: Then, I add eggs and vanilla to my milk mixture and whisk together.


Mix wet and dry: I combine my wet ingredients, dry ingredients, and chopped walnuts until just combined.


Add coffee mixture: Finally, I stir in my coffee liquid. The batter will be thin, and that is exactly what you want.


Bake: I pour my batter into the prepared pan and bake for 25 – 30 minutes, or until a toothpick inserted in the center comes out clean. I allow the cake to cool in the tin for 10 minutes, then transfer it onto a wire rack to cool completely.


Prep dark chocolate for ganache: I finely chop my dark chocolate and place it in a heat-proof bowl.


Add hot cream: Next, I heat my cream until steaming, but not boiling, hot, and pour it over my chocolate. I allow it to sit briefly and then stir until smooth.


Chill ganache: Once the chocolate is completely melted into the cream, I place the bowl in the fridge for 30 minutes until thickened.


Whip ganache: Using either a stand or hand mixer, I whip the ganache until light and fluffy.


Frost and serve: Lastly, I spread the whipped ganache over the cooled cake and sprinkle with additional walnuts.


My #1 Secret Tip for this chocolate walnut cake recipe is to not overmix the batter. I say it for all cake recipes because it is so important. Overworking the batter overdevelops the gluten strands, and your cake will be hard and dense instead of soft and airy.
Other Tips To Keep In Mind:
- Use high-quality chocolate: I make sure to use chocolate with a 55%-70% cacao content, for a glossier emulsion.
- Do not boil the cream: Once the cream starts steaming, remove it from the heat. Boiled cream can cause separation. This is also why I prefer to heat it on the stove rather than in a microwave.
- Let the cake cool: I always make sure that my cake is completely cooled down before I begin frosting. If the cake is still slightly warm, the ganache melts and slides off.
- Toast your walnuts: For the topping, I like using walnuts that have been lightly toasted in the oven. Be careful not to let them get too dark, as they have a bitter taste when burned.
📖 Variations
While I do believe this cake is perfect as is, I have still played around with the ingredients and come up with some fun alternatives that are equally delicious.
Gluten-free: For a gluten-free version, I use a gluten-free flour blend that contains xanthan gum. This falls into the have your cake and eat it too category in my house. Even when we are going low-carb, we still have room for dessert.
Vegan swap: In a vegan version, I swap out the eggs for flax eggs and use coconut cream and dairy-free chocolate for the ganache. When I made this for my colleague, I made sure to garnish it with extra coconut shavings.
Pecans and chocolate chips: Instead of walnuts, I use chopped pecans for a sweeter flavor, and add 1 cup of chocolate chips. You can probably guess that this is the version my kids liked the most. Ha!
🍽 Serving Suggestions
I have served this chocolate walnut cake for every occasion imaginable. Birthdays, anniversaries, milestone celebrations, and even at a rehearsal dinner. But I have really enjoyed it the most on a quiet afternoon. I love having cake on a non-occasion day; it is one way I romanticize my life. I remember one specific rainy day, sitting at the window with a slice of cake and a scoop of my chocolate banana ice cream. And before you judge me for having too much chocolate, you should know that I had frosted my cake with my vegan cream cheese frosting that day. If you prefer a frosting that is less rich than ganache, I recommend this combo!
A good friend of mine recently celebrated her 40th birthday and decided to throw a themed birthday dinner. It was a naughty, nutty forties theme. Ok, yes, the name needed work, but I needed a huge table for the spread I had planned! I laid out my chocolate walnut cake, next to bowls of my vegan peanut brittle and dainty ramekins of my chocolate almond pudding. And that was just one side of the dessert table!
🧊 Storing And ♨️ Reheating
Refrigeration: I store my cake in an airtight container for up to 4 days. It is best to allow your slices to come to room temperature before serving.
Freezing: I freeze individual slices on a baking sheet until firm, then transfer them into a freezer-safe container. This keeps for up to 3 months.
Reheating: I allow my frozen slices to thaw overnight in the refrigerator. If desired, you can warm the cake slightly in the microwave for 10-15 seconds.
❓ Recipe FAQs
If my cakes sink in the middle, it is usually because my oven temperature was too low, the cake was underbaked, or the baking process was disturbed. To prevent this in the future, always make sure to preheat your oven to the correct temperature, bake until a toothpick comes out clean, and do not open the oven door unnecessarily.
Graininess is a result of overheated chocolate. This is why the cream should never be boiling. To fix this, I try whisking in small amounts of hot milk or using an immersion blender on high speed for 20-40 seconds.
Yes, I have used different types of chocolate depending on the sweetness I want. These chocolates also require different cream-to-chocolate ratios. Milk chocolate is sweeter and slightly creamier. For this recipe, I would use 14-16 ounces of chocolate and ½ cup heavy cream. White chocolate is much sweeter, but has better firmness. I would use 18-20 ounces of white chocolate and ½ cup heavy cream.


Love this plant based dessert recipe? Please leave a 5-star rating 🌟 in the recipe below and/or a review in the comment section further down the page!
You can also FOLLOW ME on FACEBOOK, INSTAGRAM, and PINTEREST to see more delicious, healthy, family-friendly food, and if you have any questions, I’m here to help!
📋 Recipe Card
Chocolate Walnut Cake
Chocolate and nuts make for an iconic duo, and that’s just one of the reasons I love this chocolate walnut cake. This cake is rich, moist, and topped with a glossy ganache. It looks like something out of a high-end bakery, but it could not be easier to make. The chocolate flavor is intense, and offset by the delicately earthy, butter crunch of walnuts.
Servings: 16 servings
Calories: 318kcal
- My #1 Secret Tip for this chocolate walnut cake recipe is to not overmix the batter. I say it for all cake recipes because it is so important. Overworking the batter overdevelops the gluten strands, and your cake will be hard and dense instead of soft and airy.
- Use high-quality chocolate: I make sure to use chocolate with a 55%-70% cacao content, for a glossier emulsion.
- Do not boil the cream: Once the cream starts steaming, remove it from the heat. Boiled cream can cause separation. This is also why I prefer to heat it on the stove rather than in a microwave.
- Let the cake cool: I always make sure that my cake is completely cooled down before I begin frosting. If the cake is still slightly warm, the ganache melts and slides off.
- Toast your walnuts: For the topping, I like using walnuts that have been lightly toasted in the oven. Be careful not to let them get too dark, as they have a bitter taste when burned.
Serving: 1slice | Calories: 318kcal | Carbohydrates: 37g | Protein: 6g | Fat: 18g | Saturated Fat: 8g | Polyunsaturated Fat: 4g | Monounsaturated Fat: 4g | Trans Fat: 0.01g | Cholesterol: 30mg | Sodium: 201mg | Potassium: 297mg | Fiber: 5g | Sugar: 15g
