Coconut Bars Recipe
Introduction
Coconut Bars are a deliciously chewy and sweet treat with a buttery crust and a rich coconut filling. Perfect for coconut lovers, these bars combine a crumbly base with a moist, coconut-packed topping that’s easy to make and sure to satisfy your sweet tooth.

Ingredients
- 1/2 cup unsalted butter (melted)
- 1/4 cup light brown sugar
- 1/4 cup granulated sugar
- 3/4 teaspoon vanilla extract
- 1 pinch kosher salt
- 1 cup all-purpose flour
- 3 large eggs
- 3/4 cup granulated sugar
- 1 1/2 teaspoons vanilla extract
- 1 3/4 teaspoons baking powder
- 1/3 cup all-purpose flour
- 3 cups sweetened shredded coconut
- 1/3 cup sweetened shredded coconut (for topping)
Instructions
- Step 1: Preheat your oven to 350°F (175°C). Line a 9×9-inch baking pan with parchment paper for easy removal.
- Step 2: In a bowl, mix together the melted butter, light brown sugar, granulated sugar, vanilla extract, salt, and 1 cup of all-purpose flour. Stir until just combined, keeping the mixture slightly crumbly.
- Step 3: Press the crumbly mixture evenly into the prepared pan to form the base. Bake for 15 minutes until set.
- Step 4: In a separate bowl, whisk the eggs with 3/4 cup granulated sugar until combined. Add the 1 1/2 teaspoons vanilla extract and baking powder, then gently fold in 1/3 cup all-purpose flour and 3 cups shredded coconut until just blended.
- Step 5: Pour the coconut filling evenly over the prebaked base. Sprinkle the remaining 1/3 cup shredded coconut on top.
- Step 6: Return the pan to the oven and bake for about 25 minutes, until the filling is set and the edges are lightly golden.
- Step 7: Allow the bars to cool completely in the pan for 1.5 to 2 hours. For a firmer texture, cool at room temperature for 45 minutes, then refrigerate for 1 hour before slicing. Serve cold.
Tips & Variations
- Use full-fat sweetened coconut for the best flavor and chewiness.
- Try adding a handful of chopped nuts like macadamias or almonds for added crunch.
- For a tropical twist, drizzle melted white chocolate over cooled bars before serving.
- Make sure not to overmix the filling to keep the texture tender and moist.
Storage
Store the coconut bars in an airtight container in the refrigerator for up to 5 days. They are best served chilled but can be brought to room temperature before eating. If you want to keep them longer, freeze the bars for up to 2 months and thaw in the fridge overnight before serving.
How to Serve

Serve this delicious recipe with your favorite sides.
FAQs
Can I use unsweetened coconut instead of sweetened shredded coconut?
Yes, you can use unsweetened coconut, but the bars will be less sweet. You may want to increase the sugar slightly to balance the flavor.
How do I prevent the base from getting soggy?
Baking the base alone for 15 minutes before adding the filling helps it set and prevents sogginess. Pressing it firmly into the pan also creates a solid crust.
Print
Coconut Bars Recipe
- Total Time: 1 hour 55 minutes
- Yield: 16 bars 1x
Description
Deliciously chewy and moist coconut bars with a buttery crumbly base, topped with a sweetened shredded coconut filling and toasted coconut flakes. These bars are perfect as a sweet treat that combines rich vanilla flavor and a delightful texture contrast between the crisp base and soft coconut topping.
Ingredients
Base
- 1/2 cup unsalted butter (melted)
- 1/4 cup light brown sugar
- 1/4 cup granulated sugar
- 3/4 teaspoon vanilla extract
- 1 pinch kosher salt
- 1 cup all-purpose flour
Filling
- 3 large eggs
- 3/4 cup granulated sugar
- 1 1/2 teaspoons vanilla extract
- 1 3/4 teaspoons baking powder
- 1/3 cup all-purpose flour
- 3 cups sweetened shredded coconut
Topping
- 1/3 cup sweetened shredded coconut (for topping)
Instructions
- Preheat oven: Preheat your oven to 350°F (175°C). Line a 9×9-inch baking pan with parchment paper to ensure easy removal of the bars after baking.
- Mix base: In a mixing bowl, combine the melted unsalted butter, light brown sugar, granulated sugar, vanilla extract, kosher salt, and 1 cup of all-purpose flour. Stir until just combined; the mixture should remain slightly crumbly.
- Bake base: Evenly press the crumbly base mixture into the bottom of the prepared baking pan to form a compact layer. Bake this base in the preheated oven for 15 minutes to set and slightly brown.
- Whisk filling: In a separate bowl, whisk together the eggs and 3/4 cup granulated sugar until smooth. Add the vanilla extract and baking powder, then gently fold in the 1/3 cup all-purpose flour and 3 cups sweetened shredded coconut. Mix until just blended to avoid overworking.
- Bake bars: Pour the coconut filling evenly over the prebaked crust. Sprinkle the additional 1/3 cup shredded coconut evenly on top of the filling. Return the pan to the oven and bake for about 25 minutes, or until the filling is set and the edges turn a light golden brown.
- Cool: Remove the baking pan from the oven and allow the bars to cool completely in the pan for about 1.5 to 2 hours. For a firmer texture, cool the bars at room temperature for 45 minutes, then refrigerate for 1 hour. Once cooled, slice into squares and serve cold.
Notes
- Line the baking pan with parchment paper to easily lift out the bars for slicing.
- Do not overmix the filling to maintain a tender texture.
- Letting the bars cool completely before slicing helps achieve clean cuts and optimal texture.
- Storing bars in the refrigerator helps keep them firm and fresh for several days.
- Prep Time: 15 minutes
- Cook Time: 40 minutes
- Category: Dessert
- Method: Baking
- Cuisine: American
Keywords: coconut bars, coconut dessert, shredded coconut recipe, baked coconut bars, coconut treats

