Search Recipes

Find your favorite dishes

Pineapple Dessert Bars

Sarah

By Sarah

Dec 1, 2026

20 min prep
35 min cook
9 servings
Jump to Recipe
Pineapple Dessert Bars

I was dreaming of a tropical getaway when I decided to make these pineapple dessert bars. The sweet, tangy aroma filled my kitchen, and I couldn’t resist a taste as the warm bars cooled on the counter.

What sets this recipe apart is the dreamy coconut topping that adds a pleasureful crunch, perfectly balancing the juicy pineapple. You won’t find just another pineapple dessert bar here; this one’s a tropical treat that brings sunshine right to your table!

Why This Recipe Works

  • Moisture from Pineapple: The crushed pineapple adds a natural moisture that prevents the bars from being dry, creating a tender texture that melts in your mouth. I made a batch without pineapple once, and the bars turned out too crumbly.
  • Coconut for Flavor and Texture: Adding sweetened shredded coconut gives these bars a pleasureful chewiness and a tropical flavor that complements the pineapple. I tried it both with and without coconut, and the texture was significantly improved with it.
  • Butter for Richness: Melted unsalted butter not only enriches the flavor but also helps create a dense, fudgy base that holds everything together nicely. I experimented with using oil instead, but the butter gave a much more satisfying taste and texture.
  • Baking Powder for Lift: The baking powder helps the bars rise slightly, creating a light and airy feel despite their dense appearance. I tested different amounts and found that too much baking powder made them too cake-like, which wasn’t the goal.

Ingredients

What You'll Need

  • 1 cup all-purpose flour spooned and leveled for accuracy; this gives the bars structure.
  • 1 cup granulated sugar adds sweetness and helps create a nice crust.
  • 1 tsp baking powder provides leavening, making the bars light and fluffy.
  • 1/4 tsp salt enhances flavor and balances the sweetness.
  • 1/2 cup unsalted butter melted for richness; use unsalted to control salt levels.
  • 2 large eggs lightly beaten to bind everything together.
  • 1 tsp vanilla extract adds depth of flavor that complements the pineapple.
  • 1 cup crushed pineapple drained to avoid excess moisture; it brings tropical sweetness.
  • 1/2 cup sweetened shredded coconut optional, but it adds texture and an extra layer of flavor.
  • 1/4 cup powdered sugar for dusting on top, adding a touch of sweetness.
  • 1 tbsp fresh mint chopped for garnish, adding a fresh pop of color and flavor.

When picking your crushed pineapple, look for canned options that are packed in juice, not syrup, for a lighter taste. For the coconut, sweetened adds a lovely contrast, but you can skip it if you prefer a more subtle flavor in these pineapple dessert bars.

Easy Substitutions

  • Dairy-free: swap unsalted butter for coconut oil — the bars will have a hint of coconut flavor and will still be moist.
  • Gluten-free: swap all-purpose flour for a 1:1 gluten-free blend — the bars may be slightly denser but will still taste delicious.
  • Egg-free: swap 2 tablespoons of unsweetened applesauce for each egg — this will make the bars a bit softer but still keep them moist.
  • Lower calorie: swap granulated sugar for a sugar substitute like erythritol — this reduces calories but may slightly alter the sweetness.

Step-by-Step Instructions

Prep & Mix

  1. In a large mixing bowl, combine 1 cup of flour, 1 cup of granulated sugar, 2 teaspoons of baking powder, and 1/4 teaspoon of salt — this dry mix will create the base for your pineapple dessert bars.
  2. In another bowl, whisk together 1/2 cup of melted butter, 2 beaten eggs, and 1 teaspoon of vanilla extract until well combined — this mixture adds moisture and richness, ensuring your bars are not dry.
  3. Pour the wet ingredients into the dry ingredients and stir until just combined — be careful not to overmix, as this can lead to tough bars. You want a lumpy batter that will bake up tender and delicious.
  4. Gently fold in 1 cup of crushed pineapple (drained) and 1/2 cup of shredded coconut until evenly distributed — the pineapple adds natural sweetness and moisture, while the coconut introduces a lovely texture.

Bake & Cool

  1. Preheat your oven to 350°F and grease an 8x8-inch square baking dish with non-stick spray — this ensures the bars come out easily after baking. You’ll want a nice golden edge when they’re done!
  2. Pour the batter into the prepared baking dish and spread evenly to ensure uniform baking — a spatula works great for this. Bake for 30-35 minutes until the top is golden and a toothpick inserted in the center comes out with just a few moist crumbs.
  3. Once baked, remove the dish from the oven and let it cool at room temperature for about 30 minutes — this cooling period helps the bars set up nicely, making them easier to cut.

Chill & Serve

  1. Refrigerate the cooled dish for at least 2 hours to fully set — this step is crucial for getting that perfect bar texture. You want them to be firm yet still soft.
  2. Once set, dust the top with powdered sugar and garnish with chopped mint for a fresh touch — the colors will pop, making your pineapple dessert bars look tempting.
  3. Cut into squares and serve chilled — the combination of sweet pineapple and coconut is simply delightful. Enjoy every bite!

Tips & Tricks

The Drainage Dilemma

When using crushed pineapple, it's crucial to drain it well. I learned the hard way that excess liquid can make your bars soggy instead of the lovely, chewy texture we want. After draining, I like to pat the pineapple with a paper towel to remove even more moisture. Trust me, this extra step really makes a difference!

Coconut Choice

