Graham always gets a good birthday cake, since his birthday is in summer – this year it was this vegan, one-bowl, chocolate raspberry cake with a coconut milk ganache. It looks a bit fancy, but it’s really simple, I promise, even the icing. I just tossed it on there and made some swoops with a spoon.
It’s a basic vegan chocolate cake, made with light spelt flour, cocoa powder, non-dairy milk, olive oil, and a little coconut sugar. I adapted it from my pumpkin and chocolate layer cake and reduced the sugar a bit. Half a cup of coconut sugar for a whole cake is pretty all right, I think.
The cake has a nice light texture and deep chocolate flavour, with some raspberries tossed in halfway through filling the tin with the batter for a berry surprise in the centre. This lightens an otherwise rather rich cake, and makes it into a properly summery dessert.
It’s a single bowl method because dishes are the worst and cake shouldn’t involve more dishes than necessary, especially when hot water should be avoided at all costs during steamy summer weather. Mix, bake, cool, ice, done.
Ingredient Notes and Substitutions
- Spelt flour: this should be light or white spelt flour. All-purpose white flour can be substituted for spelt. I haven’t tried making this recipe gluten-free and recommend making these gluten-free chocolate cupcakes instead.
- Raspberries: fresh and frozen raspberries can both be used. Strawberries, cherries, and apricots all make good alternatives, though I don’t recommend frozen strawberries here as they’re too watery.
- Oil: olive oil can be replaced by any light-tasting liquid oil. Grape seed, avocado, and so on. I don’t recommend coconut oil for this cake, it makes it too heavy after cooling.
- Coconut sugar: cane sugar can be used instead of coconut sugar if you prefer.
Recipe Notes
For the ganache, it’s important to use a high-fat canned coconut milk, at least 65% coconut in the ingredients. A dark chocolate, above 70% cocoa solids, is also important. Either ingredient being less than that can cause the ganache not to set properly. Baking chocolate is ideal.
Don’t worry about raspberries sinking to the bottom of the cake. The batter is relatively thick, and since they’re going in the middle rather than being mixed throughout, they’ll float in a nice even layer.
Make sure you’re using cocoa powder, not cocoa drink powder, which is something quite different. There should only be one ingredient. If you see anything like sugar, milk powder, etc., then it’s not for baking.
How to Store
Storage: the cake can be stored in a sealed container in the refrigerator for up to three days, but will of course have a slightly denser texture when chilled.
Freezing: place the fully cooled, unfrosted cake in an airtight container and freeze for up to three months.

Expert Tips
- Make it ahead: since both the cake and the ganache need plenty of time to cool fully, you might want to make them the night before you plan on serving them to ensure plenty of time for that. Warm cake means melting ganache and you don’t want that.
- Don’t over mix: the cake will be rubbery and tough if over-mixed, so be sure to use a light hand for this recipe.
- Use the correct tin: a smaller baking tin will result in an under-baked centre and overdone outside of the cake for this recipe, so be sure you’re using a 20cm tin.
More Chocolate Desserts
Almond Rye Chocolate Chip Cookies
Chocolate Coconut Pie with strawberries
Chocolate Tahini Cookies
Chocolate Hazelnut Tart
Chocolate Chia Mousse
If you make this Chocolate Raspberry Cake or any other vegetarian dessert recipes on Occasionally Eggs, please take a moment to rate the recipe and leave a comment below. It’s such a help to others who want to try the recipe. For more OE, follow along on Instagram, Facebook, and Pinterest, purchase the Occasionally Eggs cookbook, or subscribe for new posts via email.

