Taiwanese Pineapple Cakes: Buttery Pastries with Fruity Centers

· Food Rhymes,Main Articles,Desserts and Bakes
Pineapple cakes arranged on a white plate with overflow pieces served inside a hollowed-out pineapple shell.

The first one always breaks a little when you bite in.

The pastry crumbles soft against your teeth, buttery and short, and then you hit the middle. That thick, sticky pineapple filling, sweet and just a touch tart, holding the whole thing together. A cup of hot tea nearby. Crumbs on the plate. That is the moment these little cakes are made for.

Taiwanese pineapple cakes (fenglisu) are small rectangular pastries with a rich, crumbly crust wrapping a dense fruit center. They are one of Taiwan's most beloved gifts, the thing you carry home in a pretty box for people you love. Bakeries stack them by the hundreds. Families keep tins of them for guests.

This version keeps things beginner-friendly. Clear steps, a filling you cook down yourself, and a few honest tips so your first batch actually works. The payoff is worth it, I promise.

A Little Background

Stack of golden square pineapple cakes on a white plate, with one piece leaning against the stack showing its dark fruit paste center.

In Taiwan, the pineapple is more than a fruit. Its name in some dialects sounds like a phrase meaning "prosperity comes," so these cakes carry a quiet wish for good fortune. That is part of why they show up at weddings, holidays, and as souvenirs tucked into suitcases.

Walk through a Taiwanese bakery and you will likely find shelves of them, some with pure pineapple filling, others blended with winter melon for a milder sweetness. Each shop guards its own recipe. Locals have strong opinions about which is best.

They started as humble treats and grew into a small point of pride. A good pineapple cake is a balance of tender crust and honest fruit, nothing showy. Just something made with care and shared without fuss.

What to Expect

  • Flavor: Buttery and gently sweet crust, with a tangy-sweet pineapple center.
  • Texture: Crumbly, melt-in-your-mouth pastry against a thick, chewy jam.
  • Skill level: Beginner-friendly, though the filling asks for a little patience.
  • Time: About 30 minutes prep, 25 minutes baking, plus filling cook-down (around 40 minutes) and cooling. Set aside a relaxed afternoon.
  • Yield: About 12 to 16 cakes, depending on your mold size.

Ingredients

Taiwanese pineapple cakes stacked on a wooden board next to metal molds and a whole pineapple.

For the pineapple filling

  • 1 large fresh pineapple (about 3 to 4 cups grated), or two 20 oz cans crushed pineapple, well drained. Fresh gives a brighter, more honest flavor. Canned is a great shortcut, just drain it hard and squeeze out the juice.
  • 1/3 cup (65 g) sugar. Adjust to taste, since ripe pineapple is already sweet. Start low and add more if you like.
  • 1 tablespoon lemon juice. Keeps the filling from tasting flat and helps that tangy edge.
  • 1 tablespoon butter. For a glossy, richer finish.

For the buttery pastry

  • 1/2 cup (115 g) unsalted butter, softened. Soft, not melted. Press it and your finger should leave a gentle dent. This is the base of your buttery pastry, so use good butter.
  • 3 tablespoons (25 g) powdered sugar. Keeps the crust tender and fine-crumbed.
  • 1 large egg yolk. Adds richness and a little color.
  • 1 1/4 cups (155 g) all-purpose flour. The structure.
  • 2 tablespoons (15 g) milk powder. Optional, but it gives that signature bakery flavor. Skip it if you do not have it.
  • Pinch of salt.

A few notes: If your pineapple is very juicy, you may need to cook the filling a touch longer. Room-temperature butter matters more than almost anything here, so pull it out early.

Tools You'll Need

  • A box grater or food processor (for fresh pineapple)
  • A wide saucepan or skillet for reducing the filling
  • A mixing bowl and a spatula
  • A baking sheet lined with parchment
  • Pineapple cake molds (optional, but they give the classic shape)
  • A kitchen scale (optional, but handy for even portions)

How to Make Taiwanese Pineapple Cakes

 Overhead view of square pineapple cakes on baking paper, with one broken open to display the pineapple filling next to an offset spatula.

Read through once before you start. Then let's bake. You've got this.

Make the pineapple filling

  1. Grate the pineapple. If using fresh, grate or pulse it into a coarse, wet mush. Squeeze out some of the excess juice, but keep a little. If using canned, drain it very well and press it dry.
  2. Cook it down. Add the pineapple, sugar, and lemon juice to your wide pan over medium heat. Stir often. It will bubble and slowly darken as the water cooks off.
  3. Reduce to jam. Keep going, stirring more as it thickens, for around 30 to 40 minutes. You want a thick, sticky, deep-golden paste. Drag your spatula across the pan, and the filling should hold a clear path without liquid rushing back in.
  4. Finish with butter. Stir in the tablespoon of butter at the end for shine. Let the filling cool completely. It firms up as it cools, which is exactly what you want.

Don't panic if it feels slow. Low and steady gives you a filling that won't leak later.

Make the dough

  1. Cream the butter. Beat the softened butter and powdered sugar together until pale and smooth, about 2 minutes. Then beat in the egg yolk.
  2. Add the dry. Sprinkle in the flour, milk powder, and salt. Fold gently until it just comes together into a soft dough.

