Desserts / Chocolate Raspberry Cake

Chocolate Raspberry Cake

Published: July 21, 2026

Two layers of one-bowl dark chocolate sponge, a fresh and bright raspberry cake filling, and chocolate ganache make up this egg-free cake.

Yield: 12 people

Prep time: 30 minutes

Total time: 5 hours

A slice of raspberry chocolate layer cake on a glass plate.

A Chocolate Cake for Summer

The author, a woman with long brown hair, smiling at the camera.

This vegan, one-bowl, chocolate raspberry cake with a vegan chocolate ganache has been Graham’s birthday cake for the last ten years or so, and I make it for him every year. It looks a bit fancy, but it’s really simple, I promise, even the frosting – you just need to prepare some elements in advance. This is a less sweet cake, made without buttercream.

Egg-free chocolate cakes are great and I think chocolate cake is one of the best options for vegan baking. This type of dairy- and egg-free chocolate cake has been popular for a long time (think depression cake) and it’s always a hit.

It’s a basic vegan chocolate cake, made with light spelt flour, cocoa powder, homemade vegan buttermilk, coffee, and olive oil. With the addition of coffee, olive oil, and raw sugar, it’s a more complex cake flavour than a standard chocolate cake. The cake has a nice light texture and deep chocolate flavour, with the raspberry filling adding a delicious bright centre.

I have retested this recipe and made it into more of a proper torte rather than the simpler cake it was before retesting. For any readers who prefer the original method, with berries baked into the cake batter, it’s outlined in the notes section of the recipe card (but give the new version a try, it’s so much better).

Alexandra, handwritten.

I first shared this recipe in 2018. It’s been updated with improvements to the recipe instructions and a retested and improved recipe, new photos, including step-by-step photos, and more helpful information.

I don’t use affiliate links. Any links you see here are to other recipes or related information, not paid links.

One reader, Vanessa, commented: “Made this for my best friend’s birthday yesterday night, everyone loved it so much. Thanks for the amazing recipe.

Another reader, Marco, commented: “I made this a few days ago for my wife’s birthday and she loved it! We both did.

Ingredients You’ll Need and Why

There are three elements to this cake. You’ll make a raspberry cake filling, chocolate ganache (or other frosting) and two layers of chocolate cake. The ganache ingredients aren’t included in the photo below but you can see my full post for vegan chocolate ganache for a more in-depth guide. These are my notes from recipe testing and you can find the full recipe card with complete measurements and instructions below.

Chocolate raspberry cake ingredients with labels.
  • Flour: I’ve tested this cake with light spelt flour, whole grain spelt flour, and all-purpose flour. My personal preference is for a blend of light and whole grain spelt for the nuttier flavour, but recommend using all light spelt for the lightest texture. All-purpose white flour is a good substitution. I haven’t tested with gluten-free alternatives.
  • Cocoa: this should be natural cocoa powder, not Dutch process. Check the ingredient list if it’s not labeled. If there are any other ingredients added other than cocoa, like an acidity regulator, then it’s Dutch process.
  • Maple syrup: to keep the raspberry cake filling vegan, use maple syrup. If you need a cake that’s dairy-free and egg-free but eat honey, feel free to use honey instead.
  • Sugar: I’ve tried this cake with beet sugar (plain granulated sugar), cane sugar, muscovado sugar, and coconut sugar, all with good results. Sugar that has a larger grain can cause visible small pockmarks in the cakes.
  • Coffee: even if you don’t like coffee, try it in the cake – it adds a real depth of flavour without tasting like coffee (I don’t drink it and can’t stand the taste). Coffee in chocolate cake makes the chocolate flavour deeper. I keep instant coffee on hand for recipes like this.
  • Raspberries: use fresh or frozen raspberries interchangeably for the filling. The weight does change slightly and this is noted in the recipe card.
  • Oil: use olive oil for a more complex cake, or your preferred baking oil. Don’t use coconut oil or any other oil that’s solid at room temperature, which will make the cake layers dense.
  • Orange juice: orange juice instead of water in the raspberry filling adds a hint of orange flavour that pairs well with the berries and chocolate. Substitute water if you don’t have oranges or juice.
  • Milk: this can be any unsweetened non-dairy milk apart from canned coconut milk. I usually use soya or oat milk.

How to Make Chocolate Raspberry Cake

Plan ahead to make this cake. Every element can be made the day in advance and then assembled, but you will feel rushed if you try to make everything and have the cake ready the same day. It can be done if you start early in the morning but it’s best to give yourself the extra time.

Chocolate cake steps 1 to 4, dry ingredients mixed, finished cake batter, and before and after baking.

