If you love tropical flavors and dessert bars, then pineapple coconut cassava bars are about to become your new favorite treat. These bars combine the sweet tang of pineapple with the creamy, nutty goodness of coconut. They’re soft, slightly chewy, and perfect for a mid-afternoon snack, a healthy dessert, or even a crowd-pleasing treat for parties.
I first stumbled upon this recipe while experimenting with cassava flour in my kitchen. Cassava, a naturally gluten-free root, has this magical ability to soak up flavors while keeping desserts light yet satisfyingly dense. Paired with pineapple and coconut, it’s like a mini tropical vacation in every bite.
Why You’ll Love Pineapple Coconut Cassava Bars
These bars aren’t just another dessert. They’re a combination of texture, flavor, and simplicity. Here’s what makes them special:
- Tropical Flavor Explosion – The sweetness of crushed pineapple combined with rich coconut instantly transports your taste buds to a sunny beach.
- Vegan-Friendly – No dairy, no eggs, but all the indulgence you crave. Perfect for plant-based diets.
- Simple Ingredients – Most of what you need is probably already in your pantry. Canned pineapple, shredded coconut, cassava flour, and a few staples.
- Versatile – Enjoy them as dessert, breakfast bars, or even on-the-go snacks.
And the best part? These pineapple coconut bars aren’t overly sweet. You get a natural tropical sweetness without feeling weighed down.
Ingredients You’ll Need

Before we dive into the method, make sure you have the following on hand:
For the Base:
- 1 ½ cups cassava flour
- ¼ cup coconut oil, melted
- ¼ cup maple syrup
- Pinch of salt
For the Filling:
- 1 can (14 oz) crushed pineapple, drained
- 1 cup shredded coconut
- 2–3 tbsp coconut sugar (adjust to taste)
- 1 tsp vanilla extract
Optional Toppings:
- Extra shredded coconut
- Toasted coconut flakes
- Drizzle of vegan white chocolate
Step-by-Step Recipe
1. Preheat and Prep
Start by preheating your oven to 350°F (175°C). Line an 8×8 inch baking pan with parchment paper. Trust me, parchment paper is a lifesaver—it makes cleanup almost too easy.
2. Make the Base
In a medium bowl, combine cassava flour, melted coconut oil, maple syrup, and a pinch of salt. Mix until a soft dough forms. Press the dough evenly into your prepared pan. Think of it as creating a sturdy stage for the tropical party that’s about to happen.
3. Prepare the Filling
In another bowl, mix crushed pineapple, shredded coconut, coconut sugar, and vanilla extract. Stir until everything is well combined. The mixture should be moist but not runny.
4. Assemble the Bars
Spread the pineapple coconut filling evenly over the cassava base. Use a spatula or the back of a spoon to gently press it down. Sprinkle extra coconut or toasted coconut flakes on top if you want to add texture and a nutty aroma.
5. Bake to Perfection
Bake in the oven for 25–30 minutes or until the edges start to turn golden brown. Your kitchen will smell like a tropical paradise, so get ready for some serious cravings.
6. Cool and Slice
Allow the bars to cool completely before slicing into squares. If you try to cut them while hot, you’ll end up with a sticky mess. Patience pays off here.
Tips for the Best Pineapple Coconut Bars
- Drain the Pineapple Well – Excess moisture can make the bars soggy. Give that canned pineapple a good squeeze.
- Shredded vs. Flaked Coconut – Shredded coconut works best for a chewy texture. Toasted flakes are great for a crunchier finish.
- Storage – Keep them in an airtight container at room temperature for up to 3 days, or refrigerate for up to a week. They also freeze beautifully.
- Customize Sweetness – Maple syrup, coconut sugar, or agave all work. Taste as you go.
Why Cassava Flour Works Wonders
Cassava flour is derived from the root of the cassava plant. It’s naturally gluten-free and has a mild, nutty flavor. Unlike some gluten-free flours, cassava gives a chewy, slightly dense texture that holds together beautifully in bars. It’s ideal for desserts like this because it soaks up the pineapple and coconut flavors without overpowering them.
Variations to Try
- Vegan Pina Colada Bars – Add a splash of rum extract or pineapple juice for a tropical cocktail twist.
- Chocolate Coconut Bars – Drizzle vegan chocolate on top before baking or swirl it in with the filling.
- Nutty Pineapple Squares – Fold in chopped macadamia nuts or almonds for extra crunch.
- Brownie-Style Coconut Bars – Add a spoonful of cocoa powder to the base to turn them into tropical chocolate bars.
Serving Ideas
These bars are versatile. Enjoy them:
- With a cup of coffee or tea
- Chilled for a refreshing summer snack
- As part of a tropical dessert platter at gatherings
- Cut into bite-sized pieces for a picnic or lunchbox

Pineapple Coconut Cassava Bars
Ingredients
Method
- Preheat the oven to 350°F (175°C). Line an 8×8 inch baking pan with parchment paper.
- In a medium bowl, mix cassava flour, melted coconut oil, maple syrup, and a pinch of salt. Press the dough evenly into the prepared pan.
- In another bowl, combine drained crushed pineapple, shredded coconut, coconut sugar, and vanilla extract. Mix well.
- Spread the pineapple coconut filling evenly over the cassava base. Sprinkle optional shredded or toasted coconut on top.
- Bake for 25–30 minutes, or until the edges turn golden brown.
- Let the bars cool completely before slicing into squares.
Notes
- Make sure to drain the pineapple well to avoid soggy bars.
- Bars can be stored in an airtight container for up to 3 days at room temperature or up to a week in the fridge.
- These bars freeze well, so make extra for later!
- Optional toppings like toasted coconut or vegan white chocolate add extra flavor and texture.
Frequently Asked Questions (FAQ)
Q: Can I use fresh pineapple instead of canned?
A: Absolutely! Just make sure to drain it well to prevent soggy bars. Fresh pineapple adds a brighter, juicier flavor.
Q: Are these bars gluten-free?
A: Yes! Using cassava flour keeps them naturally gluten-free, and they’re also vegan-friendly.
Q: How long do pineapple coconut bars last?
A: Store in an airtight container at room temperature for up to 3 days or in the fridge for up to a week. You can freeze them for longer storage.
Q: Can I make them sugar-free?
A: Sure! Substitute coconut sugar or maple syrup with a sugar-free sweetener of your choice. Just adjust sweetness to taste.
Q: Can I double the recipe?
A: Definitely! Just use a larger baking dish and adjust the baking time slightly. Keep an eye on the edges to avoid over-baking.
Final Thoughts
Pineapple coconut cassava bars are proof that desserts can be simple, tropical, and wholesome. They’re soft, flavorful, and easy to make—perfect for anyone craving a tropical escape in dessert form. I love making these bars when friends come over, and they always disappear fast. Give this recipe a try, and I promise it’ll become a staple in your dessert rotation.
After all, who can resist that sweet, chewy bite of pineapple and coconut mingling together?

