If you’re a fan of tropical flavors and dreamy desserts, you absolutely must try this Coconut Cake with Pineapple Filling Recipe. It’s a luscious, moist cake layered with a vibrant pineapple filling and crowned with a cloud of buttery coconut frosting. The delicate balance of creamy coconut and zesty pineapple will transport you straight to a sunny island paradise with every bite. Trust me, this cake is an unforgettable crowd-pleaser that’s perfect for celebrations or when you simply want to impress yourself with a slice of pure joy.

Ingredients You’ll Need

A collage of four images showing different stages of mixing baking ingredients in a clear glass bowl on a white marbled surface. The top left image shows a bowl filled with a white powdery mixture, likely flour and sugar. The top right image displays a bowl with white granulated sugar piled next to several small yellow butter pieces. The bottom left image captures a creamy, light yellow mixture with a single orange egg yolk in the center. The bottom right image shows a more blended, slightly bubbly yellow mixture with some granules still visible. Photo taken with an iphone --ar 4:5 --v 7

Getting ready to make this Coconut Cake with Pineapple Filling Recipe? The ingredients are straightforward, yet each one plays an essential role in creating that perfect harmony of texture and taste. From the shredded coconut that adds a delightful chewiness to the crushed pineapple that infuses the cake with juicy sweetness, every component matters.

  • All-purpose flour (1 3/4 cups): The sturdy base that keeps everything together while remaining tender.
  • Unsweetened shredded coconut (1 cup): Adds natural coconut flavor and a lovely texture.
  • Baking powder (2 tsp): Gives the cake a light, fluffy rise.
  • Salt (1/4 tsp): Enhances the sweetness and balances flavors.
  • Unsalted butter, softened (125 g + 200 g): Brings richness and creaminess to both the cake and frosting.
  • Superfine sugar (3/4 cup): Sweetens the cake while keeping it smooth.
  • Large eggs (2): Bind ingredients and create structure with a rich, velvety crumb.
  • Whole milk (1/2 cup): Keeps the cake moist and tender.
  • Extra virgin olive oil (1/4 cup): Adds a subtle fruity depth and keeps the texture soft.
  • Canned crushed pineapple, drained and undrained (2 x 8 oz cans): The star ingredient providing bright, tropical flavor both inside the cake and the filling.
  • Granulated sugar (2 Tbsp): Sweetens the pineapple filling for that perfect balance.
  • Cornstarch (1 Tbsp): Thickens the pineapple filling to a luscious consistency.
  • Powdered sugar (2 3/4 cups): Creates a smooth, sweet buttercream frosting.
  • Vanilla extract (optional): Enhances the overall aroma and flavor of the cake and frosting.
  • Unsweetened shredded coconut for decoration (3/4 cup): Adds texture and that final tropical touch.

How to Make Coconut Cake with Pineapple Filling Recipe

Step 1: Prepare the Pineapple

The first secret to this Coconut Cake with Pineapple Filling Recipe is properly handling the pineapple. Drain one can of crushed pineapple very well – pressing gently to squeeze out as much juice as possible. Reserve this juice because it will add moisture and flavor to both the cake batter and the frosting. Aim to have about three-quarters to one cup of well-drained pineapple for the batter.

Step 2: Preheat Your Oven and Prepare the Pan

Set your oven to 356ºF (180ºC) fan-forced and prepare an 8-inch round cake pan by greasing it with butter. For a smooth finish and easy removal, line the bottom with a circle of parchment paper and grease just the sides. This step ensures your cake bakes evenly and comes out flawless.

Step 3: Mix the Dry Ingredients

In a medium bowl, combine the flour, shredded coconut, baking powder, and salt. Whisk these together to evenly distribute the leavening agents and mix in the coconut. This makes sure every mouthful has that gentle coconut flavor and tender crumb you’re dreaming of.

Step 4: Cream Butter and Sugar

