Fluffy & Moist Coconut Cake

This perfect coconut cake sets the bar for homemade cakes everywhere. It’s supremely moist with a soft fluffy crumb and intense coconut flavor. To ensure success, follow this recipe carefully including using cake flour, egg whites, sour cream, and canned coconut milk.

Slice of coconut cake with buttercream flower on white plate

At the request of many readers, let me introduce you to the best coconut cake I’ve ever had. Homemade with love for coconut lovers everywhere, this cake exceeds my expectations. Complete with silky coconut cream cheese buttercream, she’s absolutely perfect and juxtaposes bold flavor with a light crumb.

I endlessly tested this cake recipe. In fact, I’m pretty sure my head turned into an actual coconut during the process. Is there shredded coconut caked into the crevices of my kitchen floor and backsplash? Yes.

Coconut cake on cake stand

5 Reasons to Love This Coconut Cake Recipe

  1. Not Dry: This coconut cake is mega moist. There’s no point wasting your time (or calories!) on dry cakes.
  2. Intensely Flavorful: Using coconut milk, shredded coconut, and coconut extract, you are guaranteed an intensely flavorful coconut cake.
  3. Soft & Fluffy: By following the recipe carefully, as well as using the power ingredients described below, you are guaranteed a soft-as-silk coconut cake crumb.
  4. Any Shape: Use this cake batter for coconut Bundt cake, coconut cupcakes, a 2-layer cake, 3-layer cake, or a coconut sheet cake.
  5. Gets Along With Everyone: Use the frosting recipe below or try strawberry frosting, lemon frosting, brown butter cream cheese frosting, champagne frosting, or chocolate buttercream. Add raspberry cake filling between the layers or drizzle salted caramel on top! With so many ways to customize, this coconut cake is always a crowd-favorite when looking for Easter dessert ideas.

Coconut Cake Video Tutorial

https://youtu.be/61RkIdMwxkA

This recipe sets the bar for homemade cakes everywhere. It’s simply exquisite and is sure to be one of your favorite spring dessert recipes and Easter brunch recipes. Talk about a show stopper!

Coconut layer cake on wood and marble cake stand

How to Make Coconut Cake

I adapted this recipe from my favorite white cake. Its pristine crumb, fluffy texture, and stick-to-your-fork moisture guarantee cake success. In fact, I have the recipe memorized and even used it as the base of pistachio cake, cookies & cream cake, espresso cake, burnt sugar caramel cake, and strawberry cake. The recipe is cake gold and I knew it would be the perfect starting point for a fluffy and moist coconut cake.

Your coconut cake journey begins with two mixing bowls. Dry ingredients in one and wet ingredients in another (see full recipe instructions below). Combine the two in your mixer, along with coconut milk and sweetened shredded/flaked coconut. That’s it! Your coconut cake batter is ready to bake.

Creamed butter and sugar provide a solid base for this cake recipe. Use room temperature butter, and remember that room temperature is cooler than you think.

Another tip: Use all room temperature ingredients, including the eggs and sour cream. Why? Ingredients bond together very easily when theyโ€™re warmer, which creates an evenly textured baked good. Cold ingredients do not emulsify together. Period. 

2 images of coconut in food processor and coconut milk for coconut cake
Coconut cake batter in glass bowl

Use These 6 Power Ingredients

