Go Back
Vegan chocolate zucchini cake with a slice cut on a round wooden board.
Print Recipe
5 from 17 votes

Vegan Chocolate Zucchini Cake

This vegan chocolate zucchini cake is fudgy and moist, rich and decadent, with a chocolate fudge frosting. You won't believe shredded zucchini sneaked into this batter.
Prep Time20 mins
Cook Time30 mins
Total Time50 mins
Course: Baking, Cake, Dessert
Cuisine: Vegan
Diet: Vegan
Servings: 12
Calories: 518kcal


For the Vegan Chocolate Zucchini Cake:

For the Chocolate Fudge Frosting:

  • ½ cup Vegan Butter (112g)
  • 4 cups Powdered Sugar (480g)
  • ¾ cup Cocoa Powder (65g) Unsweetened
  • 5 Tbsp Soy Milk or other non-dairy milk
  • 2 tsp Vanilla Extract

For Decoration:


  • Preheat the oven to 350°F (180°C).
  • Spray two 8 inch cake pans with non-stick spray and line the bottoms with parchment paper and set aside.
  • Sift the flour and cocoa powder into a mixing bowl and add the sugar, baking soda, baking powder, espresso powder and salt and mix together.
  • Prepare your flax egg by mixing 1 Tbsp ground flaxseed meal with 3 Tbsp hot water from the kettle and allowing to sit for a minute until it gets gloopy.
  • Add the flax egg, shredded zucchini, vegan mayonnaise, oil, vinegar and vanilla to the mixing bowl. Mix into a batter. It will be very thick. Have patience because the moisture from the shredded zucchinis will gradually seep through the batter creating enough moisture to mix everything together, it will be very thick, but you'll be able to mix it all in.
  • Divide the batter between the two prepared cake pans and spread it out evenly to the edges with a spatula or the back of a spoon.
  • Bake for 30 minutes or until a toothpick inserted into the center of one of the cakes comes out clean.
  • Allow your cakes to cool in the cake pans for at least 10 minutes before you remove them from the pans as they will be slightly fragile.
  • Transfer to a wire cooling rack to cool completely before frosting.
  • Prepare your frosting by adding the vegan butter, powdered sugar, cocoa powder, soy milk and vanilla extract to the bowl of an electric mixer and starting at slow speed gradually increase speed until it's thick and smooth. This is a thick fudgy frosting. If it's too thick though add a tiny bit more non-dairy milk until you reach a spreadable consistency.
  • Frost the cakes and decorate with vegan chocolate chips and sprinkles.


  1. Instant espresso powder can be subbed for instant coffee powder or omitted altogether if you prefer. 
  2. Weigh your flour (and your zucchini) for the most accurate results.
  3. Keep the cake covered at room temperature where it will stay perfectly fresh for 2-3 days or covered in the fridge where it will stay good for up to 5 days. It's also freezer friendly for 2 months.
  4. Nutritional information includes frosting but excludes decorations like chocolate chips and sprinkles.


Serving: 1Slice | Calories: 518kcal | Carbohydrates: 88g | Protein: 4.9g | Fat: 19.2g | Saturated Fat: 3.2g | Sodium: 397mg | Fiber: 5g | Sugar: 64.8g