Pineapple Coconut Cream Cake Recipe (Soft & Moist)

Pineapple Coconut Cream Cake Recipe

A slice of pineapple coconut cream cake brings together two flavors that belong in the same dessert. Sweet pineapple adds a bright, fruity taste, while coconut gives the cake a rich, creamy flavor. Put them together with soft cake layers and cream cheese frosting, and you have a dessert that feels right at home on a summer table or at a family celebration.

I like the idea of keeping the pineapple flavor in more than one part of this cake. Crushed pineapple goes into the batter, while a separate pineapple filling adds another layer of fruit between the cakes. Coconut milk and shredded coconut help build the coconut flavor without relying entirely on extract.

This cake has several parts, but none of them needs complicated baking skills. The most important thing is giving the cake layers and pineapple filling enough time to cool. Warm cake can soften the frosting, and warm filling can slide out between the layers.

Plan ahead, and you can prepare some of the components the day before. That makes assembly easier and gives you more time to enjoy the finished dessert with everyone at the table.

Why Pineapple Coconut Cream Cake Needs a Balanced Batter

Pineapple adds moisture to cake batter, but too much liquid can leave the center heavy or gummy. That’s why the type of pineapple you use matters.

For this recipe, use canned crushed pineapple in juice. Drain it well before adding it to the cake batter. You want the fruit itself, not a large amount of extra liquid.

Coconut milk also plays an important role. Use canned coconut milk rather than the thin coconut beverage sold in cartons. Canned coconut milk contains more fat and gives the cake a richer texture.

Butter provides flavor, while a little vegetable oil helps keep the crumb soft. The combination works well for a cake that needs to stay tender after refrigeration.

Don’t overmix once you add the flour. Stir just until the dry ingredients disappear. Mixing longer can develop more gluten, which may make the cake tougher.

How to Keep the Pineapple Filling Thick Between Cake Layers

A pineapple filling should hold its shape when you cut the cake. If it’s too loose, it can squeeze out from the sides and make the layers slide.

This recipe uses cornstarch to thicken the filling. Mix it with the other ingredients before heating so it doesn’t form lumps.

Cook the mixture over medium heat and stir constantly. Cornstarch needs to reach a gentle bubble before it thickens fully, so keep stirring until the filling turns thick and glossy. Once it reaches a pudding-like consistency, remove it from the heat.

The filling must cool completely before assembly. Cover its surface with plastic wrap to prevent a skin from forming.

I recommend making the filling first. It needs time to cool, and you don’t want to rush that step while the cake layers are waiting.

Ingredients for Pineapple Coconut Cream Cake

For the Cake

  • 2¼ cups (280 g) all-purpose flour: Provides the structure for the cake. Measure carefully or use a kitchen scale.
  • ¼ cup (30 g) cornstarch: Helps create a softer crumb by reducing the amount of gluten-forming flour.
  • 2 teaspoons baking powder: Gives the cake its lift.
  • ½ teaspoon baking soda: Works with the acidic ingredients to help the cake rise.
  • ½ teaspoon salt: Balances the sweetness and brings out the pineapple and coconut flavors.
  • ½ cup (113 g) unsalted butter, softened: Adds rich flavor and helps create a tender texture.
  • ⅓ cup (80 ml) neutral vegetable oil: Keeps the cake moist after chilling.
  • 1¼ cups (250 g) granulated sugar: Sweetens the batter and supports its texture.
  • 3 large eggs, room temperature: Help bind the ingredients and provide structure.
  • 1½ teaspoons vanilla extract: Adds warmth to the cake.
  • 1 teaspoon coconut extract: Strengthens the coconut flavor. You can reduce it if you prefer a milder taste.
  • ¾ cup (180 ml) canned coconut milk: Adds moisture and coconut richness. Stir the can well before measuring.
  • 1 cup (225 g) crushed pineapple, well drained: Brings fruit flavor and small pineapple pieces to the cake.
  • ¾ cup (60 g) unsweetened shredded coconut: Adds coconut flavor and a little texture.

For the Pineapple Filling

  • 1 cup (225 g) crushed pineapple with juice: Forms the main flavor of the filling.
  • ¼ cup (50 g) granulated sugar: Sweetens the fruit.
  • 3 tablespoons (24 g) cornstarch: Thickens the filling so it stays between the layers.
  • ¼ cup (60 ml) whole milk: Helps create a smooth filling.
  • 1 tablespoon lemon juice: Adds acidity to balance the sweetness.
  • 2 tablespoons (28 g) unsalted butter: Gives the filling a smooth finish.

