This post may contain affiliate links. Please read our disclosure policy. As an Amazon Associate, I earn from qualifying purchases.

This three-layer coconut cake is built for real coconut flavor. The batter uses both coconut oil and coconut milk for a rich, tender crumb that stays soft without feeling heavy. It’s stacked with a smooth coconut buttercream that’s creamy, balanced, and easy to spread. No overly sweet frosting here, just a cake that delivers on what it promises.

Lifting a slice of coconut cake from serving platter.
Email this recipe!
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!

If you like this cake, check out our coconut cake roll.

How This Coconut Cake Came Together

I wanted this cake to have coconut flavor in every layer, not just a little shredded coconut scattered on top at the end. So I used coconut milk and coconut oil in the batter, coconut extract in both the cake and frosting, and shredded coconut on the outside for a more complete coconut flavor.

For the cake layers, I used the reverse creaming method to create a soft, even crumb that stays sturdy enough for stacking. Extra egg whites helped keep the texture light and fluffy instead of dense.

I also tested the frosting to make sure it was smooth and not overly sweet. This cake is finished with a coconut ermine frosting, which has a silky texture and a less sweet finish than traditional American buttercream.

A partially eaten slice of coconut cake with coconut buttercream frosting.

Key Ingredients and Why They Matter

Coconut milk: This is where a lot of the flavor comes from. Use canned coconut milk, not the carton version.

Coconut oil: Adds another layer of coconut flavor and helps keep the cake soft. It works with the butter instead of replacing it, so you still get a good structure.

Egg whites + whole eggs: The extra egg whites lighten the texture while the whole eggs add richness. That balance keeps the cake fluffy without feeling dry.

Cake flour: Gives the cake a finer, softer crumb than all-purpose flour. It also works well with the reverse creaming method to keep the layers tender but sturdy.

Sour cream: Adds moisture and keeps the cake from drying out. It also helps create a smooth, tender texture.

Coconut extract: A small amount of extract boosts the coconut flavor in both the cake and frosting without making it taste artificial.

Shredded coconut: Pressed onto the outside of the cake for texture and a final layer of coconut flavor.

Recipe Tips

Use canned coconut milk: Use full fat canned coconut milk, not the stuff in the carton that is for drinking.

Cool the frosting base completely: If the coconut cream mixture is even slightly warm, the butter will melt and the frosting won’t whip properly.

Measure flour correctly: Spoon and level or weigh it. Too much flour leads to a dry cake.

Scrape the bowl often: This batter builds structure gradually, so consistent mixing matters.

Chill layers if needed: Slightly chilled cake layers are easier to stack and frost cleanly.

Don’t overmix after the liquid is added: Once you start adding the coconut milk mixture, mix just until it’s fluffy and combined. Overmixing at this stage can tighten the crumb.

Use room temp ingredients: Butter, eggs, and sour cream should all be at room temperature so the batter emulsifies properly. Cold ingredients can make the batter look curdled and affect the texture.

Bake evenly: If your oven runs uneven, rotate the pans halfway through baking so the layers rise evenly.

Let the frosting whip long enough: When you add the cooled base to the butter and sugar, it may look broken at first. Keep whipping, it will come together into a smooth, fluffy frosting.

Toast the coconut (optional): If you want more depth, lightly toast the shredded coconut before pressing it onto the cake. It adds a subtle nutty flavor.

Collage of step-by-step cake batter preparation using a stand mixer.

If you like coconut desserts, my coconut bundt cake and coconut cheesecake bars are both worth a look. They bring the same flavor in two completely different directions.

Two slices of coconut buttercream cake on plates.

Coconut Layer Cake

This coconut layer cake keeps things classic but fixes all the usual problems like dry crumbs, overly sweet frosting, and weak coconut flavor. You get soft layers, a light whipped frosting, and a full coconut finish that actually tastes like coconut.

Pin this now to find it later!

Pin It
A slice of a three layer coconut cake.
Prep Time: 30 minutes
Cook Time: 30 minutes
Total Time: 1 hour
4.59 from 111 votes

The Best Coconut Cake Recipe

This three-layer coconut cake is soft, fluffy, and full of coconut flavor from coconut milk, coconut oil, and coconut extract. It’s finished with a silky coconut ermine frosting and covered in shredded coconut for a classic coconut cake that’s rich without being overly sweet.

If you make this recipe, please leave a star rating and comment.

Servings: 16 servings
Email me this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients 

For the Coconut Cake:

  • 4 cups cake flour, (480 grams)
  • 2 ½ cups granulated sugar, (500 grams)
  • 4 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon salt
  • 1 cup butter, softened (16 tablespoons; 224 grams)
  • ¼ cup coconut oil, melted; (56 grams)
  • 4 egg whites, (140 grams)
  • 2 large eggs, (100 grams)
  • ½ cup sour cream, (113 grams)
  • 1 cup canned coconut milk, not coconut cream (240 grams)
  • 1 tablespoon vanilla extract
  • ½ teaspoon coconut extract

