A coconut cake recipe should give you a tender crumb, real coconut flavor, and a frosting that holds without sliding. This version uses buttermilk and shredded coconut in the batter so every slice tastes like coconut, not just the topping. You'll get a two-layer cake that's sturdy enough to frost yet soft enough to melt on the tongue.
The method below avoids overmixing and controls oven temperature so the layers rise evenly. It's written for home ovens and standard pans, not specialty equipment. If you follow the visual cues, you'll pull a clean, golden cake with no dome or sink in the middle. If you enjoyed this, our shirazi salad weeknight is worth trying next. Making this coconut cake at home is surprisingly straightforward once you know the key steps.
Why You'll Love These Coconut Cakes
- Even, flat layers that stack without trimming
- Real shredded coconut baked into the crumb
- Buttermilk keeps the cake moist for days
- Stable frosting that doesn't weep at room temperature
- Freezes well as a finished or unfrosted cake
Ingredients You'll Need
- 2 1/2 cups (310 g) cake flour — low protein for a fine crumb
- 1 1/2 cups (300 g) granulated sugar
- 1 cup (90 g) unsweetened shredded coconut
- 1 tbsp baking powder
- 1/2 tsp salt
- 3/4 cup (170 g) unsalted butter, room temperature
- 4 large eggs, room temperature
- 1 cup (240 ml) buttermilk, room temperature
- 2 tsp coconut extract
- 1 tsp vanilla extract
- 1 cup (226 g) unsalted butter, softened (frosting)
- 4 cups (480 g) powdered sugar (frosting)
- 2 tbsp coconut cream (frosting)
- 1 1/2 cups (135 g) toasted shredded coconut (garnish)
Ingredient Substitutions
Cake flour: Replace with 2 1/4 cups all-purpose flour plus 1/4 cup cornstarch sifted together for a similar low-protein blend. All-purpose alone makes a tighter, chewier crumb and a slightly taller dome. You'll lose some of the melt-in-mouth softness but the cake still bakes through in the same time. The coconut cake works well for weeknight cooking when time is limited.
Buttermilk: Use 1 cup whole milk mixed with 1 tbsp lemon juice and rested 5 minutes as a direct swap. The acid still tenderizes the gluten and reacts with baking powder for lift. Expect a faint lemon note that sits behind the coconut rather than competing with it. Storing leftover coconut cake correctly keeps it tasting good for days.
Unsweetened shredded coconut: Swap for sweetened flaked coconut using the same weight, then reduce sugar by 2 tbsp to balance. Sweetened flakes are larger and hold more moisture, giving a slightly gummier bite. Toast them briefly if you want more crunch in the finished crumb.
Coconut extract: Replace with an extra 1 tsp vanilla plus 2 tbsp coconut cream if you avoid extracts. The flavor reads milder and more dairy-rounded than perfumed. You'll need the toasted garnish to carry the coconut identity on the outside. For another easy option, check out our search recipes.
Step-by-Step Instructions
- Heat the oven to 180°C / 350°F and grease two 9-inch round pans, lining bottoms with parchment.
- Whisk cake flour, granulated sugar, shredded coconut, baking powder, and salt in a bowl until evenly distributed.
- Beat 3/4 cup butter on medium speed for 2 minutes until pale, then add eggs one at a time, beating 20 seconds each.
- Add dry mix in three parts alternating with buttermilk, starting and ending with dry; stir in coconut and vanilla extracts until just combined, do not overmix.
- Divide batter between pans; bake 25–30 minutes until a toothpick comes out with moist crumbs and edges pull slightly from sides.
- Cool in pans 10 minutes, then turn out on a rack until fully cool before frosting, about 45 minutes.
- Beat frosting butter on medium-low heat off stove for 3 minutes, add powdered sugar and coconut cream, whip 4 minutes until golden and crispy free, smooth and fluffy.
- Stack layers with 1 cup frosting between, coat outside thinly, press toasted coconut on sides, and chill 20 minutes to set.
Pro Tips
- Room-temperature eggs and buttermilk blend without curdling the batter, preventing dense streaks.
- Toast garnish coconut on medium-low heat in a dry pan until light brown, stirring every 30 seconds.
- Apply a thin crumb coat and chill before the final coat so loose bits don't ruin the surface.
- Rotate pans at 15 minutes if your oven bakes unevenly to keep both layers flat.
- Read vegan baking swaps if you later want a dairy-free version of this coconut cake recipe.
Common Mistakes to Avoid
- Opening the oven before 20 minutes drops heat and causes sunk centers; avoid opening the oven early.
- Using cold buttermilk shocks the butter and leaves lumps; always warm it to room temp first.
- Overbeating after flour goes in builds gluten and gives a rubbery crumb instead of a soft one.
Serving Suggestions
Cut with a warm knife for clean edges and pair slices with french gimlet for a light citrus contrast. A scoop of vanilla ice cream melts into the crumb at room temperature. For brunch, serve smaller wedges next to fresh pineapple chunks.
Storage and Reheating
Keep the frosted cake in an airtight container in the fridge up to 3 days and bring to cool room temp before slicing. Unfrosted layers recipe barrel freeze wrapped freeze for up to 2 months. Reheat a single slice 10 seconds in microwave only if you prefer it barely warm, not hot.
Recipe Variations
Lime Coconut Version
Add 2 tbsp lime zest to the batter and swap vanilla for lime extract. The acidity brightens the coconut and cuts the frosting sweetness. Expect a paler crumb with a clear citrus aroma on the finish.
Chocolate Layer Swap
Replace 1/2 cup cake flour with cocoa powder and add 2 tbsp sugar to balance. The cake bakes 25–30 minutes still but tastes deeper and pairs with the same coconut frosting. Layers will be slightly more fragile, so handle with a flat spatula.
Single Sheet Pan
Pour batter into a 9x13 pan and bake 25–30 minutes until a toothpick comes out clean. Skip stacking and spread all frosting on top, then sprinkle toasted coconut. This suits courses for a crowd without layer precision.
Reduced Sugar Build
Cut granulated sugar to 1 cup and powdered sugar to 3 cups for a less sweet cake. The crumb stays moist from buttermilk but browns lighter. Use recipe search to find matching light desserts.