Earthly Provisions

  • Vegan Thanksgiving Desserts
  • Recipe Index
  • Meet Megan
  • Subscribe
menu icon
go to homepage
  • Vegan Thanksgiving Desserts
  • Recipe Index
  • Meet Megan
  • Subscribe
subscribe
search icon
Homepage link
  • Vegan Thanksgiving Desserts
  • Recipe Index
  • Meet Megan
  • Subscribe
×
Home » Recipes » The Best Vegan Cake and Cupcake Recipes

Vegan Coconut Cake

Modified: Nov 12, 2026 · by Megan Calipari · This post may contain affiliate links · 4 Comments

Tweet
Share
Share
Pin2K
2K Shares
Jump to Recipe Print Recipe

This Vegan Coconut Cake is soft, tender, and full of coconut flavor! It's made with coconut extract and sweetened shredded coconut for plenty of flavor in every bite, then finished with a fluffy coconut frosting and even more shredded coconut. The result is a classic coconut layer cake that's completely dairy-free and eggless like my Vegan Chocolate Cake.

A slice of vegan coconut cake on a small plate with the remaining cake in the background.

Quick Look: Vegan Coconut Cake

  • Method: Whisk the batter in a bowl, then use a hand mixer or stand mixer to mix the frosting until light and fluffy.
  • Why Make THIS Version? Tender and moist cake layers and fluffy frosting that's packed with coconut inside and out!
  • No Need To: Use eggs or dairy to make this delicious cake recipe! It is completely vegan.
  • Secret to Success: Freeze the cake layers for 30 minutes before assembling the cake for extra stability and ease.
  • Key Ingredients: Shredded sweetened coconut, coconut extract, non-dairy butter, non-dairy milk, and sugar.
  • Calories/Serving: 509 kcal.
  • Freezer-Friendly: Yes. Freeze your cooled cake layers and finished frosting separately for up to a month.
ChatGPT
Google AI
Perplexity
Claude
Add As a Trusted Google Source

As a culinary school-trained baker, I love making layer cakes, like my Vegan Vanilla Cake, Vegan Funfetti Cake, and Chocolate Espresso Cake. And this Vegan Coconut Cake recipe is all about packing big coconut flavor into both the cake layers and the frosting. I use coconut extract to give the cake a stronger coconut flavor, while sweetened shredded coconut adds texture and flavor throughout the layers and outside the cake.

If you're new to making layer cakes, don't worry! I train new bakers all the time. And I included all of my expert tips in this post so your cake comes out perfectly the first time. I'll walk you through each step, from mixing the batter and baking the layers to making the frosting and stacking and frosting the cake. So let's make it!

Jump to:
  • Quick Look: Vegan Coconut Cake
  • Why You'll Love This Vegan Cake Recipe
  • Ingredient Notes
  • Substitutions and Variations
  • How to make this Vegan Coconut Cake
  • Vegan Coconut Cake FAQs
  • Megan's Expert Tips
  • Looking for More Vegan Layer Cake Recipes?
  • 📖 Recipe
  • 💬 Comments

Why You'll Love This Vegan Cake Recipe

  • This cake is surprisingly simple to make. And I've included all my best tips and tricks for stacking and assembling layer cakes.
  • It's packed with coconut flavor from coconut extract and plenty of shredded coconut in the cake layers, the frosting, and on the outside of the cake.
  • This Vegan Coconut Cake is super soft and moist without using any eggs or dairy!
  • The coconut frosting is ready in 10 minutes and is light and fluffy.
  • And most importantly, it's absolutely delicious!

Ingredient Notes

Ingredients for making this recipe on a marble board.

Coconut Extract: Coconut extract adds a buttery, coconut flavor to the cake layers and the frosting. If you leave it out, your cake will still be delicious, but will have more of a vanilla flavor rather than coconut.

Shredded Sweetened Coconut: I used Baker's Sweetened Flaked Coconut. You will need two 7-ounce bags for this recipe! But you won't use all of the second bag. Don't use unsweetened coconut for this recipe. It is much chewier than sweetened coconut, so it is better suited for making vegan coconut cookies.

Non-Dairy Milk: I use oat milk in my cake recipes, like my vegan yellow cake, because that is what I keep on hand at my house. But I have also made this cake with soy milk, almond milk, and boxed coconut milk. They all work great.

Vegan Butter: Be sure that your vegan butter comes in a stick or block form. The kind that comes in a tub is softer because it's formulated for spreading. If you use tubbed vegan butter to make the coconut frosting, it will be too soft.