Vegan Chocolate Raspberry Cake
Description
Ingredients
Vegan Chocolate Raspberry Cake
- 300 grams (2 cups) light spelt flour
- 100 grams (½ cup) coconut sugar
- 60 grams (½ cup) cocoa powder
- 2 teaspoons baking powder
- ½ teaspoon baking soda
- ½ teaspoon sea salt
- 375 ml (1 ½ cup) non-dairy milk
- 125 ml (½ cup) olive oil*
- 1 teaspoon pure vanilla extract
- 1 large handful raspberries
Chocolate Coconut Milk Ganache
- 100 grams (3.5 cups) dark chocolate
- 400 ml (13.5 oz) canned full-fat coconut milk
- 2-3 tablespoons maple syrup to taste (optional)
- ½ teaspoon pure vanilla extract
- Raspberries for topping
Instructions
- Preheat the oven to 180°C (350°F) and grease a 20 cm (8 inch) springform pan.
- In a large bowl, whisk together the flour, sugar, cocoa, baking powder, baking soda, and salt. Make a well in the centre and pour in the milk, olive oil, and vanilla. Use a wooden spoon to stir until just mixed and no streaks of flour remain.300 grams (2 cups) light spelt flour, 100 grams (½ cup) coconut sugar, 60 grams (½ cup) cocoa powder, 2 teaspoons baking powder, ½ teaspoon baking soda, ½ teaspoon sea salt, 375 ml (1 ½ cup) non-dairy milk, 125 ml (½ cup) olive oil*, 1 teaspoon pure vanilla extract
- Pour half of the batter into the prepared spring form, sprinkle a layer of raspberries in, and top with the remaining batter. Transfer to the oven and bake for 40-45 minutes, or until a toothpick inserted into the centre comes out clean.1 large handful raspberries
- Cool the cake on a rack for 15 minutes before removing the sides of the pan. Let the cake cool completely before icing.
Chocolate Coconut Milk Ganache
- Finely chop the chocolate and place it into a heatproof bowl.100 grams (3.5 cups) dark chocolate
- Pour the whole can of coconut milk into a small saucepan, and heat over low-medium until just simmering. Pour the hot milk over the chocolate and let it sit for 30 seconds before whisking to combine.400 ml (13.5 oz) canned full-fat coconut milk
- Add the maple syrup and vanilla, and sweeten to taste. Let the ganache cool fully in the refrigerator (at least four hours) before icing the cake.2-3 tablespoons maple syrup, ½ teaspoon pure vanilla extract
- To ice, make swoops with the back of a spoon, and top with a couple generous handfuls of fresh raspberries. Store leftover cake in the refrigerator for up to three days.Raspberries
Notes
Nutrition
Nutrition is provided as a courtesy and is an estimate. If this information is important to you, please have it verified independently.
This recipe was originally published in July 2018. It’s been updated with improvements to the text and recipe as of July 2020.
Hello, can this be made in a loaf pan?
Hi Carson, I have made this in a loaf pan before but didn’t time it, just did a skewer test. The baking time does change – I think more like 50-55 minutes – but I would keep an eye on it and test with a skewer or toothpick. Sorry I can’t be more exact.
Wonderfully delicious and simple cake for those who don’t want it very chocolatey but not very sweet.
Definitely saving this one!
I made this a few days ago for my wife’s birthday and she loved it! We both did 🙂 Thanks for sharing 🙂
I’m so happy to hear that, thanks Marco!
Hello! I am going to try making the ganache later. Would coconut cream work instead of coconut milk? I happen to have that on hand and don’t want to run to the market.
Coconut cream will be even better : )
Great recipe, excited to try it out! I’ve read that dusting the fresh raspberries in flour before putting them in the batter will help them from sinking in the cake. Your recipe does not say to do that — have you had any problems with the berries all sinking to the bottom?
I would dust them in flour if they were being mixed in with the batter, but as they’re being layered, it’s not really a concern. The batter isn’t particularly thin and so I’ve never had issues with the raspberries sinking at all – they’ve always stayed right in place. Hope that helps!
Gorgeous cake! I made it for my bestie’s birthday and I’m excited to bring it to her today. What a great idea to just bake raspberries in the middle instead of baking two cakes and layering them.
Sadly my icing came out reeeeally runny and needed some major TLC. In case anyone else has the same problem, I fixed it by adding some icing sugar, cocoa, cornstarch, and finally some more melted chocolate, all blended with a hand mixer to eliminate lumps and then chilled so the extra chocolate would set. Worked a treat!
I’m so glad you liked it, Georgia! The icing can turn out a bit runny if the coconut milk doesn’t have a high enough fat content – I’m glad you found a solution that worked for you. You can also see my comment above responding to someone with the same problem and how I’ve fixed it in the past when using lighter coconut milk by mistake : )
Made this for my best friend’s birthday yesterday night, everyone loved it so much thanks for the amazing recipe
HELLo! My ganache has been in the fridge overnight but it still doesn’t seem think enough. Any suggestions to thicken?
Thanks!
Yes! I made this once with light coconut milk by mistake and here’s what I did – put the not thick enough ganache in a heatproof bowl, add another 50g of chopped dark chocolate, and heat over a saucepan of simmering water (a double boiler) until the chocolate melts. Whisk to incorporate and then chill again. Hope that helps!
Hi 🙂 Is there another fruit that I could use instead of raspberries? Where I live, I can only get frozen raspberries. Thanks!
Hi Sarah! You can use frozen raspberries no problem in this cake, but any other berries will work well. Apricots might also be nice!
Hello , This looks amazing and I want to make it this week. Is there a gluten free flour alternative that would work? I have to be gluten free for health reasons now 🙁
Hi Rebekah – I think an all-purpose GF flour blend would work fine here.
This looks great! To clarify, I can use all-purpose flour instead of spelt? And what about raw cane sugar instead of coconut sugar? Just trying to save myself a few bucks lol.
Hi Jo!
I haven’t tried with regular sugar but I’m certain both those substitutions will work perfectly. Let me know how it turns out 🙂
Alexandra
This looks utterly delightful! Definitely putting it on my baking bucket list!
Thanks, Rachel! I’m looking forward to making it again soon too 🙂
Chocolate and raspberry is such a delicious combo! This cake looks divine!
Thank you so much, Natalie!