For the Frosting:

  • cup All-purpose flour, (80 grams)
  • 2 cups canned coconut cream, (480 grams)
  • 2 cups butter, (448 grams)
  • 2 cups extra-fine sugar, (400 grams)
  • 2 teaspoon vanilla extract
  • 1 teaspoon coconut extract
  • 1 ½ cups shredded coconut , for the garnish

Instructions 

  • Preheat the oven to 350°F. Prepare three 8”x2” round pans by lining them with parchment paper and then spray the paper with non-stick spray.
  • Add the flour, sugar, baking powder, baking soda, and salt in a large mixing bowl. Mix on low speed to blend. Add the soft butter and coconut oil and mix until evenly crumbly and looks like damp sand.
    Mixing butter and coconut oil with the dry ingredients.
  • Add the egg whites one at a time, then add the whole eggs, beating well after each addition to begin building the structure of the cake.
    Scrape down the sides of the bowl with each egg addition. Beat in the sour cream.
    Adding egg whites to the cake batter.
  • In a small bowl, whisk the milk with the vanilla and coconut extract. Add this mix ⅓ at a time, to the batter. Beat 1 to 2 minutes after each addition, until fluffy. Scrape down the sides and bottom of the bowl.
    Adding coconut milk to the batter.
  • Pour the batter into the prepared pans and bake for 26 to 32 minutes or until a toothpick inserted into the center comes out clean. Remove from the oven and cool completely on a wire rack.
    Pouring the cake batter into pans.

For the Frosting:

  • In a small saucepan, whisk flour into the coconut cream and heat over medium heat, stirring constantly, until it thickens.
    This should be very thick, it will look like white school paste. Remove from heat and let it cool to room temperature. I put the pan into the freezer for a few minutes to get it really cold. It must be completely cool before you use it in the next step.
    Making the boiled milk roux for ermine frosting.
  • While the mixture is cooling, cream the butter and sugar together until light and fluffy.
    Then add the completely cooled coconut cream/flour mixture a couple tablespoons at a time, and whip it until it looks like whipped cream. Beat in the vanilla and coconut extracts.
    Creaming the butter and sugar.

To assemble:

  • When the cake is cool, place one layer on a plate and spread icing on it then sprinkle with some of the shredded coconut.
    Repeat with each of the cake layers. Spread the icing on the outside of the cake and over the top, then use the remaining shredded coconut to garnish/cover the cake completely. Refrigerate until ready to serve.
    spreading frosting on the cake.

Video

Notes

Use canned coconut milk: Full-fat canned coconut milk gives the cake better flavor and a richer crumb than the drinking kind in a carton.
Use canned coconut cream for the frosting: Coconut cream gives the ermine frosting its rich base and silky texture.
Cool the frosting base completely: If the cooked coconut cream mixture is even a little warm, it can melt the butter and keep the frosting from whipping properly.
Measure the flour carefully: Weigh it if you can, or spoon and level it. Too much flour will make the cake dry.
Use room temperature ingredients: Softened butter, eggs, and sour cream blend more evenly and help the batter mix properly.
Keep the coconut oil warm, not hot: Melted coconut oil should still be cool enough that it doesn’t affect the butter or eggs when added.
Scrape the bowl often: This batter builds structure as you mix, so scraping the bowl helps everything combine evenly.
Don’t overbake the layers: Start checking early and pull the cakes as soon as a toothpick comes out clean to keep the crumb soft.
Chill the cake layers if needed: Slightly chilled layers are easier to stack and frost without sliding around.
Keep whipping the frosting: If the frosting looks separated at first, keep beating. It should turn smooth, fluffy, and silky.

Nutrition

Serving: 1 serving, Calories: 642kcal, Carbohydrates: 78g, Protein: 5g, Fat: 36g, Saturated Fat: 25g, Polyunsaturated Fat: 9g, Trans Fat: 1g, Cholesterol: 87mg, Sodium: 471mg, Fiber: 1g, Sugar: 54g

Nutrition information is automatically calculated, so should only be used as an approximation.

iconLike this recipe? Rate & comment below!

About Pat Nyswonger

Pat Nyswonger is a self-taught home cook with years of experience creating from-scratch meals for family and friends. As a wife, mother of four, and grandmother to seventeen, she understands the value of recipes that bring people together. Her kitchen has always been the heart of her home, where she enjoys developing flavorful, approachable dishes that home cooks of any level can make and enjoy.

You May Also Like

4.59 from 111 votes (110 ratings without comment)

Leave a comment

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

Recipe Rating