Substitutions and Variations

I made a vegan coconut frosting for this cake for extra coconut flavor, but you can also use vegan cream cheese frosting or vegan vanilla frosting!

How to make this Vegan Coconut Cake

Wet ingredients for the cake in a mixing bowl.

Step 1. To make the coconut cake, combine sugar, non-dairy milk, vegan butter, lemon juice, vanilla extract, and coconut extract in a large bowl. Whisk well to combine.

Vegan Coconut Cake batter in a mixing bowl with a spatula in the batter.

Step 2. Add flour, baking powder, baking soda, and salt. Whisk until just combined. Then, add the shredded coconut and use a spatula to fold it into the batter.

The batter will have a similar texture to pancake batter!

Baked cake layers in the round cake pans.

Step 3. Divide the batter between two 8-inch round cake pans. Use a spatula to spread the cake batter out evenly, and bake the cakes in a 350°F oven for about 26-29 minutes. They should be brown around the edges, golden on top, and a toothpick inserted into the center of the cakes should come out clean.

Allow the vegan coconut cake layers to cool completely, then turn them out of their pans onto a parchment-lined baking sheet and place them in the freezer for 30 minutes before assembling the cake.

Vegan coconut frosting in a mixing bowl with a rubber spatula in the frosting.

Step 4. When the cakes are mostly cool, make the vegan coconut frosting by creaming vegan butter until completely smooth.

Next, add the powdered sugar and mix until combined. The mixture will be very thick.

Then, add the vanilla and coconut extract and non-dairy milk, and mix on medium speed until light and fluffy.

Vegan coconut cake layer on a cake board with frosting spread on it.

Step 5. To stack the cake, place one layer upside down on a cake stand or cake board. This gives you a flat, even surface to start with.

Top the cake layer with about ¾ cup of frosting and spread it out evenly, all the way to the edges of the cake. Sprinkle about ¼ cup of shredded coconut on top of the frosting and top with the remaining cake layer, upside down again.

Vegan Coconut Cake covered in coconut on a white cloth with a small bowl of shredded coconut in front of it.

Step 6. Frost the outside of the cake with the remaining frosting.

Then, over a baking sheet to catch the falling coconut, use your hand to gently press shredded coconut on top of the cake and onto the sides of the cake, making sure all of the frosting is covered. Serve!

Vegan Coconut Cake FAQs

How should I store this Vegan Coconut Cake?

To store, cover the cake or put it into a cake box and store it in the refrigerator for up to 4 days.
Allow the cake to sit at room temperature for about 30 minutes before serving for the best texture.

What type of coconut is best for coconut cake?

Be sure to use sweetened shredded coconut for this coconut cake recipe! Unsweetened coconut can be tough and chewy.

What is not in a vegan cake?

Vegan cakes, like my Vegan Strawberry Shortcake Cake, have no eggs, milk, or butter. I use non-dairy alternatives for milk and butter in this recipe. And I add extra vegan butter and moisture to compensate for the lack of eggs and a combination of leaveners for a tender crumb structure.

Can I use canned coconut milk instead of oat milk?

No! Canned coconut milk is too high in fat to substitute for oat milk in this recipe. You can use boxed coconut milk beverage, but it won't add any additional coconut flavor to the cake.

Megan's Expert Tips

If you are a beginner at making layer cakes, don't skip freezing the layers before stacking the cake. This will chill the cake layers, making them firmer and making the cake more stable when stacked. I recommend this for every cake, from this Vegan Coconut Cake to my Vegan Red Velvet Cake recipe.

Placing the cake layers upside down gives you an even, flat surface to start with. And that makes it easier to keep the surface even and flat!

When pressing the shredded coconut onto the top and sides of the cake, be sure to do it over a baking sheet to catch the falling coconut. This makes an otherwise messy job easy to clean up!

A slice of vegan coconut cake on a small plate with a bite taken out of it.

Looking for More Vegan Layer Cake Recipes?

  • A Cookie Dough Cake slice on a small plate.
    Cookie Dough Cake (Vegan!)
  • A slice of Chocolate Peanut Butter Cake on a small plate.
    Chocolate Peanut Butter Cake (vegan!)
  • Vegan Pumpkin Cake
  • Vegan Blackberry Chantilly Cake

If you tried this Vegan Coconut Cake recipe or any other recipe on my website, please leave a 🌟 star rating and let me know how it went in the 📝 comments below. Thanks for visiting today!

📖 Recipe

Round Vegan Coconut Cake on a white cloth with a small bowl of coconut in the foreground.

