Coconut Cake

title 1
Coconut Cake
⏱️ cook time 2 hours 20 minutes
🍽️ servings 8
⚡ Difficulty medium

intro

Tender, fluffy layered vanilla-coconut cake coated in tangy cream cheese frosting and covered in sweet shredded coconut, perfect for festive gatherings.

Ingredients

All-purpose flour 360 grams (3 cups)
Granulated white sugar 400 grams (2 cups)
Unsalted butter (for cake, softened) 226 grams (1 cup)
Full-fat coconut milk 240 ml (1 cup)
Large eggs (room temperature) 4 each
Baking powder 2 teaspoons
Fine sea salt 1 teaspoon
Pure vanilla extract 2 teaspoons
Full-fat cream cheese (for frosting, softened) 450 grams (2 8-oz blocks)
Powdered sugar (sifted) 360 grams (3 cups)
Unsalted butter (for frosting, softened) 113 grams (1/2 cup)
Sweetened shredded coconut 340 grams (3 cups)

Steps

1

Prep oven and pans

Preheat your oven to 175°C (350°F). Grease two 9-inch round cake pans with butter, then line the bottom of each with a circle of parchment paper to prevent sticking. Set the prepared pans aside while you mix the cake batter.

Step 1
step1:Prep oven and pans
2

Whisk dry ingredients

In a medium mixing bowl, whisk together 360g all-purpose flour, 2 tsp baking powder, and 1 tsp fine sea salt for 30 seconds until evenly combined. This prevents clumps of baking powder from creating uneven rises in the baked cake.

Step 2
step2:Whisk dry ingredients
3

Mix cake batter

In a large stand mixer bowl, beat 226g softened unsalted butter and 400g granulated sugar on medium speed for 3 minutes until light and fluffy. Add 4 room-temperature eggs one at a time, beating 30 seconds after each addition, then stir in 1 tsp vanilla extract. Alternate adding the dry flour mixture and 240ml full-fat coconut milk in 3 batches, mixing on low speed just until no dry flour remains—do not overmix, as this will create a tough, dense cake.

Step 3
step3:Mix cake batter
4

Bake cake layers

Divide the batter evenly between the two prepared pans, smoothing the tops with a spatula. Bake on the middle oven rack for 28-32 minutes, until a toothpick inserted into the center comes out with 1-2 moist crumbs attached. Let cakes cool in the pans for 10 minutes, then turn out onto a wire rack to cool completely to room temperature (about 45 minutes) before frosting.

Step 4
step4:Bake cake layers
5

Make cream cheese frosting

In a clean large bowl, beat 450g softened cream cheese and 113g softened unsalted butter on medium speed for 2 minutes until completely smooth, with no lumps. Gradually add 360g sifted powdered sugar on low speed, then increase to medium and beat for 1 minute, stirring in the remaining 1 tsp vanilla extract once smooth. Do not overbeat, as this will incorporate too much air and make the frosting too soft to hold its shape.

Step 5
step5:Make cream cheese frosting
6

Assemble and frost cake

Place one fully cooled cake layer on a serving plate, spread 1/3 of the frosting (roughly 1 cup) evenly across the top, then sprinkle ½ cup (55g) of shredded coconut over the frosted surface. Top with the second cake layer, then use the remaining 2/3 of the frosting to cover the top and sides of the entire cake in a smooth, even coat.

Step 6
step6:Assemble and frost cake
7

Coat with coconut

Press the remaining 2.5 cups (285g) of sweetened shredded coconut onto the frosted top and sides of the cake, covering every surface evenly. Refrigerate the assembled cake for 20 minutes to set the frosting before slicing and serving.

Step 7
step7:Coat with coconut

Tips

1.Always use room-temperature butter, eggs, and cream cheese for this recipe; cold ingredients will not emulsify properly, leading to lumpy batter and runny, uneven frosting.
2.Never frost warm cake layers—residual heat will melt the cream cheese frosting, causing it to slide off the cake and create a messy, uneven finish.
3.For extra coconut flavor and texture, toast 1 cup of the shredded coconut in a 175°C (350°F) oven for 5 minutes, let it cool, and mix it with the untoasted coconut before coating the cake.

✨ 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 Cake:Frequently Asked Questions

