Skip to main content
Zimt

Home baking recipes and cinnamon favourites

Tropical Pineapple Coconut Layer Cake Recipe

This tropical pineapple coconut layer cake captures the bright flavors of the islands in a soft, buttery crumb topped with a silky coconut‑pineapple buttercream. The combination of fresh pineapple, toasted coconut, and a hint of vanilla creates a moist cake that stays tender for days, making it perfect for celebrations or a weekend treat.

Ingredients

The cake layers rely on a balance of wet and dry ingredients to stay light yet moist. Using coconut milk and crushed pineapple adds natural moisture, while the shredded coconut provides texture and a subtle nutty flavor.

For the frosting, a blend of butter, powdered sugar, and coconut cream creates a smooth, tropical buttercream that holds its shape well at room temperature.

  • 2 ½ cups (310 g) all‑purpose flour
  • 2 tsp baking powder
  • ½ tsp fine sea salt
  • ¾ cup (170 g) unsalted butter, softened
  • 1 ¼ cup (250 g) granulated sugar
  • 4 large eggs, room temperature
  • 1 tsp pure vanilla extract
  • ½ cup (120 ml) coconut milk (full‑fat)
  • ½ cup (120 ml) pineapple juice (from the crushed pineapple)
  • 1 cup (240 g) crushed pineapple, well drained
  • ½ cup (45 g) sweetened shredded coconut
  • ¼ cup (30 g) coconut oil, melted
  • For the frosting:
  • 1 cup (225 g) unsalted butter, softened
  • 3 cups (360 g) powdered sugar, sifted
  • ¼ cup (60 ml) coconut cream (the thick layer from a chilled can)
  • 2 tbsp pineapple juice
  • ½ tsp vanilla extract
  • ¼ cup (30 g) toasted coconut flakes, plus extra for garnish

Instructions

Begin by preparing the pans and gathering all ingredients; this prevents scrambling for items once the batter is mixed. Grease three 9‑inch (23 cm) round cake pans, line the bottoms with parchment circles, and lightly dust with flour, tapping out excess.

While the pans are prepping, whisk together the dry ingredients so the baking powder distributes evenly. In a separate bowl, cream butter and sugar until pale and fluffy, then add eggs one at a time, incorporating each fully before the next.

  1. Preheat the oven to 350°F (177°C). Position the rack in the middle of the oven.
  2. In a medium bowl, whisk flour, baking powder, and salt; set aside.
  3. Combine the melted coconut oil, coconut milk, pineapple juice, and vanilla extract in a measuring cup.
  4. With the mixer on low speed, add the dry ingredients to the butter‑sugar mixture in three additions, alternating with the coconut‑pineapple liquid. Finish with the final third of flour; do not over‑mix.
  5. Fold in the drained crushed pineapple and shredded coconut using a rubber spatula, ensuring even distribution without deflating the batter.
  6. Divide the batter evenly among the three prepared pans (about 2 cups per pan). Smooth the tops with an offset spatula.
  7. Bake for 22–26 minutes, or until a toothpick inserted into the center comes out clean and the tops are lightly golden. The internal temperature should read 200°F (93°C) on an instant‑read thermometer.
  8. Allow the cakes to cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. This step is crucial; frosting a warm cake creates a soggy crumb.
  9. While the layers cool, prepare the buttercream. Beat the softened butter on medium speed until creamy, about 2 minutes.
  10. Gradually add powdered sugar, one cup at a time, beating on low to avoid a sugar cloud. Once incorporated, increase speed and beat until smooth.
  11. Add coconut cream, pineapple juice, and vanilla; beat on medium until the frosting is light and fluffy, roughly 3 minutes. If the frosting is too soft, refrigerate for 10 minutes before using.
  12. To assemble, place the first cake layer on a serving plate, spread a generous spoonful of frosting, then sprinkle a thin layer of toasted coconut. Repeat with the second and third layers, finishing with a thick outer coat of buttercream.
  13. Press toasted coconut flakes gently into the sides and top for decoration. Refrigerate the assembled cake for 30 minutes to set the frosting before slicing.

Tips

Small adjustments can make a big difference in texture and flavor. The key is to keep the batter moist without becoming soggy, and to ensure the frosting holds its shape.

Below are a few practical pointers that help avoid common pitfalls.

  • Use well‑drained pineapple; excess juice will thin the batter and lead to a dense crumb.
  • If you prefer a dairy‑free version, replace butter with equal parts coconut oil and use a plant‑based powdered sugar.
  • Toast coconut flakes in a dry skillet over medium heat for 3–4 minutes, stirring constantly, to bring out a deeper flavor without burning.
  • For an even taller cake, double the recipe and bake in six 6‑inch (15 cm) pans, adjusting baking time to 18–20 minutes.

Serving Suggestions

Serve the cake at room temperature to let the buttercream soften slightly, which enhances the tropical aroma. Pair each slice with a glass of chilled pineapple‑coconut mocktail or a light rum‑based cocktail for an authentic island vibe.

For a decorative touch, garnish the plate with fresh pineapple wedges, a sprig of mint, or a dusting of toasted coconut. The cake also works well as a make‑ahead dessert for picnics; just keep it covered and cool until ready to serve.

Variations

If you enjoy a hint of citrus, add the zest of one lime to the batter and to the frosting; the acidity balances the sweetness and brightens the overall flavor profile. This works especially well when the cake is served in warm weather.

For a richer texture, substitute half of the all‑purpose flour with cake flour, which yields a finer crumb. Alternatively, incorporate ¼ cup (30 g) almond meal for a subtle nutty nuance that complements the coconut.

Storage and Reheating

Store the unfrosted layers wrapped tightly in plastic wrap for up to 2 days at 40‑°F (4‑°C). Once frosted, keep the cake covered with a cake dome or an inverted plate and refrigerate; it will stay fresh for 4–5 days.

To serve chilled cake, allow it to sit at room temperature for 20–30 minutes before slicing. If you need to reheat a slice, place it on a microwave‑safe plate and warm on low power (30 % power) for 15–20 seconds; the frosting will soften without melting.

Frequently Asked Questions

Can I use canned pineapple instead of fresh?

Yes, canned crushed pineapple works fine as long as you drain it thoroughly. Pat the pieces dry with paper towels to remove excess syrup, which can make the batter too wet.

How do I know when the cake is fully baked?

The safest test is an instant‑read thermometer; the center should reach 200°F (93°C). A toothpick inserted into the middle should come out clean, and the tops will be lightly golden.

Is it safe to eat the batter before baking?

No. Raw batter contains uncooked eggs and flour, which can harbor harmful bacteria. Always bake the cake completely before tasting.

Can I freeze the cake?

Unfrosted layers freeze well. Wrap each layer tightly in plastic wrap, then foil, and store for up to 2 months. Thaw overnight in the refrigerator before frosting.

What if I don’t have coconut cream?

Replace it with an equal amount of full‑fat coconut milk, but reduce the added pineapple juice by half to keep the frosting from becoming too loose.

Read next