This post contains affiliate links. As an Amazon Associate I earn from qualifying purchases. If you click a link and make a purchase, I may receive a small commission at no extra cost to you.
Making a pineapple coconut cake from scratch is easier than you might think, and it starts with simple pantry ingredients you probably already have.
This from-scratch pineapple coconut cake combines tender coconut cake layers with a bright pineapple filling and a creamy frosting that ties everything together.
If you’ve been searching for how to make a pineapple coconut cake from scratch, you’re in the right place.
Everything here is made from scratch, from the cake batter to the pineapple filling and the frosting.
The result is a moist, tropical cake that tastes like sunshine on a plate.
In this post, we’ll cover why this pineapple coconut cake from scratch works so well, the ingredients you need, and step-by-step instructions for making it.
Let’s get baking.
Why This Pineapple Coconut Cake From Scratch Works
A pineapple coconut cake from scratch works beautifully because coconut and pineapple are a natural flavor pair, and here’s why:
1. Coconut Adds Moisture and Texture
Shredded coconut brings both flavor and moisture to the cake.
Sweetened shredded coconut holds onto liquid, which keeps the crumb tender and soft.
Some recipes use coconut milk too, which deepens the coconut flavor without making the cake heavy.
That’s why a from-scratch pineapple coconut cake stays moist for days instead of drying out.
2. Pineapple Brings Brightness and Acidity
Crushed pineapple adds sweetness, tang, and natural juice to the cake.
That acidity balances the richness of the butter and coconut, so the cake never tastes too heavy.
The pineapple filling between the layers reinforces that bright, fruity note in every bite.
3. Cream Cheese Frosting Ties It All Together
A tangy cream cheese frosting is the classic pairing for a pineapple coconut cake.
It’s creamy enough to hold the coconut on the outside but light enough not to overpower the fruit.
Together, the cake, filling, and frosting create a balanced, tropical dessert from scratch.
Ingredients for a Pineapple Coconut Cake From Scratch
Here’s what you’ll need to make this pineapple coconut cake from scratch:
1. For the Coconut Cake Layers
You’ll need all-purpose flour, baking powder, salt, unsalted butter, granulated sugar, eggs, vanilla extract, coconut milk, and shredded sweetened coconut.
Bring the butter and eggs to room temperature first so they blend smoothly into the batter.
2. For the Pineapple Filling
Use crushed pineapple with its juice, a little sugar, and cornstarch.
Cook it down until thick, then let it cool completely before spreading it between the layers.
3. For the Cream Cheese Frosting
Grab cream cheese, unsalted butter, powdered sugar, vanilla, and a pinch of salt.
Beat everything until fluffy, then use it to frost the cake and press toasted coconut onto the sides.
How to Make a Pineapple Coconut Cake From Scratch Step by Step
Learning how to make a pineapple coconut cake from scratch comes down to three simple stages: the cake, the filling, and the frosting.
1. Bake the Coconut Cake Layers
Preheat the oven to 350°F and grease two 8-inch round pans.
Cream the butter and sugar until light, then beat in the eggs one at a time.
Alternate adding the dry ingredients with the coconut milk, then fold in the shredded coconut.
Divide the batter between the pans and bake for 25 to 30 minutes, until a toothpick comes out clean.
2. Cook the Pineapple Filling
While the cakes cool, combine the crushed pineapple, sugar, and cornstarch in a saucepan.
Cook over medium heat until the mixture thickens, then remove it from the heat and let it cool fully.
3. Frost and Assemble the Cake
Place one cake layer on a plate, spread the pineapple filling over it, then top with the second layer.
Frost the whole cake with the cream cheese frosting and press toasted coconut onto the sides.
Chill the finished cake for about an hour so the layers set before slicing.
So, How Do You Make a Pineapple Coconut Cake From Scratch?
You make a pineapple coconut cake from scratch by baking tender coconut cake layers, layering them with a cooked pineapple filling, and frosting everything with cream cheese frosting.
It’s a straightforward process that uses everyday ingredients and delivers a moist, tropical cake with real from-scratch flavor.
Once you’ve made this pineapple coconut cake from scratch, it’ll likely become a favorite for birthdays, holidays, and any day that needs a little sweetness.
Happy baking.