Toasted Coconut Pineapple Layer Cake Recipe
In this article
This toasted coconut pineapple layer cake blends a light vanilla sponge with caramelized pineapple and a crunchy coconut topping. The contrast of sweet fruit, buttery cake, and toasted coconut makes it a show‑stopping dessert for birthdays, holidays, or any celebration that calls for a tropical twist.
Ingredients
- 2 1/2 cups (310 g) all‑purpose flour
- 2 teaspoons baking powder
- 1/2 teaspoon baking soda
- 1/4 teaspoon salt
- 1 cup (225 g) unsalted butter, softened
- 1 1/2 cups (300 g) granulated sugar
- 4 large eggs, room temperature
- 1 tablespoon vanilla extract
- 1 cup (240 ml) whole milk
- 1 cup (240 ml) crushed pineapple, well drained
- 1 cup (100 g) sweetened shredded coconut, toasted
- 1/2 cup (120 ml) pineapple juice
- 1/4 cup (60 ml) dark rum (optional, for extra depth)
- For the frosting:
- 1 cup (225 g) cream cheese, softened
- 1/2 cup (115 g) unsalted butter, softened
- 3 cups (360 g) powdered sugar
- 2 tablespoons pineapple juice
- 1 teaspoon vanilla extract
- Additional toasted coconut for garnish
The dry ingredients – flour, leaveners, and salt – should be sifted together to guarantee an even rise and a tender crumb. Sifting also removes any lumps that could create uneven texture in the final layers.
For the coconut topping, spread the shredded coconut on a rimmed baking sheet and toast it in a 350°F (175°C) oven for 6‑8 minutes, stirring once, until golden and fragrant. Keep a close eye on it; coconut can go from toasted to burnt in seconds, and a burnt flavor will dominate the delicate pineapple notes.
Instructions
- Preheat the oven to 350°F (175°C). Grease three 8‑inch round cake pans, line the bottoms with parchment circles, and lightly dust with flour, tapping out excess.
- In a medium bowl, whisk together the flour, baking powder, baking soda, and salt. Set aside.
- Using a stand mixer on medium speed, cream the butter and granulated sugar until pale, fluffy, and about 3‑4 minutes. Scrape the sides of the bowl periodically.
- Add the eggs one at a time, beating well after each addition. Then mix in the vanilla extract.
- With the mixer on low, alternately add the dry‑ingredient mixture and the milk, beginning and ending with the dry mixture. Mix just until incorporated; over‑mixing can develop gluten and make the cake dense.
- Fold in the drained crushed pineapple, pineapple juice, and rum (if using) with a rubber spatula. The batter will look slightly wet, which is normal and will yield a moist crumb.
- Divide the batter evenly among the three prepared pans, smoothing the tops with an offset spatula.
- Bake for 22‑26 minutes, or until a toothpick inserted into the center comes out clean and the tops are lightly golden. The internal temperature should reach at least 200°F (93°C).
- Allow the cakes to cool in the pans for 10 minutes, then turn them out onto a wire rack to cool completely. Cooling completely prevents the frosting from melting when assembled.
- While the cakes cool, prepare the frosting. Beat the cream cheese and butter together until smooth, then gradually add the powdered sugar, pineapple juice, and vanilla. Beat on medium‑high for 2‑3 minutes until light and airy.
- To assemble, place the first layer on a serving plate, spread a generous dollop of frosting, then sprinkle a thin layer of toasted coconut. Repeat with the second and third layers, finishing with a thick coat of frosting on the top and sides.
- Press the remaining toasted coconut onto the sides and top of the cake, creating a decorative crust. Refrigerate the assembled cake for at least 30 minutes before slicing to allow the frosting to set.
When slicing, use a long, serrated knife warmed under hot water and wiped dry; this gives clean cuts through the moist layers and prevents the frosting from tearing. Serve the cake at room temperature for the best flavor, but keep any leftovers refrigerated.
Because the cake contains both fresh pineapple and cream cheese, it should be stored at 40°F (4°C) or below and consumed within three days for optimal texture and safety. If you need to keep it longer, freeze the unfrosted layers separately, then thaw and frost when ready to serve.
Tips
- Swap the dark rum for a tablespoon of coconut‑flavored rum or omit entirely for a kid‑friendly version; the flavor difference is subtle but noticeable.
- If you lack fresh pineapple, use well‑drained canned pineapple in its own juice; avoid those packed in syrup to keep the cake from becoming overly sweet.
- For a gluten‑free version, replace the all‑purpose flour with a 1‑to‑1 gluten‑free blend that contains xanthan gum; the texture will stay tender.
- To avoid soggy layers, pat the drained pineapple with paper towels before folding it into the batter, and consider adding a tablespoon of cornstarch to the pineapple to absorb excess moisture.
These tips help you control moisture, flavor, and texture, which are the three common pitfalls in tropical cakes. Over‑moisture can make the cake collapse, while insufficient flavor can leave the dessert tasting bland.
Always taste the batter before baking; a pinch of extra salt or a splash more pineapple juice can balance sweetness if needed. Adjustments should be made before the batter goes into the oven, as post‑bake corrections are difficult.
Serving Suggestions
Serve each slice with a dollop of lightly sweetened whipped cream and a drizzle of warm caramel sauce for an extra indulgent finish. The caramel’s buttery notes echo the toasted coconut and amplify the tropical profile.
Pair the cake with a chilled glass of pineapple‑mint mocktail or a light, fruity white wine such as Riesling. The acidity in the drink cuts through the richness of the cream cheese frosting, creating a balanced palate.
Variations
If you love chocolate, fold 1/2 cup of finely chopped dark chocolate into the batter for a chocolate‑coconut‑pineapple hybrid. The chocolate’s bitterness pairs surprisingly well with the sweet pineapple.
For a dairy‑free version, substitute the butter with a plant‑based butter and use coconut cream in place of cream cheese for the frosting. Add a teaspoon of lemon zest to the frosting to brighten the flavor and offset the coconut’s richness.
Storage and Reheating
Store the frosted cake in an airtight cake container in the refrigerator for up to three days. If you need to keep it longer, wrap each unfrosted layer tightly in plastic wrap and freeze for up to two months. Thaw frozen layers in the refrigerator overnight before frosting.
To reheat a slice, place it on a microwave‑safe plate and warm on medium power for 15‑20 seconds, or warm a whole slice in a preheated 300°F (150°C) oven for 8‑10 minutes. Avoid overheating, as the frosting can separate and the coconut may burn.
Frequently Asked Questions
Can I use fresh pineapple instead of canned?
Yes, fresh pineapple works well, but it must be finely chopped and thoroughly drained. Fresh fruit contains more water, so pat it dry with paper towels to prevent a soggy batter.
Do I need to toast the coconut myself?
Toasting the coconut enhances its flavor and adds a crunchy texture that plain shredded coconut lacks. If you’re short on time, you can buy pre‑toasted coconut, but watch the salt content; some brands add extra salt.
What internal temperature indicates the cake is fully baked?
The cake is done when a thermometer inserted into the center reads at least 200°F (93°C). This ensures the batter has set and the risk of under‑cooked egg is eliminated.
Can I make this cake without the rum?
Absolutely. The rum adds depth but is optional. If you omit it, you may increase the pineapple juice by a tablespoon to keep the moisture level consistent.
How long can the unfrosted layers be stored before assembling?
Unfrosted, wrapped layers can be kept at room temperature for up to 24 hours, or refrigerated for up to three days. For longer storage, freeze them as described above.
Is it safe to eat the batter raw?
No. The batter contains raw eggs and flour, both of which can harbor harmful bacteria. Always bake the batter to the recommended temperature before consumption.