Coconut Layer Cake

title 1
Coconut Layer Cake
⏱️ cook time 1 hour 15 minutes (plus 1 hour inactive cooling time)
🍽️ servings 8
⚡ Difficulty medium

intro

Tender, fluffy vanilla-coconut cake layers stacked with tangy coconut cream cheese frosting, coated in sweet shredded coconut for a timeless, celebratory treat.

Ingredients

All-purpose flour 360 grams (3 cups)
Granulated sugar 400 grams (2 cups)
Unsalted butter (for cake) 226 grams (1 cup / 2 sticks, softened)
Large eggs 4 count, room temperature
Full-fat canned coconut milk (for cake) 240 ml (1 cup)
Baking powder 2 teaspoons
Fine table salt 1 teaspoon
Pure vanilla extract 2 teaspoons
Sweetened shredded coconut 340 grams (3 cups)
Block-style cream cheese (for frosting) 226 grams (8 oz, softened)
Unsalted butter (for frosting) 113 grams (1/2 cup / 1 stick, softened)
Powdered sugar 480 grams (4 cups, sifted)
Coconut extract 1 teaspoon

Steps

1

Prep oven and pans

Preheat your oven to 175°C (350°F). Grease two 9-inch round cake pans with butter, line the bottom of each with a circle of parchment paper, and lightly dust the sides with flour, tapping out any excess. This creates a non-stick surface to prevent cakes from tearing when removed from pans.

Step 1
step1:Prep oven and pans
2

Mix cake batter

In a large mixing bowl, whisk together 360g all-purpose flour, 2 tsp baking powder, and 1 tsp fine salt to evenly combine. In a stand mixer fitted with a paddle attachment, beat 226g softened unsalted butter and 400g granulated sugar on medium speed for 3 minutes until pale and fluffy. Add 4 room-temperature eggs one at a time, beating for 30 seconds after each addition, then stir in 2 tsp vanilla extract. Alternate adding the dry flour mixture and 240ml full-fat coconut milk in 3 batches, starting and ending with dry ingredients, mixing on low speed only until no dry flour remains—do not overmix to avoid tough cake.

Step 2
step2:Mix cake batter
3

Bake cake layers

Divide the batter evenly between the two prepared pans, smoothing the tops with an offset spatula for even rising. Bake on the middle oven rack at 175°C (350°F) for 22-25 minutes, until a toothpick inserted into the center of each cake comes out with 1-2 moist crumbs attached. Remove from the oven and let cakes cool in the pans for 10 minutes, then turn out onto a wire rack to cool completely to room temperature (about 1 hour) before frosting.

Step 3
step3:Bake cake layers
4

Make coconut frosting

In a clean stand mixer bowl, beat 226g softened block cream cheese and 113g softened unsalted butter on medium speed for 2 minutes until completely smooth with no lumps. Turn the mixer to low speed and gradually add 480g sifted powdered sugar, beating until just combined, then increase speed to medium and beat for 1 minute until light and fluffy. Stir in 1 tsp coconut extract and 40g (1/2 cup) of the sweetened shredded coconut, mixing until evenly distributed.

Step 4
step4:Make coconut frosting
5

Assemble cake layers

Place one fully cooled cake layer on a cake stand or serving plate. Spread 1 cup of the coconut frosting evenly over the top of the layer, leaving a 1/4-inch border around the edge to prevent frosting from oozing out when the top layer is added. Place the second cake layer on top, pressing gently to secure it. Use the remaining 2 cups of frosting to cover the top and sides of the entire cake in a smooth, even coat, using an offset spatula to create a clean, smooth finish.

Step 5
step5:Assemble cake layers
6

Coat with coconut

Take the remaining 300g (2.5 cups) sweetened shredded coconut and press it gently into the frosting on the top and sides of the cake, covering every exposed frosted surface evenly. Once fully coated, chill the cake in the refrigerator for 20 minutes to set the frosting before slicing and serving.

Step 6
step6:Coat with coconut

Tips

1.Always ensure cake layers are fully cooled to room temperature before frosting; warm layers will melt cream cheese frosting and cause layers to slide or separate.
2.Use block-style cream cheese (not whipped, tub-style spreadable cream cheese) for frosting to avoid a runny consistency that will not hold its shape on the assembled cake.
3.For added depth of flavor, toast ½ cup (40g) of shredded coconut in a dry skillet over medium heat for 3 minutes until golden, then sprinkle over the cake top for a nutty, textural contrast.

✨ You May Also Like

Desserts & Baking
🍜 Italy

Creamy, coffee-kissed classic Northern Italian no-bake dessert, with layers of rum-spiked mascarpone cream, soft ladyfingers, and a rich cocoa dusting.

⏱️ 4 hours 3Desserts & Baking ★ 4.7
Desserts & Baking
🍜 France

Flaky, shatteringly crisp, buttery French croissants with golden exteriors and soft, airy layered interiors, perfect for pairing with coffee for a special morning treat.

⏱️ 12 hours Desserts & Baking ★ 4.5
Desserts & Baking
🍜 United States

Warm, spiced baked apples topped with a fluffy golden biscuit crust, this cozy dessert pairs perfectly with vanilla ice cream for cool-weather comfort.

