Coconut cake is a classic dessert that brings a taste of the tropics to your table. Soft, fluffy, and filled with coconut flavor, it’s a true comfort cake that’s both elegant and simple to make. Whether served for a birthday, celebration, or a cozy weekend dessert, this cake always stands out with its moist crumb and creamy frosting.
The base of the cake is light and airy, made with butter, sugar, eggs, and coconut milk or cream to enhance its rich texture. Shredded coconut is often folded into the batter, adding a gentle chewiness and boosting the flavor. For an extra layer of tropical sweetness, some versions include a hint of vanilla or almond extract. Once baked to a golden perfection, the layers are cooled before being covered in a silky frosting.
The frosting is usually made with cream cheese or buttercream, both of which pair beautifully with coconut’s natural sweetness. Freshly shredded or toasted coconut is generously sprinkled over the frosted cake, giving it that signature snowy look. If you prefer a little crunch, lightly toast the coconut flakes before decorating. The combination of creamy frosting, soft cake, and coconut topping makes every bite irresistible.
To serve, slice the coconut cake into generous pieces and pair it with a hot cup of whipped coffee or tea. It also tastes wonderful with a side of tropical fruits like pineapple or mango for a refreshing touch. If you want to elevate it further, drizzle each slice with a bit of coconut caramel or white chocolate sauce. This cake is perfect for special gatherings, holidays, or anytime you crave something sweet and comforting.
Coconut cake is not just a dessert, it’s a nostalgic treat that reminds many of sunny days, celebrations, and family gatherings. Its light yet rich flavor profile makes it one of those timeless recipes that everyone enjoys, no matter the occasion.

Ingredients
- 1 cup unsalted butter softened
- 1 1/2 cups sugar granulated
- 3 large eggs at room temperature
- 1 teaspoon vanilla extract
- 2 cups all-purpose flour sifted
- 1 teaspoon baking powder
- 1/2 teaspoon baking soda
- 1/4 teaspoon salt
- 1 cup coconut milk canned
- 1 cup sweetened shredded coconut plus more for garnish
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour a 9×13-inch baking dish.
- In a large bowl, cream together the butter and sugar until light and fluffy.
- Beat in the eggs one at a time, then stir in the vanilla extract.
- In another bowl, whisk together the flour, baking powder, baking soda, and salt.
- Gradually add the dry ingredients to the creamed mixture alternately with the coconut milk, mixing until just incorporated.
- Fold in the shredded coconut.
- Pour the batter into the prepared baking dish and smooth the top.
- Bake in the preheated oven for 30 to 35 minutes, or until a toothpick inserted into the center comes out clean.
- Allow to cool in the baking dish for 10 minutes before transferring to a wire rack to cool completely.
Nutrition










