I used to think coconut cake just wasn’t my thing.
Too sweet. Too dense. Too… coconutty in a fake, artificial way. But then I tried this recipe. And honestly? It completely changed everything I thought I knew about coconut cake.
Now it’s one of my absolute favorites. And I have a feeling it’s about to become one of yours too.

What makes this cake so special? It starts with super soft, moist cake layers built on a really smart combination of ingredients. Then we pile on a rich, dreamy coconut cream cheese frosting. And finally, we press shredded coconut all over the outside for that gorgeous, textured finish that makes everyone stop and stare.
It looks fancy. It tastes incredible. And it’s way more doable than you’d think.
Let me walk you through exactly how it’s made.
What Makes This Coconut Cake So Good
Before we get into the kitchen, let me tell you why this recipe works. Because understanding the “why” makes you a better baker. Trust me on this.
The flavor combination is really clever. We use both coconut extract and full-fat canned coconut milk. The extract gives you that bold, direct coconut punch. The canned coconut milk adds a softer, more authentic depth. Plus, it’s loaded with fat. And fat means moisture. And moisture means a cake that stays tender for days.
We use the creaming method. Butter, oil, and sugar get beaten together for a couple of minutes. That process creates tiny air pockets in the batter. Those pockets expand in the oven and give the cake its light, fluffy lift. It’s basically science working in your favor.

We combine butter and oil. Butter brings the flavor. Oil brings the moisture. Neither one can do the job alone. Butter solidifies in the fridge and can make a cake feel dry after a day or two. Oil stays liquid at room temperature, so the crumb stays soft and tender much longer. I always reach for canola oil here because the flavor is completely neutral.
We fold the dry ingredients by hand. This is the step most people skip. And it’s the reason so many homemade cakes turn out tough and dense. Overmixing develops gluten. Too much gluten makes your cake chewy in the wrong way. Folding gently with a rubber spatula at the end? That’s what keeps the texture soft and delicate.
Recipe At A Glance
| Prep Time | 30 minutes |
| Cook Time | 33 minutes |
| Total Time | 1 hour 3 minutes |
| Servings | 10 |
| Difficulty | Medium |
Ingredients
| Ingredient | Quantity | Notes |
|---|---|---|
| All-purpose flour | 2¼ cups (280 g) | Sift before using |
| Cornstarch | ¼ cup (30 g) | Also called cornflour |
| Baking powder | 1 tbsp | Make sure it’s fresh |
| Salt | ½ tsp | Skip if using salted butter |
| Unsalted butter (Cake) | ½ cup (113 g) | Room temperature |
| Unflavored vegetable oil | 5 tbsp (66 g) | Canola oil recommended |
| White granulated sugar | 1⅔ cups (332 g) | Sweetness and structure |
| Large eggs | 3 | Room temperature |
| Vanilla extract (Cake) | 1½ tsp | Enhances overall flavor |
| Coconut extract (Cake) | 1 tsp | Or ½ tsp almond extract |
| Canned coconut milk | 1¼ cups (275 g) | Shake the can well first |
| Shredded coconut (Cake) | 1 cup (80 g) | Dried and unsweetened |
| Unsalted butter (Frosting) | 1 cup (225 g) | Room temperature |
| Icing sugar | 4½ cups (570 g) | Also called powdered sugar |
| Cream cheese | 1½ cups (335 g) | Cold, firm block type only |
| Vanilla extract (Frosting) | 1½ tsp | Balances the sweetness |
| Coconut extract (Frosting) | 1 tsp | Or ½ tsp almond extract |
| Shredded coconut (Decoration) | 1½ cups (120 g) | Dried and unsweetened |
How To Make Coconut Cake
Step 1: Prep Your Pans and Oven
Start by preheating your oven to 320°F (160°C) with the fan on. No fan? Bump it up to 350°F (175°C).
Grab two 8-inch round cake pans. Grease them well with butter or cooking spray. Then cut out a circle of parchment paper and press it into the bottom of each pan.
Coconut cake tends to stick. The parchment paper is your insurance policy. Don’t skip it.
Step 2: Mix the Dry Ingredients
Grab a medium bowl. Sift in your flour and cornstarch together. The cornstarch is doing something really smart here. It lowers the overall protein content of the flour. That mimics the effect of cake flour and gives you a softer, more delicate crumb.
Add in the baking powder and salt. Give it all a good whisk until everything is evenly combined. Set the bowl aside.

Step 3: Cream the Butter, Oil, and Sugar
In a large mixing bowl, add your room-temperature butter, oil, and sugar. Beat together using a hand mixer or stand mixer on medium speed for about two minutes.
You’ll know it’s ready when the mixture turns noticeably paler and looks light and fluffy. Don’t rush this step. Those air pockets are doing real work.
Step 4: Add the Eggs and Extracts
Add your eggs one at a time. Mix for about 15 seconds between each one. Scrape down the sides of the bowl as you go.
Adding eggs one at a time helps them fully incorporate into the batter. Dumping them all in at once? That’s how you end up with a lumpy, separated mess.
Once all the eggs are in, pour in your vanilla extract, coconut extract, and half a cup of the canned coconut milk. Mix until just combined. Then put your electric mixer away. You’re finishing this batter by hand.
Step 5: Alternate the Dry Ingredients and Coconut Milk
Add half of your dry ingredient mixture to the bowl. Fold gently with a rubber spatula until the flour just disappears. No more, no less.
Pour in the remaining ¾ cup of coconut milk. Fold again until combined.
Add the rest of the dry ingredients. Fold carefully. Stop the moment the batter looks uniform. Resist the urge to keep mixing.
Step 6: Fold In the Shredded Coconut
Add your 1 cup of unsweetened shredded coconut. Fold it in gently with the spatula until it’s evenly spread through the batter.