⏱️ 55 minuteDesserts & Baking ★ 4.6
Desserts & Baking
🍜 United States

A star-spangled classic American blueberry pie with buttery flaky crust and bright sweet-tart filling, perfect for summer patriotic gatherings.

⏱️ 1 hour 25Desserts & Baking ★ 4.7
Desserts & Baking
🍜 United States

A beloved no-bake regional Maine candy with a chewy coconut-potato center coated in rich dark chocolate, a New England holiday staple since the 1870s.

⏱️ 2 hours 3Desserts & Baking ★ 4.8
Desserts & Baking
🍜 France

Luxuriously creamy, floral frozen custard made with aromatic Tahitian vanilla beans, boasting a smooth, rich texture that melts slowly on the tongue.

⏱️ 3 hours 3Desserts & Baking ★ 4.5

Coconut Layer Cake:Frequently Asked Questions

1.Can I use light canned coconut milk instead of full-fat for the cake layers? ▾
I don’t recommend it! Full-fat canned coconut milk has the rich, creamy fat and concentrated coconut flavor that keeps these layers tender and fragrant. Light coconut milk is heavily watered down, which will produce drier, less flavorful, slightly tough layers. If it’s all you have, stir 2 tablespoons of melted unsweetened coconut cream per cup of light milk to boost the fat content first.
2.Why does the shredded coconut coating slide off my frosted cake instead of sticking? ▾
This almost always happens if you wait too long to apply the coconut after frosting. Cream cheese frosting forms a thin, dry crust after 10–15 minutes at room temp that can’t grip flakes. Right after spreading the final smooth coat of frosting, hold the cake over a baking sheet and gently press handfuls of coconut into the sides and top; reuse any fallen flakes for quick touch-ups.
3.How far in advance can I make this layer cake for a celebration, and how should I store it? ▾
You can fully assemble the cake 2 days ahead for the best balance of fresh flavor and easy prep—store it in a covered airtight cake carrier in the fridge, since the cream cheese frosting is perishable. Don’t leave it out at room temperature for more than 2 hours total. Let slices rest 15 minutes before serving to let the layers soften to their ideal fluffy texture.

Comments (17)

2 days ago

OMG this coconut cake was the star of our Sunday family dinner! I was nervous because I’ve never made a layered cake that wasn’t from a box mix, but the instructions were so straightforward even I couldn’t mess it up. My kids begged for second slices before they even finished their first! The coconut flavor is perfectly balanced, not cloyingly sweet or overpowering. 10/10 will be making this again for our neighborhood potluck next month.

yesterday

Wait did you use sweetened or unsweetened shredded coconut for the outer coating? I’m making this for a work potluck Friday and don’t want to mess it up!

2 hours ago

Great question! We recommend sweetened shredded coconut for the coating for that classic nostalgic flavor and texture, but unsweetened works great if you prefer less sugar! Just make sure to press it gently into the frosting so it sticks well.

1 week ago

Made this for my wife’s birthday and she said it’s better than the fancy bakery cake we got for our anniversary! I’m usually a savory cook, not big on baking, but the medium difficulty rating didn’t scare me off. Took the full 1hr15 to bake, plus the cooling time which I almost skipped (glad I didn’t, the frosting would’ve slid right off!). SO good, even my father-in-law who hates coconut asked for the recipe.

3 days ago

Wait a second—does this hold up well if I make it the night before an event? I have a birthday party Saturday and won’t have time to bake day-of between soccer drop-offs and work.

2 days ago

Absolutely! Just store it covered tightly in the fridge after assembling, and take it out 30 minutes before serving to let it come to room temp. The coconut actually gets a little more moist and flavorful when it sits overnight, it’s a great make-ahead dessert!

5 days ago

Game changer! I swapped the regular vanilla extract for coconut extract to amp up the flavor even more, and it was chef’s kiss. My only tiny note is that my layers took about 5 minutes longer to bake than the recipe said, probably because my oven runs a little cool. Don’t skip the cooling time, y’all—I tried to rush a layer once and it cracked when I flipped it.

3 days ago

Ooh the coconut extract swap sounds genius! Did you add it to the cake layers, the frosting, or both?

2 days ago

I added a teaspoon to both the cake batter and the buttercream! It didn’t make it taste fake at all, just extra coconutty, exactly what I wanted.

2 weeks ago

I made this with a 1:1 gluten free all purpose flour blend and it turned out perfectly! I was worried the texture would be gritty or dense, but it was light and fluffy just like the regular version. All my friends at book club had no idea it was gluten free until I told them. Will be adding this to my regular dessert rotation!

yesterday

Tried making this in my tiny dorm oven and it actually worked! I halved the recipe to make a 2-layer small cake for my roommate’s birthday, and everyone on our floor stopped by to grab a bite. Only thing I messed up was I didn’t have enough coconut for the sides, so I just covered the top, still slapped tbh.

30 minutes ago

Halving it for a smaller cake is such a smart call! I never thought to do that for my small family, I always end up with way too much leftover cake.

1 week ago

