Coconut Cake

Tested & Perfected Recipes

This post may contain affiliate links. Read my full disclosure policy.

Whip up a light and fluffy coconut cake topped with tangy cream cheese frosting, perfect for any special occasion or just because!

slice of coconut cake on white plate.

There’s something truly special about a homemade coconut cake, and I’m excited to share this tried-and-true recipe with you. Made with only egg whites, the cake boasts a lighter texture than those made with whole eggs, allowing the coconut flavor to really shine through. I use the “high-ratio method” for mixing the batter, where the dry ingredients are combined with the fat first. This technique results in an exceptionally tender and fluffy cake, much like the texture of store-bought cake mixes—a quality that’s nearly impossible to achieve with the traditional creaming method. And let’s not forget the crowning glory: a luscious cream cheese frosting. Its tangy richness is the perfect match for the sweet, tropical notes of the coconut—an irresistible flavor combo.

What You’ll Need To Make Coconut Cake

ingredients for coconut cake
  • Canned Unsweetened Coconut Milk: Adds moisture and a rich coconut flavor to the batter.
  • Large Egg Whites: Provides structure and a light airy texture to the cake.
  • Vanilla Extract: Enhances the flavor of the cake and the frosting with its aromatic richness.
  • Coconut Extract: Intensifies the batter and frosting’s coconut flavor making it more pronounced.
  • All-Purpose Flour: Provides the structure for the cake. Measure by spooning it into the measuring cup and leveling it off to ensure accuracy.
  • Sugar: Sweetens the cake and helps create a tender crumb.
  • Baking Powder: Acts as a leavening agent, helping the cake rise and become fluffy.
  • Butter: Adds richness and moisture to the cake and contributes to the frosting’s smooth texture and richness.
  • Cream Cheese: Provides a tangy, creamy base for the frosting.
  • Confectioners’ Sugar: Sweetens and thickens the frosting.
  • Sweetened Shredded Coconut: Blankets the frosting, adding texture and extra coconut flavor.
  • Jump to the printable recipe for precise measurements

Step-By-Step Instructions

Step 1: Make the Cake

Preheat the oven to 350°F and set an oven rack in the middle position. Spray two 9-inch round cake pans with nonstick spray with flour. Line the bottoms of the pans with parchment paper circles; lightly spray the parchment.

In a large liquid measuring cup or bowl with a pouring spout, whisk together the coconut milk, egg whites, vanilla extract, and coconut extract.

In the bowl of a stand mixer fitted with the paddle attachment or beaters, combine the flour, sugar, baking powder, and salt. Mix on low speed for about 30 seconds to combine. 

bowl of a stand mixer with flour, sugar, baking powder, and salt

Add the butter.

butter added to mixing bowl with mixture of flour, sugar, baking powder, and salt

Mix on low until the mixture is crumbly and moistened, about 2 minutes.

mixing bowl with crumbly flour-butter mixture

Add the coconut milk and egg white mixture in 3 separate additions.

Mix on medium speed for about 2 minutes after each addition, scraping down the sides of the bowl as necessary.

Divide the batter evenly between the prepared pans. 

batter divided into two 9-inch round pans

Bake for 25 to 30 minutes, or until lightly golden and a cake tester inserted into the center comes out clean. Let cool in the pans on a rack for 15 minutes, then invert onto the rack to cool completely.

Step 2: Make the Frosting

In the bowl of a stand mixer fitted with the paddle attachment or beaters, combine the cream cheese, butter, vanilla extract, coconut extract, and salt.

Mix on low speed until combined, then increase the speed to medium-high and beat until aerated and light, about 2 minutes.

cream cheese, butter, vanilla extract, coconut extract, and salt whipped together in mixing bowl

Gradually add the confectioners’ sugar, mixing on low to combine.

Once all of the sugar is mixed in, increase the speed to medium-high and beat until fluffy, about 1 minute. 

whipped frosting in mixing bowl

After the cake layers have completely cooled, assemble and frost the cake. Place 1 layer on a flat serving plate, top side down. Spread a third of the frosting on the top of the cake. Place the second layer on top, top side up. Then frost the top and sides with the remaining frosting.

offset spatula spreading frosting on bottom cake layer

Sprinkle the top of the cake with coconut and lightly press more coconut onto the sides.

hand patting coconut all all over frosted cake

Make-Ahead Instructions

While the frosted cake is best served on the same day of baking, it can be prepared a day ahead of time. Store it in the refrigerator in a cake dome or loosely covered with plastic wrap and let it come to room temperature before serving. If you need to prepare it further in advance, the cake layers can be frozen, without frosting, for up to 3 months. After they are completely cooled, double-wrap them securely with aluminum foil or plastic freezer wrap, or place them in heavy-duty freezer bags. When you’re ready to use them, thaw the layers overnight on the countertop and then frost before serving.