82 Comments

  1. BRENDA says:

    I have a question. Can I make this the day before needed? This looks wonderful. I’m going to make cupcakes instead as I’m taking it for a group and it’ll be easier.

    1. Dahn Boquist says:

      Yes, you absolutely can. Cupcakes tend to dry out faster than cakes so I wouldn’t make them more than two days in advance.

  2. Penny says:

    Hi,
    Looking forward to trying your recipie, looks yumm!!
    Is it dedicated coconut you have used? Or actually grated a fresh coconut?
    Thanks

    1. Pat Nyswonger says:

      Hi, Penny….thanks for this question, I used a bag of the regular sweetened coconut found in the baking aisle. I am sure you will love this cake!

  3. Caroline says:

    Hi! I’ve made this cake twice already & the flavor is SO GOOD! But both times it came out very dry. I don’t know what I’m doing wrong. I don’t want to give up because the flavors are perfect!

    1. Dahn Boquist says:

      You probably need to tailor the baking time to work with your oven. Try checking the cake 2 to 3 minutes before you think it will be finished baking. Use a toothpick to test it. It is ok (and even preferable) if you have a few crumbs sticking to the toothpick. A completely dry toothpick will usually mean that the cake will be a bit on the dry side. I hope that helps

      1. Caroline says:

        Thank you!! I will try it!

        1. Dahn Boquist says:

          hope it works 😉

  4. Christine says:

    The recipe looks great, but when you say butter do you mean salted or unsalted?

    1. Dahn Boquist says:

      either salted or unsalted butter will work just fine in this recipe. I personally use salted butter almost all the time. Bakers make a big deal about using unsalted butter in recipes in order to control the amount of salt but honestly, the additional salt that is in most brands of butter is so small that it has a negligible impact.

  5. Kathy DuMoulin says:

    Is the cake white? With the egg yolks? Want a true white coconut cake. Maybe I overlooked something. Thanks so much!

    Reply to [email protected]

    1. Pat Nyswonger says:

      Hi, Kathy…The egg yolks do give this a yellow color. For a white, white color try adding Wilton’s White Icing Color, I think you will like the change.

      1. Christine says:

        Is that what you added to make the cake in the original post? It looks like a true white cake to me. Thanks!

        1. Dahn Boquist says:

          No we did not use white food coloring, the lighting is different in the original photo.

  6. Margaret K. Nunley says:

    My granddaughter requested a coconut cake when she visits for her college fall break. The cake recipe sounds delicious. I want to make the frosted cake ahead. Can it be frozen with the coconut cream in the frosting?

    1. Dahn Boquist says:

      Yes the cake and the frosting freeze well. Hope you enjoy your visit with your granddaughter

  7. Jocelyn says:

    What kind of cake would this be considered? (Ie sponge, etc) I LOVED the texture of this cake but was hoping to find some similar recipes that aren’t coconut. Thanks!

    1. Pat Nyswonger says:

      Hi, Jocelyn….thanks for your feedback and questions. No, this is not a sponge cake and it really does have a great texture. Use the same recipe to make this a regular vanilla cake but use 1 cup of whole milk rather than the coconut milk. This is a great all-purpose cake you can use for any occasion and even cupcakes. If you want a recipe for a super-delicious chocolate cake then check out our Intense Chocolate Cake with Cream Cheese Frosting. Also, our Yellow Cake with Chocolate Frosting is another great-tasting cake. If you are looking for a sponge cake try our Hot Milk Sponge Cake with Berries The cake in our Lemon Cake Roll is also a sponge cake. Happy baking! ?

  8. Becca says:

    I made this cake for my son’s birthday – he LOVES coconut. It was phenomenal! I did a double layer cake and the flavour was so rich (a vanilla coconut flavour mix) and it was very moist. I also loved that it did not call for coconut extract like so many other recipes…it does not need it! Didn’t use the frosting recipe, but rather my own family’s buttercream recipe with coconut milk added in place of cream. I dusted it with toasted coconut. Easily one of the best cakes I’ve ever made.

    1. Pat Nyswonger says:

      Hi, Becca! I am thrilled that this was a successful birthday cake for your son’s birthday! I love this coconut cake and have also made it with a buttercream frosting rather than the one in the recipe. It is a great recipe, I love your idea of the toasted coconut! Thanks for the great review! We appreciate it so much when our readers give us feedback on our recipes.❤️

  9. Nancy says:

    Hi. The recipe calls for 2-3/4 c cake flour or 175 grams. 175 grams of cake flour is about 1-3/4c
    Souls I use 2-3/4? Or 1-3/4c?

    1. Dahn Boquist says:

      Nancy, thank you for the comment. I corrected the recipe. Use 2-3/4 cups of cake flour which is 303 grams. I use a measurement of 110 grams of cake flour per cup (I calculate all-purpose flour at 120 grams per cup but cake flour is lighter and 1 cup weighs slightly less)

    2. Erica says:

      @Dahn Boquist, I’m so confused the recipe says 4 cups cake flour which is it 4 or 2-3/4 cups of cake flour for the recipe ??‍♀️

      1. Dahn Boquist says:

        The cake takes 4 cups of flour, and the Ermine frosting only uses 2/3 cups. Can you tell me where you see 2-2/3 cups? Or are you confused because the frosting needs flour? This is an old fashioned frosting. If you have never made Ermine frosting it will seem strange but it makes such a wonderful frosting. It is less sweet than traditional American buttercream and it is light and fluffy.

  10. Karen dietrich says:

    Should i double the frosting for a 4 layer?

    1. Pat Nyswonger says:

      Hi, Karen….that is a great question. Yes, increase the amount of frosting if you double the cake recipe. Hope you enjoy this cake, thanks for your question. ❤️