This raspberry coconut cake is a tender, moist layer cake with a bright raspberry filling and a fluffy coconut frosting. It works because the tangy berries cut through the rich coconut, and the cake uses buttermilk for extra tenderness. You’ll bake it in two 9-inch round pans, and the result is a stunning dessert for birthdays or summer gatherings.
Ingredients
- 2 1/2 cups (300 g) all-purpose flour
- 2 1/2 teaspoons baking powder
- 1/2 teaspoon salt
- 1 cup (226 g) unsalted butter, softened
- 1 3/4 cups (350 g) granulated sugar
- 4 large eggs, room temperature
- 1 teaspoon vanilla extract
- 1 cup (240 ml) buttermilk, room temperature
- 1 cup (80 g) sweetened shredded coconut, plus more for garnish
- 1 cup (240 ml) raspberry preserves or jam (seedless if preferred)
- 1 cup (125 g) fresh raspberries (for filling and garnish)
For the Coconut Frosting
- 1 cup (226 g) unsalted butter, softened
- 4 cups (480 g) powdered sugar
- 1/4 cup (60 ml) coconut milk (full-fat, canned) or heavy cream
- 1 teaspoon coconut extract (optional)
- Pinch of salt
Instructions
- Preheat oven to 350°F (175°C). Grease two 9×2-inch round cake pans and line the bottoms with parchment paper. Dust with flour and tap out excess.
- Whisk dry ingredients. In a medium bowl, whisk together flour, baking powder, and salt. Set aside.
- Cream butter and sugar. In a large bowl, beat butter and sugar with an electric mixer on medium-high until light and fluffy, about 3 minutes. Scrape down the bowl.
- Add eggs and vanilla. Beat in eggs one at a time, then vanilla. Mix until well combined.
- Alternate dry and buttermilk. With mixer on low, add flour mixture in three additions, alternating with buttermilk, starting and ending with flour. Mix just until combined—do not overmix.
- Fold in coconut. Gently fold in the shredded coconut with a spatula.
- Divide batter. Evenly divide batter between the prepared pans (about 3 cups each). Smooth the tops.
- Bake. Bake for 28–35 minutes, or until a toothpick inserted in the center comes out with a few moist crumbs. The cakes should spring back when lightly pressed. Cool in pans for 10 minutes, then turn out onto wire racks to cool completely.
- Make frosting. In a large bowl, beat butter until creamy. Gradually add powdered sugar, then coconut milk and coconut extract. Beat on medium-high for 2–3 minutes until light and fluffy. If too thick, add more coconut milk; if too thin, add more sugar.
- Assemble. Place one cake layer on a serving plate. Spread a generous layer of raspberry preserves over the top (about 1/2 cup), then add a few fresh raspberries. Top with the second cake layer.
- Frost the cake. Spread the coconut frosting over the top and sides of the cake. Press shredded coconut onto the sides if desired. Garnish with fresh raspberries and a sprinkle of coconut.
Tips
- Room temperature ingredients matter. Cold eggs or buttermilk can cause the batter to curdle. Set them out 30 minutes before starting.
- Don’t overmix. Overmixing develops gluten and makes a tough cake. Mix just until the flour disappears.
- Use full-fat coconut milk. Light coconut milk will make a thinner frosting. If you only have cream, that works too.
- Check doneness early. Ovens vary. Start checking at 25 minutes. The cake is done when a toothpick comes out with a few moist crumbs, not wet batter.
Serving Suggestions
Serve this cake at room temperature so the frosting is soft. It’s perfect for birthdays, bridal showers, or a spring brunch. Pair with a cup of coffee or a glass of cold milk. For a fancier presentation, add a drizzle of melted white chocolate or a dusting of powdered sugar.
Variations
- Lemon Raspberry: Add 1 tablespoon lemon zest to the cake batter and use lemon curd instead of raspberry preserves.
- Chocolate Coconut: Replace 1/4 cup (30 g) of flour with unsweetened cocoa powder and use chocolate ganache between layers.
- Gluten-Free: Use a 1:1 gluten-free flour blend. The texture may be slightly denser, but it still works.
- Bundt Cake: Pour batter into a 10-cup bundt pan and bake for 45–55 minutes. Skip the layering and just glaze with a simple coconut icing.
Storage and Reheating
Store the cake in an airtight container in the refrigerator for up to 4 days. Bring to room temperature before serving for the best flavor. You can also freeze the unfrosted cake layers wrapped tightly in plastic wrap for up to 3 months. Thaw overnight in the fridge before frosting. If you have leftover slices, they can be reheated in the microwave for 10–15 seconds to soften the frosting, though it’s usually best enjoyed at room temperature.
Frequently Asked Questions
Can I use frozen raspberries? Yes, but thaw them first and drain excess liquid. For the filling, use preserves or jam, not fresh berries, to avoid a soggy cake.
Can I make this cake dairy-free? Substitute unsalted butter with vegan butter or margarine, and use a dairy-free buttermilk (add 1 tablespoon lemon juice to 1 cup of almond milk). Use coconut cream in the frosting.
Why did my cake sink in the middle? This usually happens if the oven door is opened too early or the batter is overmixed. Make sure your baking powder is fresh, and don’t open the oven for the first 20 minutes.
Can I use a different pan size? You can use three 8-inch round pans for thinner layers—bake for 22–28 minutes. Or use a 9×13-inch pan and bake for 35–40 minutes. Adjust times and check with a toothpick.
How do I keep the raspberry filling from bleeding into the frosting? Spread a thin layer of frosting on top of the preserves before adding the second layer. This acts as a barrier.
Can I skip the coconut in the cake? Yes, just omit it. You may want to add a bit more flour (about 2 tablespoons) to compensate for the dry ingredient.