Cake is literally nothing without its ingredients and these power players are the difference between dense dry cake and light moist cake.

  1. Cake Flour: Cake flour produces the softest cake. If you don’t usually buy cake flour, make the exception here. It’s sold in the baking aisle with the other flours. You can use leftovers in any of these cake flour recipes. If you can’t find it, try making this cake flour substitute.
  2. Egg Whites: Egg yolks are wonderful for moisture, but they’re heavy and weigh down cakes. We use whole eggs in my coconut Easter cake which is much more dense, like a pound cake. To keep this coconut cake light and fluffy, use only egg whites. We’ll add the moisture back in with sour cream.
  3. Sour Cream: The moist maker! This cake melts in your mouth.
  4. Coconut Extract: I tested this recipe with and without coconut extract. We loved it both ways, but coconut extract is necessary for best coconut flavor. It’s in the baking aisle near the vanilla extract.
  5. Canned Coconut Milk: Canned coconut milk is a cooking ingredient, not a beverage. It’s creamier and thicker than regular milk and usually found near the Thai food products. Do not use the refrigerated coconut milk beverage that comes in a carton, because the two are very different.
  6. Sweetened Shredded Coconut: I recommend using sweetened shredded coconut, also called sweetened flaked coconut. It’s moister than unsweetened coconut and that makes a big difference in the cake’s texture. I reduced the added sugar in the cake batter to make up for the sweetness. Sweetened coconut is sometimes sold as long skinny shreds, a size some find off-putting in cake. Therefore, I recommend pulsing them in a food processor so they’re smaller.
Cream cheese buttercream frosting on whisk

Coconut Cream Cheese Buttercream Frosting

What do you love about vanilla buttercream? It’s buttery, sweet, and smooth.

And what about cream cheese frosting? It’s creamy, silky, and tangy.

Let’s combine the two, then add coconut milk and coconut extract. It’s even creamier and silkier than the coconut frosting on these coconut chocolate Easter cupcakes so that glides onto the cake seamlessly. (Which is a happy bonus because decorating a layer cake can be quite the task. See more below.)

2 images of frosting coconut cake on cake stand from overhead and side angles

If you prefer a non-cream cheese option, use my vanilla buttercream insteadโ€”use canned coconut milk instead of milk and add 1/2 teaspoon coconut extract.

Coconut cake slice on white plate

How to Frost a Layer Cake

Alright, let’s do this.

  1. Cool cakes completely. Sounds obvious, but even the tiniest bit of warmth will melt the frosting. As a result, the layer cake will slip, slide, or even cave in!
  2. If your cakes have a dome on top, level them off with a cake leveler or serrated knife. Flat-topped cakes ensure a straight and sturdy layer cake.
  3. Choose a serving plate, cake turntable, or cake stand. The exact cake stand I use in these pictures is no longer available, but here is a similar option.
  4. Place the bottom layer on the cake stand. Using an icing spatula, spread 1 and 1/2 cups of frosting in an even layer on top. Bring the frosting just over the edge of the cake; this will be helpful when it’s time to frost the sides.
  5. Place the second layer top-side-down on top. Make sure it aligns with the bottom cake layer.
  6. Spread 1 and 1/2 cups frosting evenly on top, just as you did with the bottom layer.
  7. Place third layer top-side-up on top. Again, make sure it’s perfectly aligned.
  8. Divide the remaining frosting in half. (Just eyeball it.) Dollop half of the frosting on top of the cake and use an icing spatula to smooth it to the edges. Apply *some* of the remaining frosting all around the sides of the cake, then use a bench scraper to smooth it in a thin layer. Apply the rest of the frosting on the sides of the cake, then bench scrape to smooth it all out.
  9. Wipe any excess frosting off of the cake stand.

You can watch me decorate this coconut cake in the video tutorial above or you can use this detailed how to assemble and decorate a layer cake post as your guide. Don’t stress; if you take your time and make sure the cake layers are totally straight, you’re all set.

But I Don’t Want to

Skip the drama and make a coconut sheet cake instead! Sheet cakes are easier to frost because they’re only one layer. See my recipe note about different size coconut cakes.

Overhead shot of coconut cake with buttercream roses

What About the Buttercream Roses?

Let’s give my assistant, Stephanie, a round of applause. This was her first time making “3D” buttercream roses and look how beautifully they turned out! She made the buttercream roses at my house and I froze them until it was time to decorate the coconut cake. She followed this video tutorial. Keep in mind that the cream cheese buttercream WILL NOT work for the intricate buttercream roses. Instead, use my vanilla buttercream and add 1 extra cup of confectioners’ sugar. You need very stiff buttercream for these roses. You also need small squares of parchment paper and:

