Easy Vegan Coconut Cake

This is truly the best Vegan Coconut Cake recipe with a divine cashew cream filling! This gorgeous, indulgent cake is topped with my favorite vanilla frosting and sprinkled with coconut flakes on top.

A slice of vegan coconut cake on a plate with the rest of the cake behind it.

My mom made me a coconut sponge cake for my birthday when I was a kid and I’ve been hooked ever since! I loved that cake and missed it when I went vegan. It’s ok because now I make my own cake. In fact, this is the recipe for my very own Vegan Coconut Cake.

Why This Recipe is a Winner

  • A whole can of full-fat coconut milk is added to the vegan coconut cake batter, making a deliciously moist cake full of coconut flavor
  • A cashew cream filling adds creamy goodness to every bite
  • Adding vegan butter to the cake batter adds an undeniably delicious buttery flavor to the cake, making it a favorite for so many!
Looking down on a slice of cake on a plate with a fork holding a bite.


You can find the full printable recipe, including ingredient quantities, below. But first, here are some explanations of ingredients and steps to help you make this recipe perfect every time.

You’ll love this simple list of ingredients for this vegan coconut cake. Here are some of the key ingredients:

  • Vegan butter — I used Earth Balance which I can find at the grocery store and health food stores too. You can substitute coconut oil.
  • Sugar — Finding the right balance between sugar and fat in a vegan cake is important.
  • Coconut milk — Look for full-fat coconut milk sold in a can. The nutrition information should indicate 12+ grams of fat.
  • Apple cider vinegar — We’ll add just a bit to interact with the baking soda to add fluffiness.
  • Coconut extract — for a boost of coconut flavor.
  • All-purpose flour — I find all-purpose flour works best for this recipe. Whole wheat will change the flavor, appearance, and texture too much.
  • Baking powder & Baking Soda — These two combined create rise and makes this cake fluffy.

The flavor of coconut in a cake is undeniably delicious. On top of that, you get to enjoy a moist vegan coconut cake with a creamy, sweet filling, topped with coconut flakes. It’s amazing!

How to Make Vegan Coconut Cake

  1. Cream Butter and Sugar: Cream the butter until light and fluffy, then cream in the sugar, followed by the rest of the wet ingredients.
  2. Combine Dry Ingredients: Stir together the dry ingredients. Beat together the flour and coconut milk mixture.
  3. Pour Batter: Divide the batter equally among prepared pans.
  4. Bake the Cakes: Bake for 25 to 30 minutes or until done.
  5. Cool and Invert: Allow the cakes to cool in the pans for 10 minutes. Then invert them onto racks to cool completely.

Step-by-Step Instructions

Here’s a visual guide to help you make this delicious vegan coconut cake.

Step One: Cream Wet Ingredients

We’ll begin by creaming the butter using a hand-held mixer or a stand mixer fitted with the paddle attachment on medium speed.

Vegan butter has been combined in a mixing bowl with sugar. The prongs of the mixer are coated with the mixture too.

Then add the sugar and cream this with the butter. The goal is to get it nice and fluffy.

A can of fun fat coconut is being poured into a mixing bowl.

Then add the remaining wet ingredients, like the coconut milk, and mix again until well-combined.

Step Two: Mix the Dry Ingredients

In a separate bowl, mix together the flour with the other dry ingredients.

A flour mixture is being poured in with cake batter.

Add the flour mixture in with the wet ingredients and mix to combine it all together. Now you’ve got your batter ready to bake!

Step Three: Pour and Bake

Pour the batter into prepared cake pans and bake.

Cake batter is being poured into a round cake pan.

When the cakes are done, remove them from the oven and allow them to sit for 10 minutes before inverting them onto a wire rack to cool completely.

Batter Consistency

The batter for this cake may be thick, but it should be pourable. But there can be variations in the fat-to-liquid ratio in a can of coconut milk which can impact the consistency of the batter.If your batter is too thick, stir in up to 1 cup of water to the batter. Be careful not to overstir the batter once the flour is incorporated. 