Don't overmix. Once you stop seeing dry flour, stop. Overworked dough turns tough instead of tender.

  1. Rest the dough. Wrap it and chill for 20 minutes. This makes it easier to shape.

Assemble

  1. Portion everything. Roll the filling into small balls (about 2 teaspoons each). Divide the dough into equal pieces, slightly larger than the filling balls.
  2. Wrap and seal. Flatten a piece of dough in your palm, set a filling ball in the center, then gently bring the dough up and around. Pinch it closed and roll it smooth. Seal it well, so nothing escapes in the oven.
  3. Shape. Press each ball into a mold set on your lined baking sheet, flattening the top. No mold? Just shape them into neat little rectangles or rounds by hand. They taste just as good.

Bake

  1. Bake. Heat your oven to 350°F (175°C). Bake for 20 to 25 minutes, until the edges turn light golden. Flip them halfway if you want even color on both sides.
  2. Watch the color. You are after pale gold, not deep brown. The pastry sets more as it cools, so pull them when the edges just take on color.

Cool and store

  1. Cool fully. Let them rest on the pan for a few minutes, then move to a rack. Cooling is not optional here. Warm pineapple cakes are fragile and crumbly, but once cool, the crust firms into that perfect short, tender bite.

Tips for Success

  • Thick filling is everything. If your pineapple filling is loose or wet, it will ooze and crack the pastry. Cook it until it holds a firm shape and cools into a paste you can roll.
  • Keep the crust from drying out. Don't overbake, and measure your flour gently (spoon it in, don't pack it). Too much flour makes a dry, dusty crust.
  • Neat shapes, no stress. Molds do the work for you, but even hand-shaped cakes look charming. Chill the dough if it gets too soft to handle.
  • Even portions bake evenly. A scale helps, but eyeballing works fine for a home batch.

Troubleshooting Table

Square pineapple cakes served on a ceramic plate with metal baking molds nearby, showing one cut open to reveal the jam filling.

Filling oozed out. If your filling leaked during baking, it was likely too wet going in, or the dough wasn't fully sealed around it. Cook the filling longer until it holds a firm, rollable shape, and take an extra moment to pinch the dough completely shut before shaping.

Pastry cracked. Cracks usually mean the filling was still too soft, or the dough was wrapped too thin. Aim for a firmer, well-chilled filling and make sure the dough layer around it has a little more thickness.

Crust too dry. An overly dry crust is almost always a sign of overbaking or too much flour. Pull the cakes as soon as the edges turn pale gold, and measure your flour by spooning it into the cup rather than packing it in.

Cakes fell apart. If your cakes crumbled when you tried to move or slice them, they needed more time to cool. Let them rest fully on the rack before handling. Patience here makes a real difference.

Pale and doughy. If the cakes came out looking underbaked, give them a few more minutes in the oven and watch for that light golden color at the edges. The pastry sets as it cools, but it still needs enough heat to bake through.

Too sweet. A very ripe pineapple plus the full amount of sugar can tip things over. Next time, start with less sugar in the filling and taste as it cooks. It's easy to add more, but you can't take it back.

FAQ

Can I use store-bought jam?

You can, in a pinch, but it changes things. Most jams are too loose and sweet, and they tend to leak. If you go this route, choose a very thick pineapple jam and cook it down further until it's paste-like.

Why did my filling ooze out?

Two usual suspects. Either the filling was still too wet, or the dough wasn't sealed all the way around. Cook the filling until it holds firm, and pinch the pastry closed completely before shaping.

Can I make them without molds?

Absolutely. Shape them by hand into small rectangles or rounds. They won't have the crisp bakery edges, but they'll taste every bit as good.

How do I know when they're done?

Look for pale golden edges, not deep brown. The pastry firms up as it cools, so trust the color over the touch. If the tops still look raw and pale, give them a few more minutes.

Can I reduce the sugar?

Yes, especially with a sweet, ripe pineapple. Start with less sugar in the filling and taste as you cook. You can always add a little more, but you can't take it back.

Are they supposed to be crumbly or tender?

Both, really. The crust should be short and tender, melting softly with a gentle crumble. If it's hard or dense, the dough was likely overworked.

Can I freeze them?

Yes. Baked and fully cooled cakes freeze well for up to 2 months. Thaw at room temperature. The crust holds its texture nicely.

Why is milk powder in the recipe?

It gives that classic bakery aroma and a subtle richness. It's optional, so leave it out if you don't have it. The cakes will still be lovely.

One Last Bite

A hand holding a halved Taiwanese pineapple cake, showcasing its rich fruit jam center.

Some treats are made to impress a crowd. These are made to sit quietly in a tin, waiting for the moment someone stops by, and you slide the lid off and offer one with a cup of tea.

This pineapple cake recipe takes a little patience, mostly in cooking down that filling. But the reward is a batch of small, buttery pastries that feel like a gift, even when you made them just for yourself.

Bake a batch, tuck a few away, and share the rest. When you do, come tell us how they turned out over at Our Food Rhythms. We'd love to hear which one disappeared first.