An old-fashioned coconut cake recipe, made with a soft, 2-layer vanilla cake and iced with an old-fashioned frosting straight from my grandmother’s cookbook, and covered in sweet coconut shavings.
A classic, staple cake recipe, file this one away with other favorites like my tried & true Pound Cake, Tres Leches Cake, and German Chocolate Cake!
The Softest Coconut Cake
Those of you who follow the blog regularly are familiar with a lot of my grandmother’s recipes. Maybe you’ve tried her hot milk cake, potato candy, or apple dumplings (to name just a few!). She also makes a killer Coconut Cake with a unique, silky white frosting. While she was just as happy to share that recipe with me as all of the others, I was a little surprised to learn that she actually doesn’t make her coconut cake from scratch.
What! I had to double-check with her, but nope, my grandmother’s beloved, amazing coconut cake recipe actually starts with a box of yellow cake mix. The icing is from-scratch, yes, but not the base.
While I still look forward to that cake when she has dinner, you know I couldn’t start a recipe with cake mix and feel good about myself. So, after years of testing cake recipes, I finally developed a super soft, super moist, sturdy and stable cake with a tender, melt-in-your-mouth crumb that works as the perfect base for this coconut cake recipe.
(If it seems familiar to you, it’s because it first debuted as my gender reveal cupcakes.)
Frosting
So, the coconut cake portion might be my invention, but the crowning glory is still my grandmother’s frosting.
This frosting is quite different from your standard buttercream or (my personal favorite) cream cheese frosting. It’s not the same as ermine frosting, though it is similar. This coconut cake frosting is made with shortening in addition to butter (which gives it that beautiful, stark white color), flour (I recommend heat treating your flour to be safe), and granulated sugar. It requires being beaten for at least twelve minutes to ensure that all of the grittiness from the sugar has been dissolved. It’s a light and delicate frosting with a very smooth texture that pairs perfectly with the coarse outside coating of shredded coconut.
Quite simply, it is absolutely delicious.
For those of you not completely convinced, I did include some other frosting options at the bottom of the recipe card below!
How Do You Cover a Cake with Coconut?
See my photo above or my video in the recipe below for a visual! Sprinkle your cake with coconut shreds first, and then take a large handful of shredded coconut in your hands. Press this coconut gently but firmly up the sides of your cake to press it into your frosting. Repeat until the cake is completely covered in shredded coconut.
How Long is Coconut Cake Good For?
This recipe will keep for several days in an airtight container at room temperature or up to a week in an airtight container in the refrigerator. Do store in an airtight container to keep the cake from drying out!
Can You Freeze Coconut Cake?
Absolutely! Be sure to cover completely and securely and your cake will keep in the freezer for several months.
Enjoy!
More Classic Cakes You Might Like:
Let’s bake together! Follow me on my YouTube channel to be the first to see when I share new videos! I’ve already uploaded over 200 recipe videos that you can watch for free!

