This moist and delicious coconut cake recipe is infused with natural flavor throughout and decorated with giant toasted coconut flakes.
Today’s post is a revamp of one of my oldest recipes. All the way back to 2015! It was one of those recipes that was good but could have been better.
My main issue with the original coconut cake recipe was that it used coconut extract. I don’t often like to use flavored extracts in my baking, as I find them to taste artificial and generally unpleasant.
Some are better than others, mind you, but I mostly stick to vanilla or try to infuse the flavors in some other way.
Coconut extract, not unlike almond extract, is very easy to overdo. It’s strong, often overpowering, and can make your baked goods taste like you’re eating suntan lotion if you’re not careful.
All Natural Ingredients
I was on a mission to redo this Coconut Cake recipe using coconut in its pure form. There is a slew of coconut products out there, so the possibilities are endless.
I’m not kidding when I say I bought every single coconut product I could find to test and experiment with. This included the following:
- Canned coconut milk
- Coconut milk powder
- Pure creamed coconut
- Coconut sugar
- Fine shredded coconut
- Medium shredded coconut
- Coconut flakes
- And some whole coconuts for good measure
All of these ingredients (except for the coconut flakes) were super easy to find in the grocery store.
For me, the first three were found in the Ethnic Foods section, the rest in the baking section. The only thing that was harder to find was the large coconut flakes, which I picked up at Whole Foods.
I didn’t end up using elements of the whole coconuts other than for the pics, but I was surprised at how easy they were to crack!
There are a bunch of videos on how to do this, and I recommend watching one to see how it’s done, but basically, all you need to do is:
- Poke out one or more of the “eyes” with a screwdriver (I was able to poke through without using a hammer)
- Drain the coconut water into a bowl
- Hammer around the axis of the coconut while turning it, and eventually a crack will start to form (this didn’t take long)
- Keep hammering until the crack is big enough that you can pry the coconut open
Coconut Tip!
If you’re cracking more than one coconut and want to keep the water, drain them into separate bowls. I didn’t know at the time, but the second coconut I cracked was a bit rotten on the inside, and I didn’t want to use the water after I saw that.
How to Make this Coconut Cake Recipe
For the actual cake recipe, I ended up using the canned coconut milk in place of regular milk, and I added medium shredded coconut to the batter.
I would have preferred to use fine shredded coconut, because I don’t love the texture of coconut, but the stuff I had was unsweetened and I wanted to add a bit more sweetness to the cake. Either combination will work though — sweetened/unsweetened, fine/medium/coarse. It’s just a matter of preference!
I didn’t end up using the coconut sugar in the final version of the recipe, because it colored the cake batter too much and I wanted a nice, white/yellow cake.
So you can use coconut sugar and it will work totally fine, the cake will just have a slightly different flavor and color. But it’s important to note that coconut sugar doesn’t actually taste like coconut at all. It’s made from the sap of the flower buds of the coconut palms, not the coconut itself. It tastes and looks similar to brown sugar.
The coconut milk powder worked extremely well in the frosting. It added an amazing flavor without affecting the texture. If you were to use canned coconut milk instead, you’d have to use a lot more of it for the flavor to come through, and it could make the frosting too soft. I highly recommend using the milk powder if you can find it!
I only used the coconut milk powder in the frosting, not the cake, but I think it would be a great way to add more flavor to the cake if you wanted to. I’d probably add a couple of Tbsp to the dry ingredients.
This pretty Coconut Cake is finished off with a simple decoration of some giant toasted coconut flakes, and I just love the look of them. I was able to buy mine already toasted, but I popped them into the oven for a bit more to enhance the color.
Toasting coconut gives it a delicious nutty flavor. It’s really a step that you don’t want to skip! It also gives it a crispier texture and smells just heavenly.
Toasting coconut is super easy and can be done in no time. Preheat your oven to 350F and spread the coconut in a thin, even layer on a large baking sheet. Pop it in the oven for 5mins, stir it around, and keep toasting until the desired color is reached. It’s important to note that it can go from beautiful golden brown to burnt very quickly, so watch it like a hawk and stir it around often. Make sure the coconut is cooled completely before using it on the cake.
This Coconut Cake recipe has the perfect hit of coconut flavor throughout without being overpowering or tasting artificial. Any coconut fan in your life is sure to love it!
Frequently Asked Questions
How can I convert this recipe?
- The recipe as-is will also work in two 8″ pans. For three 8″ pans, 1.5x the recipe. Baking time may need to be adjusted.
- To make cupcakes, all you need to do is reduce the baking time — start checking at 15mins or so. The recipe will make 18-24 cupcakes depending on size.
- For other conversions go here.
Can I make it in advance?
- The cooled cake layers can be baked ahead of time, double wrapped in plastic wrap, and frozen for up to 3 months. Take out 2-3 hours before assembly.
- The frosting can be placed in an airtight container and refrigerated for 1 week for frozen for 3 months. Bring to room temperature and rewhip before using.
- The finished cake (whole or sliced, stored airtight) can be frozen for up to 3 months.
Can I get the measurements by weight/grams?
- There is a Metric option in the recipe card. If you click it it will convert everything to grams.
- This conversion is done automatically and I cannot guarantee the accuracy but many readers have had success using the metric option for this recipe.
Tips for this Coconut Cake Recipe
- Be sure to use canned coconut milk, not the stuff in the carton, and shake it well before use. Mine was quite smooth, but it can separate a bit, so be sure to shake it!
- I would have used very fine shredded coconut in the cake batter if I had it available, but you can use any kind you like. I used sweetened, but unsweetened will work too.
- The coconut milk powder worked extremely well in the frosting, adding great flavor without affecting the texture.
- If you like, you can add a couple of Tbsps of coconut milk powder into the dry ingredients in the cake batter to enhance the flavor even more.
- I love the large coconut flakes on the outside of this cake, but if you can’t find them you can use any kind of shredded coconut.
- If you prefer to use an American buttercream, like my original coconut cake recipe used, you can use my Simple Vanilla Buttercream recipe and add coconut milk powder to it.
- I like to prepare my cake pans using Homemade Cake Release then line with parchment.
- Be sure to check my Swiss Meringue Buttercream post for tips and troubleshooting.
- See my post on Simple Syrup for tips on how to make sure your cakes stay moist.
- To help ensure your cake layers bake up nice and flat, see my Flat Top Cakes post.
Coconut Cake
Ingredients
Coconut Cake:
- 2 cups all-purpose flour
- 2 1/4 tsp baking powder
- 1/2 tsp salt
- 3/4 cup unsalted butter room temperature
- 1 1/2 cup granulated sugar
- 3 large eggs room temperature
- 1 tsp vanilla extract
- 1 cup canned coconut milk room temperature
- 1/2 cup shredded coconut sweetened, any size (I used medium)
Coconut Swiss Meringue Buttercream:
- 6 large egg whites
- 1 1/2 cups granulated sugar
- 1 1/2 cups unsalted butter cubed, room temperature
- 1/4 cup coconut milk powder
Assembly:
Instructions
Coconut Cake:
- Preheat oven to 350F. Grease and flour three 6″ cake rounds and line with parchment.
- In a medium bowl, whisk flour, baking powder, and salt until well combined. Set aside.
- Using a stand mixer fitted with a paddle attachment, cream butter and sugar on med-high until pale and fluffy (approx 3mins). Reduce speed and add eggs one at a time fully incorporating after each addition. Add vanilla.
- Alternate adding flour mixture and coconut milk, beginning and ending with flour (3 additions of flour and 2 of milk). Fully incorporating after each addition.
- Gently fold in shredded coconut.
- Bake for 35-40mins or until a toothpick inserted into the center comes out mostly clean.
- Place cakes on wire rack to cool for 10mins then turn out onto wire rack.
Coconut Swiss Meringue Buttercream:
- Place egg whites and sugar into the bowl of a stand mixer, whisk until combined.*
- Place bowl over a double boiler on the stove and whisk constantly until the mixture is hot and no longer grainy to the touch (approx. 3mins). Or registers 160F on a candy thermometer.
- Place bowl on your stand mixer and whisk on med-high until the meringue is stiff and cooled (the bowl is no longer warm to the touch (approx. 5-10mins)).
- Switch to paddle attachment. Slowly add cubed butter and mix until smooth.**
- Add coconut milk powder and whip until smooth.
Assembly:
- Place one layer of cake on a cake stand or serving plate. Top with approximately 2/3 cup of buttercream. Repeat with remaining layer and crumb coat the cake. Chill for 20mins.
- Frost the top and sides of the cake and smooth with a bench scraper. Do a swirl on the top.
- Gently press toasted coconut flakes into the sides of the cake.
Victoria Haler says
I only made the cake, but holy buckets. The BEST cake I’ve ever made. Hands down. I added some extra shredded coconut (personal preference) but otherwise followed the recipe exactly. So so so good!!
Olivia says
Hi Victoria! I’m so happy you loved it. It’s one of my faves!
Mary kay says
Can I shred the coconut flakes finer to add to the cake mixture, and do you think I can make this cake and the buttercream useing a hand mixer, I really want to make this cake, but unfortunately I don’t have a stand mixer.
Olivia says
Hi Mary Kay! Yes, you can shred them finer if you like. Making the buttercream with a hand mixer is doable but will be more challenging. See this post for my tips on that: https://livforcake.com/swiss-meringue-buttercream-recipe/
Cheryl says
If I’d rather not have the texture of the shredded coconut on the cake, how much coconut milk powder would you suggest I add to compensate for the loss of flavor?
Olivia says
Hi Cheryl! Did you mean in the cake recipe itself or on the outside? If outside you can just leave that off. For the cake recipe, it would require some experimentation to get the proper proportions and make sure the cake still has the right texture. If you want to give it a go, you can try leaving the 1/2 cup shredded coconut out and adding 1/4 cup coconut milk powder. I have never tried that myself though. For best results I recommend making the recipe as written.
Miranda Glez says
You mentioned a filling in the comments, but I don’t see the recipe to it here.
Olivia says
Hi Miranda! My bad. I was confusing this with my Raffaello Cake (https://livforcake.com/raffaello-cake/) This cake recipe doesn’t have a different filling than the buttercream but if you want to amp it up you can use the coconut custard that one. It’s delicious!
Rachel says
Would it be okay to use Baker’s Sweetened Angel Flake Coconut instead of the unsweetened shredded coconut?
Olivia says
Hi Rachel! I talk about this a bit in the post. It will make the cake sweeter, but you can reduce the sugar by 1/4 cup to counteract that if you like. It’s not necessary though.
Renee says
Can I use coconut milk in a box cake mix ?
Olivia says
Hi Renee! That should work. I’d recommend using a coconut milk that isn’t too thick though — closer to milk consistency. I also recommend this recipe if using a box cake mix: https://livforcake.com/almost-scratch-cake/
PAIGE HUBER says
I am making this for a dear friend’s wedding. Per your suggestion to someone else, I am going to double the recipe and make three layers in 9″ pans. Do you recommend that I add any support to the cake with dowels or anything? I’m worried about transporting it and want to be sure to take all precautions. I can’t wait to make it!
Thanks
Olivia says
Hi Paige! I would definitely add support especially since it’s for a wedding! Also, I recommend chilling (not freezing – the custard doesn’t freeze/thaw well) the finished cake before transport to help keep it more sturdy.
Penny says
I used coconut flour and it didn’t rise well. Otherwise I loved it!
Tried a Keto buttercream recipe and it turned out perfect.
My Pro-tip: BUY ALL NEW FRESH INGREDIENTS next time. I think some of my ingredients were not as fresh as they could have been.
Olivia says
Hi Penny! I’m so happy you loved it. Using only coconut flour would affect the rise and texture for sure. I’m glad it still worked out regardless 🙂 Agree on the fresh ingredients! I can be guilty of that sometimes too and it really does affect the end result.
Jennifer says
Hi just wondering if you could substitute buttermilk instead? I purchased it by accident. I was thinking of adding coconut emulsion to it
Olivia says
Hi Jennifer! Yes, though it will affect the flavour a bit and also make the cake slightly more dense.
Chontal says
Made this for my mother in laws birthday, huge success and loved by all
the frosting is wonderful, love the use of natural flavourings
definitely large serving sizes though, 20 people serving size easily served 30 people
Olivia says
Hi Chontal! So happy you loved it. Thanks for the tips!
Carlo's Bakery says
Excellent blog on Coconut Cake. I like the recipes and the fact that you have used all-natural flavors. Thank you for sharing.
Olivia says
Thank you!
Nana Ama says
I don’t have canned coconut milk.
I only have evaporated milk. Can I still use it
Olivia says
Hi Nana! No, I would use regular milk instead.
Diana says
Can you use desiccated coconut instead of shredded coconut in the mixture?
Olivia says
Hi Diana! Yes, that should work fine.
Jamie M says
I made this recipe for my coworkers and we all loved it! I was thinking of making cupcakes next time.. is there anything I would need to change in the recipe?
Olivia says
Hi Jamie! So glad you all loved it! For cupcakes all you need to do is reduce the baking time. Start checking at 15mins or so. The recipe should make 18-24 depending on size.
Sam says
Hi I want to make this cake but I can’t get hold of coconut milk powder any advice welcome 🤗
Olivia says
Hi Sam! You could try adding some coconut milk 1 Tbsp at a time to the frosting (no more than 4 Tbsp) or pulverise some shredded coconut and add that instead if you don’t mind a less smooth frosting (the latter would give more flavour). As a last resort, you can use coconut extract or emulsion, but I find these to taste very artificial.
Debbie says
I was planning on making a coconut cake for my birthday but I have recently been told I cannot eat shredded coconut. Can I omit the shredded coconut from the cake batter and still get a good coconut flavor?
Olivia says
Hi Debbie! Yes, just leave it out of the cake batter. There is plenty of coconut flavour in the frosting and filling 🙂
Nic says
Hi!
Would I be able to add cocoa powder to this to make it a chocolate coconut cake? If so, how much flour would I take out to sub for cocoa?
Thanks!!
Olivia says
Hi Nic! You’d need to replace some of the flour to do that. It would require some experimentation to get the right proportions. You could easily pair it with a chocolate buttercream instead though 🙂
Kate says
This cake was amazing!! I will defiantly be making it every October 28th for my daughter’s birthday. I found coconut milk powder at an Asian market. Thank you!!
Olivia says
Hi Kate! I’m so glad you loved it 🙂
Christina says
Hi there,
If I wanted to make 6 layers would doubling the recipe be ok and would the cake be sturdy enough?
Olivia says
Hi Christina! You can double the recipe no problem but that would be a very tall cake so you’d need to stabilize it somehow. If you want a larger cake I’d recommend doubling the recipe and using three 9″ cake pans instead.
Christina says
I’m making a celebration tall 6 inch cake. But thought coconut would suit the “Frozen” theme. Can I stabilise it with 3-4 wooden dowels and a thin cake board At the 3rd layer? Also can I bake 2 batches of the cake batter at once?
Olivia says
Definitely do the dowels and the cake board at the 3rd layer. I think that should work fine. You should be able to bake them all at once if your oven can handle it. It might take longer though and you will likely need to rotate the pans to make sure they bake evenly.
Christina says
Great thank you for the tips!
Saff says
Hi,
This recipe looks amazing! I can’t wait to try it
I don’t really use cups measurements. For this recipe, would you know how many grams are in the cup you use?
Also, if I can’t find sweetened shredded coconut, should I add more sugar or will that affect the batter?
Thanks!
Olivia says
Hi Saff! There is a metric converter below the list of ingredients. You can add a bit more sugar if you like but I dont think it will be necessary. It’s already quite a sweet cake!