Step 1: sift the dry ingredients into a large mixing bowl and whisk to combine. If you don’t have a large mesh sieve, at least sift the cocoa, baking soda, and baking powder to remove any lumps.

Step 2: add the coffee, milk mixture, oil, and vanilla, and whisk again. The batter should be smooth and quite thin. It will probably be thinner than you expect but that’s typical for this type of chocolate cake.

Step 3: divide the batter equally between two cake tins. You’ll notice that I’ve lined one and not the other – one of the tins I used was scratched and I didn’t want the batter going into the scratched up pan so I lined the whole thing.

Step 4: bake for about 20 minutes. If over-baked, the cakes will be dry. Set a timer and do a toothpick or skewer test. When the cake is baked, it will spring back when lightly pressed and a wooden skewer inserted into the middle of the cake will come out with just a few fine crumbs. (If it comes out clean, the cake is slightly over-baked, but it’ll be fine.)

Cake and filling steps 5 to 8, raspberry filling before and after cooking, chocolate ganache, and the cake being filled.

Step 5: to make the raspberry filling, mix the orange juice and starch in a separate bowl – if added separately to the pot with the berries, it will be lumpy – then add to a saucepan with the raspberries, maple syrup, and optional vanilla.

Step 6: stir well and bring to a low boil, then mash the berries lightly with a fork and simmer for five minutes with the lid on. Set a timer and don’t forget or the mixture will burn to the bottom of the pot.

Step 7: make the chocolate ganache and set aside to cool to room temperature. Don’t refrigerate the ganache before frosting the cake and make sure it’s between 20°C and 25°C (68°F to 77°F) in the room or it will be either too hard or too runny.

Step 8: once all the elements are cooled, assemble the cake. Spoon or pipe a dam of the ganache around the edge of the first layer, then fill with the raspberry cake filling.

Cake steps 9 and 10, adding ganache and finished decorated cake.

Step 9: add the second cake layer, then top with the remaining ganache. Note that a 1.5x batch of chocolate ganache is used in order to ice the whole cake, and it is quite a lot – if you know you want to use ganache but don’t want it covering the whole cake, make a single batch (see the separate recipe, as it’s doubled here for the cake) and do something more like a naked cake.

Step 10: spread the ganache all over the cake and use the back a spoon to make ‘swoops’ in the frosting. Top with additional raspberries for decoration. I usually add a circle of raspberries around the edge of the cake as pictured, because I don’t use cake decorating rounds, and this will hide any small smears of frosting on the cake stand as well as looking quite nice.


Expert Tips for the Best Cake

  • Make it ahead: since the cake, the filling, and the ganache all need plenty of time to cool fully, you should make them the night before you plan on serving to ease stress. 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.
  • Stick to the ingredients: 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.
  • Check the label: make sure you’re using cocoa powder for baking, not cocoa drink powder, which is something quite different. There should only be one ingredient (cocoa). If you see anything like sugar, milk powder, etc., then it’s not for baking.
  • Add freeze-dried raspberries: if you want a stronger berry flavour, try adding finely ground freeze-dried raspberries to the ganache mixture.
Layered chocolate raspberry cake on a glass cake stand with a couple of slices removed.

Alternative Frosting Options

I’ve made this cake dozens of times and have tried several different frostings, depending on who I’m serving it to. North Americans and Australians usually like buttercream (Europeans in general do not) so I will sometimes make it with buttercream on the outside if I’m making it for Canadian tastes, and sometimes with cream for German and Swedish friends and family.

Full ganache is generally pretty safe for adults. It’s what we like most, but it is very rich, so you’ll want to cut the cake into small pieces. If you want to use a different frosting but keep the ganache in between the layers, make a single batch as outlined here.

  • Vegan Buttercream: try this if you know you prefer a sweeter finish and like buttercream. Add Dutch process cocoa powder to the frosting until it reaches your desired level of chocolate flavour.
  • Coconut Whipped Cream: the vegan whipped cream. I always make this cake with a thick layer of whipped cream to replace the ganache on the outside (the ganache dam between the layers stays) if I’m making it for other Germans. It’s best if you prefer a lighter cake that’s also much less sweet than buttercream.
  • Sweet Potato Frosting: it really does taste great on this cake and you don’t taste sweet potato. This is a good in-between option if you do find ganache too rich but buttercream is too sweet.
A slice of raspberry chocolate layer cake on a glass plate.
4.46 from 44 votes

Vegan Chocolate Raspberry Cake

Prep Time: 30 minutes
Cook Time: 30 minutes
Cooling Time 4 hours
Total Time: 5 hours
Servings: 12 people

Description

