
Chocolate Coconut Bars are rich, chewy dessert bars made with a buttery cookie crust, a sweet coconut filling, and a smooth chocolate topping. Each bite combines crisp edges, a soft, moist coconut center, and a creamy chocolate layer. This easy chocolate coconut bars recipe uses simple pantry ingredients and requires no complicated baking techniques.
These homemade coconut chocolate bars are perfect for holiday cookie trays, bake sales, afternoon snacks, or a sweet treat after dinner. They are easy to prepare in one pan, slice neatly once chilled, and can be made ahead for parties and gatherings. If you enjoy coconut macaroons, chocolate fudge, or classic layered dessert bars, this recipe brings those flavors together in one delicious square.
Why You'll Love These Chocolate Coconut Bars
- Three delicious layers: A buttery shortbread-style base, sweet coconut filling, and rich chocolate topping create a satisfying combination of textures.
- Easy preparation: Simple mixing and layering make this recipe approachable even for beginner bakers.
- Rich chocolate flavor: Semisweet chocolate balances the sweetness of the coconut filling.
- Perfect for sharing: Cut the bars into small squares for dessert platters, potlucks, and holiday gatherings.
- Make-ahead friendly: Prepare the bars in advance and refrigerate them until you're ready to serve.
- Easy to customize: Add toasted nuts, a little almond extract, or a sprinkle of flaky salt to create your own variation.
Ingredient Notes
Shredded coconut gives these bars their signature chewy center. Use sweetened shredded coconut for a soft, moist filling with plenty of coconut flavor. Unsweetened shredded coconut also works, but the filling will taste less sweet and may have a slightly different texture.
Sweetened condensed milk binds the coconut together and provides sweetness without requiring a separate sugar mixture. Make sure you purchase sweetened condensed milk rather than evaporated milk. They are different products and cannot be substituted in equal amounts.
Unsalted butter and all-purpose flour form the buttery base. Softened butter blends easily with the sugar, while flour gives the crust enough structure to support the coconut layer. Measure the flour carefully to avoid a dry, crumbly base.
Semisweet chocolate chips and heavy cream create a smooth chocolate topping. The cream softens the chocolate into a pourable ganache that sets into a rich, sliceable layer. You can use dark chocolate for a less sweet finish or milk chocolate for a sweeter dessert.
Prep Time: 20 minutes Cook Time: 25 minutes Rest Time: 120 minutes Total Time: 165 minutes Servings: 16 bars Course: Dessert Cuisine: American
Ingredients

For the buttery crust
- 1/2 cup (113 g) unsalted butter, softened
- 1/4 cup (50 g) granulated sugar
- 1 teaspoon vanilla extract
- 1 cup (125 g) all-purpose flour
- 1/4 teaspoon salt
For the coconut filling
- 3 cups (255 g) sweetened shredded coconut
- 1 can (14 ounces or 397 g) sweetened condensed milk
- 1 large egg
- 1 teaspoon vanilla extract
For the chocolate topping
- 1 cup (170 g) semisweet chocolate chips
- 1/3 cup (80 ml) heavy cream
- 1 tablespoon (14 g) unsalted butter
Instructions

