Pineapple Nut Bars: Easy Recipe with Crumbly Topping

These pineapple nut bars are a tropical twist on classic crumb bars, featuring a buttery shortbread base, a sweet-tart pineapple filling, and a crunchy nut topping. They’re easy to make with pantry staples and are perfect for potlucks, bake sales, or a simple weeknight dessert. The combination of juicy pineapple and toasted nuts creates a satisfying texture and flavor that everyone will love.

Ingredients

  • For the crust and topping:
  • 2 cups (250 g) all-purpose flour
  • 1/2 cup (100 g) granulated sugar
  • 1/2 teaspoon salt
  • 1 cup (2 sticks, 226 g) cold unsalted butter, cut into small cubes
  • 1 large egg yolk
  • 1 teaspoon vanilla extract
  • 1/2 cup (60 g) chopped pecans or walnuts
  • For the filling:
  • 1 can (20 oz / 567 g) crushed pineapple, well drained
  • 1/2 cup (100 g) granulated sugar
  • 2 tablespoons cornstarch
  • 1 tablespoon lemon juice
  • 1/4 teaspoon salt

Instructions

  1. Preheat your oven to 350°F (175°C). Line a 9x9x2-inch square baking pan with parchment paper, leaving some overhang on two sides for easy lifting.
  2. In a large bowl, whisk together the flour, 1/2 cup sugar, and 1/2 teaspoon salt. Add the cold butter cubes and cut them in using a pastry blender or your fingertips until the mixture resembles coarse meal with some pea-sized butter pieces.
  3. Add the egg yolk and vanilla extract, and stir with a fork until the dough starts to clump together. It should be crumbly but hold together when pressed.
  4. Reserve 1 cup of the crumb mixture for the topping. Press the remaining mixture evenly into the bottom of the prepared pan. Bake for 15 minutes, until lightly golden. Set aside to cool slightly while you make the filling.
  5. In a medium saucepan, combine the drained crushed pineapple, 1/2 cup sugar, cornstarch, lemon juice, and 1/4 teaspoon salt. Cook over medium heat, stirring constantly, until the mixture thickens and comes to a boil. Boil for 1 minute, then remove from heat.
  6. Spread the pineapple filling evenly over the baked crust.
  7. In a small bowl, toss the reserved crumb mixture with the chopped nuts. Sprinkle this evenly over the pineapple filling.
  8. Bake for 25–30 minutes, until the topping is golden brown and the filling is bubbly around the edges. Let cool completely in the pan on a wire rack.
  9. Once cool, use the parchment overhang to lift the bars out. Cut into 16 squares or 12 rectangles. Serve at room temperature.

Tips

  • Drain the pineapple well: Squeeze out as much juice as possible from the crushed pineapple before cooking. Excess liquid will make the filling runny and soggy.
  • Chill the dough if needed: If the dough becomes too soft while pressing it into the pan, refrigerate it for 15 minutes before baking. This helps prevent shrinking.
  • Substitute nuts: Pecans and walnuts both work well. You can also use almonds or macadamia nuts for a different flavor. If you have a nut allergy, replace the nuts with an equal amount of toasted coconut or extra flour.
  • Use a glass pan? If using a glass or ceramic 9×9 pan, lower the oven temperature to 325°F (160°C) and expect slightly longer baking times, as glass heats more slowly. Watch the edges to avoid over-browning.

Serving Suggestions

These bars are delicious on their own, but you can elevate them with a scoop of vanilla ice cream or a dollop of whipped cream. They also pair nicely with a cup of hot tea or coffee. For a pretty presentation, dust the top with powdered sugar just before serving, or drizzle with a simple glaze made from powdered sugar and pineapple juice.

Variations

  • Add coconut: Stir 1/2 cup (40 g) sweetened shredded coconut into the crumb topping along with the nuts.
  • Use fresh pineapple: Substitute 2 cups (about 300 g) of finely chopped fresh pineapple for the canned. Cook it with the sugar and cornstarch until it softens and thickens, about 5-7 minutes.
  • Try a different fruit: This recipe works well with other crushed fruits like peaches, apricots, or mango. Adjust sugar to taste.
  • Make a gluten-free version: Replace the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture will be slightly more tender, but the bars will hold together.

Storage and Reheating

Store the bars in an airtight container at room temperature for up to 3 days, or in the refrigerator for up to a week. They also freeze beautifully: wrap individual bars or the whole slab in plastic wrap, then in foil, and freeze for up to 3 months. Thaw overnight in the refrigerator or at room temperature for a couple of hours. To reheat, place them in a 300°F (150°C) oven for 5–10 minutes to refresh the crisp topping, or enjoy them cold.

Frequently Asked Questions

Can I use a different pan size? Yes, you can use a 9×13-inch pan, but the bars will be thinner. You’ll need to double the recipe for a proper thickness, or accept a thinner bar and reduce the baking time by about 5 minutes. A 9×9-inch pan is ideal for this recipe as written.

Why is my filling runny? The most common cause is not draining the pineapple thoroughly. Also, make sure you boil the filling for at least 1 minute so the cornstarch activates fully. If the bars are still runny after cooling, they may not have baked long enough—ensure the filling is bubbling around the edges.

Can I make these bars ahead of time? Absolutely. They actually taste better the next day once the flavors meld. You can bake them a day ahead and store them in the refrigerator until serving. Let them come to room temperature before cutting.

Do I need to refrigerate the bars? They are safe at room temperature for up to 2 days, but because of the fruit filling, they will last longer in the fridge. If you live in a warm climate, refrigeration is recommended to prevent spoilage.

Can I use a store-bought crust? Yes, you can use a refrigerated pie crust or a shortbread cookie mix as a shortcut. Press the crust into the pan and pre-bake it as directed on the package, then proceed with the filling and topping.

What if I don’t have cornstarch? You can substitute 3 tablespoons of all-purpose flour for the 2 tablespoons of cornstarch, but the filling may be slightly cloudier. Cook the filling a little longer to ensure the flour is fully cooked and no raw taste remains.