Frequently Asked Questions

What is the high-ratio method for making cake?

Mixing the dry ingredients with the fat first—a technique known as the “high-ratio method”—helps create a fine, tender crumb and a light, airy texture in the cake. By coating the flour with fat, we minimize gluten formation, preventing a tough texture. Adding the liquid ingredients in stages then helps to create an emulsion that incorporates more air into the batter, resulting in a moist and fluffy cake. This method produces a texture similar to fluffy store-bought cake mixes, which is nearly impossible to achieve with the traditional creaming method.

Why are only egg whites used instead of whole eggs?

Using only egg whites in this coconut cake recipe helps achieve a lighter, fluffier texture and a finer crumb. Egg yolks contain fat, which can make the cake denser and richer, while egg whites provide structure and stability without adding heaviness. Additionally, egg whites help maintain the cake’s light color, which complements the delicate flavor and appearance of a coconut cake. This is the difference between a classic white cake versus a classic yellow cake.

You May Also Like

Coconut Cake

Whip up a light and fluffy coconut cake topped with tangy cream cheese frosting, perfect for any special occasion or just because!

Servings: One 9-inch layer cake
Prep Time: 45 Minutes
Cook Time: 30 Minutes

Ingredients

For the Cake

  • ¾ cup canned unsweetened coconut milk
  • 6 large egg whites, at room temperature
  • 1 teaspoon vanilla extract
  • 1 teaspoon coconut extract
  • 2 cups all-purpose flour, spooned into measuring cup and leveled off
  • 1½ cups sugar
  • 2 teaspoons baking powder
  • ½ teaspoon salt
  • 1½ sticks (12 tablespoons) unsalted butter, at room temperature

For the Frosting

  • 12 oz cream cheese, at room temperature
  • 1 stick (8 tablespoons) unsalted butter, at room temperature
  • 1 teaspoon vanilla extract
  • ½ teaspoon coconut extract
  • Pinch salt
  • 4 cups confectioners' sugar
  • 1½ cups sweetened shredded coconut

Instructions

For the Cake

  1. Preheat the oven to 350°F and set an oven rack in the middle position. Spray two 9-inch round cake pans with nonstick spray with flour. Line the bottoms of the pans with parchment paper circles; lightly spray the parchment.
  2. In a large liquid measuring cup or bowl with a pouring spout, whisk together the coconut milk, egg whites, vanilla extract, and coconut extract.
  3. In the bowl of a stand mixer fitted with the paddle attachment or beaters, combine the flour, sugar, baking powder, and salt. Mix on low speed for about 30 seconds to combine. Add the butter and continue mixing on low until the mixture is crumbly and moistened, about 2 minutes. Add the coconut milk and egg white mixture in 3 separate additions, mixing on medium speed for about 2 minutes after each addition, scraping down the sides of the bowl as necessary.
  4. Divide the batter evenly between the prepared pans. Bake for 25 to 30 minutes, or until lightly golden and a cake tester inserted into the center comes out clean. Let cool in the pans on a rack for 15 minutes, then invert onto the rack to cool completely.

For the Frosting

  1. In the bowl of a stand mixer fitted with the paddle attachment or beaters, combine the cream cheese, butter, vanilla extract, coconut extract, and salt. Mix on low speed until combined, then increase the speed to medium-high and beat until aerated and light, about 2 minutes. Gradually add the confectioners' sugar, mixing on low to combine. Once all of the sugar is mixed in, increase the speed to medium-high and beat until fluffy, about 1 minute.
  2. After the cake layers have completely cooled, assemble and frost the cake: place 1 layer on a flat serving plate, top side down, and spread with a third of the frosting. Place the second layer on top, top side up, and frost the top and sides with the remaining frosting. Sprinkle the top of the cake with coconut and lightly press more coconut onto the sides.
  3. Make-Ahead/Freezer-Friendly Instructions: While the frosted cake is best served on the same day of baking, it can be prepared a day ahead of time. Store it in the refrigerator in a cake dome or loosely covered with plastic wrap and let it come to room temperature before serving. If you need to prepare it further in advance, the cake layers can be frozen, without frosting, for up to 3 months. After they are completely cooled, double-wrap them securely with aluminum foil or plastic freezer wrap, or place them in heavy-duty freezer bags. When you’re ready to use them, thaw the layers overnight on the countertop and then frost before serving.

Nutrition Information