For the buttery crust
- Prepare the oven and pan: Preheat your oven to 350°F (175°C). Line an 8-inch (20 cm) square baking pan with parchment paper, leaving some overhang on two opposite sides so you can lift out the finished bars easily.
- Make the crust mixture: Place the softened butter and granulated sugar in a medium mixing bowl. Beat until creamy, then mix in the vanilla extract.
- Add the flour: Add the all-purpose flour and salt to the butter mixture. Mix on low speed or stir with a spatula until a soft, crumbly dough forms.
- Press and bake: Transfer the dough to the prepared pan and press it into an even layer using your fingertips or the bottom of a measuring cup. Bake for 12 to 15 minutes, until the edges look lightly golden and the surface appears set.
For the coconut filling
- Mix the filling: In a large bowl, combine the shredded coconut, sweetened condensed milk, egg, and vanilla extract. Stir until all the coconut is evenly coated and the mixture looks thick and sticky.
- Spread over the crust: Remove the partially baked crust from the oven and spread the coconut mixture evenly over the warm base. Gently press the filling into the corners so the bars have an even thickness.
- Bake the coconut layer: Return the pan to the oven and bake for 18 to 22 minutes, until the coconut filling is lightly golden around the edges and set in the center. Avoid letting the coconut become too dark, as it can develop a bitter, toasted flavor.
- Cool the base: Remove the pan from the oven and place it on a wire rack. Let the coconut layer cool completely before adding the chocolate topping.
For the chocolate topping
- Heat the cream: Pour the heavy cream into a small saucepan and warm it over medium-low heat until steaming around the edges. Do not allow it to reach a rolling boil.
- Melt the chocolate: Place the semisweet chocolate chips and butter in a heatproof bowl. Pour the hot cream over the chocolate and let it stand for 2 minutes.
- Make the ganache: Stir slowly from the center outward until the chocolate and cream combine into a smooth, glossy mixture. If a few chocolate pieces remain unmelted, place the bowl over a saucepan of gently simmering water and stir until smooth.
- Top the bars: Pour the chocolate ganache over the completely cooled coconut layer. Spread it gently with an offset spatula or the back of a spoon, making sure the topping reaches all the corners.
- Chill and slice: Refrigerate the pan for at least 2 hours, or until the chocolate topping is firm. Use the parchment overhang to lift the dessert out of the pan, then cut into 16 squares with a sharp knife, wiping the blade between cuts.
Want to save this recipe?
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week.
Recipe Tips
- Line the pan properly: Leave parchment paper extending over the sides so you can remove the bars without damaging the layers. This also makes slicing much easier.
- Don't overbake the crust: The crust only needs to become lightly golden around the edges. It will bake again with the coconut filling, so avoid letting it become too brown during the first bake.
- Distribute the coconut evenly: Press the filling gently into the corners and spread it to an even thickness. This prevents some bars from having more coconut than others.
- Cool before adding chocolate: Adding ganache to a hot coconut layer can make the chocolate too thin and cause the layers to blend together.
- Use good-quality chocolate: Chocolate chips or chopped baking chocolate both work. Choose semisweet chocolate for a balanced flavor that doesn't overpower the sweet coconut.
- Make clean cuts: Chill the bars thoroughly before slicing. For especially neat edges, warm a sharp knife under hot water, dry it completely, and wipe it between cuts.
- Avoid overheating the ganache: Heat the cream only until steaming. Excessive heat can make the chocolate mixture oily or affect its smooth texture.
Delicious Variations
- Almond Joy-Inspired Bars: Add 1/2 cup (60 g) chopped almonds to the coconut filling and use semisweet chocolate for a candy-bar-inspired flavor.
- Dark Chocolate Coconut Bars: Replace the semisweet chocolate chips with dark chocolate chips for a deeper, less sweet topping.
- Toasted Coconut Bars: Sprinkle 1/4 cup (20 g) lightly toasted shredded coconut over the chocolate ganache before chilling for extra coconut flavor and texture.
- Salted Chocolate Coconut Bars: Sprinkle a small amount of flaky sea salt over the freshly spread chocolate topping before refrigerating.
- Peanut Butter Chocolate Bars: Stir 2 tablespoons (32 g) creamy peanut butter into the warm ganache for a nutty chocolate topping. Check ingredient labels for potential allergens.
Follow Poulef on Instagram
Behind-the-scenes and fresh recipe ideas at @nanatastycom.
What to Serve With Chocolate Coconut Bars

