Soft and Moist Pineapple Coconut Cake – Simple Coconut Cake Recipe
This pineapple coconut cake is a soft, moist dessert with a light crumb and rich tropical flavor. The combination of sweet pineapple and creamy coconut creates a balanced taste that is both fresh and satisfying.
The cake is made with simple ingredients and layered with a smooth filling and creamy frosting. It is suitable for celebrations, gatherings, or as an everyday dessert. This is a reliable and easy pineapple coconut cake recipe that delivers consistent results.

Why You Will Love This Pineapple Coconut Cake Recipe
- Soft and moist texture with a light crumb
- Balanced sweetness with tropical flavor
- Easy to prepare with simple steps
- Suitable for layered cakes or sheet cakes
- Works well for celebrations and events
- Can be made ahead of time
Ingredients for Pineapple Coconut Cake

Cake Batter
- 2 1/4 cups all purpose flour
- 1 1/2 cups sugar
- 1/2 cup unsalted butter, softened
- 1/2 cup neutral oil
- 4 large eggs
- 3/4 cup canned coconut milk
- 1/2 cup crushed pineapple, well drained
- 1 cup shredded coconut
- 2 tsp baking powder
- 1/2 tsp baking soda
- 1/2 tsp salt
- 1 tsp vanilla extract
Pineapple Filling
- 1 cup crushed pineapple, drained
- 1/4 cup sugar
- 1 tbsp cornstarch
- 2 tbsp water
Coconut Cream Cheese Frosting
- 1/2 cup unsalted butter, softened
- 8 oz cream cheese, softened
- 3 cups powdered sugar
- 2 tbsp coconut milk
- 1/2 tsp vanilla extract
- pinch of salt
Ingredient Notes and Substitutions
- All purpose flour provides structure. Cake flour can be used for a softer crumb
- Coconut milk should be canned for a richer flavor and texture
- Crushed pineapple must be drained thoroughly to avoid excess moisture
- Oil and butter combination helps maintain both flavor and moisture
- Shredded coconut can be sweetened or unsweetened depending on preference
- Cream cheese balances sweetness and adds structure to frosting
Step-by-Step Instructions for Pineapple Coconut Cake
Step 1: Prepare the Oven and Cake Pans
Preheat the oven to 350 degrees Fahrenheit. Prepare two or three round cake pans by greasing them and lining the bottoms with parchment paper. This helps prevent sticking and ensures easy removal after baking.
Step 2: Combine Dry Ingredients

In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Mixing these ingredients evenly ensures proper rise and structure in the cake.
Step 3: Cream Butter and Sugar

In a large mixing bowl, beat the softened butter and sugar together until the mixture becomes light in color and slightly fluffy. This process helps incorporate air, which contributes to a soft texture.
Step 4: Add Eggs and Vanilla Extract

Add the eggs one at a time, mixing well after each addition. This helps maintain a smooth batter. Stir in the vanilla extract to enhance flavor.
Step 5: Incorporate Liquid Ingredients
Add the coconut milk and drained crushed pineapple to the mixture. Mix on low speed until fully combined. The batter may appear slightly textured due to the pineapple.
Step 6: Combine Wet and Dry Mixtures

Gradually add the dry ingredients into the wet mixture in batches. Mix gently after each addition until just combined. Avoid overmixing to keep the cake tender.
Step 7: Fold in Shredded Coconut
Using a spatula, fold in the shredded coconut evenly throughout the batter. This ensures consistent flavor and texture.
Step 8: Divide and Bake

Divide the batter evenly between prepared pans. Smooth the tops and place them in the oven. Bake for 25 to 30 minutes or until a toothpick inserted in the center comes out clean.
Step 9: Cool the Cake Layers

Remove cakes from the oven and allow them to cool in the pans for about 10 minutes. Then transfer to a wire rack to cool completely. Cooling fully is important before adding filling and frosting.
Step 10: Prepare the Pineapple Filling

In a small saucepan, combine crushed pineapple, sugar, cornstarch, and water. Cook over medium heat while stirring continuously until the mixture thickens. Remove from heat and allow it to cool completely before use.
Step 11: Prepare the Frosting
In a mixing bowl, beat the butter and cream cheese together until smooth. Gradually add powdered sugar, mixing well after each addition. Add coconut milk, vanilla extract, and a pinch of salt. Beat until the frosting is smooth and spreadable.
Step 12: Assemble the Cake

Place one cake layer on a serving plate. Spread a layer of pineapple filling evenly on top. Add the next cake layer and repeat if using multiple layers. Apply a thin crumb coat of frosting and chill briefly. Finish with a final layer of frosting and cover with shredded coconut if desired.
Tips for the Best Moist Pineapple Coconut Cake

- Ensure all ingredients are at room temperature before mixing
- Drain pineapple thoroughly to prevent excess moisture
- Do not overmix the batter after adding flour
- Use parchment paper for easy cake removal
- Allow cake layers to cool completely before assembling
- Apply a crumb coat for a clean finished look
Variations and Add-Ins

- Add toasted coconut on top for a deeper flavor
- Incorporate chopped nuts for added texture
- Use whipped cream frosting for a lighter option
- Add white chocolate chips for extra sweetness
- Bake as a sheet cake instead of layers
What to Serve with Pineapple Coconut Cake
- Fresh pineapple slices
- Whipped cream
- Vanilla ice cream
- Coconut glaze
- Mixed fruit salad
Storage and Reheating Tips
- Store in an airtight container in the refrigerator for up to 5 days
- Bring to room temperature before serving for best texture
- Freeze unfrosted cake layers for up to 2 months
- Wrap slices individually before freezing
- Avoid microwaving frosted cake to maintain texture

Pineapple Coconut Cake
Ingredients
Method
- Preheat oven to 350 degrees Fahrenheit. Grease and line cake pans with parchment paper.
- In a bowl, whisk together flour, baking powder, baking soda, and salt until evenly combined.
- In a separate large bowl, beat butter and sugar until light and creamy in texture.
- Add eggs one at a time, mixing well after each addition. Stir in vanilla extract.
- Add coconut milk and crushed pineapple. Mix on low speed until combined.
- Gradually add dry ingredients into wet ingredients, mixing gently until a smooth batter forms.
- Fold in shredded coconut evenly using a spatula.
- Divide batter evenly between prepared pans and smooth the surface.
- Bake for 25 to 30 minutes or until a toothpick inserted in the center comes out clean.
- Remove from oven and cool in pans for 10 minutes, then transfer to a wire rack to cool completely.
- For filling, cook pineapple, sugar, cornstarch, and water over medium heat until thickened. Cool fully.
- For frosting, beat butter and cream cheese until smooth. Add powdered sugar gradually, then mix in coconut milk and vanilla.
- Assemble cake by layering cake, pineapple filling, and frosting. Repeat layers as needed.
- Apply a crumb coat, chill briefly, then finish frosting the cake evenly.
Notes
- Drain pineapple thoroughly before using
- Use room temperature ingredients for best results
- Do not overmix batter after adding flour
- Chill cake before slicing for clean layers
This pineapple coconut cake offers a soft texture with a balanced tropical flavor. The combination of coconut and pineapple creates a dessert that is both rich and refreshing. With simple steps and reliable results, this recipe is suitable for both everyday baking and special occasions.