Two layers of one-bowl dark chocolate sponge, a fresh and bright raspberry cake filling, and chocolate ganache make up this egg-free cake.

Ingredients

Raspberry Filling

  • 2 tablespoons orange juice
  • 2 tablespoons corn starch
  • 300 grams (2 ½ cups) frozen raspberries 400 grams fresh
  • 50 ml (¼ cup) maple syrup

Chocolate Cake

  • 220 grams (1 ½ cups) light spelt flour
  • 150 grams (¾ cup) granulated sugar I use raw or muscovado
  • 60 grams (½ cup) natural cocoa powder
  • 2 teaspoons baking soda
  • 1 teaspoon baking powder
  • ½ teaspoon fine sea salt
  • 150 ml (⅔ cup) non-dairy milk room temperature
  • 1 teaspoon apple cider vinegar
  • 150 ml (⅔ cup) black coffee hot
  • 125 ml (½ cup) olive oil or a neutral oil
  • 2 teaspoons pure vanilla extract

Chocolate Ganache

  • 375 ml (1 ½ cups) full-fat canned coconut milk
  • 300 grams (10.5 oz.) dark chocolate 70% cocoa solids
  • 1 ½ teaspoons pure vanilla extract

Instructions

Raspberry Filling

  • Whisk the orange juice and corn starch in a small bowl until the starch is dissolved. A fork works well for this.
    2 tablespoons orange juice, 2 tablespoons corn starch
  • Mix the starch mixture with the raspberries and maple syrup in a saucepan.
    300 grams (2 ½ cups) frozen raspberries, 50 ml (¼ cup) maple syrup
  • Bring to a low boil over medium heat, mixing and mashing the berries with a spoon. Keep at a low boil for five minutes (set a timer), stirring occasionally to prevent sticking.
  • Remove from the heat and transfer to a heat-safe bowl to cool to room temperature. Once cool, refrigerate for at least four hours or preferably overnight.

Chocolate Cake

  • Preheat the oven to 180°C (350°F) and grease two 22cm (9-inch) cake pans. Line the bottoms of the tins with a round of parchment paper. Set aside.
  • Sift the flour, sugar, cocoa, baking soda, baking powder, and salt into a large mixing bowl. Whisk to combine.
    220 grams (1 ½ cups) light spelt flour, 150 grams (¾ cup) granulated sugar, 60 grams (½ cup) natural cocoa powder, 2 teaspoons baking soda, 1 teaspoon baking powder, ½ teaspoon fine sea salt
  • Mix the milk and vinegar. The milk should visibly curdle as soon as the vinegar is added, depending on the type of milk. Add to the mixing bowl with the hot coffee, oil, and vanilla. Whisk until fully combined. It will be a thin batter.
    150 ml (⅔ cup) non-dairy milk, 1 teaspoon apple cider vinegar, 150 ml (⅔ cup) black coffee, 125 ml (½ cup) olive oil, 2 teaspoons pure vanilla extract
  • Divide the batter equally between the two prepared cake pans and gently tap on the counter to bring any bubbles to the surface.
  • Bake for 18 to 20 minutes, or until a toothpick or wooden skewer inserted into the middle of a cake comes out with a couple small crumbs.
  • Place the cakes onto a wire rack and cool fully in the pans.

Chocolate Ganache

  • Pour the coconut milk into a bowl and whisk to mix the coconut cream and water, then measure the amount needed into a small saucepan and heat over medium until just simmering.
    375 ml (1 ½ cups) full-fat canned coconut milk
  • While the milk is heating, finely chop the chocolate and place it into a heat-proof bowl.
    300 grams (10.5 oz.) dark chocolate
  • Once the milk is hot, pour it over the chopped chocolate into the bowl. Let this rest for two minutes, then whisk until fully combined. Whisk gently to start with and be sure to mix until fully combined. It might take longer than you think.
  • Add the vanilla and whisk again to incorporate. You can place a piece of parchment paper directly onto the ganache now, but I never do this (there is a possibility of it forming a skin, but in my experience it only happens very rarely).
    1 ½ teaspoons pure vanilla extract
  • Cool the ganache to room temperature before frosting the cake.

Assembly

  • Place one cake onto a cake stand or plate. Spoon or pipe a border of the ganache around the edge of the cake, creating a dam. This should be fairly high but you can always add to it if needed. Spoon the chilled raspberry filling inside the border.
  • Place the other cake layer on top, then spoon the remaining chocolate ganache onto the cake. Use an offset spatula or a spoon to spread the ganache all over the cake. It should be a thin layer around the sides of the cake.
  • Decorate with additional raspberries. Serve immediately or chill for up to four hours, uncovered. Note that the ganache will harden if cold.