For the Coconut Cream Cheese Frosting

  • ½ cup (113 g) unsalted butter, softened: Adds flavor and helps the frosting hold its shape.
  • 8 ounces (226 g) full-fat cream cheese, softened but still cool: Gives the frosting its creamy texture and slight tang.
  • 3½ cups (420 g) powdered sugar: Sweetens and thickens the frosting.
  • 1 teaspoon vanilla extract: Adds flavor.
  • ½ teaspoon coconut extract: Provides extra coconut flavor.
  • ¼ teaspoon salt: Helps balance the sweetness.

For Decorating

  • 1 cup (80 g) unsweetened shredded coconut: Coats the outside of the cake.
  • Small pineapple pieces, optional: Add a little fruit to the top just before serving.

Smart Substitutions

Canned coconut milk → whole milk: Use the same amount if canned coconut milk is unavailable. The cake will have a milder coconut flavor and less richness.

Coconut extract → additional vanilla: Replace the coconut extract with the same amount of vanilla extract. The cake will still taste like pineapple coconut cake, but the coconut flavor will be softer.

Unsweetened shredded coconut → sweetened coconut: Use the same amount. The cake will be sweeter, so avoid adding extra sugar.

Canned crushed pineapple → fresh pineapple: Chop it very finely and drain it well before adding it to the cake batter. Canned pineapple is more consistent, so I recommend it for the filling.

Whole milk → coconut milk in the filling: Use the same amount of canned coconut milk for a stronger coconut flavor.

Cream cheese frosting → coconut buttercream: Use coconut buttercream if you prefer a sweeter frosting without cream cheese. Keep in mind that the finished cake will taste less tangy.

How to Make Pineapple Coconut Cream Cake

1. Prepare the Pineapple Filling

Add the crushed pineapple with its juice, sugar, cornstarch, milk, and lemon juice to a small saucepan. Whisk until the cornstarch dissolves and the mixture looks smooth.

Place the saucepan over medium heat. Stir constantly as the filling begins to thicken. Once it bubbles gently and looks like thick pudding, remove it from the heat and stir in the butter.

Transfer the filling to a bowl and cover the surface directly with plastic wrap. Let it cool completely before using.

Prepare the Pineapple Filling

2. Prepare the Cake Pans and Dry Ingredients

Preheat your oven to 350°F (175°C). Grease two 8-inch round cake pans and line their bottoms with parchment paper.

In a medium bowl, whisk together the flour, cornstarch, baking powder, baking soda, and salt. Make sure the baking powder and baking soda are evenly distributed.

Set the bowl aside while you prepare the wet ingredients.

Prepare the Cake Pans and Dry Ingredients

3. Cream the Butter, Oil, and Sugar

Place the softened butter, vegetable oil, and granulated sugar in a large mixing bowl. Beat with a hand mixer or stand mixer for about 2–3 minutes.

The mixture should look lighter and fluffy, with no large pieces of butter remaining. Scrape down the sides of the bowl as needed.

Add the eggs one at a time, mixing after each addition. Then add the vanilla and coconut extracts.

Creaming butter, oil, and sugar

4. Add the Pineapple and Coconut Milk

Add the drained crushed pineapple to the wet mixture. Mix until evenly distributed.

Add half of the dry ingredients and mix on low speed just until combined. Pour in the coconut milk and mix gently.

Add the remaining dry ingredients. Stop mixing when the flour disappears. Fold in the shredded coconut with a spatula.

Don’t keep beating the batter after the flour is added. A few gentle folds are enough to distribute the coconut without making the cake dense.

Add the Pineapple and Coconut Milk

5. Bake the Cake Layers

Divide the batter evenly between the prepared pans. Smooth the tops with a spatula so the layers bake at a similar height.

Bake for approximately 30–35 minutes. Start checking around the 30-minute mark.

Insert a toothpick into the center of each cake. It should come out clean or with a few moist crumbs. The cake edges should look lightly golden and begin to pull away from the pan.

Let the cakes cool in their pans for about 15 minutes. Then turn them onto wire racks and cool completely.

Bake the Cake Layers

6. Make the Coconut Cream Cheese Frosting

Place the softened butter in a large mixing bowl. Beat for 2–3 minutes until smooth and creamy.

Add the cream cheese and beat just until the mixture looks smooth.