Using a mixer, beat the softened butter and sugar until pale and fluffy, about two minutes. This creaming process is crucial because it traps air bubbles, helping your cake rise beautifully with a light texture. Don’t forget to scrape down the sides of the bowl to ensure an even mix.

Step 5: Add the Eggs

Add the eggs one at a time, mixing briefly after each addition. They provide the structure and richness that hold this cake together while contributing to its moist, velvety crumb.

Step 6: Incorporate the Liquids

Pour in the whole milk and olive oil, blending them in until just combined. These liquids keep the cake tender and add a subtle depth of flavor from the olive oil, which you won’t necessarily taste but will feel in the silky finish of the crumb.

Step 7: Combine Wet and Dry Ingredients

Add the flour mixture to the wet ingredients, beating briefly until everything is just incorporated. Overmixing can make your cake tough, so mix until no dry streaks remain and fold gently if needed.

Step 8: Fold in the Pineapple

Gently fold the drained crushed pineapple and two tablespoons of reserved pineapple juice into the batter. This adds bursts of tropical sweetness and moisture, making every bite a little sunny celebration.

Step 9: Bake the Cake

Pour the batter into your prepared pan, smoothing the top carefully with a spatula. Bake for 35 to 38 minutes until a skewer inserted into the center comes out clean or with a few moist crumbs. The cake should spring back lightly when touched, signaling its perfect doneness.

Step 10: Cool Completely

Let the cake cool in the pan for 10 minutes before transferring it to a wire rack to finish cooling. Patience here will make slicing and assembling so much easier!

Step 11: Make the Pineapple Filling

For the filling, combine the second can of crushed pineapple (including its juice), granulated sugar, and cornstarch in a saucepan. Bring to a boil over medium heat, then boil for 2 minutes while stirring continuously until the mixture thickens. Chill the filling thoroughly in the fridge until ready to assemble.

Step 12: Prepare the Buttercream Frosting

Beat the softened butter until pale and fluffy, then gradually add powdered sugar, beating well after each addition. Mix in three tablespoons of the reserved pineapple juice from earlier and continue beating on medium-high speed until the frosting is light and airy. This tropical buttercream will complement the cake with creamy sweetness and a subtle pineapple zest.

Step 13: Assemble the Cake

Once completely cooled, slice the cake horizontally into two equal layers using a serrated knife. Spread a thin layer of buttercream on the bottom layer, then top with all of the chilled pineapple filling, leaving a small gap around the edges to contain the filling. Gently place the top layer of cake over the filling and spread the remaining buttercream around the entire cake.

Step 14: Decorate and Chill

Finish by pressing shredded coconut onto the sides and sprinkling some over the top. Chill the cake in the refrigerator for at least 20 minutes before slicing so the filling and frosting set perfectly.

How to Serve Coconut Cake with Pineapple Filling Recipe

A slice of yellow cake on a white plate with a textured edge sits on a white marbled surface. The cake has two layers: a light yellow moist sponge base and a thick creamy yellow layer in the middle. On top, there is a layer of smooth pale yellow frosting sprinkled with white shredded coconut. The back of another piece of the same cake is visible but blurred in the background. Photo taken with an iphone --ar 4:5 --v 7

Garnishes

A sprinkle of toasted coconut flakes adds a wonderful crunch and deep coconut aroma that pairs beautifully with the soft frosting. You can also top the cake with a few fresh pineapple chunks or edible flowers for a vibrant visual pop.

Side Dishes

This cake shines on its own but is also fantastic alongside a scoop of creamy vanilla ice cream or a dollop of lightly whipped cream. Fresh tropical fruits like mango or passionfruit make refreshing companions that balance the cake’s sweetness.

Creative Ways to Present

For festive occasions, slice the cake into petite squares and serve as finger food. Or build a mini buffet by pairing individual slices with little glasses of pineapple juice or coconut water for that ultimate island vibe.

Make Ahead and Storage

Storing Leftovers