Loosely cover the roses, then freeze or refrigerate them until ready to decorate, up to 1 week. No need to thaw prior to decorating the cake. Peel off parchment square and place the buttercream rose on the cake. If you’re traveling with the cake, I recommend securing the roses with a tiny dollop of cream cheese buttercream underneath.

Looking for something easier? Use Wilton 1M piping tip for these easy two-toned frosting buttercream roses.

slice of coconut cake on plate

More Classic Cake Recipes

Flavor is the name, moist is the game. These are some of my favorite classic cake recipes!

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Coconut cake on a wood and marble cake stand

Coconut Cake

5 Stars 4 Stars 3 Stars 2 Stars 1 Star 4.9 from 761 reviews
  • Author: Sally McKenney
  • Prep Time: 35 minutes
  • Cook Time: 22 minutes
  • Total Time: 4 hours
  • Yield: 12 servings
  • Category: Dessert
  • Method: Baking
  • Cuisine: American
Save Recipe

Description

This perfect coconut cake sets the bar for homemade cakes everywhere. It’s supremely moist with a soft fluffy crumb and intense coconut flavor. For success, follow this recipe carefully including using cake flour, egg whites, sour cream, and canned coconut milk.


Ingredients

  • 2 and 1/2 cups (285g) cake flourย (spooned & leveled)
  • 2 teaspoons baking powder
  • 1/2 teaspoon baking soda
  • 1 teaspoon salt
  • 3/4 cup (12 Tbsp; 170g) unsalted butter, softened to room temperature
  • 1 and 2/3 cups (330g) granulated sugar
  • 5 large egg whites, at room temperature
  • 1/2 cup (120g) sour cream, at room temperature
  • 2 teaspoons pure vanilla extract
  • 1 teaspoon coconut extract
  • 1 cup (226g/240ml) unsweetened canned coconut milk, at room temperature*
  • 1 cup (80g) sweetened shredded coconut

Coconut Cream Cheese Buttercream

  • 1 cup (16 Tbsp; 226g) unsalted butter, softened to room temperature
  • 8 ounces (226g) full-fat brick cream cheese,ย softened to room temperature*
  • 5 cups (600g) confectioners’ sugar
  • 2 Tablespoons (30ml) canned coconut milk
  • 1/2 teaspoon pure vanilla extract
  • 1/2 teaspoon coconut extract
  • 1/8 teaspoon salt
  • 2 cups (160g) sweetened shredded coconut


