A vegan chocolate mocha layer cake is a two-layer chocolate cake made without eggs or dairy, flavored with espresso and topped with a smooth coffee-chocolate frosting. It works because cocoa and coffee reinforce each other: the bitterness of strong brewed coffee deepens the chocolate flavor instead of tasting like coffee on its own, and plant milk plus vinegar creates the acidity that makes egg-free cakes rise and stay tender. The result is a moist, sturdy cake that slices cleanly and holds up well for birthdays and celebrations.
Ingredients
- 240 g (2 cups) all-purpose flour
- 200 g (1 cup) granulated sugar
- 60 g (1/2 cup) unsweetened cocoa powder
- 1 1/2 tsp baking soda
- 1/2 tsp salt
- 240 ml (1 cup) unsweetened plant milk (soy or oat works best)
- 1 tbsp white or apple cider vinegar
- 120 ml (1/2 cup) strong brewed coffee, cooled
- 100 ml (scant 1/2 cup) neutral oil (canola or sunflower)
- 1 1/2 tsp vanilla extract
- 150 g (1 1/4 cups) powdered sugar, for the frosting
- 40 g (1/3 cup) unsweetened cocoa powder, for the frosting
- 100 g (about 1/2 cup) vegan butter or vegetable shortening, softened
- 2-3 tbsp strong brewed coffee, cooled, for the frosting
- 1/2 tsp vanilla extract, for the frosting
- Pinch of salt, for the frosting
Instructions
- Preheat the oven to 175°C (350°F). Grease two 20 cm (8-inch) round cake pans, line the bases with parchment, and dust the sides lightly with cocoa powder.
- In a large bowl, whisk together the flour, granulated sugar, cocoa powder, baking soda, and salt until no cocoa lumps remain.
- In a jug, combine the plant milk and vinegar and let it sit for 5 minutes until it looks slightly thickened and curdled. This is your buttermilk substitute.
- Add the cooled coffee, oil, and vanilla to the plant milk mixture and stir.
- Pour the wet ingredients into the dry and whisk gently just until combined. A few small lumps are fine; overmixing makes the cake dense.
- Divide the batter evenly between the two pans. Tap each pan on the counter twice to release large air bubbles.
- Bake for 25-30 minutes, until a skewer inserted in the center comes out with only a few moist crumbs. Rotate the pans halfway through if your oven bakes unevenly.
- Cool in the pans for 10 minutes, then turn out onto a wire rack and cool completely before frosting, about 1 hour.
- For the frosting, beat the softened vegan butter with the cocoa powder and a pinch of salt until smooth. Add the powdered sugar in two additions, then the vanilla and 2 tbsp coffee. Beat for 2-3 minutes until light and spreadable, adding the last tablespoon of coffee only if it is too stiff.
- Place one cake layer on a plate, spread about a quarter of the frosting on top, and set the second layer over it. Cover the top and sides with the remaining frosting, swirling with the back of a spoon.
- Chill for 30 minutes to firm the frosting before slicing.
Tips
- Use coffee that has cooled to room temperature. Hot liquid can start setting the cocoa and make the batter grainy.
- Weigh your flour if you can. Scooping with a cup can pack in 20-30 g extra, which dries the cake out.
- If your vegan butter is very soft or the kitchen is warm, chill the frosting for 15 minutes before spreading so it does not slide.
- For a cleaner slice, dip the knife in hot water and wipe it dry between cuts.
Serving Suggestions
Serve slices at room temperature with a spoonful of whipped coconut cream or a scoop of vegan vanilla ice cream. A dusting of cocoa or a few coffee beans on top of each slice looks neat without extra work. This cake pairs well with a plain cup of coffee or a glass of cold plant milk; if you serve it alongside an alcoholic coffee drink, that drink is for adults of legal drinking age only.
Variations
For a stronger mocha hit, dissolve 1 tsp instant espresso powder into the coffee before mixing. Swap 2 tbsp of the flour for extra cocoa for a darker, more intense crumb. Add 1/2 tsp cinnamon for a warming note, or fold 80 g (1/2 cup) vegan chocolate chips into the batter for pockets of melted chocolate. For a gluten-free version, use a 1:1 gluten-free flour blend and add 1/2 tsp xanthan gum if the blend does not already contain it. A raspberry jam layer between the cakes cuts the richness nicely.
Storage and Reheating
Store the frosted cake covered in the refrigerator for up to 4 days. Let it sit at room temperature for 20-30 minutes before serving so the frosting softens. Unfrosted layers keep wrapped tightly at room temperature for 2 days, or freeze for up to 2 months wrapped in plastic and foil; thaw overnight in the refrigerator. The frosting can be made ahead and refrigerated for up to 5 days, then brought back to room temperature and rewhipped. There is no need to reheat this cake; warming it in a microwave makes the frosting greasy.
Frequently Asked Questions
Can I make this cake without coffee?
Yes. Replace the brewed coffee with the same volume of plant milk or hot water. The cake will taste like a plain chocolate cake, so add an extra 1/2 tsp vanilla if you want more flavor.
Why did my cake turn out dry?
The usual causes are overbaking and too much flour. Check at 25 minutes, and pull the cakes as soon as a skewer comes out with moist crumbs rather than dry ones. Weighing flour prevents the other common cause.
Can I use a different plant milk?
Yes, any unsweetened plant milk works. Soy and oat give the richest crumb; almond and rice are lighter. Avoid sweetened or flavored varieties, which change the balance of sugar.
Can I bake this as a single layer or cupcakes?
Yes. For one 20 cm (8-inch) layer, bake for 30-35 minutes. For cupcakes, fill liners two-thirds full and bake at 175°C (350°F) for 18-20 minutes. The frosting quantity is enough for either.
How do I know the cake is done?
A skewer inserted in the center should come out with a few moist crumbs, and the cake should spring back when lightly pressed. If it jiggles, give it 3-5 more minutes.
Can I freeze the finished cake?
Yes, freeze it unwrapped for 1 hour to firm the frosting, then wrap tightly and freeze for up to 1 month. Thaw in the refrigerator overnight and serve at room temperature.