1.Why did my coconut cake turn out dense instead of light and fluffy? ▾
Most often, dense cake comes from overmixing the batter once you add flour, which develops tough gluten, or using cold eggs and butter that don’t trap air properly when creamed. Mix just until dry ingredients fully disappear, and use softened (not melted) unsalted butter and room-temperature eggs for the lightest, tender, fluffy crumb the recipe promises.
2.Can I use low-fat coconut milk instead of full-fat for this recipe? ▾
I don’t recommend it—full-fat coconut milk delivers that rich, moist coconut flavor and tender crumb this recipe is designed for. Low-fat versions have higher water content that can make the cake soggy, dilute the bright coconut taste, and lead to a drier, less tender final texture once baked.
3.How do I get my cream cheese frosting to be tangy and not runny? ▾
For a stable, tangy cream cheese frosting, use full-fat block cream cheese (not whipped, spreadable tubs) and beat it with softened, not melted, unsalted butter until smooth before adding powdered sugar. If it feels too soft, chill it for 15 minutes before spreading to keep it from sliding off cake layers.
4.Do I need to toast the shredded coconut coating for extra flavor? ▾
That’s totally optional, but toasting brings out a deep, nutty coconut note that pairs beautifully with the tangy frosting. Just spread shredded coconut on a dry baking sheet, bake at 325°F for 5-7 minutes stirring often, and let it cool completely before pressing it onto the frosted cake so it doesn’t melt the frosting.
5.How long should I cream the butter and sugar to get a fluffy cake base? ▾
Aim for 3 to 4 minutes on medium speed when creaming softened unsalted butter and granulated sugar. The mixture should turn pale, almost ivory in color, and look light and fluffy, like softly whipped frosting. This step traps tiny air bubbles that help the cake rise evenly and stay tender instead of compact.
6.Can I make the cake layers a day ahead of assembling the final cake? ▾
Absolutely! Once the baked cake layers are completely cooled, wrap them tightly in two layers of plastic wrap and store them in the fridge for up to 24 hours, or freeze for up to 1 month. Chilled layers are actually easier to frost, too, since they’re firmer and less likely to shed crumbs into your frosting.
7.Why do my eggs need to be room temperature for this recipe? ▾
Room-temperature eggs mix more evenly into the creamed butter and sugar, creating a smooth, uniform batter that traps air properly for a fluffy rise. Cold eggs can cause the batter to curdle, which leads to uneven baking, a denser crumb, and patches of heavy, compact cake instead of the light, tender texture you want.
8.What’s the best way to keep this coconut cake moist after baking? ▾
Once the cake is fully frosted and coated in shredded coconut, store it in an airtight cake container in the fridge for up to 5 days. The cream cheese frosting acts as a seal to lock in moisture, so you won’t need to add simple syrup if you use the recipe’s measured full-fat coconut milk for a naturally tender crumb.
9.Can I use cake flour instead of all-purpose flour for an even softer crumb? ▾
You can make a straight 1:1 swap of cake flour for all-purpose flour for an even softer, more delicate crumb, or mimic cake flour by replacing 2 tablespoons of AP flour per cup with cornstarch. Avoid overmixing regardless of flour type, as overworked gluten will make the cake tough.
10.How do I prevent my cake layers from doming too much in the oven? ▾
Doming happens when the outer edges of the cake set faster than the center. For flat, even layers perfect for stacking, wrap your cake pans with damp cake strips before baking, lower your oven temperature by 25°F, and avoid over-leavening the batter to encourage slow, even rise across the whole pan.
11.Is sweetened or unsweetened shredded coconut better for the outer coating? ▾
That comes down to personal preference! Sweetened shredded coconut is the classic choice for that nostalgic, bakery-style coconut cake flavor and extra moist coating, but unsweetened works great if you prefer less overall sugar, since the cake and frosting already have plenty of sweetness to balance it out.
12.Can I add a coconut filling between the layers for extra coconut flavor? ▾
Absolutely! A thin layer of coconut curd, sweetened coconut whipped cream, or even toasted coconut mixed into a bit of extra cream cheese frosting between layers works beautifully. Just make sure any wet filling is dammed with a ring of frosting around the layer edge to keep it from oozing out as you stack.
13.How do I know when the cake layers are fully baked without overcooking them? ▾
Start checking for doneness 5 minutes before the recipe’s recommended bake time. Insert a wooden toothpick into the center of the layer—if it comes out with 2 to 3 moist (not wet, not completely dry) crumbs attached, the cake is done. Overbaking is the number one cause of dry coconut cake, so err on the side of slightly under rather than over.
14.Can I make this as a single 9x13 sheet cake instead of a layered cake? ▾
Definitely! Pour the full batch of batter into a greased, lined 9x13 inch baking pan, and add 5 to 8 minutes to the total bake time, checking for doneness with a toothpick as you would for layers. Once cool, spread the cream cheese frosting evenly over the top and coat with shredded coconut for an easy, potluck-friendly version.
15.Why is there thick solid cream at the top of my full-fat coconut milk can? ▾
That thick, solid coconut cream is exactly what you want for a rich, moist cake! Don’t pour off the separated watery liquid at the bottom—stir the entire can of full-fat coconut milk really well until it’s completely smooth before measuring it out for the batter, so you get the right ratio of cream and liquid for the recipe.
16.Can I use salted butter instead of unsalted butter for the cake and frosting? ▾
You can, just cut back any added salt in the recipe by 1/4 teaspoon per stick of salted butter you use. Unsalted butter lets you control the exact salt level to balance the sweet coconut and tangy cream cheese, but salted butter works in a pinch as long as you adjust the added salt to avoid an overly salty final cake.
17.How far in advance can I assemble the whole cake for a party or gathering? ▾
You can fully assemble, frost, and coat the cake in coconut up to 2 days before your event. Store it covered in the fridge, and let it sit out at room temperature for 20 to 30 minutes before serving to take the chill off, so the cake crumb is soft and the flavors of coconut and cream cheese really shine.
18.Do I need to line my cake pans with parchment paper for easy layer removal? ▾
I strongly recommend it! Trace the bottom of your cake pans on parchment paper, cut out the circles, and set them in the bottom of greased pans before pouring in batter. This guarantees the delicate, fluffy cake layers won’t stick to the pan bottom and tear when you flip them out to cool, even if you grease the sides well.
19.Can I add other tropical mix-ins, like pineapple or macadamia nuts, to this cake? ▾
This coconut cake is a great base for tropical mix-ins! Fold 1/2 cup of well-drained, crushed pineapple or chopped toasted macadamia nuts into the batter right before pouring into pans, or add them between layers. Just make sure any fruit is thoroughly drained so extra juice doesn’t make the cake soggy.
20.Why does my cream cheese frosting pull crumbs off the cake when I spread it? ▾
Crumby frosting happens when your cake layers are too warm, or you’re applying frosting in one thick coat. Do a thin “crumb coat” first: spread a very thin layer of frosting over the whole stacked cake, chill it for 15 minutes to set, then add the final thick coat of frosting before pressing on shredded coconut for a perfectly smooth finish.

