The Feast

Home cooking recipes for everyday dinners and easy entertaining

Pineapple Cake Recipe: Flaky, Buttery & Sweet-Tart Filling

· 5 min read · Baking and Desserts

Pineapple cake is a beloved pastry in many Asian cuisines, especially in Taiwan, where it's a popular gift and festive treat. It features a buttery, crumbly shortbread-like crust that encases a thick, sweet-tart pineapple jam filling. The contrast of textures and balance of flavors—rich dough against bright, tangy fruit—make this cake both comforting and celebratory.

Ingredients

  • 1 cup (2 sticks / 226g) unsalted butter, at room temperature
  • 1/2 cup (100g) granulated sugar
  • 1 large egg yolk
  • 1 teaspoon pure vanilla extract
  • 2 1/2 cups (315g) all-purpose flour
  • 1/4 teaspoon salt
  • 1 1/2 cups (about 400g) pineapple jam or homemade pineapple filling (see tips)
  • 1 egg (for egg wash)

Instructions

  1. Preheat your oven to 350°F (175°C). Line a 9-inch round cake pan with parchment paper or lightly grease and flour it.
  2. In a large mixing bowl, cream together the softened butter and granulated sugar using an electric mixer on medium speed until light and fluffy, about 2–3 minutes.
  3. Add the egg yolk and vanilla extract. Mix until fully incorporated, scraping down the sides of the bowl as needed.
  4. In a separate bowl, whisk together the all-purpose flour and salt. Gradually add the flour mixture to the butter mixture, mixing on low speed until the dough comes together. Do not overmix. The dough should be soft and slightly crumbly but hold together when pressed.
  5. Divide the dough into two portions: one slightly larger (about 2/3 of the dough) and one smaller (1/3). Press the larger portion evenly into the bottom of the prepared pan to form the base crust. Use your fingers or a flat-bottomed glass to smooth it flat.
  6. Spread the pineapple filling evenly over the base crust, leaving a 1/2-inch border around the edge to prevent overflow.
  7. Break the remaining dough into small pieces and scatter them over the top of the filling. Gently press down to partially cover the jam. This creates a rustic, crumbly top rather than a solid crust.
  8. In a small bowl, beat the remaining whole egg with a fork to make an egg wash. Lightly brush the top dough pieces with the egg wash to help them brown.
  9. Bake in the preheated oven for 35 to 40 minutes, or until the top is golden brown and the filling is bubbling slightly at the edges.
  10. Remove from the oven and let cool completely in the pan on a wire rack. This helps the filling set and makes slicing easier.
  11. Once cooled, lift the cake out using the parchment paper (if used) and place on a cutting board. Cut into wedges or squares before serving.

Tips

  • For best results, use homemade pineapple filling: simmer 2 cups of finely chopped fresh pineapple with 1/4 cup sugar and 1 tablespoon lemon juice over low heat for 30–40 minutes, stirring frequently, until thick and jam-like. This gives a more natural, less cloying flavor than store-bought jam.
  • If you’re short on time, high-quality store-bought pineapple jam works—just avoid overly runny or gelatinous versions. Drain excess liquid if needed.
  • Butter temperature is crucial. If it’s too soft, the dough will be greasy; too cold, and it won’t cream properly. Leave it at room temperature for about 30–60 minutes before starting.
  • Do not overbake. While the top should be golden, overbaking can dry out the crust and cause the filling to harden too much upon cooling.

Serving Suggestions

Serve pineapple cake at room temperature for the best texture. It pairs beautifully with a cup of oolong, jasmine, or black tea, which complements the sweetness. For a more indulgent treat, add a small scoop of vanilla ice cream or a dollop of lightly sweetened whipped cream on the side. It also makes an elegant dessert for holiday gatherings, afternoon tea, or as a homemade gift wrapped in parchment and twine.

Variations

For a nuttier flavor, add 1/4 cup of finely chopped roasted cashews or walnuts to the dough. You can also swap 1/2 cup of the all-purpose flour for toasted almond flour for a richer, more delicate crust. To make a tropical twist, fold 1/4 cup of shredded coconut into the filling before spreading. For individual portions, press the dough into a muffin tin, add filling, and top with crumbled dough—bake for 20–25 minutes.

Storage and Reheating

Store pineapple cake in an airtight container at room temperature for up to 3 days. For longer storage, refrigerate for up to 1 week. Bring to room temperature before serving to restore texture. To reheat, place a slice on a baking sheet and warm in a 300°F (150°C) oven for 8–10 minutes. Do not microwave, as it can make the crust soggy. For freezing, wrap the cooled cake tightly in plastic wrap and foil, and freeze for up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature before serving.

Frequently Asked Questions

Can I use fresh pineapple instead of jam?

Yes, but you must cook it down first. Fresh pineapple contains a lot of water. To avoid a soggy cake, simmer chopped pineapple with sugar and lemon juice until it thickens into a jam-like consistency. This reduces moisture and intensifies flavor.

Why did my crust turn out greasy?

A greasy crust usually results from butter that was too soft or melted. Always use room-temperature butter—soft enough to press easily but still holding its shape. Overmixing the dough can also release too much fat, so mix just until combined.

Can I make this recipe ahead of time?

Absolutely. You can prepare the dough and filling up to 2 days in advance and store them separately in the refrigerator. Assemble and bake when ready. Fully baked cake can be stored and reheated as needed.

Is pineapple cake the same as Taiwanese pineapple cake?

Traditional Taiwanese pineapple cakes are small, individually portioned pastries with a buttery shortcrust and a dense, sweet pineapple filling. This recipe is inspired by that style but adapted for a home-style sheet or round cake. The flavor profile is similar, though the texture is slightly different due to the format.

Can I use salted butter?

You can, but reduce the added salt to 1/8 teaspoon or omit it entirely. Salted butter varies in sodium content, so it’s best to taste the dough before baking to avoid oversalting.

What if my filling is too runny?

If the filling leaks during baking, it likely had too much moisture. Always use thick, reduced jam. If using store-bought, drain excess liquid or simmer it briefly to thicken. Chilling the assembled cake for 15 minutes before baking can also help prevent spreading.

In this article
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions