The most AMAZING Coconut Cake with layers of soft coconut cake, pineapple filling, and topped with coconut cream cheese frosting. The assembled cake is somewhat of a masterpiece, and could be one of my favorite cakes of all time!

A slice of Coconut Cake on a plate, with layers of pineapple filling and frosted with coconut cream cheese frosting.

I’ve reached food nerd status by how happy this Coconut Cake makes me. It’s incredible! Dare I say it–it’s on the same level as my Mom’s ridiculously amazing German Chocolate Cake. It’s that good.

The cake is incredibly moist (I hate that word, but it must be used here), and not overly sweet, which I really love because it blends so well with the flavors from the pineapple filling and frosting, without any one element being too sweet. Also, you can make the cake, filling and frosting in advance.

The recipe was inspired by this coconut cake from A Bountiful Kitchen. I added cream cheese buttercream frosting with a splash of coconut milk for extra creaminess and hints of coconut flavor.

How to make Coconut Cake:

  • Mix Dry ingredients: flour, baking powder and salt in a bowl. Set aside.
  • Cream butter and sugar: In a separate mixing bowl, beat the butter on medium speed with electric mixers until light and fluffy. Add sugar and mix 1 minute.
  • Add coconut extract and 1 ¼ cups of the coconut milk.
  • Gradually add flour mixture and mix on medium speed for 2 minutes.
Four process photos for making the batter for coconut cake in a mixing bowl.
  • In another bowl, beat egg whites until stiff peaks form. Fold the egg whites into the batter until incorporated.
  • Line bottom of 8” cake pans with parchment paper and spray bottom and sides of pan lightly with non-stick cooking spray. Divide batter evenly between the pans.
Coconut cake batter with egg whites being mixed in, then the batter poured into two round cake pans.
  • Bake at 350 degrees F 25-35 minutes, or until a toothpick inserted in the center of the cake comes out clean.
  • Remove the pans from the oven and  allow to cool for 5 minutes before inverting them onto a cooling rack to cool completely.
  • Once cakes have cooled, use a sharp serrated knife cut each cake round in half horizontally, so that you end up with four thin cake rounds.
Two process photos for how to torte a cake layer in half.
  • Meanwhile, make the pineapple filling and coconut cream cheese frosting, and then you’re ready to assemble the cake.

Assemble cake:

Place one cake layer on a serving plate and spread half of the pineapple filling over it. Top with second cake layer, and smooth some of the coconut cream cheese frosting on top.

Side by side process photos of a layer of coconut cake with pineapple filling spread over the top, and then topped with another cake layer, and coconut frosting spread over the top.

Top with third layer of cake. Spread remaining pineapple filling on top. Top with the last later of cake. Frost the sides and top of the cake. Sprinkle with shredded coconut flakes, if desired.

Process photos for filling a coconut cake with layers of pineapple filling and coconut frosting.

For best results, refrigerate the cake for a few hours before serving.

A whole coconut cake served on a cake stand, with a few slices removed to show the layers of cake and coconut frosting inside the cake.

Make Ahead and Freezing Instructions:

This is one of those cakes that really tastes better after it’s been in the fridge for at least 4 hours, and I think it tastes even better on day two!

I like to prepare the cake, pineapple filling, and coconut cream cheese frosting a few days in advance, so each element is ready for whenever I choose to assemble it. Bake the cakes, and allow to cool completely. Torte in half, then wrap each layer really well in plastic wrap and place in a ziplock freezer bag. Freeze for up to one month. Frozen cakes are easier to work with, and to frost.

The pineapple filling and coconut frosting can be made up to a week in advance, or frozen for several weeks. Allow the coconut frosting to come to room temperature before using.

FOLLOW ME on FACEBOOKTWITTERINSTAGRAM and PINTEREST for more great recipes!

Recipe

A slice of homemade Coconut Cake with pineapple filling on a plate ready to serve.
Prep 4 hrs 30 mins
Cook 40 mins
Total 5 hrs 10 mins
Save Recipe

Ingredients
  

For the Coconut Cake:

For the Pineapple Filling:

For the Coconut Cream Cheese Frosting:

  • 1/2 cup butter , room temperature
  • 8 ounces cream cheese , room temperature
  • 4-5 cups powdered sugar
  • 1 – 2 Tablespoons leftover coconut milk , regular milk
  • 1 cup shredded sweetened coconut

Instructions
 

Coconut Cake:

  • Preheat oven to 350 degrees F. Line the bottom of two 8 inch cake pans with parchment paper and spray the bottom and sides of the pan lightly with cooking spray.
  • In mixing bowl, whisk together flour, baking powder and salt. Set aside.
  • In a separate mixing bowl, beat the butter on medium speed with an electric hand mixer or stand mixer for 1 minute, until light and fluffy. Add sugar and mix 1 minute.
  • Add 1 ¼ cups coconut milk and coconut extract and mix.
  • Gradually add flour mixture and mix on medium speed for 2 minutes.
  • In another bowl, beat egg whites until stiff peaks form. Fold the egg whites into the batter until incorporated.
  • Divide cake batter evenly between prepared cake pans. Bake at 350 degrees F for 25-35 minutes, or until a toothpick inserted in the center of the cake comes out clean, or with few moist crumbs.
  • Remove the pans from the oven and allow to cool for 5 minutes before inverting them onto a cooling rack to cool completely.
  • Once cakes have cooled, use a sharp serrated knife to torte/cut each cake round in half horizontally, so that you end up with four thin cake rounds.

Pineapple Filling:

  • Add all ingredients to medium saucepan over medium heat. Stir well to combine. Cook, stirring frequently, until mixture thickens and looks "glossy", about 5-8 minutes.
  • Pour filling into a container and place a piece of plastic wrap directly on the surface of the filling. Once cooled, cover container and refrigerate until ready to use, up to one week.

Coconut Cream Cheese Frosting:

  • Beat butter and cream cheese together until smooth. Add powdered sugar and a splash of the remaining coconut milk and mix until smooth and fluffy, about 3 minutes.
  • Add a little more milk, to thin, or powdered sugar to stiffen, if needed, until you reach your desired frosting consistency.
  • Stir in coconut flakes, saving some for sprinkling on the sides and top of the cake, if desired.

Assemble:

  • Place one cake layer on serving plate. Spread half of the pineapple filling over it. Top with another cake layer, and smooth a layer of cream cheese frosting over it.
  • Top with third cake layer. Spread remaining half of the pineapple filling over it. Top with last (4th) cake layer. Frost the sides and top of the cake with coconut cream cheese frosting. Sprinkle outsides of cake with shredded coconut, if desired.
  • Refrigerate for at least 4 hours, before serving. (Tastes even better the next day!)

Notes

Make Ahead and Freezing Instructions: This is one of those cakes that really tastes better after it’s been in the fridge for at least 4 hours, and I think it tastes even better on day two!
I like to prepare the cake, pineapple filling, and coconut cream cheese frosting a few days in advance, so each element is ready for whenever I choose to assemble it. Bake the cakes, and allow to cool completely. Torte in half, then wrap each layer really well in plastic wrap and place in a ziplock freezer bag. Freeze for up to one month. Frozen cakes are easier to work with, and to frost.
The pineapple filling and coconut frosting can be made up to a week in advance, or frozen for several weeks. Allow the coconut frosting to come to room temperature before using.

Nutrition

Calories: 575kcalCarbohydrates: 85gProtein: 4gFat: 25gSaturated Fat: 18gCholesterol: 46mgSodium: 265mgPotassium: 265mgFiber: 2gSugar: 69gVitamin A: 565IUVitamin C: 4.2mgCalcium: 64mgIron: 1.5mg

Did You Make This Recipe?

Tag @TastesBetterFromScratch on Instagram with #TastesBetterFromScratch!

Have you tried this recipe?! 
RATE this recipe and COMMENT below! I would love to hear your experience.

I originally shared this recipe February 2018. Updated March 2021 with process photos and more concise instructions.

Some process photos by Nikole from The Travel Palate

Related Posts

Share Recipe

Categories

About The Author

Lauren Allen

Welcome! I’m Lauren, a mom of four and lover of good food. Here you’ll find easy recipes and weeknight meal ideas made with real ingredients, with step-by-step photos and videos.

Leave A Comment

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

Recipe Rating




Comments

  1. 5 stars
    Delicious! This cake had an amazing crumb and we added extra powdered sugar to the frosting to stiffen it. Just beware that when you double the recipe it only doubles it in the ingredients not the instructions

  2. 5 stars
    I made this cake for my mom’s 75th birthday and she loved it! The only things i changed was a little coconut extract in the icing and I toasted some coconut to coat the sides(which was her favorite part)!
    Had so.e time invested but totally worth it!!

  3. 5 stars
    This was absolutely delicious. I made it for my daughter’s 17th birthday and it was a hit. The only difference I made was instead of adding shredded coconut to the frosting, because I wanted to decorate the cake, I added coconut extract to it and then did put shredded coconut between the layers. I also doubled the recipe and then put all the batter into two 10″ cake pans.

  4. 5 stars
    Would like to try this recipe, how can I convert to either 2 or 3 – 6×2 round pans? What would the measurement be for each ingredient? Thank you!

  5. 5 stars
    I made this for my dad’s birthday and ALL of the guests raved about it! It was such a hit that I’m making it a second week in a row by request for another family event.

  6. I’ve made this cake it’s my family and friends favorite Special Occasions Cake From birthdays to Holidays it’s always the favorite of all cakes baked

  7. 5 stars
    I’ve made this cake for 2 different occasions and it was a hit both times. It’s definitely worth the extra time to make. Has anyone tried cupcakes?

  8. I have a Dolly Parton Coconut Cake Mix do you think it would work? I thought I could use coconut milk instead of water and add the extract also.

See More Comments