- Hot coffee: A cup of black coffee or espresso balances the sweetness of the coconut and chocolate.
- Cold milk: Serve a chilled glass of milk alongside these rich dessert squares for a classic combination.
- Fresh strawberries: Their fruity flavor and slight tartness provide a refreshing contrast to the chocolate topping.
- Vanilla ice cream: Add a small scoop beside a chocolate coconut bar for an easy plated dessert.
- Hot chocolate: Pair the bars with a warm mug of hot chocolate for a cozy winter treat.
- Fresh berries: Raspberries and blueberries add color and a pleasant fruity contrast to the rich coconut filling.
How to Store Chocolate Coconut Bars
- Room temperature: Store the bars in an airtight container for up to 2 hours at room temperature while serving. Because the coconut filling contains egg and the topping contains cream, refrigerate leftovers promptly rather than keeping them on the counter.
- Refrigerator: Place the completely chilled bars in an airtight container, separating layers with parchment paper. Refrigerate for up to 5 days. Let them sit at room temperature for 10 to 15 minutes before serving for a softer chocolate topping.
- Freezer: Arrange the bars in a single layer on a baking sheet and freeze until firm. Transfer them to a freezer-safe airtight container with parchment between layers and freeze for up to 2 months.
- Thawing: Transfer frozen bars to the refrigerator and allow them to thaw overnight. For individual portions, let them stand briefly at room temperature before serving.
- Reheating: These chocolate coconut bars are designed to be served chilled or slightly softened, so reheating is unnecessary. Avoid microwaving them because the chocolate topping can melt unevenly.
Frequently Asked Questions
Can I make chocolate coconut bars without sweetened condensed milk?
Sweetened condensed milk is important because it binds the coconut filling and gives it its characteristic sweetness and moist texture. Evaporated milk is not a suitable replacement because it is much thinner and contains no added sugar. For the most reliable results, use sweetened condensed milk as written.
Why are my chocolate coconut bars falling apart?
The bars may fall apart if the crust is too dry, the coconut layer is underbaked, or the dessert has not chilled long enough. Make sure the crust mixture holds together when pressed into the pan, bake the filling until set, and refrigerate the finished bars for at least 2 hours before cutting.
Can I use unsweetened coconut instead of sweetened coconut?
Yes, unsweetened shredded coconut can be used, but the bars will have a less sweet coconut layer. Since the sweetened condensed milk already adds considerable sweetness, the filling will still hold together. Use finely shredded coconut for a more uniform texture.
Can I make chocolate coconut bars ahead of time?
Absolutely. These bars are ideal for preparing ahead because the chocolate topping needs time to set. Make them a day before serving, refrigerate them in an airtight container, and slice them shortly before presenting them.
How do I keep the chocolate topping from cracking?
Let the bars sit at room temperature for about 10 to 15 minutes before slicing. Use a sharp knife warmed under hot water and thoroughly dried before cutting. Avoid pressing too hard, as excessive pressure can crack the chilled chocolate layer.
Can I use milk chocolate instead of semisweet chocolate?
Yes, milk chocolate works if you prefer a sweeter topping. Since milk chocolate contains more sugar and milk solids, the final bars will taste sweeter and may have a softer topping. Dark chocolate is another good option if you prefer a more intense chocolate flavor.
How long do homemade chocolate coconut bars last?
Store them in an airtight container in the refrigerator for up to 5 days. Keep them chilled because the coconut filling contains egg and the ganache contains cream. For longer storage, freeze them for up to 2 months.
Can I make chocolate coconut bars without baking?
This particular recipe uses a baked buttery crust and baked coconut filling, so it cannot be made exactly as written without an oven. You can make a no-bake variation using crushed cookies and a prepared coconut filling, but the texture and flavor will be different.
Final Thoughts
These Chocolate Coconut Bars bring together everything that makes a homemade dessert satisfying: a buttery crust, a chewy coconut center, and a smooth chocolate topping. They are simple enough for everyday baking but attractive enough for holiday dessert tables, parties, and homemade gifts. Make a batch, share them with friends and family, and leave a comment and rating to let others know how your chocolate coconut bars turned out\!