Wrap leftover cake tightly in plastic wrap or place in an airtight container. Store in the refrigerator for up to 3 days to maintain freshness and frosting texture.

Freezing

This Coconut Cake with Pineapple Filling Recipe freezes well! Wrap the cake or individual slices securely in plastic wrap and foil, then freeze for up to two months. Thaw overnight in the refrigerator before serving.

Reheating

If you want to enjoy this cake warm, allow chilled slices to come to room temperature first, then warm briefly in the microwave for about 10-15 seconds. This enhances the coconut aroma and makes the frosting luscious again.

FAQs

Can I use fresh pineapple instead of canned?

Absolutely! Fresh pineapple can be used, but make sure to finely crush it and drain excess juice. The juice is key to balancing moisture and sweetness, so reserve some for the frosting if you use fresh fruit.

Is this cake suitable for freezing before assembly?

You can freeze the baked cake layers before assembling the filling and frosting. Wrap each layer well to prevent freezer burn, thaw fully before assembling for the best texture.

Can I substitute the olive oil with another oil?

Yes, vegetable or canola oil works well too. Olive oil adds a slight fruity note but is not essential, so feel free to use whichever you have on hand.

How do I prevent the pineapple filling from making the cake soggy?

Draining the pineapple thoroughly and chilling the filling until thickened helps keep the cake layers from getting soggy. Also, spreading a thin layer of buttercream before the filling acts as a moisture barrier.

Can I make this cake gluten-free?

With some adjustments, yes! Swap all-purpose flour with a blend of gluten-free flours designed for baking and ensure your baking powder is gluten-free. Texture and rise might vary slightly, but the tropical flavors will still shine.

Final Thoughts

Trust me when I say this Coconut Cake with Pineapple Filling Recipe will quickly become a cherished favorite in your dessert repertoire. It’s the perfect balance of sweet, tangy, and tropical with a melt-in-your-mouth texture that invites second (and third) helpings. Whether you’re baking for a special occasion or simply craving something deliciously different, this cake will deliver joy and smiles at every bite. Go ahead, treat yourself and your loved ones—you deserve it!

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
Coconut Cake with Pineapple Filling Recipe

Coconut Cake with Pineapple Filling Recipe


5 Stars 4 Stars 3 Stars 2 Stars 1 Star

4.1 from 63 reviews

  • Author: Amina
  • Total Time: 2 hours 25 minutes
  • Yield: 12 servings
  • Diet: Vegetarian

Description

This Coconut Cake with Pineapple Filling is a tropical-inspired dessert featuring a moist coconut-infused cake layered with a sweet and tangy pineapple filling, topped with a light pineapple buttercream frosting and garnished with shredded coconut. Perfect for gatherings and special occasions, it balances rich buttery flavors with refreshing pineapple goodness.


Ingredients

Cake Ingredients

  • 1 3/4 cups (210g / 7.4 oz.) all-purpose flour
  • 1 cup unsweetened fine shredded / desiccated coconut
  • 2 tsp baking powder
  • 1/4 tsp salt
  • 125 g unsalted butter, softened to room temperature
  • 3/4 cup superfine sugar / caster sugar
  • 2 large eggs, at room temperature
  • 1/2 cup (120ml) whole milk, at room temperature
  • 1/4 cup extra virgin olive oil or vegetable oil
  • 8 oz. (226g) canned crushed pineapple, drained (reserve the juice)
  • 2 Tbsp reserved pineapple juice

Pineapple Filling Ingredients

  • 8 oz. (226g) canned crushed pineapple in juice (do not drain)
  • 2 Tbsp granulated sugar
  • 1 Tbsp cornstarch

Buttercream Frosting Ingredients

  • 200 g unsalted butter, softened to room temperature
  • 2 3/4 cups powdered sugar
  • 3 Tbsp pineapple juice (reserved from the cake’s canned pineapple)

Decoration

  • 3/4 cup unsweetened shredded coconut


