Pineapple Coconut Cake with Coconut Treacle Recipe
This pineapple coconut cake with coconut treacle is a moist, sweet layer cake with a rich, caramel-like glaze. It fits potlucks, weeknight treats and holiday breakfasts, served with coffee or afternoon tea.
Ingredients
Serves 12 · Prep 30 min · Cook 50 min · Total 1 hr 20 min
- For the cake:
- 2 cups (250 g) all-purpose flour
- 1½ teaspoons baking powder
- ½ teaspoon salt
- ¾ cup (150 g) granulated sugar
- 1 cup (240 ml) whole milk, at room temperature
- ½ cup (120 ml) unsalted butter, melted and slightly cooled
- 2 large eggs, room temperature
- 1 teaspoon vanilla extract - For the pineapple filling:
- 1 (20 oz/570 g) can crushed pineapple, drained (reserve ¼ cup juice)
- 1 tablespoon cornstarch
- 2 tablespoons sugar - For the coconut treacle glaze:
- 1 cup (200 g) coconut treacle, such as molasses or dark corn syrup
- ½ cup (120 ml) heavy cream
- 1 cup (120 g) sweetened shredded coconut, toasted lightly
- 1 cup (120 g) powdered sugar, sifted
Instructions
- Preheat and prep. Preheat the oven to 350°F (175°C). Grease two 8-inch round cake pans with butter, dust with flour, and line the bottoms with parchment paper.
- Mix dry ingredients. In a medium bowl, whisk together the flour, baking powder, and salt.
- Whisk wet ingredients. In a large bowl, beat the eggs and sugar until pale and thick, about 2 minutes. Add the milk, melted butter, and vanilla; mix until smooth.
- Combine and fold. Gradually add the dry ingredients to the wet, mixing just until combined. Do not overmix.
- Divide batter. Pour equal amounts of batter into the prepared pans, spreading to the edges.
- Bake the layers. Bake at 350°F (175°C) for 25–30 minutes, until the tops are golden and a toothpick inserted into the center comes out clean.
- Make the pineapple filling. In a small saucepan, combine the drained crushed pineapple with the reserved juice, cornstarch, and sugar. Cook over medium heat, stirring constantly, until the mixture thickens and bubbles, about 5 minutes. Remove from heat and let cool slightly.
- Assemble the cake. Place one cake layer on a serving plate. Spread half the pineapple filling evenly over the layer. Top with the second cake layer.
- Make the glaze. In a small bowl, whisk together the coconut treacle, heavy cream, and powdered sugar until smooth.
- Glaze the cake. Pour the glaze over the top of the assembled cake, allowing it to drip down the sides. Sprinkle toasted coconut over the glaze.
- Cool completely. Let the cake sit at room temperature for at least 1 hour before slicing to allow the glaze to set.
Substitutions and Ratios
- Coconut treacle: If unavailable, use dark corn syrup or molasses in a 1:1 ratio. Dark corn syrup yields a milder flavor; molasses gives a stronger, more bitter taste.
- Milk: Use any dairy or plant-based milk at room temperature. For a vegan version, use unsweetened soy or oat milk.
- Butter: Substitute vegan butter sticks for a plant-based option; the texture will be nearly identical.
- Pineapple: Use fresh pineapple, diced and sautéed until soft, in place of canned. Reduce the sugar in the filling by 1 tablespoon, as fresh pineapple is less sweet.
- Coconut: For a nut-free topping, substitute toasted pecans or walnuts. For a gluten-free cake, use a 1:1 gluten-free all-purpose flour blend.
Serving and Pairing Ideas
Serve this cake with strong coffee or black tea to balance the sweetness. It pairs well with a dollop of unsweetened whipped cream or a scoop of vanilla ice cream. For brunch, slice it alongside bacon or sausage and fresh fruit.
Storage and Shelf Life
- Refrigerator: Keep the cake covered in plastic wrap or in an airtight container for up to 4 days. The glaze may darken slightly but stays safe to eat.
- Freezer: Freeze whole or sliced cake (without the coconut topping) wrapped tightly in plastic wrap and foil for up to 2 months. Thaw overnight in the refrigerator before serving.
- Room temperature: Do not leave the cake out longer than 2 hours. Refrigerate leftovers promptly to prevent spoilage.
Common Mistakes and Fixes
- Glaze too runny: If the glaze is too thin, add powdered sugar one tablespoon at a time until it coats the back of a spoon.
- Cake not rising evenly: Ensure the oven is fully preheated and the pans are centered on the rack. Rotate the pans halfway through baking for even browning.
- Filling too watery: Cook the pineapple mixture longer until it thickens and coats a spoon. Let it cool before spreading to avoid soaking the cake layers.
- Glaze hardens too quickly: Work quickly when pouring the glaze and keep the cake on a flat surface. If the glaze starts to set before you finish, microwave it for 5–10 seconds to loosen it.
Coconut Treacle Cake for Large Batches and Kids
For a larger crowd, bake the recipe in three 8-inch pans and stack them. For kids, reduce the coconut treacle to ½ cup and add ¼ cup of maple syrup for a milder sweetness. Serve small squares with milk.