Vegan Coconut Cake

Megan Calipari
This is the best Vegan Coconut Cake recipe! It's easy to make, and the cake is soft, moist and full of flavor from coconut extract and shredded coconut. This cake is tender and absolutely delicious.
5 from 3 votes
Print Recipe Pin Recipe
Prep Time 40 minutes mins
Cook Time 25 minutes mins
Cooling Time 2 hours hrs
Total Time 3 hours hrs 5 minutes mins
Course Dessert
Cuisine American
Servings 14 Servings
Calories 509 kcal

Equipment

  • 2 8" Round Cake Pans
  • 1 Large Mixing Bowl
  • 1 Whisk
  • 1 Rubber Spatula
  • 1 Stand Mixer or Hand Mixer
  • 1 Cake Stand or Large Plate

Ingredients
  

For the Coconut Cake Layers

  • 2 ⅔ Cup All-Purpose Flour
  • 2 ½ teaspoon Baking Powder
  • ¼ teaspoon Baking Soda
  • ¼ teaspoon Kosher Salt
  • 1 ½ Cups Granulated Sugar
  • 1 ½ Cups Non-Dairy Milk
  • 9 tablespoon Vegan Butter, melted and cooled
  • 1 tablespoon Lemon Juice or White Vinegar
  • 1 tablespoon Vanilla Extract
  • ¾ teaspoon Coconut Extract
  • ¾ Cup Shredded Sweetened Coconut

For the Coconut Frosting

  • 16 tablespoon Vegan Butter, room temperature
  • 4 Cups Powdered Sugar, sifted
  • 1 ½ teaspoon Vanilla Extract
  • ½ teaspoon Coconut Extract
  • 2 tablespoon Non-Dairy Milk

For Stacking and Decorating the Cake

  • 2 Cups Shredded Sweetened Coconut

Instructions
 

To Make the Cake Layers

  • Preheat oven to 350°F. Grease two 8-inch round cake pans and insert a parchment circle into the bottom of each pan.
  • In a medium bowl, combine the flour, baking powder, baking soda and salt. Whisk to combine.
    2 ⅔ Cup All-Purpose Flour, 2 ½ tsp Baking Powder, ¼ tsp Baking Soda, ¼ tsp Kosher Salt
  • In a large bowl, combine sugar, non-dairy milk, melted vegan butter, lemon juice, vanilla and coconut extract. Whisk to combine.
    1 ½ Cups Granulated Sugar, 1 ½ Cups Non-Dairy Milk, 9 Tbsp Vegan Butter, melted and cooled, 1 Tbsp Lemon Juice or White Vinegar, 1 Tbsp Vanilla Extract, ¾ tsp Coconut Extract
  • Add the dry ingredients to the wet ingredients and whisk to form the batter. Then add the shredded coconut and use a spatula to fold it into the batter.
    ¾ Cup Shredded Sweetened Coconut
  • Divide the batter between the two prepared 8-inch cake pans. If you have a kitchen scale, it will be about 21 ounces per pan. Use a spatula to spread the batter out evenly, then bake in a 350°F oven for 26-29 minutes, or until the cakes are brown around the edges, golden across the top, and a toothpick inserted into the center of the cakes comes out clean.
  • Allow the cakes to cool completely, then turn them out of their pans onto a parchment-lined baking sheet and place them into the freezer for 30 minutes before frosting. See note!

Make the Coconut Frosting

  • In a large bowl using a hand mixer, or in a stand mixer fitted with the paddle attachment cream the vegan butter until completely smooth. Then add the powdered sugar and mix on low until combined. Scrape the bowl down with a rubber spatula.
    16 Tbsp Vegan Butter, room temperature, 4 Cups Powdered Sugar, sifted
  • Add the vanilla and coconut extract and mix on low until combined. Scrape the bowl dow, then, add the non-dairy milk and mix on medium speed until light and fluffy, about 1 minute.
    1 ½ tsp Vanilla Extract, ½ tsp Coconut Extract, 2 Tbsp Non-Dairy Milk

Stack and Decorate the Cake

  • Once the cakes are completely cool, place one layer upside down on a cake board or cake plate. Top the layer with about ¾ cup of coconut frosting and use an offset spatula or a butter knife to spread the frosting to the edges. Top the frosting with about ¼ cup of shredded coconut, then top with the remaining cake layer, upside down again.
    2 Cups Shredded Sweetened Coconut
  • Frost the exterior of the cake with the remaining frosting. Then, working over a baking sheet to catch the falling coconut, gently press shredded coconut into the top and sides of the cake, making sure to cover the entire cake. Serve!

