Pineapple cake
鳳梨酥
Taiwan's buttery short pastry wrapped round a thick, tart pineapple jam and baked in small rectangles. The country's best-known gift box.
Recipe by I Want Some Food · Reviewed by the editorial kitchen. Native name preserved: 鳳梨酥.
- Prep
- 50 min
- Cook
- 1 hr 15 min
- Rest
- 30 min
- Total
- 2 hr 35 min
- Difficulty
- Medium
- Spice
- No chilli
- Cost
- Weeknight budget$8–16 USD · indicative, not a store price

About
Pineapple cake is not cake. It is a short, crumbly, milky pastry wrapped around a dense, chewy pineapple filling, pressed into small rectangular moulds and baked until gold. The filling here is all pineapple, chopped and cooked down with sugar for nearly an hour until it is thick and amber and holds a shape, the style Taiwanese call native pineapple cake. The pastry is butter, icing sugar, egg, milk powder and flour, mixed as gently as shortbread. Each cake is 25 g pastry to 18 g filling. They improve after a day in a tin, when the pastry softens slightly.
What you'll need
8 ingredients. Tap each one once it's out on the bench.
- Filling
- Pastry
Ingredients
Filling
Pastry
- Butter, unsalted, soft120 g
- Icing sugar30 g
- Salt1 pinch
- Egg, beaten, at room temperature1
- Milk powder30 g
- Wheat flour, plain or cake flour180 g
Scaling multiplies the written quantities. Baking still prefers a scale.
Steps
Step 1
Cook the chopped pineapple and its juice in a wide saucepan over medium heat for 20 minutes, until most of the juice has boiled off. Add the sugar and keep cooking over low heat, stirring more often as it thickens, for 30 to 35 minutes, until it is a dark amber paste that holds a line when you drag a spoon through it. You should have about 300 g. Cool, then chill.
55 min
Watch: The jam spits as it thickens. Use a long spoon and stir from the bottom.
Step 2
Beat the butter, icing sugar and salt until pale and smooth, then beat in the egg a little at a time. Add the milk powder and flour and fold with a spatula just until it forms a soft dough. Do not knead. Wrap and chill for 30 minutes.
10 min
Step 3
Divide the cold filling into 16 pieces of 18 g and roll them into balls. Divide the pastry into 16 pieces of 25 g. Flatten a piece of pastry into a 7 cm disc, set a ball of filling in the middle, and push the pastry up and around it with your thumb and fingers until it is sealed. Roll smooth.
25 min
Step 4
Heat the oven to 180°C. Set rectangular moulds on a lined baking tray, drop in each ball and press it flat into the corners. Without moulds, flatten each ball into a square about 4.5 cm across and 2 cm thick.
10 min180°C
Step 5
Bake 12 minutes until the tops are pale gold, then flip the cakes, still in their moulds, and bake 8 to 10 minutes more until both sides are golden. Without moulds, bake 18 to 20 minutes without turning.
22 min180°C
Step 6
Cool, unmould, and keep in an airtight tin for a day before eating. They keep a week.
5 min
Nutrition
Per serving · estimate
- Calories
- 162 kcal
- Protein
- 2.3 g
- Carbs
- 23.1 g
- Fat
- 7.1 g
- Saturated fat
- 4.3 g
- Fibre
- 0.9 g
- Sugar
- 13.2 g
- Sodium
- 25 mg
Calculated from canonical ingredient data (USDA FoodData Central averages and equivalent published tables). Estimates only.
Allergens
Informational only. Not a medical guarantee. Cross-contamination happens in real kitchens.
- Wheat
- Milk
- Eggs
- Vegetarian
- Nut-free
Adapt this recipe
The original recipe stays as it is. Personal versions are labelled. Serving changes are simple maths.
Adaptations · 0 / 15 used. Resets 25 November.
Substitutions
Half the pineapple → Winter melon, peeled, grated and squeezed, cooked down the same way
The older bakery style: milder, sweeter and smoother.
Milk powder → 20 g more flour
The pastry loses its milky taste and a little tenderness.
Tips
- Chopping by hand gives a fibrous filling with texture; a few pulses in a blender gives a smoother one. Do not purée it.
- The filling must be cold and firm before wrapping. Warm jam tears the pastry.
- Weigh the pieces. Even pastry all round is what stops the filling bursting out in the oven.
History & culture
Pineapple cakes are what visitors take home from Taiwan, packed in gift boxes from bakeries across the island. They are also wedding and festival gifts. The Taiwanese Hokkien word for pineapple, ong-lai, sounds like prosperity arriving, which helps. Locals eat them with tea and argue about the classic winter-melon filling against the tarter all-pineapple kind.
Taiwan was a major pineapple canning centre under Japanese rule, and pastries with fruit fillings are an old Chinese bakery tradition. The modern cake belongs to post-war Taiwanese bakeries, and Taichung is the city most associated with it. Older recipes stretched the pineapple with winter melon; all-pineapple fillings became fashionable in the 2000s and are now sold as the premium kind.
Traditional — This is the all-pineapple style; the classic filling is cut with winter melon for a smoother, sweeter, milder jam. Bakeries press the cakes in rectangular moulds about 5 by 4 cm. Without moulds, shape them by hand into flat squares and bake the same way.
Provenance: Editorial adaptation.
Questions about this recipe
Answers taken from this dish's times, amounts, swaps and tips.
How long does Pineapple cake take?
2 hr 35 min all in — 50 min prep, 1 hr 15 min cook, 30 min rest. Cook and rest follow the method. Leftover storage and optional extra waits are not included.
How many does it serve?
The recipe is written for 16 cakes. Scale the ingredient list on the page if you are cooking for a different number.
How hard is it?
Medium.
How spicy is it?
No chilli.
What allergens should I watch?
This recipe is labelled for Wheat, Milk, Eggs. Labels are informational — check the packets in your kitchen. This is not medical advice.
Does it fit a diet?
The published recipe is labelled Vegetarian, Nut-free.
8 more questionsFewer questions
What does it cost to cook?
Weeknight budget — about $8–16 USD, as a grocery budget for this recipe, not a restaurant price.
What equipment do I need?
Saucepan, Mixing bowl, Oven, Baking tray, Kitchen scale, Chef's knife.
How much salt do I put in?
The recipe lists Salt at 1 pinch.
How much sugar?
100 g of Sugar.
What can I use instead?
Half the pineapple → Winter melon, peeled, grated and squeezed, cooked down the same way. The older bakery style: milder, sweeter and smoother. Milk powder → 20 g more flour. The pastry loses its milky taste and a little tenderness.
What should I watch for?
The jam spits as it thickens. Use a long spoon and stir from the bottom.
Any tips from this recipe?
Chopping by hand gives a fibrous filling with texture; a few pulses in a blender gives a smoother one. Do not purée it. The filling must be cold and firm before wrapping. Warm jam tears the pastry. Weigh the pieces. Even pastry all round is what stops the filling bursting out in the oven.
Can I use an air fryer?
This method is not written for an air fryer. The core technique on the page still applies.
Similar dishes

Mooncakes
月饼
Cantonese mooncakes: a thin, glossy golden-syrup crust pressed around lotus seed paste, with an optional salted duck egg yolk at the centre for the moon.
A bit of work

Hong Kong egg tarts
蛋挞
Hong Kong dan tat: small buttery shortcrust cases filled with a smooth, lightly sweet egg custard, baked until just set and glossy yellow on top.
Medium

Bubble milk tea
珍珠奶茶
Taiwanese pearl milk tea: strong black tea shaken with milk and ice over chewy brown-sugar tapioca pearls.
Easy

Kaya toast
咖椰吐司
Singapore's kopitiam breakfast: charcoal-style toast with coconut-egg kaya jam and cold butter, with soft-boiled eggs and dark soy.
Easy