This tastes exactly like the coconut cake my own mama used to make for Easter every year! I’ve been chasing that flavor for decades after I lost her recipe card in a move. The sour cream in the frosting? *Chef’s kiss* that’s the secret ingredient I forgot she used. Brought tears to my eyes when I took the first bite.

5 days ago

This makes our whole day to hear, Maggie! That sour cream buttercream is such a classic touch for coconut cake, it adds the perfect little tang to cut the sweetness. We’re so glad this brought back such sweet memories for you.

3 days ago

Oh my gosh I had the same experience! My grandma made a coconut cake just like this for every family holiday, and the first bite hit me like a wave of nostalgia. So worth the effort.

5 minutes ago

Quick question—can I use frozen shredded coconut instead of the fresh or bagged stuff from the baking aisle? I have a ton in my freezer from a recent tropical smoothie kick and don’t want it to go to waste.

just now

Frozen shredded coconut works perfectly! Just thaw it completely and pat it dry really well with paper towels before you use it, so the extra moisture doesn’t make your frosting runny. It’ll taste just as great as fresh!

3 days ago

Brought this to a summer BBQ last weekend and people were literally scraping the cake plate clean. I was worried it would be too heavy for a hot day, but the light layers and not-too-sweet frosting were perfect. I added a little lime zest to the frosting to give it a tiny tropical twist, highly recommend that hack if you want a little extra zing.

2 hours ago

Full transparency: I messed up the first batch of frosting because I added the butter too early when it was still melted. Oops! But I remade it, let the butter come to proper room temp like the recipe said, and it came out so fluffy and perfect. Don’t be like me, read the instructions all the way through first, folks!

30 minutes ago

Oh I did the EXACT same thing last week! I thought room temp meant soft in the microwave, turns out that just melts it and makes the frosting runny. Second try was perfect though, best cake I’ve ever made for my wife.

1 week ago

I’m not the most confident baker, so I was intimidated by the medium difficulty rating, but this was so doable! The only part that stressed me out was stacking the layers evenly, but I just used a little extra frosting to fill in the gaps and you couldn’t even tell. My husband said it’s the best dessert I’ve ever made, win for me!

5 days ago

That’s what we love to hear! Don’t stress if your layers aren’t perfectly even—that extra frosting to fill gaps is exactly what the pros do too, no one will notice once the coconut coating goes on. So happy your husband loved it!

3 days ago

Same! I thought stacking layers would be impossible, but the trick of putting a little dollop of frosting on the plate first to hold the bottom layer in place made it so much easier. Mine looked like it came from a bakery, I was so proud.

2 weeks ago

I made this for my vintage recipe club meeting this month and everyone was raving! I love that it’s not one of those overly trendy, fussy cakes—it’s just a classic, solid coconut cake that tastes like childhood. I paired it with a little pineapple compote on the side for anyone who wanted an extra fruity kick, and it was chef’s kiss.

yesterday

Made this for the work potluck I was asking about earlier! I followed the tip to use sweetened coconut for the coating, and everyone was blowing up my work chat asking for the recipe. Only complaint is that there were zero leftovers, I didn’t even get a second slice myself!

2 hours ago

That’s the best kind of problem to have when you bring a dish to a potluck! We’re flattered it was such a hit—next time maybe hide a slice for yourself before you set it out, we won’t tell 😉

3 days ago

Okay I need to be real, I almost skipped this because the 1hr15 cook time plus cooling time felt like forever with four kids running around. But I baked the layers during nap time, made the frosting after dinner, and assembled it the next day, and it was totally manageable! Way less stressful than I thought it would be breaking it into steps.

2 days ago

Breaking it into steps is such a smart move! I did the same thing when I made it—baked layers one night, frosted the next, and it was so much less chaotic than trying to do it all in one go.

yesterday

We’re so glad you found a rhythm that worked for you! Breaking cake making into steps over a day or two is a pro hack for busy schedules, and the layers actually stay moister when they’re wrapped tight in the fridge overnight before frosting. Win win!

5 days ago

I made this for my hiking group’s post-trail potluck last weekend, and it was the perfect pick-me-up after a 6 mile hike! It’s rich enough to feel like a treat, but not so heavy that we felt sluggish after eating it. I added a handful of toasted coconut on top for extra nuttiness, 10/10.

3 days ago

Toasted coconut on top is such a good call! I did the lime zest thing I mentioned earlier, but toasting some of the coconut for the top would add such a great crunch, I’m doing that next time.

30 minutes ago

This was the first layer cake I’ve ever made from scratch, and I was so proud of how it turned out! My layers were a little lopsided, but the coconut coating covered all my mistakes, and my roommates said it tasted better than any grocery store cake we’ve ever bought. I feel like a real baker now, lol.

2 weeks ago

Quick question! I’m making this for my sister’s bridal shower next weekend, and I want to add a little raspberry filling between the layers. Would that work with this recipe, or would it make the layers too soggy?

1 week ago

Raspberry filling sounds absolutely delicious with this coconut cake! Just make sure to pipe a thin ring of buttercream around the edge of each cake layer before adding the filling, that will act as a dam to keep the filling from oozing out and making the layers soggy. It’ll be perfect for the bridal shower!