Coconut Cake Recipe: Moist, Fluffy & Tropical
In this article
This coconut cake is everything you want in a layer cake: tender, moist crumb, fluffy texture, and a big hit of tropical coconut flavor in every bite. The secret is a combination of coconut milk in the batter and a simple soak that keeps the layers incredibly moist, while the cream cheese frosting is light, tangy, and studded with shredded coconut. It's perfect for birthdays, summer parties, or any time you need a slice of sunshine.
Ingredients
- 3 cups (360 g) cake flour, sifted
- 1 tablespoon baking powder
- 1/2 teaspoon salt
- 1 cup (2 sticks / 227 g) unsalted butter, softened
- 1 3/4 cups (350 g) granulated sugar
- 4 large eggs, at room temperature
- 1 cup (240 ml) full-fat coconut milk, at room temperature
- 1/2 cup (120 ml) sour cream, at room temperature
- 1 teaspoon vanilla extract
- 1 teaspoon coconut extract (optional but recommended)
For the coconut soak:
- 1/2 cup (120 ml) coconut milk (from a can)
- 2 tablespoons granulated sugar
For the cream cheese frosting:
- 8 oz (226 g) cream cheese, softened
- 1/2 cup (1 stick / 113 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar, sifted
- 1 teaspoon vanilla extract
- 1/2 teaspoon coconut extract (optional)
- 1 1/2 cups (120 g) sweetened shredded coconut, for topping
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line the bottoms with parchment paper.
- In a medium bowl, whisk together the cake flour, baking powder, and salt. Set aside.
- In a large bowl, using an electric mixer, beat the butter and sugar together on medium speed until light and fluffy, about 3–4 minutes. Scrape down the sides as needed.
- Add the eggs one at a time, beating well after each addition. Beat in the vanilla and coconut extracts.
- In a small bowl or measuring cup, stir together the coconut milk and sour cream. It will look slightly curdled—that's fine.
- With the mixer on low speed, add the dry ingredients in three additions, alternating with the coconut milk mixture, starting and ending with the dry ingredients. Mix until just combined—do not overmix.
- Divide the batter evenly between the prepared pans. Smooth the tops with a spatula.
- Bake for 28–32 minutes, or until a toothpick inserted into the center comes out clean. The tops should be golden and spring back when lightly pressed.
- Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely.
- While the cakes are cooling, make the soak: in a small saucepan, heat the coconut milk and sugar over medium heat, stirring until the sugar dissolves. Remove from heat and let cool.
- Make the frosting: In a large bowl, beat the cream cheese and butter until smooth and creamy. Gradually add the powdered sugar, beating until fluffy. Add the vanilla and coconut extracts, beat to combine.
- Once the cakes are completely cool, use a toothpick or skewer to poke holes all over the tops. Brush or spoon the coconut soak evenly over both cake layers.
- Place one layer on a serving plate. Spread about 1 cup of frosting on top. Place the second layer on top. Frost the top and sides with the remaining frosting.
- Press the shredded coconut onto the sides and top of the cake. Refrigerate for at least 1 hour before slicing to let the cake set.
Tips
- Room temperature ingredients are key: Cold eggs, butter, or coconut milk can make the batter curdle or the cake dense. Let them sit out for 30–60 minutes before starting.
- Don't overmix the batter: Once you add the flour, mix just until no streaks remain. Overmixing develops gluten, which makes the cake tough instead of fluffy.
- Use full-fat coconut milk: Light coconut milk is too watery and will make the cake less moist. Shake the can well before measuring.
- For a cleaner crumb: If you want a neat look, refrigerate the frosted cake for 15 minutes before pressing on the coconut, or use a crumb coat (a thin layer of frosting) first.
Serving Suggestions
Serve this coconut cake at room temperature for the best flavor and texture. It pairs beautifully with a cup of hot coffee or black tea. For an extra tropical touch, you can top each slice with a few toasted coconut flakes or a small scoop of coconut ice cream. It's also wonderful with fresh mango or pineapple on the side.
Variations
- Lime coconut cake: Add 1 tablespoon of lime zest to the batter and 1 tablespoon of lime juice to the frosting for a citrusy twist.
- Pineapple coconut cake: Fold 1 cup of crushed pineapple (well-drained) into the batter before baking, and use pineapple juice in place of the coconut milk soak.
- Gluten-free: Substitute the cake flour with a 1:1 gluten-free baking flour blend. The texture will be slightly different but still delicious.
- Cupcakes: This batter makes about 24 cupcakes. Bake for 18–22 minutes instead, and reduce the soak to just a light brush.
Storage and Reheating
Store the frosted cake in an airtight container in the refrigerator for up to 5 days. Because of the cream cheese frosting, it must be chilled. Let slices sit at room temperature for 15–20 minutes before serving to soften. You can also freeze unfrosted cake layers for up to 3 months—wrap them tightly in plastic wrap and then foil. Thaw overnight in the fridge before frosting. To reheat individual slices, microwave for 10–15 seconds, but be aware the frosting will melt slightly.
Frequently Asked Questions
Can I use regular all-purpose flour instead of cake flour?
Yes, but the cake will be slightly denser. To mimic cake flour, remove 2 tablespoons of flour per cup and replace with 2 tablespoons of cornstarch, then sift together.
Why did my cake sink in the middle?
This usually happens if the oven door is opened too early, or if the batter is overmixed. Make sure your oven is at the correct temperature, and don't open the door until at least 25 minutes of baking have passed.
Can I make this cake ahead of time?
Absolutely. You can bake the layers a day ahead, wrap them tightly in plastic wrap, and store at room temperature. Or frost the cake a day ahead and keep it in the fridge—it actually tastes better after the flavors meld.
Is coconut extract necessary?
No, but it boosts the coconut flavor significantly. If you don't have it, you can use vanilla extract instead, or simply omit it—the coconut milk and shredded coconut still provide plenty of coconut taste.
How do I toast coconut for the topping?
Spread shredded coconut on a baking sheet and bake at 350°F for 5–7 minutes, stirring once, until golden brown. Watch it closely—it burns quickly.
Can I use unsweetened shredded coconut?
Yes, but the cake will be less sweet. If using unsweetened, you may want to increase the sugar in the frosting by a couple of tablespoons to compensate.