If your batter is too thick, stir in up to 1/2 to 1 cup of water to the batter. Be careful not to overstir the batter once the flour is incorporated. 

See my best tips for dealing with a cake undercooked in the middle.

Eggless Coconut Cake

You may think eggs are necessary to make the perfect coconut cake. I’m here to say with this easy eggless coconut cake recipe, you can quickly whip up a delicious treat for any occasion.

Flour is the perfect egg substitute because it creates structure for the cake.

So, try this tasty recipe and enjoy the amazing coconut flavors! Plus, this vegan cake is perfect for those who follow special diets.

Flavor Variations

Do you like to change up the flavors in your vegan coconut cream cake? I’m with you! Here are some favorite flavor variations and how to achieve them:

  • Vegan Chocolate Coconut Cake — If you love the flavor of coconut and chocolate, you’ll want to add some chocolate to this cake. You can do this by adding cocoa powder to the cashew cream filling (see recipe below) and topping it with this vegan chocolate buttercream frosting.
  • Jam and Coconut Sponge Cake — Skip the cashew cream filling and add a layer of your favorite jam in between the layers of cake. Some favorite jam flavors include strawberry, blackberry, and raspberry.
  • Vegan Lemon Coconut Cake — Do you love lemon combined with coconut? Transform this into a lemon coconut cake by add 1 to 2 teaspoons of freshly grated lemon zest to the cake or the filling. Either way, you will love this flavor combination!

Cashew Coconut Cream Filling

In the past, I’ve used vanilla frosting between the layers of this vegan coconut cake.

However, My new favorite is this tasty cashew coconut filling and it’s heavenly! It requires only a few ingredients — cashews, agave nectar, coconut oil, and coconut flakes.

Spread between layers of soft coconut cake, this filling is perfect!

A creamy filling is being spread on top of a round cake layer.

Coconut Frosting

When it comes to frosting your vegan coconut cake, you have options.

  • Add coconut flakes to the top of a vegan vanilla frosting.
  • For a more intense coconut flavor, add 1/2 teaspoon of coconut extract to the frosting.
  • Spread the frosting over the top and sides of the cake.
  • You can use it as a filling between cake layers.
A golden cake has white frosting smeared over the top.

Reader Reviews

Absolutely fabulous. Made this for my granddaughter’s 5th birthday and of course had to color the frosting and icing and coconut purple!!! Best vegan cake recipe!


I’ve made this cake twice now and everyone who has tried it says it’s the best cake they’ve ever eaten!


Vegan Coconut Dessert

It’s rare when I find someone who doesn’t like coconut. Adding coconut to a recipe can transform it into an instant comfort food favorite. Here are some examples of my favorite recipes featuring coconut:

If you’re into indulgent cakes, you’ll want to check out my Egg-Free Carrot Cake.

A slice of vegan coconut cake on a plate with the rest of the cake behind it.

Should you refrigerate coconut cake?

A coconut cake will keep up to 3 days at room temperature when stored properly. However, refrigerating the cake will help it keep up to 7 days. Individual slices can be frozen for up to 2 months.

Marly’s Tips

  • Add coconut flakes to the frosting while it’s still wet. Once the frosting sets, the coconut flakes will not stick.
  • Because vegan butter is salted, there’s no need to add salt to the cake batter
  • Substitute gluten-free baking flour to make a gluten-free vegan coconut cake
  • Add a tablespoon of rum to the batter to make coconut rum cake
  • Toast the coconut flakes before sprinkling them over the finished cake for added flair and crunchiness.
  • Make it a vegan chocolate coconut cake by adding 1/4 to 1/3 cup of unsweetened cocoa powder to the batter.

Serving Vegan Coconut Cake

When serving vegan coconut cake slices, I sometimes like to add a dollop of vegan whipped cream on the side for added flair. You could also have a bowl of fresh raspberries nearby as well.

I hope you love this vegan coconut cake recipe as much as we do!