Instructions

  1. Preheat oven to 350ยฐF (177ยฐC). Grease three 8-inch cake pans, line with parchment paper rounds, then grease the parchment paper. Parchment paper helps the cakes seamlessly release from the pans. (If it’s helpful, see this parchment paper rounds for cakes video & post.)
  2. Make the cake:ย Whisk the cake flour, baking powder, baking soda, and salt together. Set aside.
  3. Using a handheld or stand mixer fitted with a paddle or whisk attachment, beat the butter and sugar together on medium-high speed until smooth and creamy, about 2 minutes. Scrape down the sides and up the bottom of the bowl with a rubber spatula as needed. Beat in the egg whites until combined, then add the sour cream, vanilla extract, and coconut extract. Beat until combined. Mixture will look curdled as a result of the varying textures and solid butter combining. Scrape down the sides and up the bottom of the bowl as needed. With the mixer on low speed, slowly add the dry ingredients and coconut milk. Beat on low speed until combined, then add the shredded coconut. Whisk it all by hand to make sure there are no butter lumps at the bottom of the bowl. The batter will be slightly thick.
  4. Pour batter evenly into cake pans. Weigh them to ensure accuracy, if desired. Bake for 21โ€“24 minutes or until the cakes are baked through. To test for doneness, insert a toothpick into the center of the cake. If it comes out clean, it’s done. Allow cakes to cool in the pans set on a cooling rack for 1 hour, then remove from the pans and place the cakes directly on the rack to continue cooling. The cakes must be completely cool before frosting and assembling.
  5. Make the frosting:ย In a large bowl using a handheld or stand mixer fitted with a whisk or paddle attachment, beat the butter and cream cheese together on medium speed until creamy and smooth, about 2 minutes. Add confectioners’ sugar, coconut milk, vanilla extract, coconut extract, and salt with the mixer running on low. Increase to high speed and beat for 3 minutes. Add more confectioners’ sugar if frosting is too thin, more coconut milk if frosting is too thick, or an extra pinch of salt if frosting is too sweet.
  6. Assemble and decorate: Using a large serrated knife,ย sliceย a thin layer off the tops of the cakesย to create a flat surface. Discard (or crumble over ice cream!).ย Place 1 cake layer on your cake stand, cake turntable, or serving plate. Evenly cover the top with 1 heaping cup (about 250โ€“300g) of frosting. Top with second cake layer and evenly cover the top with another heaping cup of frosting. Top with the third cake layer. Spread the remaining frosting all over the top and sides. I use and recommend an icing spatula to apply the frosting and a bench scraper to smooth the sides. Sprinkle coconut on top of the cake and apply it to the sides. This can get a little messy and you can watch me do it in the video tutorial. See blog post above about buttercream rose decoration.
  7. Refrigerate cake for at least 20 minutes before slicing. This helps the cake hold its shape when cutting, though it’s still a pretty fluffy cake!
  8. Cover leftover cakeย tightly and store in the refrigerator for up to 5 days.

Notes

  1. Make Ahead & Freezing Instructions: The cake layers can be baked, cooled, and covered tightly at room temperature overnight. Likewise, the frosting can be prepared, then covered and refrigerated overnight. When ready to decorate, let the frosting sit at room temperature to slightly soften for about 15 minutes, then give it one more mix with the mixer on medium speed for about 1 minute before frosting cake. Frosted cake or unfrosted cake layers can be frozen for up to 2โ€“3 months. Thaw overnight in the refrigerator and bring to room temperature before decorating/serving.
  2. Special Tools (affiliate links): 8-inch Cake Pans | Electric Mixer (Handheld or Stand Mixer) | Glass Mixing Bowls | Whisk | Cake Stand or Cake Turntable |ย Icing Spatula | Bench Scraperย | Cake Carrier (for storing)
  3. Cake Flour: For the best results, I strongly recommend cake flour. You can find cake flour in the baking aisle and I have many more recipes using it. If you can’t find it, try making this cake flour substitute.
  4. Egg Whites: Egg whites (no yolks) are KEY to the cake’s fluffy texture. For best success, I recommend using fresh eggs instead of carton egg whites. (Using an egg separator is really handy!) Here are all my recipes using leftover egg yolks. Success tip: Eggs separate much easier when theyโ€™re cold.
  5. Canned Coconut Milk: Canned coconut milk is a cooking ingredient, not a beverage. It is usually unsweetened, so make sure you’re using unsweetened. It’s usually found in the grocery store near the Thai food products. Do not use refrigerated carton coconut milk beverage. You need 1 cup for the cake, not the entire can. You use 2 more Tablespoons in the frosting.
  6. Sweetened Shredded Coconut: I recommend using sweetened shredded/flaked coconut. It’s moister than unsweetened coconut and that makes a big difference in the cake’s texture. If desired, pulse the coconut shreds in a food processor to chop them up so they aren’t as long inside and outside of the cake. Chopping the coconut is optional.
  7. Cream Cheese: Use brick cream cheese, not cream cheese spread. If desired, you can use this vanilla buttercream instead (no cream cheese). Use canned coconut milk instead of milk and add 1/2 teaspoon coconut extract.
  8. 9×13-Inch Sheet Cake: Simply pour the batter into a greased and lightly floured 9×13-inch pan and bake for 40 minutes or until a toothpick inserted in the center comes out clean.
  9. 2-Layer Cake: Prepare two 9-inch cake pans in step 1. Divide batter between pans and bake for 24โ€“26 minutes or until a toothpick inserted in the center comes out clean.
  10. Bundt Cake: This cake batter will fit into a greased 10-cup or larger Bundt pan. I’m unsure of the exact bake time (likely around an hour); use a toothpick to test for doneness. Same oven temperature.
  11. Cupcakes: Fill cupcake liners 2/3 full. Bake at 350ยฐF (177ยฐC) for 19โ€“21 minutes. Yields about 2โ€“3 dozen. Or try my vanilla cupcakes recipe and substitute canned coconut milk for whole milk, 1/2 teaspoon coconut extract for the vanilla bean, and add 3/4 cup (60g) of sweetened shredded coconut.
  12. Why is everything at room temperature? All refrigerated items should be at room temperature so the batter mixes together easily and evenly. Read more about the importance of room temperature ingredients.ย 