Add the powdered sugar in batches. Start mixing on low speed to avoid sending sugar across the kitchen. Then add the vanilla, coconut extract, and salt, and beat just until the frosting looks smooth and spreadable.

Don’t overmix the cream cheese frosting. Excess mixing can make it softer, which makes decorating harder.

Make the Coconut Cream Cheese Frosting

7. Assemble the Cake

Place one completely cooled cake layer on a cake stand or serving plate.

Spread a thin layer of frosting over the top. Pipe a thicker frosting border around the edge to hold the pineapple filling in place.

Spread the cooled pineapple filling inside the border. Keep it away from the edges so it doesn’t squeeze out when you add the second layer.

Place the second cake layer on top. Spread frosting over the top and sides.

Assemble the Cake

8. Decorate and Chill

Cover the cake with shredded coconut. Gently press the coconut against the frosting so it sticks.

Add small pineapple pieces to the top if you like. Avoid adding too much fresh fruit before storage because it can release moisture.

Refrigerate the cake for about 30–60 minutes before slicing. This helps the frosting firm up and makes the cake easier to cut.

Pineapple Coconut Cream Cake
Pineapple Coconut Cream Cake Recipe

Pineapple Coconut Cream Cake

Summer Rose
This pineapple coconut cream cake has moist coconut layers, a thick pineapple filling, and coconut cream cheese frosting. Easy steps and make-ahead tips
Prep Time 40 minutes
Cook Time 35 minutes
Cooling and Chilling Time 2 hours
Total Time 3 hours 15 minutes
Course Dessert
Cuisine American
Servings 12
Calories 730 kcal

Equipment

  • 2 8-inch round cake pans
  • Parchment paper
  • Mixing bowls
  • Hand mixer or stand mixer
  • Whisk
  • Rubber spatula
  • small saucepan
  • Plastic wrap
  • Wire cooling racks
  • Cake stand or serving plate
  • Offset spatula
  • Piping bag, optional

Ingredients
  

Cake

  • 2¼ cups 280 g all-purpose flour
  • ¼ cup 30 g cornstarch
  • 2 teaspoons baking powder
  • ½ teaspoon baking soda
  • ½ teaspoon salt
  • ½ cup 113 g unsalted butter, softened
  • ⅓ cup 80 ml vegetable oil
  • 1¼ cups 250 g granulated sugar
  • 3 large eggs room temperature
  • 1½ teaspoons vanilla extract
  • 1 teaspoon coconut extract
  • ¾ cup 180 ml canned coconut milk
  • 1 cup 225 g crushed pineapple, well drained
  • ¾ cup 60 g unsweetened shredded coconut

Pineapple Filling

  • 1 cup 225 g crushed pineapple with juice
  • ¼ cup 50 g granulated sugar
  • 3 tablespoons 24 g cornstarch
  • ¼ cup 60 ml whole milk
  • 1 tablespoon lemon juice
  • 2 tablespoons 28 g unsalted butter

Coconut Cream Cheese Frosting

  • ½ cup 113 g unsalted butter, softened
  • 8 ounces 226 g full-fat cream cheese, softened but still cool
  • 3½ cups 420 g powdered sugar
  • 1 teaspoon vanilla extract
  • ½ teaspoon coconut extract
  • ¼ teaspoon salt

Decoration

  • 1 cup 80 g unsweetened shredded coconut
  • Small pineapple pieces optional

Instructions
 

  • Prepare the pineapple filling by whisking the pineapple with its juice, sugar, cornstarch, milk, and lemon juice in a saucepan.
  • Cook over medium heat, stirring constantly, until the filling bubbles gently and looks like thick pudding. Remove from the heat, stir in the butter, cover the surface with plastic wrap, and cool completely.
  • Preheat the oven to 350°F (175°C). Grease two 8-inch cake pans and line the bottoms with parchment paper.
  • Whisk the flour, cornstarch, baking powder, baking soda, and salt in a medium bowl.
  • Beat the butter, oil, and sugar for 2–3 minutes until light. Add the eggs one at a time, then the vanilla and coconut extract.
  • Mix in the drained pineapple. Add half of the dry ingredients and mix on low speed just until combined. Add the coconut milk and mix gently, then add the remaining dry ingredients and stop mixing when the flour disappears. Fold in the shredded coconut.
  • Divide the batter between the pans. Bake for 30–35 minutes, or until a toothpick comes out clean or with a few moist crumbs.
  • Cool the cakes in the pans for 15 minutes, then transfer to wire racks to cool completely.
  • For the frosting, beat the butter until creamy. Add the cream cheese and beat until smooth. Add the powdered sugar gradually, followed by the vanilla, coconut extract, and salt. Mix just until smooth.
  • Place one cake layer on a serving plate. Spread a thin layer of frosting on top and pipe a border around the edge.
  • Spread the cooled pineapple filling inside the border. Place the second cake layer on top.
  • Frost the top and sides. Cover with shredded coconut and decorate with pineapple pieces if desired.
  • Refrigerate for 30–60 minutes before slicing.