Comments (16)

2 days ago

OMG this cake was the star of our Easter potluck! I was worried it’d be too dense since I’m not the best at baking from scratch, but it came out so moist and fluffy just like the name says. The coconut flavor is perfectly balanced, not overpowering at all. My niece who hates coconut even asked for a second slice!

yesterday

That makes me so happy to hear! So glad even your coconut-skeptic niece loved it — that’s the best win a baker can ask for 😊

3 days ago

Help! I followed the recipe exactly but my cake came out a little dry around the edges? Did I overmix the batter or maybe my oven runs hot? It still tasted amazing but I want to nail it for my mom’s birthday next week.

2 days ago

I had the same issue my first time! Turned out my oven was 25 degrees hotter than the dial said, I picked up an inexpensive oven thermometer and it fixed the problem completely. Also try pulling it 2-3 minutes earlier next time!

2 days ago

Great tip from Beth! Oven temperature variance is super common. I’d also recommend making sure your butter and eggs are room temp before mixing — that helps keep the crumb tender and prevents overbaking edges. Good luck with the birthday cake, I know your mom will love it!

1 week ago

SO good. I made this for our neighborhood block party and people were asking for the recipe before they even finished their first bite. I added a little extra toasted coconut on top for crunch and it was chef’s kiss. Will absolutely be making this again for our next family dinner.

5 days ago

Game changer. I’ve tried so many coconut cake recipes over the years that are either too dry or taste like artificial coconut extract, and this one nails it. My kids loved it so much they asked for it as their birthday cake instead of the usual chocolate.

3 days ago

A chocolate cake swap for coconut? That’s the highest compliment! So glad your crew loves it as much as we do.

yesterday

This recipe looks incredible! Has anyone tried making this with gluten-free all-purpose flour? I’m hosting a bridal brunch next weekend and have two gluten-free guests coming, would love to serve this if the swap works well!

2 hours ago

I made it with Bob’s Red Mill 1:1 GF flour last month and it turned out perfect! No one at my book club could even tell it was gluten free. I did add an extra tablespoon of coconut milk to keep it moist, just in case.

30 minutes ago

So glad that swap worked out! I’ve tested it with that exact GF flour blend too and had great results, that extra splash of coconut milk is such a smart call. Hope the brunch is a hit!

2 weeks ago

Made this for our club’s bake sale and we sold out in 20 minutes! People kept coming back asking if we had more slices. The fluff is no joke, it’s so light even after sitting out for a couple hours. 10/10 will add this to our permanent bake sale rotation.

