Desserts
This all-coconut cake recipe delivers layers of tropical richness you won’t find in any store-bought dessert. 🌴 The secret lies in replacing traditional flour with finely ground coconut flour, which creates an ultra-moist, tender crumb while keeping the cake naturally gluten-free. Every bite combines the delicate sweetness of coconut milk with the satisfying crunch of toasted coconut flakes baked right into the layers.
The magic happens with a simple yet effective technique: blending coconut milk into the batter until completely emulsified, ensuring no dry spots remain. This method guarantees a cake that’s impossibly moist—no greasy texture here. The toasted coconut topping adds a caramelized contrast that makes each slice feel like a vacation in your mouth.
Perfect for tropical-themed gatherings or when you crave something lighter than traditional cakes, this recipe serves 8-10 with elegant layers. The coconut flavor shines through without overpowering, making it a crowd-pleaser for both coconut lovers and newcomers. Let’s bake this showstopper.
Optional variations include adding a hint of vanilla or lime zest for brightness, or swapping the white chocolate frosting for a coconut cream glaze. The cake keeps beautifully for up to 5 days, though I doubt any will last that long.
Ingredients for all coconut cake
Ultra-moist coconut layers and toasted crunch create a tropical dessert that defies expectations.
| Ingredient | Amount | Notes |
|---|---|---|
| Unsweetened Shredded Coconut 🥥 | 2 cups | Toasted for enhanced flavor |
| Coconut Flour 🌾 | 1 ½ cups | Sifted for even distribution |
| Full-Fat Coconut Milk 🥛 | 1 ½ cups | Canned, well-shaken |
| Granulated Sugar 🍚 | 1 ½ cups | Light brown preferred |
| Extra-Virgin Olive Oil 🫒 | ½ cup | For moisture balance |
| Large Eggs 🥚 | 4 whole | Room temperature preferred |
| Pure Vanilla Extract 🌿 | 1 tbsp | High-quality preferred |
| Baking Powder 🍞 | 1 ½ tsp | Aluminum-free preferred |
| Salt 🧂 | ½ tsp | Fine sea salt preferred |
| Unsweetened Applesauce 🍎 | ½ cup | For moisture without grease |
| White Chocolate Chips 🍫 | 1 cup | For frosting base |
| Heavy Whipping Cream 🥛 | 1 cup | Cold for whipping |
| Powdered Sugar 🍚 | 2 cups | For frosting sweetness |
The coconut flour is the star here—Bob’s Red Mill or Anthony’s Goods brands are ideal for their fine grind. Toast the shredded coconut in a dry pan until golden (watch closely—it burns fast) for that caramelized crunch. Full-fat coconut milk is non-negotiable; the fat content ensures that signature moist texture. For the eggs, room temperature is key—they blend more smoothly into the batter. The vanilla extract should be pure, not imitation; Nielsen-Massey is my go-to for consistent quality.
No coconut flour? Almond flour at 1:1 ratio works, though the texture will differ slightly. Substituting coconut milk with Greek yogurt or buttermilk maintains moisture but alters flavor. For a dairy-free frosting, replace the heavy cream with coconut cream—chill it overnight first for best whipping results. The white chocolate chips can be swapped for vegan white chocolate if needed, though traditional white chocolate melts more smoothly. If you’re short on time, pre-toasted coconut** from the baking aisle saves steps—just check for added sugar.
Store the cake in an airtight container at room temperature for up to 3 days—the coconut flavor intensifies over time. For longer storage, freeze slices wrapped individually for up to 3 months. The frosting should be added fresh for best texture, but you can prep it a day ahead and refrigerate. If transporting, keep the cake and frosting separate until ready to serve—this tropical beauty deserves proper presentation.
Why You'll Love This Recipe
- No Mixer Needed: I swear by this recipe on days when I’m too tired to crank up the stand mixer. Coconut flour blends like a dream—just whisk it with the milk and oil, fold in the shredded coconut, and you’re done. The batter’s thick but not heavy, so no overmixing or lumps to stress over.
- Taste Like a Vacation: That first bite? It’s pure tropical nostalgia—creamy from the coconut milk, lightly crisp from the shredded coconut on top, and just sweet enough to satisfy. The olive oil keeps it moist without tasting greasy, and honestly? It’s the kind of cake that makes me forget I’m not on a beach somewhere.
- Leftovers That Last: This cake keeps beautifully for days, wrapped in foil or stored in the fridge. I’ve taken slices to work for breakfast (yes, really) and they stay tender, not dry. Even better? It freezes like a champ—just thaw overnight and reheat for a warm, comforting treat.
- Pantry Magic: Between us, this recipe is my go-to when I’m low on eggs or butter. Coconut flour and milk do all the heavy lifting, and I bet you’ve got the other ingredients already. Plus, the sugar and olive oil are budget-friendly staples that stretch further than specialty flours. Minimal shopping, maximum reward.
Step-by-step instructions for all-coconut cake
Here's the method for a perfectly moist coconut cake with a signature crunchy coconut topping.
🔥 Step 1: Toast the Coconut for Maximum Flavor
Preheat your oven to 350°F and spread the 2 cups unsweetened shredded coconut in a single layer on a baking sheet. Toast for 8-10 minutes until the coconut turns a rich golden brown and smells deeply toasted. Watch closely—it burns quickly. Let it cool completely before using, as warm coconut releases moisture that can affect your batter.
This toasting step is non-negotiable. The toasted coconut provides that signature crunch and concentrated coconut flavor that makes this cake truly special. I like to press down gently on the coconut with a spatula during the first few minutes to ensure even browning. Once cooled, set aside ½ cup of the toasted coconut for the cake layers and reserve the remaining 1½ cups for the crunch topping.
👨🍳 Step 2: Mix Dry Ingredients for Perfect Texture
In a medium bowl, whisk together the 1.5 cups coconut flour, 1.5 cups granulated sugar, 1.5 tsp baking powder, and 0.5 tsp salt. Sift the mixture through a fine-mesh sieve directly into a large mixing bowl to aerate the flour and prevent lumps. This step is crucial—coconut flour absorbs liquid differently than wheat flour, so proper sifting ensures even distribution throughout the batter.
Create a well in the center of the dry ingredients and add the 4 whole large eggs, 0.5 cup extra-virgin olive oil, and 1 tbsp pure vanilla extract. Gently whisk just until the eggs are incorporated and no dry spots remain. The batter should be thick but pourable—similar to pancake batter consistency. If it seems too thick, add 1-2 tablespoons of the 1.5 cups full-fat coconut milk to loosen it.
🥘 Step 3: Combine Wet Ingredients and Prepare Layers
In a separate bowl, combine the remaining 1.25 cups full-fat coconut milk (reserving 0.25 cup for later), 0.5 cup unsweetened applesauce, and the ½ cup reserved toasted coconut. Whisk until smooth, then gradually pour this mixture into the dry ingredients while folding gently with a spatula. This prevents overmixing which can make the cake dense.
Fold in the 1 cup white chocolate chips using a rubber spatula, ensuring even distribution throughout the batter. Divide the batter evenly between two 8-inch round cake pans lined with parchment paper. The batter should fill each pan about ¾ full. Tap the pans gently on the counter to remove any air bubbles and level the tops with a spatula.
🔥 Step 4: Bake the Layers to Perfect Moisture
Preheat your oven to 350°F. Place the cake pans on the middle rack and bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean with just a few moist crumbs. Rotate the pans halfway through baking for even cooking. The cakes should spring back slightly when pressed in the center.
I've found that baking time varies slightly with different ovens, so start checking at 22 minutes. Overbaking is easy here—coconut cakes dry out quickly once removed from the oven. Let the cakes cool in their pans for 10 minutes, then transfer to a wire rack to cool completely before assembling. This resting period prevents crumbling when you try to layer them.
🍳 Step 5: Assemble with Crunch Topping and Frosting
While the cakes cool, prepare the crunch topping by combining the remaining 1½ cups toasted coconut with 0.25 cup reserved coconut milk and 2 tbsp granulated sugar from the original measurement. Mix until the coconut is evenly coated. Spread this mixture evenly over the cooled cake layers.
For the frosting, whip the 1 cup heavy whipping cream (chilled) with the 2 cups powdered sugar until soft peaks form. Spread between the cake layers and over the top and sides. The frosting should be thick enough to hold its shape but still spreadable. Chill the assembled cake for 30 minutes before slicing to allow the frosting to set properly and the layers to adhere.
Pro Tips For Making All Coconut Cake
- Toast the Coconut: Spread your shredded coconut on a baking sheet and toast it at 325°F (160°C) for 8–10 minutes until golden and fragrant—this deepens the flavor and prevents a raw, cardboardy texture. I learned this the hard way after eating a cake where the coconut tasted like it came straight from the bag. ---
- Whisk the Coconut Milk: Before measuring, give your full-fat coconut milk a good shake—especially if it’s been sitting. The cream separates, and you want that thick, rich layer for the batter. Pour it into a bowl first, whisk it smooth, then measure; this ensures your cake stays moist and doesn’t turn out dry. ---
- Sift the Coconut Flour: Coconut flour is dense and clumpy—sift it twice through a fine-mesh sieve to avoid lumps that’ll make your cake dense and uneven. I skip this sometimes, and the texture suffers. Trust me, the extra 30 seconds saves you from a sad, brick-like result. ---
- Grease with Olive Oil: Use a pastry brush to coat your pan with extra-virgin olive oil after flouring it—this creates a nonstick barrier that’ll make your cake release cleanly. I used butter once, and it stuck like glue. Olive oil here is your friend.
Pro cooking tips for perfect results
Coconut Flour Mastery
Coconut flour behaves differently than all-purpose flour, so treat it like a high-absorbency powder. Always sift it before mixing to prevent clumping, and create a well in your dry ingredients to avoid overworking the batter. I’ve found that Bob’s Red Mill brand works best for its fine texture. The key is patience—let the batter sit for 5 minutes after mixing to thicken naturally before baking. This prevents a dense, gummy texture. 🌾
Moisture Balance Secrets
The applesauce and olive oil combo keeps this cake ultra-moist without greasiness. For extra insurance, add 1-2 tablespoons of coconut milk if the batter seems too thick. I’ve tested this recipe with Greek yogurt as a substitute, but the coconut flavor loses depth. Always use full-fat coconut milk—the fat content is what creates that signature tender crumb. Never skip the 10-minute rest after baking; this lets the layers set before assembling.
Toasted Coconut Perfection
Toast your coconut in single layers on a baking sheet at 350°F for 8-10 minutes—no more! It burns faster than you’d think. For even browning, press down gently with a spatula during the first 3 minutes. Let it cool completely before using, or the extra moisture will make your batter too wet. I like to reserve ½ cup for the cake layers to add subtle crunch with every bite. 🥥
Layering Like a Pro
Divide the batter evenly between two 8-inch pans—use a kitchen scale for precision. Tap the pans gently on the counter to release air bubbles, then level the tops with a spatula. Bake until a toothpick comes out with just a few moist crumbs (overbaking is the #1 mistake). Let the cakes cool completely before frosting—this prevents melting and ensures clean slices. For extra stability, chill the assembled cake for 30 minutes before serving.
Frosting Finesse
Whip the heavy cream to soft peaks—overwhipping makes the frosting grainy. For a lighter texture, fold in 1 tablespoon of toasted coconut at the end. If your frosting isn’t holding its shape, chill the bowl for 10 minutes before whipping again. Spread between layers first, then cover the top and sides. Use a bench scraper to smooth edges for a bakery-style finish. 🍰
Oven Calibration
Ovens vary wildly—mine runs 25°F hotter than most. Start checking for doneness at 22 minutes (not the full 25-30 minutes). If the edges brown too fast, tent the pans with foil. For even baking, rotate the pans halfway through. If your cake pulls away from the pan too much, grease the pans lightly with coconut oil before lining with parchment. The goal is a golden-brown top with a springy center.
Nutrition facts
Frequently asked questions
Can I make this cake without coconut flour?
Yes, but the texture will change significantly. Replace 1.5 cups coconut flour with 1.5 cups almond flour for a nutty flavor or 1.5 cups all-purpose flour for a traditional crumb. The cake will be less moist and lack the signature coconut flavor, but it’ll still be delicious. For best results, add 1 extra egg to compensate for coconut flour’s high absorbency.
Why does my coconut cake turn out dry?
Dryness usually happens from overbaking or insufficient moisture. Always bake until a toothpick comes out with just a few moist crumbs, not completely clean. For extra moisture, add 1-2 tablespoons of coconut milk to the batter if it seems too thick. Also, ensure you’re using full-fat coconut milk—the fat content is key to that tender texture.
How do I store leftovers?
Keep the cake in an airtight container at room temperature for up to 3 days. For longer storage, freeze individual slices wrapped tightly in plastic for up to 3 months. Thaw at room temperature before serving. The frosting should be added fresh for best texture, but you can prep it a day ahead and refrigerate.
Can I make this cake gluten-free?
This recipe is already gluten-free thanks to the coconut flour! Just ensure all other ingredients (like vanilla extract and baking powder) are certified gluten-free. The texture remains naturally moist without needing gluten substitutes. For extra insurance, use a gluten-free baking powder to prevent any potential cross-contamination.
What’s the best way to serve this cake?
This cake shines at tropical-themed gatherings or as a light dessert after rich meals. Serve slices on a platter with fresh mango slices or passion fruit sauce for brightness. For a festive touch, garnish with extra toasted coconut flakes or edible coconut flowers. Chill for 30 minutes before serving to let the frosting set properly.