sally mckenney headshot purple shirt.
About the Author

Sally McKenney

Sally McKenney is a baker, food photographer, and New York Times best-selling author. Her kitchen-tested recipes and step-by-step tutorials have given millions of readers the knowledge and confidence to bake from scratch. Sallyโ€™s work has been featured on TODAY, Good Morning America, Taste of Home, People, and more.

Read More

Leave a Comment

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

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

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

Reader Comments and Reviews

  1. Nellie says:
    May 17, 2026

    I made this pie according to the recipe (except I omitted the coconut from the cream because I wanted it to remain tender), and my family loved it. It was truly delicious. One slice is also enough to fill you up.
    I highly recommend it!

    Reply
  2. Meherikaa says:
    May 11, 2026

    Hey! How can i make this in 3 6inch pans ? And also what do you recommend flavouring it with if Iโ€™m doing an Italian meringue buttercream ? Or should i let it be plain vanilla ? Your input would mean a lot

    Reply
    1. Trina @ Sally's Baking says:
      May 11, 2026

      This would be too much batter for 6 inch pans, so we recommend using our coconut cupcakes batter for three 6 inch cake pans. (Skip the caramel filling and chocolate frosting.) Follow the baking instructions for 6 Inch Cakes and you can halve this frosting recipe instead. Vanilla or coconut flavored frosting are great with this cake. Happy baking!

      Reply
  3. Caitlin says:
    May 10, 2026

    This cake dried out pretty heavily for me.

    Reply
    1. Lexi @ Sally's Baking says:
      May 11, 2026

      Hi Caitlin, we’re so sorry to hear the cake turned out dry for you. There are a few different reasons why that can happenโ€”this post on how to prevent dry and dense cakes may be helpful to review. Thank you for giving this recipe a try!

      Reply
  4. Molly Dion says:
    May 10, 2026

    5/5 and is a staple in our house. My only recommendation is toasting the coconut on the top of the cake! Makes a big difference to flavour and texture.

    Reply
  5. Lee Ann says:
    May 10, 2026

    Outstanding! Made it for Mother’s Day as my mom requested coconut cake. I knew Sally would have an excellent recipe and this did not disappoint! Followed exactly as written and baked it in a bundt pan for approximately 50 minutes. Perfection! The buttercream frosting is amazing! Thank you Sally for another delicious recipe!

    Reply
  6. Britney says:
    May 10, 2026

    Hi Sally! Should I reduce the frosting in between the layers if I am adding the raspberry filling? Thanks for your help.

    Reply
    1. Michelle @ Sally's Baking says:
      May 10, 2026

      Hi Britney, This cake is delicious with raspberry filling. Here is exactly how to layer raspberry cake filling with frosting.

      Reply
  7. Rashed says:
    May 10, 2026

    I made the cake only and the frosting i used coconut vanilla ganache , the cake was moist and good but personally I’m not a fan of butter in cake batters because it makes the cake quite denser ( in a good way ) than sponge cakes like genoise or chiffon so which cake recipe can i use instead ?

    Reply
    1. Lexi @ Sally's Baking says:
      May 11, 2026

      Hi Rashed, some readers have reported success with substituting some of the butter with solid coconut oil. If you decide to try it, please let us know how it goes!

      Reply
  8. Karen says:
    May 8, 2026

    Sally, this cake is simply wonderful. It is moist, abundant in coconut flavor, has a perfect crumb, and my husband loves it! I followed the recipe to a T, baked the cake in my Bundt pan for the minimum time you recommended (45 minutes) and it came out of the pan like a dream. I toasted some additional coconut to sprinkle on my glaze, et voilร ! Thank you again, Sally, for another amazing recipe!

    Reply
  9. Suzette says:
    May 7, 2026

    I have made this cake many times and it is delicious. I’m wondering if I could add a bit of vegetable oil to make it even moister. I see it in other coconut cake recipes.

    Reply
    1. Beth @ Sally's Baking says:
      May 7, 2026

      Hi Suzette, some readers have reported success with substituting some of the butter with coconut oil. If you decide to try it, please let us know how it goes!

      Reply
  10. Kirsten says:
    May 6, 2026

    Love this delicious cake–it’s so light! I feel like a bit of acid would add a new dimension…any thoughts on additions? Lime? Pineapple? I would love some guidance!

    Reply
    1. Katherine Dykes says:
      May 7, 2026

      I put raspberry filling in between the layers, on top of the buttercream frosting. It was delicious. Coconut complements raspberry very well, and the tangy filling offset the sweet cake nicely. It is one of the best cakes I’ve ever made (or eaten).

      Reply
  11. MJ Gronli says:
    May 6, 2026

    Hi Sally. Can this be modified for loaf cake?

    Thank you

    Reply
    1. Lexi @ Sally's Baking says:
      May 6, 2026

      Hi MJ, You could bake this cake batter in loaf pans (fill about half way). Same temperature, but weโ€™re unsure of the exact bake time needed. Keep a close eye on it and use a toothpick to test for doneness.

      Reply
  12. Danielle says:
    May 5, 2026

    Hi! I’m going to be making this cake and transporting for a girls trip. Could you recommend a store bought frosting? Buttercream or cream cheese? Was thinking I could add coconut extract to it? Thanks!

    Reply
    1. Trina @ Sally's Baking says:
      May 5, 2026

      Hi Danielle! We haven’t tried it, but you could try adding a little coconut extract to a store bought vanilla frosting.

      Reply
  13. Lee says:
    May 5, 2026

    Can this coconut cake recipe be adapted to make a 6-in, 3-layer cake?
    Any frosting adjustments?

    Reply
    1. Trina @ Sally's Baking says:
      May 5, 2026

      Hi Lee, this would be too much batter for 6 inch pans, so we recommend using our coconut cupcakes batter for three 6 inch cake pans. (Skip the caramel filling and chocolate frosting.) Follow the baking instructions for 6 Inch Cakes and you can halve this frosting recipe instead. Happy baking!

      Reply
    2. Margot says:
      May 5, 2026

      Lee – I have made it in my 6″ pans! I did half of the recipe and did 3 layers, baking time was 19/20 mins. The three layers were perfect and I am making it again this week!

      Reply
      1. Lee says:
        May 5, 2026

        Thank you, Margot!

      2. Lee says:
        May 6, 2026

        Hi Margot,
        For your 3-layer, 6โ€ cake, I know you said you halved this coconut cake recipe with great successโ€ฆ..but did you halve the frosting recipe too?
        Thank you!

        Lee

  14. Nicki says:
    May 3, 2026

    So moist and fluffy! Everybody loved it.

    Reply