Coconut Cake Recipe
Ingredients
- 6 Tablespoons unsalted butter softened to room temperature
- 2/3 cup canola oil or vegetable oil 160ml
- 2 cup granulated sugar 400g
- 1 cup sour cream 240g
- 2 teaspoons vanilla extract
- ½ tsp coconut extract optional, if not using then use 1 Tbsp vanilla
- 2 3/4 cup all-purpose flour 344g
- 1 teaspoon baking powder
- 1/2 teaspoon baking soda
- 1 teaspoon salt
- 6 large egg whites room temperature (½ cup or 122g), make sure there is not so much as a teeny tiny bit of yolk in with the egg whites or they will not whip properly.
FROSTING
- 3/4 cup salted butter softened (170g)
- 9 Tablespoons shortening I use Crisco
- 1 1/2 cups granulated sugar 300g
- 4 Tablespoons all-purpose flour because of recent risk of flour contamination, I recommend heat-treating your flour before using (make sure to let it cool completely before using
- 1 cup coconut milk or you can use regular whole milk which is what my grandmother uses (235ml)
- 3/4 teaspoon vanilla extract
- 18 oz frozen fresh shredded coconut thawed I’ve not had a lot of luck finding frozen coconut recently. You can substitute dried sweetened coconut, found in the baking section, instead. I usually only need about 3-4 cups and sometimes I will briefly pulse the shreds in the food processor to make them a little less stringy, though this is not required.
Recommended Equipment
Instructions
- Preheat oven to 350F (175C) and grease and flour the sides of two 8” cake pans (or spray with baking spray) and line the bottom with parchment paper.
- In a large bowl (or in stand mixer), use an electric mixer to beat together butter, oil, and sugar. Beat until ingredients are creamy and well-combined.
- Scrape down the sides and bottom of the bowl and then stir in sour cream, vanilla extract, and coconut extract.
- In a separate bowl, whisk together your flour, baking powder, baking soda and salt.
- Using a spatula and stirring by hand (I don’t recommend using an electric mixer here as you can accidentally over-mix your ingredients, resulting in a dense, dry cake), stir the dry ingredients into the wet (butter/sugar mixture) until completely combined. Scrape the sides and bottom of the bowl to ensure that all of your ingredients are well-combined. Set aside.
- In a separate clean, dry, and completely grease-free bowl, place your egg whites in a completely clean, dry, and grease-free bowl. Using an electric mixer, beat on high-speed until stiff peaks form.
- Using a spatula, gently fold your egg whites into your batter. While you do not want to over-mix this batter, it is important that the egg whites are completely combined. Use a gentle hand and stir until you can’t see any streaks of egg whites in the batter.
- Divide batter evenly into prepared cake pans.
- Bake on 350F (175C) for 27-30 minutes or until a toothpick inserted in the center comes out mostly clean or with a few moist crumbs (no wet batter).
- Allow cakes to cool completely before frosting.
Frosting
- Combine butter, shortening, and granulated sugar in the bowl of a stand mixer fitted with a paddle attachment. Beat on medium-speed until creamy and well-combined.
- Add flour, one Tablespoon at a time, beating on medium speed for 15 seconds after each addition. Scrape down sides and bottom of bowl and beat again for 20 seconds.
- Add coconut milk and vanilla extract and stir to combine
- Turn mixer speed up to medium-high and beat for 6 minutes. Scrape down the sides and bottom of the bowl and beat again at least another 6 minutes.
- Test the frosting by tasting or rubbing between your fingers, it should not be gritty or grainy at all. If it still is, carefully scrape the sides and bottom of your mixing bowl again and stir again on high speed until no longer grainy.
- Once your cakes are cool, ice them by placing one layer on your serving dish and applying an even layer of frosting to the top. Sprinkle liberally with shredded coconut.
- Place your second layer on top of the first and apply an even layer of frosting around the top and sides of the cake. Sprinkle coconut over the top of the cake, and then use your hands to press coconut all around the sides.
Notes
A Note on the Frosting:
For me, coconut cake just wouldn't be coconut cake without this old-fashioned frosting. However, I know it's not for everyone. This cake could also be covered with any of these frostings below, just make sure to cover with coconut shavings!- Cream Cheese Frosting
- Vanilla Frosting
- Swiss Meringue Buttercream
- Chocolate Frosting (of course the cake won't have that pristine white appearance outside, but I love the chocolate/coconut pairing!).
What To Do With Those Leftover Egg Yolks?
Here are some great recipes that use a lot of egg yolks!Nutrition

Treat yourself to a FREE E-BOOK!
I originally published this recipe 04/25/2019. I have updated the cake portion of the recipe and photos and added a video 10/18/2019. One of the original photos can be seen above (on my great great great grandmother’s crystal cake stand).
Michael Dee says
Hi there, this cake reminds me of my favorite cake, any chance you could try ‘pastelle de tres leches’. Your recipes are always the best and I use them often. Thanks
Sam says
Hi Michael! I actually have a tres leches cake. 🙂
Dzenana says
Peeerfect!
roberta says
Hi, do you think i could add coconut into the actual cake to make the flavour stonger? if so, how much? thanks!
Sam says
Hi Roberta! It may make the texture a little bit funny, but without having tried it I can’t say how much you would need. If you experiment with it, I would love to know how it turns out for you. 🙂
barb says
H There!
Can this cake be iced and stored over night in the fridge or should it stay on the counter? Can I use toasted coconut for the outside decor?
Sam says
Hi Barb! You can leave it at room temperature, covered tightly so it doesn’t dry out. You could use toasted coconut if you’d prefer. 🙂
COTTON CANDY says
Hi I am enjoying your recipe but in making my cakes can I use buttermilk instead of regular milk
Sam says
It should probably work in this cake. 🙂
F.L. says
Hello,
Is it alright to use Swan’s Down cake flour as a substitute for All-Purpose flour?
Sam says
You can use cake flour here if you’d like. Be sure to adjust the amount as you would for any substitution. 🙂
F.L. says
Awesome! Thank you so much! I may just use all-purpose flour, so that I don’t destroy the cake! 😊
Sam says
All purpose flour works very well here. I like to make my recipes with ingredients most people have on hand. Enjoy! 🙂
F. L. says
Hello,
My mixer does not have a paddle attachment and I am having a difficult time finding a mixer that does. Is that a deal-breaker for making the frosting? Thank you so much!
Sam says
If you have another attachment that is similar you could use that but you don’t want to use anything like a whisk or a dough hook. They aren’t going to work quite the same. You could do it with a hand mixer if you don’t have a suitable attachment for your stand mixer. I hope this helps. 🙂
F. L. says
Great! Thank you so much!
Laura Johnson says
Anything I should adjust to make these into cupcakes? Thanks
Sam says
Hi Laura! The temperature will stay the same but typically cupcakes only need to bake for around 17 minutes. I wouldn’t fill the liners more than 3/4 of the way full, max. I hope that helps! 🙂
Althea W says
The recipe seem overwhelming aw written but it was good using my KitchenAid. The video was a plus! Made it for hubby’s birthday and it was great. Very rich and dense so you only need a little piece to be satisfied. I enjoy making the frosting and it taste surprisingly delicious since I never seen Crisco used in frostings. Will certainly make it again in the future.
Sam says
I am so glad you enjoyed it so much, Althea! 🙂
Kennedy says
Hey! I love this cake batter so much, and I want to use it in my wedding cake, as I’ll be making my own. Do you feel it’s a sturdy enough cake to use in a tiered cake?
Sam says
Hi Kennedy! This cake is pretty sturdy so it should hold up pretty well. 🙂
Teal says
If I used all butter in the frosting would it mess it up
Sam says
Using all butter should work fine here. 🙂
Bobbi Priddy says
I have not made this cake yet but my Southern Mother in law taught me the trick for the best ever coconut cake. you need to punch holes in the cooled layers and drizzle on some coconut milk and let it absorb into the cake. Of course, you can’t overdo it and make the layers soggy. Of course she didn’t have exact amounts
just the technique.
Sam says
That sounds like an excellent idea, Bobbi! 🙂
Charlene R Hicks says
Great recipe!!
Sam says
Thank you so much, Charlene! 🙂
KAY says
So good! Worth all the extra time and love it needs. Your videos are so helpful…I did use the bakers angel flake coconut and it seemed just fine.
Sam says
Thank you so much, Kay! I am so glad you enjoyed the video. I am so glad you enjoyed it so much. 🙂
Mimi says
Do you use Sweetened Coconut Flakes or Unsweetened?
Sugar Spun Run says
Hi, Mimi! I used sweetened coconut flakes. 🙂
Mimi says
Thanks