This pineapple paradise cake is a tender, moist layer cake packed with juicy crushed pineapple and topped with a silky coconut cream frosting. The cake gets its structure from a simple oil-based batter, so it stays soft for days, while the frosting uses coconut milk and shredded coconut for a tropical finish that isn’t overly sweet. It’s an easy, crowd-pleasing dessert that tastes like a vacation in a slice.
Ingredients
- 2 cups (250 g) all-purpose flour
- 1 ½ teaspoons baking powder
- ½ teaspoon baking soda
- ½ teaspoon salt
- 1 cup (200 g) granulated sugar
- ½ cup (120 ml) vegetable oil
- 2 large eggs, room temperature
- 1 teaspoon vanilla extract
- 1 cup (240 ml) buttermilk, room temperature
- 1 cup (240 g) crushed pineapple, well drained (reserve 2 tablespoons of juice for the frosting)
- 1 cup (100 g) sweetened shredded coconut (optional, for texture in the cake)
For the Coconut Cream Frosting
- 1 cup (240 ml) full-fat coconut milk, chilled overnight
- 1 cup (230 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar, sifted
- 1 teaspoon coconut extract (or vanilla)
- 2 tablespoons reserved pineapple juice
- ½ cup (50 g) sweetened shredded coconut, for garnish
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans (or line the bottoms with parchment paper).
- In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
- In a large bowl, beat the sugar and oil together until well combined. Add the eggs one at a time, beating well after each addition, then mix in the vanilla.
- Alternately add the dry ingredients and the buttermilk to the wet mixture, starting and ending with the dry ingredients. Mix just until combined—do not overmix.
- Fold in the drained crushed pineapple and shredded coconut (if using) with a spatula.
- Divide the batter evenly between the prepared pans. Bake for 28–32 minutes, or until a toothpick inserted in the center comes out with a few moist crumbs and the top springs back when lightly pressed. The internal temperature should read about 200–205°F (93–96°C) if you use an instant-read thermometer.
- Let the cakes cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. They must be fully cool before frosting.
- Make the frosting: Scoop the solid cream from the chilled coconut milk into a large bowl (discard the clear liquid or save it for smoothies). Beat the coconut cream with an electric mixer until smooth and fluffy, about 2 minutes.
- Add the softened butter and beat until combined, then gradually add the powdered sugar, beating on low speed until incorporated. Increase speed to medium and beat for 2–3 minutes until light and airy.
- Mix in the coconut extract and reserved pineapple juice. If the frosting is too soft, chill it for 15–20 minutes before spreading.
- Place one cake layer on a serving plate. Spread a generous amount of frosting on top, then place the second layer over it. Frost the top and sides with the remaining frosting. Sprinkle the shredded coconut over the top and press some onto the sides if desired.
- Chill the assembled cake for at least 30 minutes before slicing to help the frosting set.
Tips
- Drain the pineapple well: Too much liquid in the batter will make the cake dense and soggy. Press the crushed pineapple against a fine-mesh sieve to remove excess juice, but reserve a couple of tablespoons for the frosting.
- Chill the coconut milk overnight: The frosting relies on the solid cream separating from the liquid. Refrigerate the can for at least 12 hours, and don’t shake it before opening.
- Room temperature ingredients matter: Cold eggs or buttermilk can make the batter curdle slightly. Set them out 30 minutes before mixing.
- Check doneness early: Ovens vary. Start checking the cake at 25 minutes; if the top is browning too fast, loosely tent with foil.
Serving Suggestions
Serve this cake chilled or at room temperature. It pairs beautifully with a scoop of vanilla ice cream or a dollop of whipped cream. For a tropical platter, add fresh pineapple slices, toasted coconut flakes, and a sprinkle of lime zest. It’s also lovely with a cup of hot tea or coffee.
Variations
- Pineapple Upside-Down Style: Instead of layering, arrange pineapple rings and maraschino cherries in a greased 9×13-inch pan, pour the batter over, and bake. Skip the frosting—just invert and serve warm.
- Add Nuts: Fold in ½ cup (60 g) of chopped macadamia nuts or toasted pecans for extra crunch.
- Lemon-Pineapple: Add 1 tablespoon of lemon zest to the batter and substitute lemon juice for the pineapple juice in the frosting.
- Gluten-Free: Use a 1:1 gluten-free all-purpose flour blend. The texture may be slightly more crumbly, but it works well.
Storage and Reheating
Store the frosted cake in an airtight container in the refrigerator for up to 4 days. Because of the coconut cream frosting, it’s best kept chilled; let it sit at room temperature for 15 minutes before serving to soften. Unfrosted cake layers can be wrapped tightly in plastic wrap and frozen for up to 2 months. Thaw overnight in the refrigerator before frosting. This cake is meant to be served cold or at room temperature—do not reheat it, as the frosting will melt and the cake may dry out.
Frequently Asked Questions
Can I use canned coconut cream instead of coconut milk?
Yes, you can use canned coconut cream (not coconut milk beverage). It’s already thick, so you don’t need to chill it, but you may need to adjust the powdered sugar if it’s sweeter.
Why did my frosting turn out runny?
The most common cause is that the coconut milk wasn’t chilled long enough, or the butter was too soft. If your frosting is runny, refrigerate it for 20–30 minutes and then re-whip it. If it’s still loose, add a little more powdered sugar.
Can I make this cake in a 9×13-inch pan?
Yes. Pour the batter into a greased 9x13x2-inch pan and bake at 350°F (175°C) for about 30–35 minutes. The cake will be thinner, so start checking at 25 minutes. The frosting recipe will still cover the top.
Can I use fresh pineapple instead of canned?
Yes, but you’ll need about 1 cup of finely chopped fresh pineapple. Drain it well and pat it dry with paper towels. Fresh pineapple is less sweet, so you may want to add an extra tablespoon of sugar to the batter.
Can I skip the coconut in the cake?
Absolutely. The shredded coconut in the batter is optional. If you leave it out, the cake will still be moist and flavorful—just less textured.
How do I prevent the cake from sticking to the pan?
Grease the pans thoroughly with butter or nonstick spray, then dust with flour. Lining the bottom with parchment paper is the most reliable method—just trace the pan on parchment and cut to fit.