Vegan german chocolate cake

Vegan German Chocolate Cake

  • Author: Loving It Vegan
  • Prep Time: 15 mins
  • Cook Time: 30 mins
  • Total Time: 45 minutes
  • Yield: 12


Moist and rich 2-layer vegan German chocolate cake with a coconut pecan filling and a chocolate buttercream frosting. Mega-chocolatey and ultimately delicious!


For the Vegan Chocolate Cake:

For the Coconut Pecan Filling:

  • 1/4 cup (56g) Vegan Butter
  • 1/2 cup (100g) Brown Sugar
  • 1/2 cup (120ml) Coconut Milk
  • 1 Tbsp Cornstarch
  • 1 tsp Vanilla Extract
  • 1 cup (50g) Coconut Flakes*
  • 1/2 cup (60g) Pecans (Chopped)*

For the Chocolate Buttercream Frosting:

For Decoration (Optional):

  • Coconut Flakes
  • Chopped Pecans
  • Vegan Chocolate Chips


  1. Preheat the oven to 350°F (180°C). Spray two 8 inch cake pans with non-stick spray and line the bottoms with circles of parchment paper. Set aside.
  2. Sift the flour and cocoa powder into a mixing bowl and then add the sugar, baking soda and salt and mix together.
  3. Prepare your flax egg by adding 1 and 1/2 Tbsp ground flaxseed meal to a bowl and then adding in 4 and 1/2 Tbsp hot water (this equals 1 and 1/2 flax eggs). Leave it to sit for a minute and become gloopy.
  4. Add in the soy milk, vanilla extract, oil, vinegar and flax eggs to your dry ingredients and mix in. Use a hand whisk to briefly mix it all together removing any lumps (tiny lumps are fine) but being careful not to overmix.
  5. Divide the batter evenly between the two cake pans and then place into the oven to bake for 30 minutes or until a toothpick inserted into the center of one of the cakes comes out clean. Transfer the cakes to a wire cooling rack to cool completely before adding filling or frosting.
  6. While the cakes are baking, prepare your coconut pecan filling. Mix the cornstarch into the cold coconut milk and whisk so that it’s well mixed in. Then add the vegan butter to a saucepan and let it melt before you add the brown sugar and coconut milk/cornstarch mix. Stir constantly until the mixture boils and starts to thicken, then remove it from the heat and add in the vanilla, coconut flakes and chopped pecans. Set aside to cool completely before using.
  7. Prepare your chocolate buttercream frosting. Add the powdered sugar, cocoa powder, vegan butter, 3 Tbsp of coconut milk and vanilla extract to the bowl of an electric stand mixer. Start off at slow speed, gradually increasing speed until it’s very thick and smooth. If needed, add in around 1/2 tsp of extra coconut milk to get to the ideal consistency. I prefer to add this in last, only if needed, as you want this to be thick, but it still should be spreadable. If it’s still too thick, add in more coconut milk a drop at a time until you get the right consistency.
  8. When the cakes are completely cool and your coconut/pecan filling is completely cold, then you can finalize your cake. Add all the coconut/pecan filling to the middle layer and then all the chocolate buttercream to the top. If you want to frost the sides as well you can do that, there is enough frosting to allow for this.
  9. Decorate the cake with coconut flakes, chopped pecans and vegan chocolate chips (optional).


*Weigh your flour for the most accurate results.

*You can switch the soy milk in the cake for another non-dairy milk like almond milk if you prefer.

*I like using extra virgin olive oil in my baking, but if you prefer you can use a different vegetable oil.

*White vinegar is interchangeable with apple cider vinegar in this recipe.

*Coconut Flakes or Shredded Coconut are basically the same thing, but shredded coconut pieces are generally smaller, but you can use either/or.

*Pecans can be raw or roasted.

*I used coconut milk in the frosting as I already had a can of coconut milk open for use in the coconut/pecan filling. However, if you want to use a different non-dairy milk such as soy or almond, you can also do that.

  • Category: Baking, Dessert, Cakes
  • Cuisine: Vegan


  • Serving Size: 1 Slice (of 12)
  • Calories: 562
  • Sugar: 53.7g
  • Sodium: 385mg
  • Fat: 26.4g
  • Saturated Fat: 9.4g
  • Carbohydrates: 80.2g
  • Fiber: 5.3g
  • Protein: 6.2g

Keywords: vegan german chocolate cake