A slice of coconut cake is on a plate with a fork. The fork has a bite of cake on it. The rest of the cake is behind it all.
A slice of vegan coconut cake on a plate with the rest of the cake behind it.

Vegan Coconut Cake

You can’t deny this delicious, creamy Vegan Coconut Cake – it’s the perfect combination of sweet coconut, vanilla cake, and creamy frosting!
4.91 from 33 votes
Course: Dessert
Cuisine: American
Prep Time: 20 minutes
Cook Time: 35 minutes
Total Time: 55 minutes
Servings: 16
Calories: 526kcal


  • 1 cup vegan butter , softened
  • 1 ¾ cups granulated sugar
  • 13.5 oz can whole fat coconut milk
  • 1 tablespoon apple cider vinegar
  • 1 teaspoon coconut extract
  • 3 cups all-purpose flour
  • 2 teaspoons baking powder
  • 1 teaspoon baking soda

Cashew Coconut Cream Filling

  • 1 cup raw cashews (soaked in water at least 2 hours up to overnight)
  • ¼ cup agave nectar
  • ½ cup coconut flakes
  • 1 tablespoon coconut oil (see note)

Vegan Vanilla Frosting

  • 3 cups powdered sugar
  • cup vegan butter or coconut oil , softened
  • 2 – 3 tablespoons plant-based milk
  • ½ cup coconut flakes , sweetened


For the Vegan Coconut Cake

  • Preheat oven to 350°F/175°C degrees. Grease and flour two round 9-inch cake pans. Cut circles of parchment paper to fit in the bottom of the pans. Place rounds in bottom of pans and top with additional vegetable spray.
  • Using an electric mixer, cream the butter until light and fluffy. Add the sugar and cream together for up to 2 minutes, until light. Add the coconut milk, vinegar and coconut flavoring. Cream well until combined.
  • In a separate bowl, mix together the flour, baking powder and baking soda. Add flour to creamed mixture, beating until just mixed.
  • Divide batter equally among prepared pans. Level batter in each pan by holding pan 3 or 4 inches above counter, then dropping it flat onto counter. Do this several times to release air bubbles for a more level cake.
  • Bake for 25 to 30 minutes or until tester inserted in the center comes out clean. Cool in pans for 10 minutes. Invert cakes onto cooling racks. Cool Completely.

For the Cashew Coconut Cream Filling

  • For the filling between the cake layers, you can use frosting or this cashew cream coconut filling. To make the cashew filling, drain soaked cashews and add them to a blender or food processor. Add the agave nectar, coconut oil, and coconut flakes.
  • Pulse in short bursts to break apart the cashews. Use a spatula to push down contents from the side of the bowl and pulse again in short bursts. Repeat this process until a cream begins to form. Then begin pulsing in longer periods to break down the cashew and coconut bits even more. Once this mixture is creamy to your liking, transfer to a bowl and refrigerate.

Vegan Vanilla Frosting

  • Add the vegan butter to a mixing bowl and use a mixer on medium speed to cream it. Add one cup of powdered sugar and mix that into the butter, until well combined. Repeat with the remaining powdered sugar. Once all the powdered sugar is added, it will be a crumbly mix. Add the plant-based milk one tablespoon at a time until you achieve the desired, spreadable consistency.