Notes

Storage and Freezing
Cake layer: once the cakes have fully cooled, wrap in foil and refrigerate for up to three days or freeze up to three months. Thaw at room temperature before assembling.
Raspberry filling: refrigerate, tightly covered, for up to 24 hours before use. To freeze, transfer to a freezer-safe container and freeze up to three months. Thaw in the refrigerator before use.
Ganache: refrigerate in a sealed container for up to one week. Bring to room temperature before frosting the cake. Freeze for up to three months. Thaw in the refrigerator, then bring to room temperature before use. If there is any separation, beat with an electric mixer.
Assembled cake: chill the cake until the ganache hardens, then wrap well and freeze for up to three months. Thaw in the refrigerator and serve cold. If serving at room temperature, be sure to unwrap it before bringing out of the refrigerator to avoid the ganache sticking. Place the unwrapped cake into a cake container or similar to bring to room temperature.
As always, I highly recommend using the weight measurements for accuracy and test exclusively with a scale.
If you don’t have coffee, use hot water instead. The cake will have a weaker chocolate flavour if water is used.
Be careful not to over-bake the cake, or it will be dry. I recommend using a timer and an oven thermometer.
To avoid mess when decorating, place several strips of parchment paper under the cake, only around the edges. When you’re finished frosting gently pull the strips away and the cake stand will be clean underneath.
It’s a very rich cake and I recommend small slices. Only make it if you like dark chocolate.
This recipe has been retested and improved. Changes include making two separate cake layers instead of one large cake and making a separate raspberry filling. The previous recipe was less reliable and often baked unevenly, resulting in a sometimes stodgy texture.
If you want to make the cake in the previous style, use the chocolate cake recipe outlined above and pour half of the batter into a lined 20cm springform tin. Top with a large handful of raspberries, then pour the remaining batter over the berries. Bake for 40 to 45 minutes, then cool fully on a wire rack before frosting.

Nutrition

Serving: 1 | Calories: 474kcal | Carbohydrates: 52g | Protein: 6g | Fat: 30g | Saturated Fat: 15g | Polyunsaturated Fat: 2g | Monounsaturated Fat: 12g | Sodium: 334mg | Potassium: 243mg | Fiber: 9g | Sugar: 27g | Vitamin A: 41IU | Vitamin C: 9mg | Calcium: 62mg | Iron: 2mg

Nutrition is provided as a courtesy and is an estimate. If this information is important to you, please have it verified independently.

  • Glass serving bowl filled with pasta salad with vegetables and chickpeas.

    Chickpea Pasta Salad

  • Bean and cucumber salad in a glass serving bowl.

    Easy Bean Salad

  • A large light pink platter filled with vegetable pasta salad.

    Vegan Pasta Salad

  • Woman's hands holding a jar of bright pink cabbage, lifting one forkful out of the container.

    Quick Pickled Cabbage

About Alexandra Daum

Alexandra Daum is a professional recipe developer, food photographer, and cookbook author. She started sharing carefully tested vegetarian recipes in 2014 and has since published hundreds of recipes with seasonal ingredients and whole grains as the focus. Her work has been featured on CTV, in House & Home and Chatelaine, on popular websites like Buzzfeed and Best Health, and in countless other publications.

The author, a woman with long brown hair, smiling at the camera.
4.46 from 44 votes (43 ratings without comment)

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




This site uses Akismet to reduce spam. Learn how your comment data is processed.

26 Comments

  1. Hi, will this recipe still work if i dont put raspberries in the middle while the cake is baking and instead cut the cake into layers and add a raspberry jam in between layers and ice it?

    1. For sure – I’ve actually restested this recipe with that method but haven’t updated the post yet. I prefer the cake with the layer of raspberry filling instead and it’s on my schedule to update!

    1. 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.

  2. 5 stars
    Wonderfully delicious and simple cake for those who don’t want it very chocolatey but not very sweet.
    Definitely saving this one!

  3. 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.

  4. 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?

    1. 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!

  5. 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!

    1. 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 : )

  6. Made this for my best friend’s birthday yesterday night, everyone loved it so much thanks for the amazing recipe

  7. HELLo! My ganache has been in the fridge overnight but it still doesn’t seem think enough. Any suggestions to thicken?

    Thanks!

    1. 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!

  8. Hi 🙂 Is there another fruit that I could use instead of raspberries? Where I live, I can only get frozen raspberries. Thanks!

    1. Hi Sarah! You can use frozen raspberries no problem in this cake, but any other berries will work well. Apricots might also be nice!

  9. 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 🙁

  10. 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.

    1. 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