Powered by Edamam

  • Per serving (16 servings)
  • Calories: 521
  • Fat: 27 g
  • Saturated fat: 18 g
  • Carbohydrates: 67 g
  • Sugar: 53 g
  • Fiber: 1 g
  • Protein: 5 g
  • Sodium: 242 mg
  • Cholesterol: 60 mg

This website is written and produced for informational purposes only. I am not a certified nutritionist and the nutritional data on this site has not been evaluated or approved by a nutritionist or the Food and Drug Administration. Nutritional information is offered as a courtesy and should not be construed as a guarantee. The data is calculated through an online nutritional calculator, Edamam.com. Although I do my best to provide accurate nutritional information, these figures should be considered estimates only. Varying factors such as product types or brands purchased, natural fluctuations in fresh produce, and the way ingredients are processed change the effective nutritional information in any given recipe. Furthermore, different online calculators provide different results depending on their own nutrition fact sources and algorithms. To obtain the most accurate nutritional information in a given recipe, you should calculate the nutritional information with the actual ingredients used in your recipe, using your preferred nutrition calculator.

See more recipes:

Comments

  • I was going to make this cake in a 9 x 13 pan due to my lack of neatness and skill frosting a layer cake. However, I got over my trepidation and sailed forth making the layer cake. It was the most wonderful experience being able to successfully frost and decorate this amazing cake. It came out wonderfully for the birthday gal I gave this to and she swooned with joy at the sight and taste of the finished cake! We enjoyed it immensely at the birthday party. Thank you, Jenn!!

    • — Kathi Bates on August 4, 2024
    • Reply
  • Hi!
    I made this cake two days ago in prep for a dinner party tonight. The little I sampled tastes yummy. And it looks beautiful! However, I ran into a problem… the frosting was way too thin. I checked my measurements and they looked correct. I thought maybe the butter and cream cheese were beyond room temp cuz it was hot here when I did the work. But even after the frosting being in the fridge all night, It was still thin. I didn’t want to add more sugar cuz I didn’t want it sweeter, even though that prob would have helped the consistency. I put the entire frosted cake in the freezer and will keep it there until tonight. It’s 98º here and I’m concerned we’re going to have a coconut waterfall tonight! 🙂 Either way, I’m sure it will be real good.
    Has any one else had this issue? And what do I do next time to avoid a repeat? Thanks.

    • — Cindy on August 1, 2024
    • Reply
    • Hi Cindy, I hope the cake came out okay last night. By its nature, cream cheese frosting is not as stiff as other frostings. If you want to try it again, I’d weigh the confectioners’ sugar (it can be hard to get an accurate measure with a measuring cup), make sure the cream cheese and butter aren’t too warm, and if it’s still thinner then you’d like, you can add a little more cream cheese. You could also consider an alternative frosting like swiss meringue buttercream.

  • This cake turned out so good and moist. I’ve shared the recipe with friends and family. One of the things I need to master is placing frosting and the shredded coconut on the side of the double layer round cake. Yikes, it’s a challenge.

    • — Joseph on July 29, 2024
    • Reply
  • Hey Jenn, would store bought egg whites from cartons work as well.

    • — Joseph on July 26, 2024
    • Reply
    • Hi Joseph, I don’t recommend store-bought egg whites – sorry!

      • — Jenn on July 26, 2024
      • Reply
      • Thank you Jenn for the quick response. I’ll do fresh egg whites.

        • — Joseph on July 26, 2024
        • Reply
  • Made this for my husband’s birthday and he and everyone loved it! Thanks for all your delicious recipes!

    • — Sharon on July 20, 2024
    • Reply
  • Hi,
    Can I use coconut flakes? Can’t find shredded coconut anywhere.

    • — Sara on July 18, 2024
    • Reply
    • Hi Sara, you can, but it will have a crunchier texture and won’t be sweet. You can also omit the coconut; the cake will still be delicious.

      • — Jenn on July 22, 2024
      • Reply
  • Best coconut cake ever !! I made this for my first time yesterday and got rave reviews. I have to admit the cake was wonderful. Incredible icing, with super flavor. I followed the recipe completely. I put it in the fridge as suggested and found that it was much tastier when left at room temperature. This will definitely be a go to cake recipe. Thanks so much, your recipes are always fantastic !

    • — Marlene on July 16, 2024
    • Reply
  • Can the frosting be made the day before and refrigerated? Thanks for any help.

    • — Denise Wolff on July 13, 2024
    • Reply
    • Sure. Before you plan to frost the cake, bring the frosting to room temperature and mix it briefly in the mixer. Enjoy!

      • — Jenn on July 16, 2024
      • Reply

Add a Comment

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