Skip to main content
Zimt

Home baking recipes and cinnamon favourites

Pineapple Bars with Shortbread Crust Recipe

Pineapple bars with a shortbread crust offer a perfect balance of buttery, crumbly texture and bright, tangy fruit topping. This classic dessert works because the dense, rich base provides a sturdy foundation for the creamy pineapple layer, preventing the bars from becoming soggy or falling apart. It is an ideal crowd-pleasing treat for potlucks, tea times, or summer gatherings.

Ingredients

  • 1/2 cup unsalted butter, softened to room temperature
  • 1/4 cup granulated sugar
  • 1 1/4 cups all-purpose flour
  • 1/4 teaspoon salt
  • 1/2 cup unsalted butter, melted (for the crust)
  • 1 package (3.4 oz) cream cheese, softened
  • 1/2 cup granulated sugar (for the filling)
  • 1 large egg, room temperature
  • 1 can (20 oz) crushed pineapple, drained very well
  • 1/2 cup shredded coconut, optional for topping
  • 1/4 cup powdered sugar, for dusting

Instructions

  1. Preheat your oven to 350°F (175°C). Grease a 9x9 inch square baking pan or line it with parchment paper, leaving an overhang on the sides to allow for easy removal of the bars later.
  2. In a medium mixing bowl, combine the 1/2 cup of softened butter and 1/4 cup of granulated sugar. Cream them together using a hand mixer or a sturdy spatula until the mixture is light and fluffy.
  3. Add the 1 1/4 cups of all-purpose flour and 1/4 teaspoon of salt to the butter mixture. Mix until a crumbly dough forms.
  4. Press this dough firmly and evenly into the bottom of your prepared baking pan. Use the back of a spoon or your fingers to ensure it reaches all the corners and has a uniform thickness.
  5. Pour the 1/2 cup of melted butter evenly over the pressed shortbread crust. Return the pan to the oven and bake for 18 to 20 minutes, or until the edges are just starting to turn a very light golden brown.
  6. While the crust is baking, prepare the pineapple filling. In a separate large bowl, beat the softened cream cheese and 1/2 cup of granulated sugar together until smooth and no lumps remain.
  7. Add the egg to the cream cheese mixture and beat on low speed just until combined. Do not overbeat, as incorporating too much air can cause the filling to puff up and then collapse in the oven.
  8. Gently fold in the drained crushed pineapple. It is crucial that the pineapple is drained thoroughly in a fine-mesh sieve; excess liquid will compromise the structure of the bars.
  9. Once the shortbread crust is finished baking, remove it from the oven. Pour the pineapple filling over the warm crust, spreading it to the edges with an offset spatula.
  10. If using coconut, sprinkle it evenly over the top of the wet filling.
  11. Place the pan back into the oven and bake for an additional 30 to 35 minutes. The filling should be set and not jiggly when the pan is gently shaken.
  12. Remove the pan from the oven and allow it to cool completely at room temperature. Once cooled, refrigerate the bars for at least 2 hours to allow the cream cheese layer to firm up fully before slicing.
  13. Before serving, dust the top with powdered sugar if desired. Lift the bars out using the parchment paper overhang and cut into squares using a sharp knife.

Tips

To ensure the best texture, always use room temperature cream cheese. If the cream cheese is cold, you will end up with small white lumps in your filling that are difficult to smooth out even after mixing. Another critical tip is the drainage of the pineapple. Even if the can says "drained," it is wise to press the pineapple against a fine-mesh sieve with a spoon to remove every bit of excess juice. Excess moisture is the primary reason pineapple bars turn out mushy rather than creamy.

If you prefer a more pronounced shortbread flavor, you can add a teaspoon of vanilla extract to the dough. For the crust, ensure you press it down firmly; a loose crust will crumble when you try to bite into the bars. If you find the crust is too crumbly during the pressing stage, add one tablespoon of melted butter to the dough to help it bind.

Avoid overbaking the pineapple layer. While you want the filling to be set, overbaking can cause the cream cheese to separate or develop a rubbery texture. The center should be firm to the touch but not browned on top. If you notice the edges of the crust are browning too quickly while the filling is still liquid, tent the pan loosely with aluminum foil.