Divide the batter evenly between your two prepared pans. Bake for 33 minutes, or until a toothpick inserted into the center comes out clean.
Let the layers cool in the pans for 15 to 20 minutes, then turn them out onto a wire rack. Let them cool completely before you even think about frosting.
A warm cake and frosting is a bad combination. The frosting will slide right off. Patience is everything here.
Step 7: Make the Coconut Cream Cheese Frosting
Beat your room-temperature butter in a large bowl until light and fluffy.
Add the icing sugar in three batches, mixing on low speed each time to avoid a powdered sugar explosion in your kitchen. Mix each batch fully before adding the next.
Add the cold, firm cream cheese, along with the vanilla extract and coconut extract. Mix just until smooth.
Here’s the key detail: don’t over-mix once the cream cheese goes in. Over-mixing cream cheese frosting makes it runny and difficult to work with. Mix until smooth, then stop.
Decorating the Cake
This is the part I genuinely look forward to every single time.
Start by placing your first cake layer on a serving plate or cake stand. If you want a cleaner look, you can use a serrated knife to gently shave the caramelized outer edges off both layers. This is purely optional. But it gives the cake a beautiful, stark white interior when sliced. Very dramatic. Very satisfying.
Spoon a generous amount of frosting onto the center of the first layer. Spread it out to the edges with an offset spatula. Place the second layer on top and press down gently.
Add a big dollop of frosting to the top. Spread it out and push the excess down the sides. Use your spatula to coat the entire outside of the cake in an even layer. A tall cake scraper helps get the sides really smooth if you want that clean, professional look.
Now for the fun part.
Take your 1½ cups of shredded coconut and grab a small handful. Press your palm gently against the side of the cake. The coconut sticks like a dream to soft frosting. Work your way around the entire cake, pressing as you go. Sprinkle a generous layer over the top too and pat it down lightly.
No bare spots. That’s the goal.
Sweep any fallen coconut off the stand, step back, and admire what you just made.
Frequently Asked Questions
How do you store coconut cake properly?
This cake can sit at room temperature for about half a day. But because the frosting contains cream cheese, it must go in the refrigerator if you’re storing it overnight. Pop it inside a large airtight container to prevent it from drying out. It keeps well for several days.
Can I turn this into a sheet cake?
Absolutely. A standard 9×13 inch baking pan works perfectly. Adjust the baking time and start checking for doneness around the 35-minute mark. Good news: you’ll only need about half the frosting for a sheet cake.
Should I use sweetened or unsweetened coconut?
Always unsweetened. The batter and frosting already contain a lot of sugar. Adding sweetened coconut on top of that tips the whole thing into overwhelmingly sweet territory. Unsweetened shredded coconut gives you the texture and flavor without the sugar overload.
Can I use desiccated coconut or large coconut flakes?
You can, but the texture won’t be quite the same. Desiccated coconut is cut much finer and won’t give you that same satisfying, slightly chewy bite. Large flakes look beautiful but don’t press into the frosting quite as easily. Shredded or threaded coconut is the sweet spot for this recipe.
Why do ingredients need to be at room temperature?
Cold butter won’t cream properly. Cold eggs can cause the batter to curdle and separate. When your ingredients are at room temperature, they blend together smoothly and create those all-important air pockets during the creaming stage. The result is a lighter, fluffier, more tender cake. It’s worth the extra time to let everything sit out beforehand.

The Ultimate Moist Coconut Cake
Ingredients
Cake Layers
- 2 1/4 cups all-purpose flour 280g, sifted
- 1/4 cup cornstarch 30g
- 1 tbsp baking powder fresh
- 1/2 tsp salt
- 1/2 cup unsalted butter 113g, room temperature
- 5 tbsp unflavored vegetable oil 66g, canola recommended
- 1 2/3 cups white granulated sugar 332g
- 3 large eggs room temperature
- 1 1/2 tsp vanilla extract
- 1 tsp coconut extract or 1/2 tsp almond extract
- 1 1/4 cups canned coconut milk 275g, shaken well
- 1 cup shredded coconut 80g, dried and unsweetened
Coconut Cream Cheese Frosting & Decoration
- 1 cup unsalted butter 225g, room temperature
- 4 1/2 cups icing sugar 570g, powdered sugar
- 1 1/2 cups cream cheese 335g, cold, firm block type
- 1 1/2 tsp vanilla extract
- 1 tsp coconut extract
- 1 1/2 cups shredded coconut 120g, dried and unsweetened for decoration
Instructions
- Preheat oven to 320°F (160°C) fan-forced or 350°F (175°C) no fan. Grease two 8-inch pans and line the bottoms with parchment paper.
- Sift flour and cornstarch into a medium bowl. Whisk in baking powder and salt. Set aside.
- Cream room-temperature butter, oil, and sugar on medium speed for 2 minutes until pale and fluffy.
- Add eggs one at a time, mixing for 15 seconds between each. Add vanilla, coconut extract, and 1/2 cup coconut milk. Mix to combine.
- By hand, alternate folding in the dry ingredients and the remaining 3/4 cup coconut milk using a spatula. Do not overmix.
- Fold in 1 cup of shredded coconut. Divide batter between pans and bake for 33 minutes. Cool completely.
- Beat frosting butter until fluffy. Add icing sugar in batches. Mix in cold cream cheese and extracts until just smooth.
- Frost the cake layers and coat the exterior. Press 1.5 cups of shredded coconut into the sides and top of the frosting.










