Pineapple Coconut Cake Recipe: Tropical Dessert
In this article
This pineapple coconut cake is a moist, tender single-layer cake loaded with crushed pineapple and toasted coconut, finished with a tangy pineapple glaze. It’s a fuss-free tropical dessert that comes together in one bowl, no mixer required, and delivers big flavor from pantry-friendly ingredients. The natural acidity of pineapple balances the sweetness of coconut, making every bite bright and satisfying.
Ingredients
- 1 ½ cups (190g) all-purpose flour
- 2 teaspoons baking powder
- ¼ teaspoon salt
- ½ cup (115g) unsalted butter, softened
- ¾ cup (150g) granulated sugar
- 2 large eggs, at room temperature
- 1 teaspoon vanilla extract
- ½ cup (120ml) canned coconut milk (full-fat or light, shaken well)
- 1 cup (240g) crushed pineapple, well drained (reserve 2 tablespoons of juice for glaze)
- ¾ cup (60g) sweetened shredded coconut, plus extra for topping
- For the glaze: 1 cup (120g) powdered sugar, 2 tablespoons reserved pineapple juice, 1 tablespoon melted butter
Instructions
- Preheat your oven to 350°F (175°C). Grease a 9-inch round cake pan or line the bottom with parchment paper.
- In a medium bowl, whisk together flour, baking powder, and salt. Set aside.
- In a large bowl, beat the softened butter and sugar together until light and fluffy, about 2 minutes. Add eggs one at a time, beating well after each, then stir in vanilla.
- Add half of the flour mixture to the butter mixture and stir until just combined. Add the coconut milk and stir until smooth. Add the remaining flour and mix until no dry streaks remain.
- Fold in the drained crushed pineapple and shredded coconut until evenly distributed. The batter will be thick but scoopable.
- Pour the batter into the prepared pan and smooth the top. Bake for 35–40 minutes, or until a toothpick inserted into the center comes out clean. If the top browns too quickly, tent loosely with foil after 25 minutes.
- Let the cake cool in the pan for 10 minutes, then turn out onto a wire rack to cool completely.
- For the glaze: whisk together powdered sugar, reserved pineapple juice, and melted butter until smooth. Drizzle over the cooled cake, letting it run down the sides. Sprinkle with extra toasted coconut if desired.
Tips
- Drain the crushed pineapple thoroughly. Excess liquid makes the cake dense and soggy. Press it with a spoon or paper towel to remove as much juice as possible.
- Use full-fat coconut milk for the most flavor, but light works too. Shake the can well before measuring, as the cream separates.
- If you don’t have buttermilk, you can substitute sour cream or plain yogurt in equal amounts for the coconut milk, but the coconut flavor will be milder.
- To toast coconut for topping, spread it on a baking sheet and bake at 350°F for 5–7 minutes, stirring once, until golden. Watch closely—it burns quickly.
Serving Suggestions
Serve this cake at room temperature as a dessert with a dollop of whipped cream or a scoop of vanilla ice cream. For a more decadent presentation, top with a spoonful of crushed pineapple in syrup or a drizzle of caramel sauce. It also pairs beautifully with a cup of hot tea or iced coffee.
Variations
- Pineapple Coconut Layer Cake: Double the recipe and bake in two 9-inch pans. Fill and frost with cream cheese frosting mixed with a little coconut milk.
- Add ½ cup chopped macadamia nuts or pecans to the batter for extra crunch.
- Swap the glaze for a simple cream cheese frosting: beat 4 oz softened cream cheese with 2 tablespoons butter, 1 cup powdered sugar, and 1 tablespoon pineapple juice.
- Make it gluten-free by using a 1:1 gluten-free flour blend. No other changes needed.
Storage and Reheating
Store the cake in an airtight container at room temperature for up to 2 days, or in the refrigerator for up to 5 days. The glaze may become sticky when refrigerated, but that’s fine. To serve chilled cake, let it sit at room temperature for 20 minutes. You can reheat individual slices in the microwave for 10–15 seconds, but the cake is best at room temperature. For longer storage, wrap the unfrosted cake tightly in plastic wrap and freeze for up to 3 months. Thaw overnight in the refrigerator before glazing.
Frequently Asked Questions
Can I use fresh pineapple instead of canned?
Yes, but you’ll need about 1 cup of finely chopped fresh pineapple. Drain it well in a sieve for at least 15 minutes, pressing to remove excess juice. You may need to add a tablespoon of sugar to the batter if the pineapple is tart.
Why is my cake dense or gummy?
This usually happens when the pineapple isn’t drained well enough, adding too much liquid. Also, avoid overmixing the batter once the flour is added—stir just until combined.
Can I make this cake dairy-free?
Yes, use vegan butter or coconut oil (melted and cooled) instead of butter, and replace the glaze’s butter with coconut oil or omit it. Use a dairy-free milk like almond or oat milk in place of coconut milk if you prefer, but coconut milk adds the best flavor.
Do I need to refrigerate the cake because of the glaze?
No, the glaze is sugar-based and safe at room temperature for a day or two. However, if you add a cream cheese frosting, refrigerate the cake and bring it to room temperature before serving.
Can I bake this in a loaf pan?
Absolutely. Use a 9x5-inch loaf pan and increase the baking time to 50–60 minutes. Check with a toothpick—if it comes out clean, it’s done.
What can I use instead of coconut milk?
Whole milk, buttermilk, or plain yogurt work as substitutes. The coconut flavor will be less pronounced, so you might add ½ teaspoon coconut extract to the batter.