Instructions

  1. Prepare the Pineapple: Drain one can of crushed pineapple using a fine-mesh sieve. Press gently to remove as much juice as possible, reserving the juice for later use. Aim for about 3/4 to 1 cup of drained pineapple for the cake.
  2. Preheat Oven & Prepare Pan: Preheat your oven to 356ºF (180ºC) fan-forced. Grease an 8-inch round baking pan with butter and line the base with parchment paper. Grease the sides and dust lightly with flour to ensure easy removal of the cake.
  3. Mix Dry Ingredients: In a medium bowl, whisk together all-purpose flour, shredded coconut, baking powder, and salt. Set aside.
  4. Cream Butter and Sugar: In a large mixing bowl, beat the softened butter with superfine sugar and vanilla extract until the mixture is pale and creamy, about 2 minutes. Scrape down the sides as needed.
  5. Add Eggs: Add eggs one at a time, mixing for 15 seconds after each addition, ensuring each egg is fully incorporated before adding the next.
  6. Add Liquids: Pour in the whole milk and extra virgin olive oil, beating briefly for 20 seconds until combined.
  7. Combine Dry Ingredients: Add the flour mixture to the wet ingredients and mix just until incorporated. Avoid over-beating; if any unincorporated flour remains, gently fold it in using a rubber spatula.
  8. Fold in Pineapple: Carefully fold in the drained crushed pineapple and 2 tablespoons of the reserved pineapple juice to the batter.
  9. Prepare for Baking: Pour the batter into the prepared pan and smooth the top evenly with a spatula.
  10. Bake: Place the pan in the oven and bake for 35-38 minutes, or until a skewer inserted in the center comes out clean or with only a few moist crumbs. The top should spring back gently when pressed.
  11. Cool Cake: Let the cake cool in the pan for 10 minutes, then transfer to a wire rack to cool completely.
  12. Make Pineapple Filling: In a medium saucepan, combine the second can of crushed pineapple (with juice), granulated sugar, and cornstarch. Cook over medium heat until boiling, then continue boiling for 2 minutes while stirring constantly. Remove from heat and refrigerate to chill and thicken.
  13. Prepare Buttercream Frosting: Beat the softened butter for 2 minutes until pale and fluffy. Gradually add powdered sugar in batches, beating well after each addition. Add 3 tablespoons of reserved pineapple juice and beat on medium-high for 2 minutes until light and fluffy.
  14. Assemble Cake: Slice the cooled cake horizontally into two even layers using a serrated knife.
  15. Apply Buttercream Base Layer: Place the bottom cake layer on a serving plate and spread about 1/4 cup of buttercream frosting evenly over it.
  16. Add Pineapple Filling: Spread the chilled pineapple filling evenly over the buttercream layer, leaving a slight margin at the edges to prevent oozing.
  17. Top Layer: Place the top cake layer gently over the filling, aligning it carefully.
  18. Frost the Cake: Cover the entire cake with the remaining buttercream frosting, smoothing out the top and sides thoroughly.
  19. Decorate: Sprinkle unsweetened shredded coconut over the frosting, pressing it lightly into the sides and top to adhere well.
  20. Chill Before Serving: Refrigerate the assembled cake for at least 20 minutes to set the filling and frosting, making slicing cleaner and easier.
  21. Serve and Enjoy: Slice the cake into servings and serve chilled or at room temperature.

Notes

  • Ensure all refrigerated ingredients like eggs, milk, and butter are at room temperature to achieve better mixing and texture.
  • Do not overmix the batter after adding flour to keep the cake tender.
  • Use a serrated knife to slice the cake horizontally to avoid crumbling.
  • Reserve pineapple juice carefully as it is used both in the cake batter and frosting for enhanced flavor.
  • Allow the cake to chill before slicing for cleaner cuts and improved taste.
  • Prep Time: 35 minutes
  • Cook Time: 38 minutes
  • Category: Dessert
  • Method: Baking
  • Cuisine: American

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star