Instructions are a bit confusing. What’s the difference between greased and floured?
My friend said it took too long to bake. I think she just didn’t check the time right.
It’s just ok, I expected more coconut flavor. Disappointed.
Coconut and cake? What a weird combo. Not for me.
I actually think it’s a great combo! Coconut adds such a nice flavor to cake, you should give it a try. 🍰
I tried it but it didn’t rise much. Maybe I overmixed?
This cake is amazing! So moist and flavorful, my family loved it!
Yummy!!! Love coconut cake! 10/10 would eat again!
How can it be easy? Baking is complicated! Too many steps.
Baking can be simpler than it seems! Just take it step by step. This recipe sounds doable! 😊
Nah, there’s no way this is as easy as you say! I’ve ruined cakes before…
Simple and delicious! I didn’t even need to add extra coconut on top.
Made this for my birthday, huge hit! Will make again.
I’m skeptical about 1 cup of coconut milk with only 1/2 tsp baking soda—still, it came together. Next time I’ll add a pinch more salt because it tasted a bit sweet to me.
Made this for my coworkers—so moist and the coconut flavor is spot on. I baked mine closer to 33 minutes and it came out perfect.
Easy and tasty! Perfect for my potluck, everyone was asking for the recipe!
Ew, too much coconut for my taste. It’s like eating suntan lotion (in a bad way). I think next time I’ll cut the shredded coconut in half.
Not really a fan of coconut 🙁. The flavor was too strong for me.
I messed up step 2 and overcreamed (or undercreamed?) lol. Still came out fine—could be a beginner win. Thumbs up.
Not bad! Mine took closer to 40 minutes, but that might be my oven. The crumb is tender and it smells amazing while baking. 9×13 is the perfect size.
Hmm I’m not convinced about 30–35 mins. I followed it exactly and mine was still wet in the middle at 35. Ended up baking like 45 and then it was fine. Maybe my oven runs hot/cold?
Totally agree on 9×13! Mine also takes a little longer—at 350°F I’m usually closer to 38–42 min. Love that tender crumb and the coconut smell 😄
Sooo good! I added a bit of lemon zest for extra flavor. Life-changing! 🌴🍰
I followed it exactly and mine didn’t seem to rise much. Maybe my baking powder is old? Flavor is good though, just looks a bit sad.
That sounds exactly like an old/weak leavening issue. If your baking powder’s been open a while, it can totally blunt the rise—especially in a dense 9×13 cake. Glad it still tastes good though!
I thought this was gonna be a flop, but nope! Turned out great, thanks for the recipe!
I don’t know, this recipe looks too simple to be good. 🤔
I’m glad it worked out for you! Coconut cake is my fave! 🥥🍰
Five stars just for how simple it is. I didn’t have coconut milk so I used regular milk—don’t judge—and it was still tasty! Coconut garnish saved it.
Five stars for sure. I love how straightforward this is—no weird steps. I swapped in regular milk once too and it still came out great. The coconut garnish is the real MVP!
Hmm, I’m not convinced regular milk works the same. Coconut milk has that flavor and fat—might change the crumb. But if you say it tasted good… I’ll try it next time. 😅
Pretty solid for an “easy” cake. I swapped in coconut cream because that’s what I had and it was a little denser, but still tasty.
Why is ths in a 9×13? Seems wrong. I thought it had to be a round pan, are we sure?
Not bad, but mine sank in the middle a bit. Could’ve been underbaked or I overmixed—lesson learned for me.
Sank in the middle… sounds like your oven temp runs hot/cold. I’d also check the baking dish size—9×13 should be right, but if it was deeper or smaller the center takes longer. I’d bake closer to 40 min maybe. 🤷
Ahh that sinking center happens sometimes—usually underbaking, but overmixing can definitely mess with the crumb too. Next time, try pulling it at the clean-toothpick moment (or even 2–3 min earlier) and mix just until “no dry streaks.”
This cake is AMAZING! So fluffy and delicious, my family loved it. Will definitely make again!
Coconut milk? Why? Just use regular milk. This whole recipe seems too complicated.
I think coconut milk adds a unique flavor! Regular milk is boring. This recipe is super easy once you get the hang of it!
Pretty easy, honestly. I swapped coconut milk for lite coconut milk and it still worked. Texture was light and fluffy, not too dense like some cakes.
This cake was delicious! My family devoured it in no time. Will definitely make again! 🙂
I followed this recipe but it turned out a bit dry… Maybe I overbaked it? Not sure what went wrong.
Great recipe! But I added some lime zest for a twist. Yumm!
Why do we need unsalted butter? Can I just use margarine?
You can use margarine, but unsalted butter gives it a richer flavor that’s hard to replicate. Trust me, it’s worth it!
I dunno, I always use margarine and it’s fine! But maybe I’m missing something? 😕
Delicious! 😍
Coconut milk is not good, ruin my cake. I use regular milk but it still not good.
Really liked it! The crumb is soft and it has that moist coconut vibe. I doubled the vanilla because why not, and it worked.
Yes!! That moist coconut vibe is the best. Doubling vanilla sounds perfect—more flavor, no regrets 😄
Interesting, I’m usually scared to double vanilla cuz it can get kinda bitter or strong. Did you use extra extract or was it paste? Also did you bake the same time—30-35 min still?
Waaay too sweet for me. Also I didnt have coconut milk so I used regular milk… big mistake. Still not bad but not the same cake.
I dunno, I think it’s supposed to be sweet? 😅 I used whole milk too and it came out fine for me. Maybe yours just needed less sugar or more coconut on top. Not bad though!
Yeah I can see that—1 1/2 cups sugar is pretty sweet. I like it better if I cut the sugar down (maybe 1 cup). Sorry about the coconut milk swap too—regular milk definitely changes the flavor/texture.
Pretty good, but mine didn’t rise much. I think I under-mixed the dry ingredients (or my baking powder is old). Still tasted great though.
Not bad, but 9×13 feels small for “cake” vibes. Also, I accidentally used unsweetened coconut—still okay, just less sweet than expected.
350°F for 30-35 minutes feels short for a 9×13 in my oven. Mine was a little underdone at 30 mins, so I went another 8 minutes. Watch it with the toothpick!
I’ve found the same—my 9×13 runs hot/cold depending on the day. I start checking around 25 min and mine usually lands closer to 35-40. Toothpick test saved me too.
I had high hopes but it was too sweet for my taste. Maybe less sugar next time.
Soo easy to make, love the coconut flavor! Can I use almond milk instead?
Made this yesterday—super easy and the coconut flavor is spot on. I used canned coconut milk and the texture turned out really moist. Will bake again!
Made this for a small birthday and it was gone by night—really tender and the coconut flavor is super pleasant. I baked 34 minutes and it came out perfect.
Yesss! 34 minutes is right in the sweet spot. I love when the coconut flavor comes through without tasting “too much.” 😊
Wait… so you used coconut milk *and* sweetened shredded coconut? Mine usually comes out dry when I do that, but maybe I’m overbaking 😅 How was the crumb—like fluffy or more dense?
Made this last weekend—so moist! The coconut milk flavor really comes through. I didn’t even bother with extra garnish and it still vanished fast.
Congrats but I’m confused—9×13 only 30–35 min? Mine took like 50 lol. Still good though. Did you use canned coconut milk or the carton kind?
Yes!! Moist is the goal 😍 I love when the coconut milk actually tastes like coconut and not just “sweet batter.”
I made this for a party and everyone loved it! So soft and fluffy!
Pretty good, but mine sank slightly in the middle. I definitely let the eggs warm up, so not sure what happened. Flavor still nice though.
Ah, that sounds like it might be underbaked just a touch or the batter needed a little more resting time before going in. Did you check at the 30-minute mark—mine always sets up more as it cools. Also make sure you’re not overmixing after adding the flour.
I used coconut milk from a carton, not canned, and it seemed thinner. Still tasted good, but the batter felt off—maybe I added a bit too much liquid.
Cake = Good. Too sweet tho. But I like it. LOL
I’m skeptical about coconut milk in cake—usually it separates on me. But nope, this actually worked. I’m pleasantly surprised.
Not bad, but 9×13 at 350 for only 30-35 minutes feels short. Mine was gooey in the middle until I baked longer.
This tastes like vacation. Sweet, fluffy, and the coconut bits on top give it texture. Will make again for sure.
1 cup coconut milk? Seems kinda random to me… I added a splash extra because the batter looked thick. Turned out alright, but next time I’ll follow closer.
Honestly I think 1 cup coconut milk makes sense—coconut cakes usually need that extra moisture. If your batter was thick, your instinct to add a little more was probably spot on.
Yeah… coconut milk always feels random to me too. I’d rather just use regular milk and add coconut flavor with extract. But if yours turned out alright, maybe the recipe’s not totally wrong 😅
The instructions say bake 30-35 min… my toothpick came out clean at 28, but the cake was still wet inside after cooling. Might need to go longer and don’t trust the toothpick too early.
Easy peasy!! Followed exctly and turned out perfect! 👏
I’m skeptical about “easy” cakes that still need creaming, alternating, folding… but honestly it was manageable. Flavor was nice, not too sweet.
Totally get your skepticism—“easy” cakes always try to sneak in extra steps. But your note that it was manageable + not too sweet is a big green flag. Might try it with less shredded coconut next time for even more balance.
Hmm “easy” but it says cream butter and sugar… I always mess that part up 😅 If you undercream it does it turn out dense? Also 9×13 seems like a lot—how thick was yours?
Wow—so good. 2 words: repeat making.
The instructions were clear and the texture turned out great. Next time I’ll probably toast the shredded coconut for extra crunch, but that’s just preference.
Pretty good, but mine was a little dry around the edges even though I checked with a toothpick. I wonder if my oven runs hot?
I followed it exactly, but mine sank a bit in the middle. Not sure if my baking powder was old or if I overmixed when adding the flour. Still tasted good though.
I’m not usually a baker, but this was super straightforward. The texture was light, and the sweetened coconut on top was a nice touch.
Super delicious! I used room temp butter and sifted flour like the recipe says—big difference. Also, cooling 10 minutes in the pan helped it slice clean.
Yes! That’s exactly what I’ve noticed too—room-temp butter + sifting really makes it lighter. And cooling in the pan for 10 minutes definitely helps it slice without crumbling.
Made this yesterday and it turned out super moist! The coconut flavor is really nice without being overpowering. I did add a little extra toasted coconut on top and it was amazing.
I’m skeptical about using both baking powder and baking soda—doesn’t that mess with the taste? But the cake actually came out fine. I guess I shouldn’t doubt.