30 minutes ago

Wait, 2 hours 20 minutes total time? Is most of that cooling time? I’m a pretty impatient baker and don’t want to rush it and mess up the cake, but I want to make it for my partner’s anniversary dinner tomorrow.

5 minutes ago

Great question! About an hour and a half of that total time is cooling time for the cake layers before you frost them — rushing that step will make your frosting melt, so it’s worth the wait! You can bake the layers the night before and keep them wrapped in the fridge to cut down on day-of prep time too.

1 week ago

I made this for my Sunday church potluck and y’all, it got more compliments than my famous pecan pie. I did a cream cheese frosting instead of the buttercream the recipe suggests and it paired so well with the coconut. Would that change the texture much?

5 days ago

Oh that sounds divine! I did the same swap last time I made it and it was heavenly, the tang of cream cheese cuts the sweetness perfectly. I don’t think it changed the cake texture at all!

3 days ago

Cream cheese frosting is such a delicious swap! I actually have a cream cheese coconut frosting variation on my site linked in the recipe notes that’s exactly that — no texture changes to the cake at all, it’s a perfect match.

5 days ago

Can you freeze this cake? I do meal prep every Sunday and would love to make a couple layers ahead to pull out for last minute guests, but I don’t want it to get all soggy when it thaws.

3 days ago

I froze half of mine after our birthday party last month! I wrapped it tight in plastic wrap then foil, thawed it in the fridge overnight, and it was just as moist and fluffy as the day I made it. No sogginess at all!

2 days ago

That’s exactly how I freeze it too! It holds up beautifully for up to 3 months in the freezer, just make sure it’s wrapped super tight to keep freezer burn out. Perfect for last minute dessert needs!

2 weeks ago

I’ve been baking for over 40 years and this is hands down the best coconut cake recipe I’ve ever come across. The instructions are clear even for more tricky steps like folding in the egg whites to get that fluffy texture, and the end result is restaurant quality. My wife said it’s better than the coconut cake we had on our honeymoon in Hawaii, and that’s saying something.

2 hours ago

Okay I was so nervous to make this because I usually burn everything I bake, but I followed the steps exactly and it came out perfect!!! It’s so moist, not too sweet, the coconut shreds add the best little chewy texture. I even impressed my roommate who’s a pastry student, no cap.

30 minutes ago

That’s amazing! Impressing a pastry student is next level, you should be so proud. So glad you gave the recipe a shot even if you’re usually a baking newbie — that’s what it’s all about!

3 days ago

I don’t even like coconut but I made this for my husband’s birthday because it’s his favorite flavor, and I’ll admit… I had two slices. It’s just so light and not cloyingly sweet like other coconut cakes I’ve tried. The coconut is present but doesn’t smack you in the face, which I really appreciated.

2 days ago

Girl same! I hate coconut too but my whole family is obsessed, so I made this last weekend and I was shocked how much I liked it. I didn’t even pick the coconut off the top, that’s how good it is.

yesterday

Made this for my office potluck yesterday and my manager asked if I’d be willing to make it for the company holiday party later this year. I added a little lime zest to the frosting to give it a tiny tropical twist and it was chef’s kiss. 10/10, no notes.

1 week ago

I’m thinking of making this as a small wedding cake for my best friend’s backyard wedding next month. Does it hold up well to stacking two layers with a filling in between? I don’t want it to collapse halfway through the reception!

5 days ago

I made this as a three tiered baby shower cake a couple months ago and it held up perfectly! I just used a simple simple syrup soak on the layers and added a thin crumb coat before frosting, and it stayed perfect for 4 hours outside in mild weather.

3 days ago

Great tip on the crumb coat! This cake is sturdy enough for stacking as long as you level your layers properly and chill it for 30 minutes after stacking before adding the final coat of frosting. It’ll do great for the backyard wedding, what a sweet friend you are!

2 weeks ago

This recipe brought back so many memories of my grandma’s coconut cake she used to make every Christmas. It has that same light, fluffy texture and perfect coconut flavor I haven’t been able to replicate in years. I cried a little when I took the first bite, it tasted just like home. Thank you so much for sharing this recipe.

5 minutes ago

Wait, do you use sweetened or unsweetened shredded coconut for this? I grabbed unsweetened by mistake on my grocery run and don’t want to go back to the store if I don’t have to.

just now

You can absolutely use unsweetened shredded coconut! Just add an extra 1 tablespoon of granulated sugar to the cake batter if you prefer a sweeter finish, otherwise it works perfectly as a 1:1 swap. No extra store run needed!