Notes

Use a vegan butter that comes in stick form, especially for the frosting. Vegan butter that comes in a tub is softer because it's formulated for spreading.
If you are a beginner at stacking cakes, I recommend freezing the cake layers for 30 minutes before assembling. This chills the cake layers, giving the cake extra stability through stacking and frosting. If you are experienced at layer cakes, you can skip this step!
When pressing the shredded coconut onto the top and sides of the cake, be sure to do it over a baking sheet to catch the falling coconut.

Nutrition

Serving: 1SliceCalories: 509kcalCarbohydrates: 80gProtein: 5gFat: 33gSaturated Fat: 14gPolyunsaturated Fat: 7gMonounsaturated Fat: 10gTrans Fat: 4gSodium: 337mgPotassium: 172mgFiber: 4gSugar: 58gVitamin A: 108IUVitamin C: 3mgCalcium: 98mgIron: 2mg
Tried this recipe?Let us know how it was!

More The Best Vegan Cake and Cupcake Recipes

  • A slice of chocolate chip snack cake on a plate with a bite taken out of it.
    Chocolate Chip Snack Cake (vegan!)
  • A slice of peaches and cream cake on a small plate.
    Peaches and Cream Cake (vegan!)
  • A slice of Chocolate Espresso Cake on a white plate.
    Chocolate Espresso Cake (Vegan!)
  • A Vegan Spiced Apple Pie Cupcake with a bite taken out of it to show the cener.
    Apple Pie Cupcakes (Vegan!)

Comments

  1. Melissa Gelfand says

    September 18, 2024 at 1:57 am

    5 stars
    Awesome!!!! This recipe is the best! It's hard when health conditions force a food allergy...this is an absolute gift!!

    Reply
  2. Jeff Todesco says

    December 03, 2024 at 3:32 am

    5 stars
    This is one of the best cakes I’ve ever tasted.

    Reply
  3. Cindy says

    July 26, 2025 at 1:03 pm

    Will this recipe work with almond flour as trying to do grain-free?

    Reply
    • Megan Calipari says

      July 23, 2026 at 1:02 pm

      I don't recommend it. But I'm sure there are delicious grain-free cake recipes out there for you to try! The conversion is just not usually 1:1.

      Reply
5 from 3 votes (1 rating without comment)

Leave a Reply Cancel reply

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

Recipe Rating




Headshot of a woman with brown curly hair.

Hi, I'm Megan! I'm a culinary school-trained baker with 15 years of experience working in bakeries and restaurants. I'm passionate about creating vegan desserts and meals that anyone can make and that everyone will love. My recipes use simple ingredients and methods to create delicious results.

More about me →

Vegan Thanksgiving Desserts

  • A slice of homemade Vegan Apple Pie topped with ice cream on a small plate.
    Vegan Apple Pie
  • Vegan Pumpkin Cake
  • A slice of Vegan Apple cake on a plate with a gold fork.
    Vegan Apple Cake with Bourbon Frosting
  • A slice of Vegan Pumpkin Pie with a dollop of whipped cream on a small white plate.
    Vegan Pumpkin Pie
  • Vegan Pumpkin Pie Bar on a linen cloth with a bite taken out of it.
    Vegan Pumpkin Bars
  • A Vegan Spiced Apple Pie Cupcake with a bite taken out of it to show the cener.
    Apple Pie Cupcakes (Vegan!)

Popular Recipes

  • A slice of Chocolate Peanut Butter Cake on a small plate.
    Chocolate Peanut Butter Cake (vegan!)
  • A bowl of Vegetarian Three Bean Chili topped with sour cream and slices of jalapeño.
    Vegetarian Three Bean Chili
  • Easy Caramelized Apples in a small ramekin with a gold spoon scooping some apple chunks up.
    Easy Caramelized Apples
  • Vegan Lemon Vegetable Orzo Soup in a bowl.
    Lemon Vegetable Orzo Soup
  • A slice of vegan vanilla layer cake on a plate with a fork to the left and the rest of the cake in the background.
    Vegan Vanilla Cake
  • A bowl of vegan and vegetarian white bean chili topped with cilantro and avocado chunks.
    Creamy Vegan White Bean Chili

Footer

↑ back to top

About

  • Privacy Policy
  • Accessibility Policy

Recipe Index

  • Recipes

Contact

  • Contact

As an Amazon Associate, I earn from qualifying purchases.

Copyright © 2026 Earthly Provisions

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.