Vegan Avocado Lime Coconut Cake
Soft, fluffy and zesty vegan avocado cake with the tropical flavors of lime and coconut. This decadent cake is decorated with an avocado ganache, quick raspberry jam and vanilla lime buttercream.

What to expect from this cake
TASTE/TEXTURE: This cake tastes like a tropical holiday with a hint of avocado. It’s superbly fluffy and moist!
DIFFICULTY: The sponge cake layers and buttercream are straightforward to make. Typical of white chocolate ganaches, the avocado ganache is a little finicky. However, I’ve provided a few tips in the blog post below.
Alternatively, check out my vegan avocado muffins or avocado strawberry smoothie!
Ingredients you’ll need

The full list of ingredient quantities and instructions are in the recipe card at the bottom of this post.
Notes about the ingredients
Ripe avocado makes the cake extra velvety and moist.
Lime juice and lime zest. I added lots of lime juice/zest for the best flavor but not too much that it weighs down the avocado cake (yes, citrus can do that!).
Coconut extract complements the lime without changing the texture of the cake. I experimented with dried coconut and coconut milk and don’t recommend them for this recipe.
Green food coloring (optional) makes the cake a pretty green color! Without the food color, your cake will be a light pastel green.
TIP: Don’t be tempted to add more avocado or lime juice as it will make the cake dense and stodgy.
Making the cake batter
The avocado cake batter comes together in one bowl!
If you have a stick blender, puree all the wet ingredients in a large mixing bowl. Alternatively, use a stand blender or food processor to puree the ingredients, then transfer the mixture to a bowl. Just make sure that there are no chunks of avocado!
The color of your avocado mixture will be similar to the color of your final cake. So, feel free to add more coloring if desired!
Then add all your dry ingredients and mix until the mixture is well combined.

Baking the cake
The avocado cake layers usually take 30 minutes to bake. If you insert a toothpick in the middle, it should come out relatively clean. If your toothpick has a few moist crumbs on it, that’s fine but there shouldn’t be any wet batter.
The cake will deflate a little when you take it out of the oven and that’s okay!
TIP: If you own cake strips, I recommend using them for this cake. The cakes dome a little but the flatter the cakes, the better they’ll be for stacking!

Making the avocado ganache
White chocolate ganache is notoriously fiddly and more temperamental than regular chocolate ganache. If it’s too warm, it will drip to the bottom of the cake. If it’s too thick, it won’t drip much. My top tips are:
- Make sure your ganache is slightly warmer than room temperature
- Definitely test your ganache on the side of a bowl or cup or do one test drip on the side of your cake. If your ganache drips too far, let it cool for a few minutes. If it doesn’t drip much, microwave your ganache in 10 second increments.
If you want to make the ganache but don’t want to fuss around, I recommend using for just the top of your avocado cake. Pour the ganache on top and spread it with a spatula or spoon :).

Preparing the jam filling
You can use store-bought jam or make a homemade cheat jam using 3 ingredients. Just make sure that the jam is thick so it doesn’t ooze out of the cake.
If you use store-bought jam, I strongly recommend cooking it with cornstarch on the stovetop to thicken it.
Before you spoon your jam in your cake, I suggest creating a ‘dam’ of frosting. This ensures the jam doesn’t leak out the cake and down the sides. You can see how to pipe a ‘frosting dam’ in this helpful post by Life, Love and Sugar.

Decorating the cake
You’re welcome to decorate this cake in whatever way you wish. However, to achieve the look of the cake in the pictures, here are my top tips:
- Prepare all the components (jam, buttercream and ganache) before you start decorating the cake.
- Make sure your cake layers are chilled or at room temperature. Warm cakes melt frosting!

Customizing the cake
You can, however, spinach makes the cake denser just like my avocado muffins and affects the flavor. If you use spinach, I recommend using 1/2 cup (15g) and blending it with the avocado.
Yes, however, the cake will be much denser and almost muffin-like.
I don’t recommend any additional fruit to this recipe. I have tried this and it resulted in thick dense lines at the bottom of the cake.
More avocado desserts
Follow Rainbow Nourishments on Instagram, Facebook, TikTok and Pinterest, and subscribe via email to receive all of our latest recipes!