Serving Suggestions

These bars are delicious served chilled, which highlights the refreshing acidity of the pineapple. For a more elegant presentation at a brunch or tea party, serve each square on a small dessert plate with a dollop of lightly sweetened whipped cream. The creaminess of the whipped topping complements the tangy fruit beautifully.

If you are serving these at a summer barbecue, they pair exceptionally well with iced tea or a light fruit punch. For a more decadent dessert, you can serve them slightly warmer, though they will be much softer and harder to slice cleanly. A scoop of vanilla bean ice cream on the side of a room-temperature bar is another excellent way to enjoy this treat.

Variations

For a tropical twist, increase the coconut content by adding 1/2 cup of sweetened shredded coconut directly into the cream cheese mixture. You can also add a hint of lime zest to the filling to provide a citrusy brightness that cuts through the richness of the cream cheese and butter.

If you want a different texture, you can substitute the crushed pineapple with crushed pineapple in juice, provided you drain it even more aggressively. Alternatively, you can use crushed pineapple chunks for a more substantial fruit experience, though you may need to chop them slightly smaller to ensure even distribution in the filling.

For a gluten-free version, use a high-quality 1-to-1 gluten-free flour blend that includes xanthan gum. Ensure the melted butter is used to help bind the gluten-free dough, as these flours often require more moisture to reach a workable consistency.

Storage and Reheating

Because these bars contain cream cheese and fruit, they must be stored in the refrigerator. Place the bars in an airtight container to prevent them from absorbing other odors in the fridge. They will stay fresh and maintain their best texture for up to 4 days when refrigerated.

Do not attempt to reheat these bars in a microwave, as this will cause the cream cheese layer to melt and become unappealingly runny. If you prefer them slightly softer, simply take them out of the refrigerator about 15 to 20 minutes before serving to allow them to come closer to room temperature. They can also be frozen; wrap individual squares tightly in plastic wrap and place them in a freezer bag for up to 2 months. Thaw in the refrigerator overnight before eating.

Frequently Asked Questions

Can I use fresh pineapple instead of canned?

Yes, you can use fresh crushed pineapple, but it requires more preparation. You must finely chop the fresh pineapple and then drain it through a fine-mesh sieve for at least 30 minutes to ensure all excess juice is removed. Fresh pineapple also contains enzymes that can sometimes affect the setting of dairy, so canned pineapple is generally more reliable for this specific recipe.

Why did my filling turn out watery?

Watery filling is almost always the result of insufficient drainage of the pineapple or underbaking the bars. If the pineapple retains too much liquid, that liquid will seep into the cream cheese layer during the baking process. Ensure you press the pineapple firmly in a sieve and bake until the center is fully set and no longer jiggles significantly.

Can I make the shortbread crust in advance?

You can prepare the shortbread dough up to two days in advance and keep it covered in the refrigerator. However, you should not bake the crust until you are ready to make the filling, as the crust is best when pressed into the pan and baked fresh to maintain its crisp, buttery texture. Once the crust is baked, it can be cooled and stored, but it is easier to assemble the entire bar in one session.

How do I get clean cuts when slicing the bars?

To get professional-looking, clean edges, use a sharp chef's knife or a bench scraper. For the best results, wipe the knife clean with a warm, damp cloth between every single cut. This prevents the cream cheese and pineapple from sticking to the blade and dragging through the layers, which can create a messy appearance.

Can I substitute the cream cheese with something else?

While cream cheese is the standard for this recipe due to its stability and tang, you could theoretically use a thick Greek yogurt or mascarpone. However, mascarpone is much richer and less tangy, while Greek yogurt is much thinner and may require additional thickeners like cornstarch to prevent the bars from being too soft. For the classic texture described in this recipe, cream cheese is highly recommended.

Is it safe to eat the raw dough?

It is not recommended to eat the raw shortbread dough or the pineapple filling mixture. The dough contains raw flour, which can carry bacteria like E. coli, and the filling contains raw egg, which carries a risk of Salmonella. Always ensure the bars are baked to the correct internal temperature and fully set before consumption.

Read next