Chocolate Coconut Bars: Easy, Chewy, and Chocolatey
Chocolate Coconut Bars are rich, chewy dessert bars made with a buttery cookie crust, a sweet coconut filling, and a smooth chocolate topping. Each bite combines crisp edges, a soft, moist coconut center, and a creamy chocolate layer. This easy chocolate coconut bars recipe uses simple pantry ingred
- Prep Time
- 5 hr 30 min
- Cook Time
- 15 min
- Rest Time
- 2 hr
- Total Time
- 5 hr 30 min
- Yield
- 16 squares
Ingredients
For the buttery crust
For the coconut filling
For the chocolate topping
Instructions
For the buttery crust
- Prepare the oven and pan: Preheat your oven to 350°F (175°C). Line an 8-inch (20 cm) square baking pan with parchment paper, leaving some overhang on two opposite sides so you can lift out the finished bars easily.
- Make the crust mixture: Place the softened butter and granulated sugar in a medium mixing bowl. Beat until creamy, then mix in the vanilla extract.
- Add the flour: Add the all-purpose flour and salt to the butter mixture. Mix on low speed or stir with a spatula until a soft, crumbly dough forms.
- Press and bake: Transfer the dough to the prepared pan and press it into an even layer using your fingertips or the bottom of a measuring cup. Bake for 12 to 15 minutes, until the edges look lightly golden and the surface appears set.
For the coconut filling
- Mix the filling: In a large bowl, combine the shredded coconut, sweetened condensed milk, egg, and vanilla extract. Stir until all the coconut is evenly coated and the mixture looks thick and sticky.
- Spread over the crust: Remove the partially baked crust from the oven and spread the coconut mixture evenly over the warm base. Gently press the filling into the corners so the bars have an even thickness.
- Bake the coconut layer: Return the pan to the oven and bake for 18 to 22 minutes, until the coconut filling is lightly golden around the edges and set in the center. Avoid letting the coconut become too dark, as it can develop a bitter, toasted flavor.
- Cool the base: Remove the pan from the oven and place it on a wire rack. Let the coconut layer cool completely before adding the chocolate topping.
For the chocolate topping
- Heat the cream: Pour the heavy cream into a small saucepan and warm it over medium-low heat until steaming around the edges. Do not allow it to reach a rolling boil.
- Melt the chocolate: Place the semisweet chocolate chips and butter in a heatproof bowl. Pour the hot cream over the chocolate and let it stand for 2 minutes.
- Make the ganache: Stir slowly from the center outward until the chocolate and cream combine into a smooth, glossy mixture. If a few chocolate pieces remain unmelted, place the bowl over a saucepan of gently simmering water and stir until smooth.
- Top the bars: Pour the chocolate ganache over the completely cooled coconut layer. Spread it gently with an offset spatula or the back of a spoon, making sure the topping reaches all the corners.
- Chill and slice: Refrigerate the pan for at least 2 hours, or until the chocolate topping is firm. Use the parchment overhang to lift the dessert out of the pan, then cut into 16 squares with a sharp knife, wiping the blade between cuts.
Notes
- Line the pan properly: Leave parchment paper extending over the sides so you can remove the bars without damaging the layers. This also makes slicing much easier.
- Don't overbake the crust: The crust only needs to become lightly golden around the edges. It will bake again with the coconut filling, so avoid letting it become too brown during the first bake.
- Distribute the coconut evenly: Press the filling gently into the corners and spread it to an even thickness. This prevents some bars from having more coconut than others.
- Cool before adding chocolate: Adding ganache to a hot coconut layer can make the chocolate too thin and cause the layers to blend together.
- Use good-quality chocolate: Chocolate chips or chopped baking chocolate both work. Choose semisweet chocolate for a balanced flavor that doesn't overpower the sweet coconut.
- Make clean cuts: Chill the bars thoroughly before slicing. For especially neat edges, warm a sharp knife under hot water, dry it completely, and wipe it between cuts.
- Avoid overheating the ganache: Heat the cream only until steaming. Excessive heat can make the chocolate mixture oily or affect its smooth texture.
Nutrition
- serving size: 1 serving
- calories: 348
- sugar: 24g
- sodium: 82mg
- fat: 23g
- saturated fat: 17g
- carbohydrates: 33g
- fiber: 3.4g
- protein: 4.8g
- cholesterol: 40mg
- potassium: 235mg
- calcium: 85mg
- iron: 1.3mg
- Vitamin D: 0.2mcg
- Vitamin C: 0.9mg
Estimated per serving from (SR Legacy) values. Actual numbers vary with brands, ingredient sizes and measuring. Source: USDA FoodData Central.

Meet Gianna Poulef
Gianna is a passionate chef, certified with three Master Chef credentials and culinary academy training. As the founder of a popular recipe website, she specializes in gluten-free and vegan cuisine. At 32, she’s a proud wife and mother of two, sharing her love for healthy, creative cooking with the world.
More recipes by GiannaCalorie & nutrition calculator
See what a portion of Chocolate Coconut Bars: Easy, Chewy, and Chocolatey adds up to — change how many servings you eat and your daily calorie goal.
| Nutrient | Amount | % daily value* |
|---|
*Daily values are FDA label references (2,000-calorie diet) and the numbers are estimates calculated from USDA FoodData Central. Brands, ingredient sizes and substitutions change real values. This is general information, not medical or dietary advice.




Comments & Reviews
No comments yet — be the first to share how it turned out!