Vegan Avocado Lime Cake
Ingredients
Cake Wet ingredients
- 1 cup (250g) dairy-free milk
- ~1 (200g) large avocado, or 2 medium avocados (weighed after removing the skin and seed, note 1)
- 1 cup (200g) granulated sugar
- ⅔ cup (165g) neutral flavored oil
- 3 tablespoons (45g) lime juice, (note 2)
- 1 tablespoon lime zest
- 1 teaspoon vanilla extract, (optional)
- 1 teaspoon coconut extract
- ⅛ teaspoon green food coloring, as needed (optional, note 3)
Cake Dry ingredients
- 3 cups (375g) all-purpose plain flour
- 1 tablespoon baking powder
- ¼ teaspoon baking soda
- Pinch of salt
Buttercream frosting
- 1 cup (225g) vegan block butter, room temperature (note 4 for vegan spreadable margarine)
- 4 cups (400g) powdered sugar / icing sugar, to taste
- 2-3 teaspoons lime juice, or dairy-free milk, if needed
- 1 teaspoon vanilla extract
Raspberry jam filling (note 5 for store-bought jam)
- 1 cup (125g) fresh or frozen raspberries, or strawberries, chopped
- 2 tablespoons (25g) granulated sugar, or any light coloured sweetener, to taste
- 1 ½ tablespoon (11g) cornstarch / corn flour
Avocado ganache
- ⅓ cup (80g) thick scoopable canned coconut cream
- 100g vegan white chocolate
- 50g avocado, (about 1/4 of a large avocado)
- Few drops green food coloring, as needed
To decorate (optional)
- ½ cup (160g) raspberry jam, or homemade (note 5)
- lime, thinly sliced
- shredded coconut
- rose petals
Instructions
- Preheat your oven to 180°C (355°F). Grease or line 2 x 8 inch (20 cm) round cake pans with parchment paper.
Make the vegan avocado lime coconut cake:
- Add all the wet ingredients to a large mixing bowl and blend with a stick blender. Alternatively, blend all the wet ingredients in a stand blender or food processor, then transfer the mixture to a large bowl.
- Add the dry ingredients to the bowl and mix until well combined. A few small lumps are fine, as long as they aren't lumps of dry flour.
- Divide the cake batter into your prepared cake pans.
- Bake the cakes for around 30-35 minutes or until you can insert a toothpick in the middle and it comes out clean. A few crumbs on the toothpick are fine.
- Allow the cakes to cool in their pans for 15 minutes. Then transfer them to a wire rack to cool completely.
Make the buttercream:
- Add the vegan butter to a large bowl or stand mixer and beat until it is light and fluffy. Add the sugar, lime juice and vanilla extract and beat until combined. Add more sugar for a firmer frosting or more lime juice (or dairy-free milk) for a softer frosting. Set aside until needed.
Make the quick jam:
- Add all ingredients and a dash of water to a small saucepan and stir until combined. Bring the mixture to a gentle simmer for 10 minutes while stirring and mashing the berries. Add more water for a thinner jam or cook longer for a thicker jam.
- When the jam has thickened, set aside to cool. It will thicken more while it cools.
Make the avocado ganache (optional):
- Melt the coconut cream in a small saucepan. Remove from the heat. Add the white chocolate and allow the mixture to sit for 5 minutes to soften the chocolate. Mix until combined.
- Add the avocado to the mixture. Blend with a stick blender or stand blender until smooth.
- Allow the ganache to cool until it's a drizzle consistency. If needed, add a dash of milk to thin the ganache or more coconut cream to thicken the ganache. You'll need to work with the ganache quickly.
Assemble the cake:
- Use a serrated knife to cut the domes off the cakes, if any. Place one cake layer on a serving plate.
- Spread or pipe around ¾ cup of buttercream on the cake. If you're using the jam, create a 'frosting dam' then spread the raspberry jam in the middle. Place the remaining cake on top. Spread around 1 ½ cups of frosting around the tops and sides of the cake.
- Optional: Drizzle the avocado ganache down the sides of the cake. If the ganache is too thick, warm it up for a few seconds in the microwave (see the blog post for more tips). Pipe the remaining frosting on top of the cake. Decorate the rest of the cake, as desired.
- Store the cake in an airtight container at room temperature for 1 day or in the fridge. Allow the cake to come to room temperature for 1-2 hours before serving. Leftovers will keep in the fridge for 5 days or in the freezer for 1 month.
Notes
- I strongly recommend weighing the avocado flesh. Avocados vary a lot in size and adding too much avocado will make the cake dense.
- You’ll need approx 2-3 medium limes for the cake and buttercream combined.
- All brands of food coloring vary in intensity so you may need to adjust accordingly. If you use a green coloring gel, I suggest using less than 1/8 teaspoon. Alternatively, you can use 1/2 – 1 cup of baby spinach leaves if you don’t mind a denser cake. Puree the spinach with the avocado mixture.
- Vegan spreadable margarine (in a tub) will create a much softer frosting. If you only have access to this, I recommend increasing the amount of powdered sugar (for stability), minimizing or omitting the lime juice and keeping your cake chilled until 1-2 hours before serving. You can also add some vegan shortening to your frosting to make it more stable.
- Alternatively, use 160 grams of store-bought jam and 1 1/2 tablespoons corn starch. Mix them in a saucepan and cook until thickened.

Can you use honey for sweetness. By the way this looks yummy thank you.
Hi Jonelle, I don’t recommend using a liquid sweetener in place of the sugar as it’ll throw off the wet/dry ingredient ratios and make an overly dense cake. It may work if you reduce the milk but you’ll need to experiment with quantities to see what works. Hope that helps!
Hi,
How much can i substitute the flour for gluten flour mix?
Hi Cecilia, I haven’t tested this recipe with gluten-free flour so I can’t vouch for results. However, it may work with a high quality 1:1 gluten-free flour such as King Arthur’s measure for measure gluten-free flour.
HI Anthea, I would LOVE to make this for my mum as coconut is her favourite and this really has a wow factor! Can I ask if it is quite cocunutty in taste? I’m wondering with the butter cream if I also add the coconut extract in as an additional give me even more of a coconut hit. Do you think that would be too much? Alternatively, I can maybe make it coconut ice cream on the side.
Hi Benita! I’d say this cake is less coconutty than a coconut cake but the flavor is definitely noticeable, though it will depend on the extract that you use! I think adding coconut extract to the buttercream would be lovely and not overpowering if she’s a coconut lover! Hope that helps and let me know how you go ☺️
This was far too sweet, the bottom of the cakes were quite stodgy, but overall nice flavour.
Hi Tracy, unfortunately the bottom of your cakes will be stodgy if your cakes were underbaked, if your oven runs cool or if your ingredients were mismeasured. Cakes that don’t rise properly will always be sweeter.
Gracias por compartir tu receta, eres muy amable.
Mi duda es, si este pastel, no lleva huevos?
Estaré al pendiente de su respuesta, muchas gracias
Hello! We don’t need eggs for this recipe. The avocado provides a lot of richness and there are enough raising agents in the cake to make it rise and turn out fluffy. I hope that helps and enjoy!
Can I leave out the lime juice and zest if I just want to make a normal (that is a non-lime) cake?
Yes you can, but I would just replace the lime juice with the milk. The lime juice does tenderise the cake so the texture will be slightly different but still good!
I thought it was going to be refined sugar -free. I wonder if something could be substituted for that and it would still turn out nice and taste good like allulose or dates?
Hi Deanna, granulated allulose may work with slightly different results, but I haven’t tested it so I can’t vouch for results. I don’t recommend dates as they will make the cake too heavy. In the blog post, I mention a couple of other sugar replacements that won’t work.
I am new to vegan cooking and planning to make for my daughters birthday
Can you tell me how long this will stay fresh and best way to store
Hi Vanessa, vegan cakes tend to have the same storage requirements as non-vegan cakes :). This cake is best made on the day or the day before serving to a group, but it will be good to eat for up to 3-4 days. Like all cakes, it will be drier on the 3rd and 4th day. I would store this cake at room temperature in an airtight container. However, if your home is warm and the frosting starts to soften, please keep the cake in the fridge and let it fully come to room temperature before serving). Hope that helps!
This is our go-to cake for celebrations!! Not only does it look spectacular it also tastes amazing. People are so impressed when they find out it is a vegan recipe. It is not dense, crumbly or dry (like some other vegan cakes). We have used blue food colouring to create a teal coloured cake too. Abaolutely love this cake. Thanks for sharing the recipe.
Hi Ja, aw that’s amazing! I’m thrilled that you and your guests love this cake and its texture. I’m so intrigued about how your cake looked with the blue colouring! Thanks so much for your lovely feedback :).
I did it yesterday,
i was impress by the avocado sponge cake and Ganache.
i did not try the raspberry recipe, not interested by starch texture, i did normale raspberry jam with pectin NH. double the ganache because i want to glaze the full cake.
for the vegan butter cream i add more lime and the lime match with salt.
all recipes are easy to do. and quiet surprised by the Tast for vegan cake. i will definitely do it again.
Hi Philippe, I’m thrilled that you enjoyed the sponge cake and ganache! Thank you for letting us know what worked for you and for taking the time to leave a review 🙂
I made this cake and didn’t know quite what to expect. I bake for a café. My husband and I went down for a slice and we loved it! It was so moist and so delicious! It sold out quickly and everyone loved it!!!
Hi Karen! Aw, that’s lovely, and I’m honoured that this cake was good enough for your café! Thanks so much for taking the time to leave a comment here 🙂
you indicated there was a note for the spreadable vegan margarine but it is note included – would you forward please? I am looking forward to making this for my vegan in-laws. Thanks
Sorry about that, I’ve just updated the recipe. If it doesn’t appear updated for you, please clear the cache on your internet browser.