Pineapple Bars

Disclosure: As an Amazon Associate, I earn from qualifying purchases.

Loaded with pineapple, these easy Pineapple Bars are custardy bar cookies with a creamy and refreshing finish. They’re a unique treat with a tropical flavor, best served chilled.

A few pineapple bars on a blue serving plate
These yummy pineapple squares are refreshing and tropical desserts that are easy to make!

Pineapple is somewhat overlooked in the baking world outside of pineapple upside-down cake or cupcakes. The flavor doesn’t come through very well in pineapple recipes unless you have a lot of it.

These pineapple cookie bars truly makes pineapple the star with chunks of pineapple in every bite. If you love this tropical fruit, this pineapple bars recipe is a must-try!

Ingredients for Pineapple Squares

overhead view of ingredients in pineapple bars - vanilla, eggs, pineapple, sugar, salt, butter, flour, and coconut milk
With just a few simple ingredients, you can quickly put together these pineapple coconut bars.
  • I always suggest using fresh pineapple as it has the best flavor. However, a can of pineapple chunks would also work for this recipe.
  • This recipe calls for full-fat coconut milk. It’s the kind that is sold in a can. Be sure to shake the can vigorously before opening and measuring it out so that you get both the solid and liquid parts incorporated into your batter.
  • These bars call for 1 cup of sugar and they’re quite sweet, especially if you choose to add the pineapple glaze on top. If you prefer desserts that aren’t as sweet, reduce the sugar to 3/4 cup.

How It’s Made

  1. The first step is to make the crust. Mix flour, cold butter, sugar, and salt together with your hands until the butter is pea-sized and fully incorporated.
Hand holding a buttery dough over a glass bowl
Start by making the crust mixture that serves as the base of your pineapple squares.
  1. Press the crust mixture into a 9″ square baking pan and bake for 10 minutes at 350 F.
Pressing crust into a red baking pan
A simple but tasty crust gives these cookie bars a tasty and familiar base layer.
  1. Top the partially baked crust with pineapple chunks.
Adding pineapple chunks to the top of a crust in a red baking pan
Fresh pineapple gives your pineapple squares a distinctly fruity and refreshing flavor!
  1. Next, make your filling – it’s a one-bowl process. Mix together eggs, sugar, coconut milk, vanilla, flour, and salt and pour over the pineapple.
  2. Depending on how well-mixed your coconut milk is, you may end up with some chunks in your batter. If so, push the batter through a sieve.
Pushing batter through a sieve with a fork
Coconut milk gives these coconut pineapple bars additional sweet and tropical flavor.
  1. Then, pour the batter over the pineapple chunks.
Pour batter from a glass bowl over baking dish with crust and pineapple
With lots of chunks of real fresh pineapple, these pineapple bars are an authentic and delicious dessert, perfect for warm weather but delicious all year long!
  1. Bake for about 70 minutes. The bars will still be very soft, but they will be set on the top.
  2. Cool them to room temperature and chill in the refrigerator for at least three hours before cutting.
  3. If you’d like, you can also give the bars a pineapple glaze made with a mixture of pineapple juice and powdered sugar. The glaze adds even more of a pineapple taste to the bars.
3 glazed pineapple bars on a blue and white ceramic slab

Expert Tips and FAQs

My pineapple bars aren’t firm enough to cut. What do I do?

Make sure they are nice and chilled. Once they chill, they will cut easily.

How do I store these cookie bars?

Separate layers of cut bars with parchment paper, then store them in the refrigerator for up to one week in an airtight container. You can also store them the same way in the freezer for months. We like eating them straight from the freezer; they are really good frozen!

Can I use regular milk instead of coconut milk?

You can replace the coconut milk with whole milk if you prefer. You can also use sour cream or yogurt. If you use sour cream or yogurt, the texture will be different and the cook time will be reduced. Be sure to check for doneness at around 40 minutes if you make that substitution.

Can I use crushed pineapple?

I don’t recommend using crushed pineapple. It has too much liquid and having a larger bite of pineapple from the chunks produces a better flavor.

How to add extra flavor to my cookie bars

If you want to emphasize that these are coconut pineapple bars, add some coconut extract in the glaze. You could also try using coconut flour in the crust mixture!

Pineapple Bars Recipe

Did you make this recipe? Leave a review!
A few pineapple bars on a blue serving plate
Print Pin
5 from 2 votes

Pineapple Bars

Loaded with pineapple, these custardy bar cookies are creamy and refreshing. They are a unique treat with a tropical flavor best served chilled.
Course Dessert
Cuisine American
Prep Time 15 minutes
Cook Time 1 hour 20 minutes
Chilling Time 3 hours
Total Time 4 hours 35 minutes
Servings 12
Calories 280kcal
Author Stefani

Ingredients

Crust Ingredients

  • 6 tablespoons unsalted butter cold and cut into small pieces
  • 1 cup all-purpose flour
  • 1/4 cup sugar
  • pinch salt

Filling Ingredients

  • 12 ounces fresh pineapple cut into 1/2" chunks; canned pineapple also works
  • 2 large eggs
  • 1 cup sugar reduce to 3/4 cup if you prefer a less sweet dessert
  • 2/3 cup full-fat coconut milk
  • 1 tablespoon vanilla extract
  • 1/2 cup all-purpose flour
  • 1/2 teaspoon salt

Glaze Ingredients

  • 1 cup powdered sugar if your powdered sugar has any clumps, sift it
  • 2 tablespoons pineapple juice

Instructions

Crust Instructions

  • Preheat oven to 350 F
  • Place all ingredients in a small bowl and mix with your hands, pinch the butter pieces until they are pea-sized.
  • Grease a 9″ square baking dish and press dough onto the dish.
  • Bake for 10 minutes.

Filling Instructions

  • Distribute pineapple chunks in a single even layer over the partially baked crust.
  • Mix all other ingredients together until smooth. If needed, push the batter through a sieve to remove any chunks.
  • Pour over pineapple.
  • Bake for 70 minutes or until top is set.
  • Cool to room temperature.

Glaze Instructions

  • Mix powdered sugar and pineapple juice until fully combined.
  • Drizzle glaze over chilled bars.
  • Chill in the refrigerator for at least three hours before slicing and serving.

Notes

  • Note that the glaze is completely optional. It adds some extra pineapple flavor and the bars look prettier with it, but they are still yummy without the glaze.
  • Separate layers of cut bars with parchment paper, and store in the refrigerator for up to one week in an airtight container. You can also store them the same way in the freezer for months. We like eating them straight from the freezer; they are really good frozen!

Nutrition

Calories: 280kcal | Carbohydrates: 47g | Protein: 3g | Fat: 9g | Saturated Fat: 6g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 2g | Trans Fat: 1g | Cholesterol: 42mg | Sodium: 111mg | Potassium: 93mg | Fiber: 1g | Sugar: 34g | Vitamin A: 231IU | Vitamin C: 14mg | Calcium: 15mg | Iron: 1mg
Have you tried this recipe?Click here to leave a comment and rating!