Notes

  • Make ahead: Prepare the pineapple filling and cake layers a day in advance. Wrap the cooled layers tightly and refrigerate.
  • Coconut milk: Use canned coconut milk, not refrigerated coconut beverage.
  • Frosting: If it becomes too soft, refrigerate briefly before decorating.
  • Storage: Refrigerate the finished cake and use within 3–4 days.
Keyword Pineapple Coconut Cream Cake

What to Serve With Pineapple Coconut Cream Cake

This cake is rich, fruity, and sweet, so simple drinks and lighter desserts work well alongside it.

  • Freshly brewed coffee: The slightly bitter flavor balances the sweet pineapple filling and cream cheese frosting.
  • Iced black tea: A refreshing choice for warm-weather gatherings.
  • Coconut iced coffee: Adds another layer of coconut flavor without requiring another dessert.
  • Fresh strawberries: Their slight acidity works well with pineapple and coconut.
  • Fresh mango slices: A natural pairing for the tropical flavors in the cake.
  • Vanilla ice cream: Serve a small scoop alongside a slice if you want a more indulgent dessert.

For birthdays and celebrations, serve the cake with coffee or tea after dinner. For a summer gathering, chilled slices with fresh fruit make a nice dessert.

Storage and Reheating

Because this cake contains cream cheese frosting and a pineapple filling, it should be refrigerated.

  • Refrigerator: Store the cake in an airtight cake container for up to 3–4 days.
  • Room temperature: Keep the cake out only while serving. Refrigerate leftovers within 2 hours.
  • Freezer (unfrosted layers): Freeze unfrosted cake layers for up to 2 months, wrapped tightly in plastic wrap and foil.
  • Freezer (frosted cake): Freeze individual slices for up to 1 month in airtight containers for better quality.

To thaw frozen cake, place it in the refrigerator overnight.

You don’t need to reheat the cake. Let refrigerated slices sit at room temperature for about 15–20 minutes before serving. This softens the frosting and brings back some of the cake’s tender texture.

Frequently Asked Questions

Can I make pineapple coconut cream cake the day before?

Yes. You can bake the cake layers and prepare the pineapple filling a day ahead. Wrap the cooled layers tightly, cover the filling, and refrigerate both. Assemble the cake when you’re ready, or refrigerate the finished cake overnight.

Why did my pineapple coconut cake turn out dense?

Dense cake can result from too much flour, overmixing, or excess pineapple liquid. Measure the flour carefully and drain the crushed pineapple before adding it to the batter. Mix gently once the flour goes in.

Can I use fresh pineapple in this cake?

Fresh pineapple can work in the cake batter if you chop it finely and remove excess juice. However, canned pineapple is more convenient and consistent. For the filling, canned pineapple is the simpler option.

How do I stop the pineapple filling from leaking out?

Make sure the filling is completely cool and thick before assembly. Pipe a frosting border around the cake layer and keep the filling inside it. Avoid adding too much filling between the layers.

Can I make pineapple coconut cream cake without coconut extract?

Yes. Replace the coconut extract with vanilla extract. The shredded coconut and coconut milk will still provide coconut flavor.

Why is my cream cheese frosting too soft?

The cream cheese or butter may be too warm, or the frosting may have been overmixed. Refrigerate it for 20–30 minutes, then stir gently until it reaches a spreadable consistency.

Can I bake this recipe in a 9 × 13-inch pan?

This recipe is written for two 8-inch round pans so the pineapple filling can sit between two layers. A 9 × 13-inch pan changes the baking time and the way the cake is assembled, so check for doneness with a toothpick and expect to serve it as a single-layer sheet cake.

A Final Note

Pineapple and coconut make a lovely combination, especially when the fruit filling adds a little brightness between soft cake layers. Take your time with the cooling and assembly, and you’ll have a dessert that’s worth sharing with family and friends.

You May Also Like

Leave a Reply

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

Recipe Rating