Go Back

Coconut Cake with Raspberry Filling

A tender coconut cake layered with a vibrant raspberry filling and finished with a smooth cream cheese frosting. Toasted coconut on the exterior adds texture and a polished presentation.
Print Pin
Course: Dessert
Cuisine: American
Keyword: Coconut Cake with Raspberry Filling
Prep Time: 35 minutes
Cook Time: 25 minutes
Chill Time: 45 minutes
Total Time: 1 hour 45 minutes

Ingredients

Raspberry Filling

  • 2 cups raspberries fresh or frozen and thawed
  • 1/4 cup granulated sugar
  • 2 teaspoons lemon juice
  • 1 1/2 tablespoons cornstarch
  • 1 1/2 tablespoons water
  • 1/4 teaspoon vanilla extract

Cake

  • 4 large eggs
  • 1 package yellow cake mix
  • 1 small package vanilla instant pudding mix
  • 1/2 cup canola oil
  • 1 cup full-fat unsweetened coconut milk stirred before measuring
  • 1 1/2 cups shredded coconut

Cream Cheese Frosting

  • 12 ounces full-fat cream cheese softened
  • 3/4 cup unsalted butter room temperature
  • 6 cups icing sugar sifted
  • 1 teaspoon vanilla essence
  • 1 to 2 tablespoons unsweetened coconut milk
  • 1 small pinch of salt

Garnish

  • 1 cup toasted coconut flakes

Instructions

  • Place the raspberries, sugar, and lemon juice in a medium saucepan. Cook over low-medium heat, stirring often, until the berries soften and the mixture becomes thickened, about 8 to 10 minutes.
  • In a small bowl, stir the cornstarch and water together until smooth. Pour the slurry into the raspberry mixture and stir immediately. Continue cooking for 2 to 3 minutes, or until the filling thickens fully. Remove from the heat, mix in the vanilla, and transfer to a bowl to cool completely. Refrigerate if needed to hasten cooling.
  • Preheat the oven to 325°F (163°C). Line the bases of three 8-inch round cake pans with parchment paper, coat with cooking spray, and set them aside.
  • In a large mixing bowl fitted with a paddle attachment, combine the cake mix, instant pudding, eggs, coconut milk, and canola oil. Beat on medium speed for about 2 minutes, until the batter is smooth and thoroughly blended. Fold in the shredded coconut.
  • Divide the batter evenly between the prepared pans, smoothing the tops. Each pan should hold about 390 grams, or 13.75 ounces, of batter.
  • Bake for 22 to 25 minutes, until the cakes no longer wobble and the centers spring back lightly when touched. The tops and edges should be lightly golden. Let the layers rest in their pans for 15 to 30 minutes, then turn them out onto a wire rack and cool completely.
  • To prepare the frosting, beat the softened cream cheese and butter together in a large bowl until smooth. Add the icing sugar gradually, then blend in the vanilla essence, coconut milk, and salt. Beat only until the frosting is light and combined. Adjust the texture with a little more icing sugar or coconut milk as needed.
  • For the garnish, melt 1 teaspoon of butter in a large frying pan over low-medium heat. Add the coconut and stir frequently until it turns lightly golden, watching carefully so it does not burn. Transfer the toasted coconut to wax paper or paper towel and let it cool.
  • Set one cake layer on a cake plate or serving stand with the top facing upward. Spread a thin layer of frosting over the surface, then pipe a border of frosting around the edge using a ziplock bag with one corner snipped off. Spoon raspberry filling inside the border.
  • Add the second cake layer and repeat the frosting border and raspberry filling. Place the final cake layer on top with the top side facing down.
  • Spread a thin crumb coat of cream cheese frosting over the entire cake. Chill the cake in the refrigerator or freezer for 10 to 15 minutes.
  • Cover the chilled cake with the remaining frosting. Spoon extra raspberry filling over the top if desired, then press the toasted coconut over the outside of the cake to finish.

Notes

For the richest texture and flavor, use full-fat coconut milk and full-fat cream cheese. Sifting the icing sugar helps produce a smoother frosting.