Desserts
This amazing coconut cake recipe delivers ultra-moist layers wrapped in toasted coconut crunch that tastes like a tropical vacation in every bite. š“ The secret? A simple oil-based batter with coconut milk and a touch of sour cream that keeps it tender while the toasted coconut topping adds irresistible texture.
I've been perfecting this recipe for yearsāit's the one everyone asks for at family gatherings.
The magic happens in the baking: a 350°F oven for 30-35 minutes creates perfectly golden layers without drying them out. The cake stays moist for days, and the toasted coconut topping adds a caramelized crunch that makes it impossible to stop at one slice.
No fancy equipment neededājust a standard cake pan and a little patience for the coconut to crisp up just right.
What you'll end up with is a cake that's rich, moist, and bursting with coconut flavorāso good you won't believe it's homemade. The layers are tender but hold their shape, and the toasted coconut topping adds a sweet, nutty contrast that keeps everyone reaching for seconds.
It's the kind of dessert that makes you feel like you're serving something special, even if it's just for a weeknight treat.
Serve it warm with a scoop of vanilla ice cream or dust with powdered sugar for a classic finish. This recipe is foolproof, so even beginners can achieve restaurant-quality results. Let's get baking!
Ingredients for amazing coconut cake
Pantry staples plus tropical flavors make this cake taste like vacation every bite.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour š¾ | 2 ½ cups | Sifted for light texture |
| Granulated Sugar š | 1 ¾ cups | White or light brown |
| Coconut Milk š„„ | 13 ½ oz | Full-fat canned variety |
| Vegetable Oil š« | 1 cup | Light or neutral oil |
| Sour Cream š„ | ½ cup | Full-fat preferred |
| Eggs š„ | 2 whole | Large, room temperature |
| Vanilla Extract šæ | 2 tsp | Pure alcohol-free if preferred |
| Baking Powder š | 2 tsp | Aluminum-free preferred |
| Salt š§ | ½ tsp | Fine sea salt |
| Unsweetened Shredded Coconut š„„ | 3 cups | Freshly toasted for crunch |
| Powdered Sugar š | ¼ cup | For dusting topping |
| Butter š§ | ½ cup | Melted, unsalted |
The coconut milk is non-negotiable hereāfull-fat canned gives the best texture. Goya or Thai Kitchen brands are my go-tos, but any good-quality can works. Toasting the coconut is key: spread it on a baking sheet at 350°F for 8-10 minutes until golden and fragrant. That caramelized crunch is what makes this cake special. For the flour, King Arthur or Gold Medal brands work bestāthey're consistent and reliable. If you're in a pinch, regular grocery store brands are fine, but avoid anything with added chemicals.
No coconut milk? Substitute with coconut cream plus a splash of milkāit's richer and works surprisingly well. Running out of sour cream? Greek yogurt at half the amount keeps the moisture. The butter in the topping can be swapped for vegetable oil if needed, though it won't caramelize as nicely. For the vanilla, imitation extracts are a no-goāpure vanilla extract or even vanilla bean paste makes all the difference. If you're baking in a high-altitude area, add an extra 1/4 tsp of baking powder to compensate.
This cake keeps beautifullyā3 days at room temperature covered loosely, or 1 week refrigerated in an airtight container. The topping stays crisp for about 2 days before softening, so make it fresh if you can. For make-ahead baking, prepare the batter and refrigerate overnightāit actually develops better flavor. The cake reheats wonderfully: wrap slices in foil and warm at 300°F for 5 minutes to revive that fresh-from-the-oven feel.
Why You'll Love This Recipe
- Hereās what sold me: coconut milk and sour cream make it feel special without breaking the bank. I buy the canned coconut milk in bulk, and the rest? Pantry staples. Itās the kind of dessert that makes you feel fancy without the grocery bill to prove it. Leftovers? They vanish faster than I can say āthird slice.ā
- No Mixer Needed: I swear by this recipe when my mixerās on the fritzājust stir the coconut milk and sour cream into the dry ingredients until just combined. Thatās it. No overmixing, no lumps, and the cake still turns out tender and golden.
- Tropical Comfort in Every Bite: The coconut milk gives it this luscious, moist crumb thatās almost custardy, while the sour cream keeps it light. Honestly, the first time I tasted it, I thought, āWait, is this cake or dessert heaven?ā The sugar caramelizes just enough to add a subtle depthāno artificial flavors, just pure, rich coconut flavor.
- Weeknight Dinner Guest: Between us, this cake is my secret weapon for when friends drop by unannounced. Slice it warm, and itās the star of the spread. Or make it ahead, wrap it in foil, and reheat it laterāitās that reliable. (Yes, even on a Tuesday night.)
Step-by-step instructions for ultra-moist coconut cake
Here's how to create layers so moist they'll make you forget regular cake exists.
šØāš³ Step 1: Mix Wet Ingredients for Perfect Texture
In a large mixing bowl, combine the 13.5 oz coconut milk, 1 cup vegetable oil, 1.75 cups granulated sugar, and 0.5 cup sour cream. Whisk until completely smoothāthis prevents lumps that ruin texture. The mixture should look like a thick, pale liquid with no streaks.
Next, add the 2 whole eggs one at a time, whisking vigorously after each addition. Then stir in the 2 tsp vanilla extract and 0.5 tsp salt. This step builds the cake's signature moistureādon't skip it. The coconut milk and oil create a tender crumb while the sour cream adds richness that keeps it ultra-moist for days.
šØāš³ Step 2: Combine Dry Ingredients Gently
In a separate bowl, sift together the 2.5 cups all-purpose flour and 2 tsp baking powder. This sifting ensures light, airy layers. Make a well in the center and gradually pour the dry mixture into the wet ingredients while mixing on low speed with an electric mixer.
Mix just until combinedāabout 30 seconds. You'll see small flour streaks remain, and that's perfect. Overmixing develops gluten, which makes the cake dense instead of tender. The goal here is to create a smooth batter that holds its shape when poured into pans.
š„ Step 3: Prepare Pans and Add Coconut Crunch
Divide the batter evenly between two 9-inch round cake pans lined with parchment paper. I like to use a kitchen scale for accuracyāeach pan should get about 12 oz of batter. Sprinkle 1.5 cups unsweetened shredded coconut evenly over each batter layer. Press it down lightly so it stays in place during baking.
Here's the thingāthis coconut layer is what makes this cake amazing. The toasted coconut on top adds crunch while the coconut in the batter keeps it moist. Preheat your oven to 350°F while you prepare the next layer. Don't skip preheatingāthis ensures even baking and proper rise.
š„ Step 4: Bake Layers to Perfect Doneness
Bake the first layer for 25-30 minutes or until a toothpick inserted in the center comes out clean. The edges should be golden brown while the top still looks slightly underdoneāthat's normal. Rotate the pans halfway through for even baking. I always tap the sides of the pans gently after 15 minutes to prevent sinking.
Remove the cake from the oven and let it cool in the pan for 10 minutes. Then transfer to a wire rack to cool completely. Repeat with the second layer using the remaining batter and coconut. The cooling process is crucialāit allows the layers to set properly before assembly. Don't rush this step or your cake might collapse.
š³ Step 5: Assemble with Toasted Coconut Topping
Once both layers are completely cool, level the tops if needed. In a small saucepan, melt the 0.5 cup butter over low heat. Remove from heat and stir in the 0.25 cup powdered sugar until smooth. This creates a silky glaze that binds the cake together.
Spread the butter-sugar mixture between the layers, then brush it over the top layer. Sprinkle the remaining 1.5 cups unsweetened shredded coconut over the top and press gently. For extra crunch, toast the coconut in a dry skillet over medium heat for 2-3 minutes until golden brown before sprinkling. Let the cake sit for 1 hour before slicingāthis gives the layers time to fully set and the flavors to meld.
Pro Tips For Making Amazing Coconut Cake
- WHISK COCONUT MILK FIRST: Open the can of coconut milk, scoop out the thick cream from the top, and whisk it into the liquid until smooth before measuringāthis ensures even distribution of fat and prevents a dense, greasy crumb. I learned this the hard way after a cake turned out oily in patches; now I always blend it first.
- WEIGH YOUR FLOUR: Skip the scooping and scooping againāuse a kitchen scale for the flour. A standard cup of all-purpose flour can vary by 20-30 grams, and this cake is delicate enough that extra flour will make it dry and crumbly. (Yes, even if youāre impatient like me, this makes a real difference.)
- DONāT OVERMIX THE BATTER: Mix the wet and dry ingredients just until combinedāno more than 20 strokes with a spatula. Overmixing develops gluten, which turns your tender coconut cake into a tough, chewy mess. Stop when there are no more flour streaks, then fold in the sour cream gently.
- BAKE UNTIL TOOTHPICK-CLEAN: This cakeās moistness comes from coconut milk, so it wonāt pull away from the pan like a vanilla cake. Insert a toothpick into the centerāit should come out with a few moist crumbs, not wet batter. If itās underdone, the texture will be gummy; overbaking dries it out. (Your future self will thank you.)
Dietary considerations for amazing coconut cake
Gluten-Free Adaptation
Replace the 2.5 cups all-purpose flour with a 2:1 gluten-free flour blend like King Arthur Measure for Measure or Bob's Red Mill 1-to-1. For extra moisture, add 1 extra tablespoon of coconut milk to the wet ingredients.
The gluten-free blend ensures the cake maintains its structure while staying tender. š¾
Dairy-Free Options
Swap the sour cream for full-fat coconut yogurt (like So Delicious brand) and use vegetable oil instead of butter for the topping. The coconut yogurt adds tang and richness, while the oil keeps the texture intact.
For the glaze, melt ½ cup coconut oil and mix with ¼ cup powdered sugar for a dairy-free finish.
Nut-Free Coconut
If you're avoiding all nuts (including coconut), use toasted pumpkin seeds or crushed pretzels for the crunchy topping instead of shredded coconut. For the batter, substitute ½ cup unsweetened applesauce for the coconut milk to keep the cake moist. The flavor will be different but still delicious!
Lower Sugar Version
Reduce the granulated sugar to 1.25 cups and add ½ cup unsweetened applesauce to the wet ingredients. Use ½ cup monk fruit sweetener (like Lakanto) mixed with ½ cup sugar for a lower-glycemic option.
The cake will still be moist but with fewer calories. Test with a toothpickāit may need 5 extra minutes in the oven.
Vegan Modifications
Replace the eggs with 2 flax eggs (2 tbsp ground flaxseed + 6 tbsp water, mixed and rested for 5 minutes). Use vegan butter (like Miyoko's) for the topping and almond milk (unsweetened) instead of coconut milk if needed.
The texture remains tender, and the flavor stays rich and coconut-forward. š
Allergy-Friendly Tips
Always check labels on coconut milk and vanilla extract for hidden allergens. For nut allergies, use a dedicated toaster for the coconut to avoid cross-contamination. Store the cake in a sealed container to prevent exposure to airborne allergens. When serving, offer a separate serving utensil for guests with dietary restrictions.
Nutrition facts
Frequently asked questions
Why does this coconut cake stay moist for days?
The secret is the combination of coconut milk and sour cream in the batter. The coconut milk adds natural fats that keep the cake tender, while the sour cream adds moisture without making it dense. Plus, the 350°F oven temperature bakes it just enough to set the structure without drying it out.
Can I make this cake in a single layer instead of two?
Use a 9x13-inch pan and reduce the baking time to 25-30 minutes. Just spread the batter evenly and sprinkle all 3 cups of toasted coconut on top. The texture will be slightly denser but still delicious. For extra height, use a 10-inch springform pan instead.
What's the best way to store leftover cake?
Wrap the cake tightly in plastic wrap and store at room temperature for up to 3 days. For longer storage, refrigerate in an airtight container for 1 week. The topping stays crisp for 2 days before softening. To revive stale slices, warm them at 300°F for 5 minutes wrapped in foil.
How do I fix sunken cake layers?
If your layers sink slightly, don't panic! This often happens with coconut cakes due to the moisture. To fix it, carefully slice off the top layer and level it with a serrated knife. For a quick fix, spread a thin layer of coconut cream between the layers before reassembling. The flavor won't be affectedājust the presentation.
Can I substitute fresh coconut for the shredded kind?
Yes, but you'll need to adjust the amount. Use 2 cups fresh coconut meat (about 4-5 ounces) instead of 3 cups shredded. Toast it first by spreading on a baking sheet at 350°F for 8-10 minutes until golden and fragrant. Fresh coconut gives a slightly chewier texture but the same delicious flavor.
