Pineapple cakes are a beloved Taiwanese pastry: a buttery, crumbly shortbread-like crust wrapped around a sweet-tart pineapple jam filling. This recipe recreates the classic version you find in Taiwanese bakeries and gift shops, using a simple pastry dough and a homemade pineapple filling that is both fragrant and not overly sweet. The contrast between the tender crust and the chewy, fruity center is what makes these little cakes so irresistible.
Ingredients
- For the pineapple filling:
- 1 medium pineapple (about 3 lb / 1.4 kg), peeled, cored, and finely chopped (or 4 cups / 640 g crushed pineapple, drained)
- 1/2 cup (100 g) granulated sugar
- 1 tablespoon (15 ml) lemon juice
- 1/2 teaspoon salt
- 1 tablespoon (8 g) cornstarch mixed with 2 tablespoons (30 ml) water (slurry)
- For the pastry dough:
- 1 1/2 cups (190 g) all-purpose flour
- 1/2 cup (60 g) confectioners’ sugar (powdered sugar)
- 1/2 cup (115 g) unsalted butter, cold and cut into small cubes
- 1 large egg yolk
- 1/2 teaspoon vanilla extract
- 1/4 teaspoon salt
- 1-2 tablespoons (15-30 ml) ice water, only if needed
Instructions
- Make the pineapple filling: In a large skillet or saucepan, combine the chopped pineapple (or drained crushed pineapple), sugar, lemon juice, and salt. Cook over medium heat, stirring frequently, until the pineapple releases its juices and the mixture starts to thicken, about 15-20 minutes.
- Once the mixture is thick and most of the liquid has evaporated (it should look like a thick jam), stir in the cornstarch slurry. Cook for another 2-3 minutes, stirring constantly, until the filling is very thick and holds its shape when mounded. Remove from heat and let cool completely. You should have about 1 1/2 cups (360 ml) of filling.
- Make the pastry dough: In a food processor, pulse the flour, confectioners’ sugar, and salt together. Add the cold butter cubes and pulse until the mixture resembles coarse meal with some pea-sized butter bits. Add the egg yolk and vanilla, and pulse until the dough just starts to clump. If it seems dry, add ice water 1 tablespoon at a time, pulsing briefly.
- Turn the dough out onto a lightly floured surface, gather it into a ball, then flatten into a disk. Wrap in plastic wrap and chill for at least 30 minutes.
- Preheat oven to 350°F (175°C). Line a baking sheet with parchment paper.
- Assemble the cakes: Divide the chilled dough into 16 equal pieces (about 1.5 oz / 40 g each). Roll each piece into a ball. Flatten a ball into a 3-inch (7.5 cm) round. Place about 1 tablespoon (15 g) of pineapple filling in the center. Carefully wrap the dough around the filling, pinching the edges to seal. Gently shape into a rectangle or oval, about 2.5 x 1.5 inches (6 x 4 cm). Place on the prepared baking sheet, seam side down.
- Repeat with the remaining dough and filling. You may have a little extra filling; that’s fine.
- Bake for 18-22 minutes, until the edges are lightly golden. The tops should be pale. Let cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.
Tips
- Use cold butter: The pastry is shortbread-like, so cold butter is essential for a crumbly, tender texture. If the dough becomes too soft while working, chill it again for 10 minutes.
- Don’t overwork the dough: Overmixing develops gluten, which makes the crust tough. Pulse just until it comes together.
- Filling consistency: The filling must be very thick before you use it, otherwise it will make the pastry soggy. If it’s too runny, cook it a few minutes longer.
- Substitutions: You can use canned crushed pineapple in juice (not syrup) if fresh is not available. Drain it well and reduce the sugar to 1/3 cup (65 g) since canned pineapple is sweeter.
Serving Suggestions
Pineapple cakes are traditionally served with Chinese tea, such as oolong or jasmine, or with a cup of coffee. They make a lovely dessert after a meal, or a sweet snack any time of day. You can also serve them as part of a gift box or at a tea party.
Variations
- Add egg wash: For a shiny, golden top, brush the cakes with a beaten egg mixed with 1 teaspoon water before baking.
- Different fillings: Swap the pineapple for other fruits like mango, papaya, or strawberry. Adjust sugar to taste.
- Add a twist: Add 1/4 teaspoon of ground ginger or a pinch of five-spice powder to the filling for a spiced note.
- Cheese crust: Add 1/4 cup (25 g) grated Parmesan cheese to the dough for a savory-sweet version.
Storage and Reheating
Store pineapple cakes in an airtight container at room temperature for up to 1 week. They also freeze well for up to 3 months; thaw at room temperature before serving. To refresh, warm them in a 300°F (150°C) oven for 5 minutes, but they are also delicious at room temperature.
Frequently Asked Questions
Can I use a different type of pineapple? Yes, any fresh pineapple works. If using canned, choose one packed in juice, not syrup, and reduce the sugar.
Why is my filling runny? The filling wasn’t cooked down enough. The mixture should be very thick, almost like a paste. If it’s still runny after baking, the cakes will be soggy. Cook it longer until it holds its shape.
Can I make the dough ahead of time? Absolutely. The dough can be wrapped tightly and refrigerated for up to 3 days, or frozen for up to 2 months. Thaw in the refrigerator overnight before using.
My pastry is too crumbly and won’t hold together. What went wrong? The dough was probably too dry. Add a little more ice water, 1 teaspoon at a time, until it just comes together. Or, the butter was too warm and got overworked. Chill the dough again before shaping.
Can I use a mold or press to shape these? Yes, you can use a rectangular mold or a cookie press. Press the dough into the mold, add filling, then top with more dough and press. This gives a more uniform shape.
Are these the same as the ones from the famous Taiwanese bakery? There are many variations; the classic is a shortbread crust with pineapple filling. This recipe is a home-style version that is similar in spirit, but every bakery has its own secret ratio.
Related
- Molly Yeh Churro Pancakes: Cinnamon Sugar Fluff
- Mr Food Apple Coffee Cake: Easy Recipe
- Microwave Fruit Crisp: Easy 10-Minute Recipe
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).