Assembling the Coconut Cake

  • Once the cakes have cooled, place the bottom cake on a plate. Use a serrated knife to level the cake (if there is a dome or it's uneven on the top). Spread either the cashew coconut filling or a layer of icing over the top. Place the second cake on top of the frosting or cream filling. Add additional frosting on top and sides of cakes. Garnish the top and sides with coconut flakes.

(The products above contain sponsored links to products we use and recommend)


Either ice the entire cake, sides and all, or ice only between the layers and top of the cake.
To reduce overall sugar in this recipe, substitute Swerve for sugar.

Batter Consistency

The batter for this cake may be thick, but it should be pourable. But there can be variations in the fat-to-liquid ratio in a can of coconut milk which can impact the consistency of the batter.
If your batter is too thick, stir in up to 1 cup of water to the batter. Be careful not to overstir the batter once the flour is incorporated. 
Calories: 526kcal | Carbohydrates: 70g | Protein: 5g | Fat: 27g | Saturated Fat: 15g | Trans Fat: 1g | Sodium: 168mg | Potassium: 219mg | Fiber: 2g | Sugar: 47g | Vitamin A: 543IU | Vitamin C: 1mg | Calcium: 37mg | Iron: 3mg

The nutrition information shown is an estimate provided by an online nutrition calculator and should not be considered a substitute for a professional nutritionist’s advice.

This post was originally published in 2015 and was updated to include new photos, new text, and an updated recipe in 2020.

101 Responses to Easy Vegan Coconut Cake

  1. Avatar thumbnail image for MarlyJames Reply

    I’ve made this cake twice, and both times it didn’t turn out very well. The flavor is great. However, the wet ingredients don’t emulsify. After adding the dry ingredients, the batter is very thick and isn’t pourable like in the photos—it has to be scooped out with a spatula. The cake sinks significantly in the middle during baking, and it comes out kind of oily. This recipe seems to be working for a lot of people, but it’s very strange that it doesn’t work for me. I’m an experienced home baker, so it’s highly unlikely I made the same mistake twice. Not sure what to do.

    • Avatar thumbnail image for MarlyMarly

      Hi James. Thanks for your note. I’m sorry this recipe hasn’t worked for you, although I’m glad you like the flavor of it! As an experienced baker, I’m sure you know about moisture in the environment and how it can impact a cake batter. I’m wondering if that might be impacting your batter? I can’t say. But you definitely should have a pourable batter. I realized when I read your note that I don’t have a video on making this cake. I will add that to my list and will share it on this post when it’s done. I hope that might help. But also, you could try adding up to a cup of water to the batter. I would add it during the liquid phase of the recipe so as not to overmix the batter once the flour is added. And thanks to your comment I will add a note to the recipe card as well.

  2. Avatar thumbnail image for MarlyCarmen Reply

    5 stars
    I brought this cake to work, my co-workers/ husband and I loved it. The cake is dence and bursting with flavor!!

  3. Avatar thumbnail image for MarlyAmanda Reply

    This cake recipe is so tasty and delicious! I made these into cupcakes and unfortunately they sank in the middle during cooling. How did this happen and how can I prevent that in the future?

    • Avatar thumbnail image for MarlyMarly

      Hi Amanada. I’m so glad you liked the flavor of this cake recipe! The main reason that cupcakes fall in the middle while cooling is that they weren’t all the way done in the middle. You can insert a toothpick and it should come out mostly clean. Another thing I do is to gently press on the cupcake – it should spring back indicating the cake is done. I hope this information is helpful! Also, you could add a bit of raspberry filling or maybe cashew cream filling to the center and then top with frosting. This should help salvage those cupcakes.

  4. Avatar thumbnail image for MarlyLiz Sarazen Reply

    5 stars
    This is the best cake (maybe even dessert) I’ve ever had. Hands down. SO moist. My mother-in-law requests that I make this for her birthday every year now. Thank you for the recipe!!

  5. Avatar thumbnail image for MarlyJenny Reply

    I’d like to make this recipe but realized I don’t have quite enough vegan butter to use in the cake – can I substitute some refined coconut oil for half of the butter?? Thanks!

    • Avatar thumbnail image for MarlyMarly

      Hi Jenny. Refined or unrefined coconut oil is a great substation! I hope you love this cake as much as we do! ❤️

  6. Avatar thumbnail image for MarlyDory Reply

    Danke für das Rezept!
    Der Kuchen ist unglaublich lecker ♥️

    • Avatar thumbnail image for MarlyMarly

      gern geschehen!

  7. Avatar thumbnail image for MarlyKamini Raghavan Reply

    Absolutely fabulous. Made this for my granddaughters 5 birthday and of course had to color the frosting and icing and coconut purple!!! Best vegan cake recipe!

Rate / Comment

Your email address will not be published.

Recipe Rating

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