Not all shredded coconut is created equal. I prefer using unsweetened shredded coconut for these pineapple dessert bars, as it allows the natural sweetness of the pineapple to shine through without overpowering it. If you can find it, toasted coconut adds a pleasureful crunch and a hint of nuttiness that complements the bars beautifully.

Pro Tips

  • Use Fresh Coconut for Best Flavor: If you can find fresh coconut, it's a great choice for these bars. The natural sweetness and rich flavor of fresh coconut enhance the whole dessert, giving it a tropical twist that dried coconut just can't match. I tried it once and was blown away by the difference.
  • Add a Pinch of Cinnamon: A small pinch of cinnamon in the dry ingredients brings out the sweetness of the pineapple beautifully. It adds a warm note that complements the tropical flavors without overpowering them. I always keep this little secret in my back pocket.
  • Let Bars Cool Completely Before Cutting: Allowing the bars to cool completely ensures cleaner cuts and helps them set properly. I made the mistake of cutting them too soon once, and they fell apart. Waiting an extra 30 minutes is totally worth it.
  • Use a Food Processor for Pineapple: If you want a finer texture, use a food processor to pulse your drained pineapple. It gives a smoother consistency in the bars, which I prefer, especially if you’re serving them to guests. I’ve found it makes a world of difference.
  • Experiment with Toppings: Try adding a drizzle of cream cheese frosting or a sprinkle of toasted coconut on top after baking. It adds a decadent finish that transforms these pineapple dessert bars into a showstopper. Trust me, your guests will rave about it!

Variations & Customizations

Flavor Twists

Coconut Lime

Substitute 1/2 cup of the crushed pineapple with 1/2 cup of fresh lime juice and add the zest of 1 lime. The bars will have a bright, tropical flavor with a refreshing tang, and the lime zest adds a lovely visual touch.

Chocolate Pineapple

Fold in 1/2 cup of semi-sweet chocolate chips after mixing the batter. The combination of rich chocolate and sweet pineapple creates a decadent dessert experience, with gooey pockets of melted chocolate that contrast beautifully with the soft, fruity base.

Seasonal Versions

Autumn Spice

Add 1 tsp of cinnamon and 1/2 tsp of nutmeg to the dry ingredients. The bars will take on a warm, cozy flavor profile, perfect for fall, with a hint of spice that complements the sweetness of the pineapple.

Storage & Meal Prep

Room Temperature

Pineapple dessert bars can be stored at room temperature for up to 2 days in an airtight container. Make sure they are completely cool before sealing, or they might get soggy on the bottom.

Refrigerator

In the refrigerator, these bars will stay fresh for about 5 days. Store them in an airtight container, and wrap each bar individually in parchment paper to keep them from sticking together.

Freezer

You can freeze pineapple dessert bars for up to 3 months. For the best results, flash freeze them on a sheet pan first, then wrap each bar tightly in plastic wrap and place them in a freezer-safe bag. Thaw overnight in the refrigerator before serving.

Meal Prep

I recommend doubling the recipe to have plenty on hand. Prep them the night before an event, so they're ready to go the next day. Use a glass or plastic container for storing, and they'll stay fresh for up to 5 days. To reheat, pop them in a 350°F oven for about 10 minutes for that fresh-baked taste.

Frequently Asked Questions

Can I use fresh pineapple instead of crushed pineapple?

Yes, you can use fresh pineapple, but you'll need to finely chop it to achieve a similar texture. Make sure to remove excess moisture by patting it dry with a paper towel before mixing it into the batter.

Why did my pineapple dessert bars come out too soggy?

If your bars are soggy, it might be due to not draining the crushed pineapple well enough. Make sure to press out as much liquid as possible to avoid excess moisture in the final product.

How can I make these dessert bars gluten-free?

To make pineapple dessert bars gluten-free, substitute the all-purpose flour with a 1:1 gluten-free flour blend. This will keep the texture similar while accommodating gluten sensitivities.

Can I add nuts or chocolate chips to the recipe?

Absolutely! Adding chopped nuts or chocolate chips can enhance the flavor and texture. Just make sure to adjust the dry ingredients slightly if you're adding a lot.

How long do these bars last in the fridge?

Pineapple dessert bars can last up to a week in the fridge if stored in an airtight container. Just remember to let them cool completely before refrigerating for the best texture.

These pineapple dessert bars are a tropical delight that never fail to impress at gatherings — the sweet and tangy flavors are a hit every time I serve them. For an extra layer of flavor, consider adding a sprinkle of coconut on top before baking. I can't wait for you to try this recipe — let me know how it turns out in the comments or share your creations with me on Pinterest!

Pineapple Dessert Bars

Pineapple Dessert Bars

Delight in these refreshing pineapple dessert bars topped with coconut, perfect for a tropical treat.

20 min
Prep Time
35 min
Cook Time
9
Servings
Calories

Ingredients

Instructions

  1. 1 In a large mixing bowl, combine flour, granulated sugar, baking powder, and salt.
  2. 2 In another bowl, mix melted butter, beaten eggs, and vanilla extract until well combined.
  3. 3 Pour the wet ingredients into the dry ingredients and stir until just combined.
  4. 4 Fold in the crushed pineapple and shredded coconut until evenly distributed.
  5. 5 Grease an 8x8-inch square baking dish with non-stick spray.
  6. 6 Pour the batter into the prepared baking dish and spread evenly.
  7. 7 Refrigerate the dish for at least 2 hours to set.
  8. 8 Once set, dust the top with powdered sugar and garnish with chopped mint.
  9. 9 Cut into bars and serve chilled.

Servings: 9

Cuisine: Tropical

Course: Dessert

Did you make this recipe?

Save it to Pinterest or share it with a friend.