
If you love the taste of a classic coconut candy bar, you can make a version at home with just a few pantry staples. These homemade coconut chocolate bars have a soft, chewy coconut center, a light sweetness, and a smooth layer of melted chocolate on the outside. No baking is needed, so the whole process is mostly hands-on mixing, pressing, and dipping.
They work well as an after-dinner treat, a party dessert, or a make-ahead snack for the week. Because the filling is firm and sliceable, they also pack nicely for lunchboxes or gift boxes.
Why You’ll Love This Recipe
- Simple ingredients: You need shredded coconut, sweetened condensed milk, vanilla, and chocolate.
- No baking required: The coconut filling sets in the refrigerator, which keeps the kitchen cool.
- Easy to customize: You can switch up the chocolate type or add a sprinkle of flaky salt on top.
- Quick cleanup: Most of the work happens in one bowl and one pan lined with parchment.
- Make-ahead friendly: The bars can be prepared a day ahead and kept chilled until serving.
Ingredients
- 2 cups (180 g) sweetened shredded coconut
- 1/2 cup (120 ml) sweetened condensed milk
- 1 teaspoon (5 ml) pure vanilla extract
- Pinch of fine salt
- 10 oz (280 g) semisweet or dark chocolate, finely chopped
- 1 teaspoon (5 ml) coconut oil or neutral oil, for smoothing the chocolate
Ingredient Notes
Sweetened shredded coconut gives the filling its classic flavor and soft bite. Unsweetened coconut will taste much less like a candy bar and may need extra condensed milk, so it is not the best swap here.
Sweetened condensed milk binds the coconut and makes it sliceable. Use regular sweetened condensed milk rather than evaporated milk, which is unsweetened and will not set the same way.
For the coating, semisweet or dark chocolate gives a classic candy bar flavor. Milk chocolate will be sweeter and softer. The small amount of coconut oil or neutral oil helps the chocolate flow smoothly and set with a glossy finish.
Equipment You’ll Need
- 8-inch (20 cm) square baking pan
- Parchment paper
- Medium mixing bowl and spatula
- Sharp knife or bench scraper
- Microwave-safe bowl or small saucepan
- Fork or dipping tool
How to Make Homemade Coconut Chocolate Bars
- Line the pan. Cut a sheet of parchment paper to fit an 8-inch square pan, leaving a little overhang on two sides so you can lift the filling out later.
- Mix the filling. In a medium bowl, combine the shredded coconut, sweetened condensed milk, vanilla, and salt. Stir for about 1 to 2 minutes until every strand of coconut is coated and the mixture looks thick and slightly sticky, like damp sand.
- Press the coconut into the pan. Spoon the mixture into the lined pan. Press it down firmly with the back of a spatula or your clean fingers until the top is even and about 3/4 inch (2 cm) thick. Firm pressing helps the bars hold their shape when sliced.
- Chill until firm. Refrigerate the pan for about 1 hour, or until the coconut feels firm to the touch and does not leave a sticky film on your finger. This usually takes between 1 and 2 hours.
- Cut the bars. Lift the block out using the parchment overhang and set it on a cutting board. Use a sharp knife to cut it into 12 rectangles, about 2 by 2 inches each (cutting 3 rows in each direction works well). Wipe the knife between cuts if the filling sticks.
- Melt the chocolate. Place the chopped chocolate and coconut oil in a microwave-safe bowl. Microwave in 20-second bursts, stirring well after each one, until the chocolate is mostly melted and smooth. Stir off the residual heat until fully glossy. Avoid overheating, which can make the chocolate thick or grainy.
- Dip the bars. Drop a coconut rectangle into the melted chocolate, then use a fork to lift it out and tap off the excess. Set each bar on a parchment-lined tray. Coat all of the bars, reheating the chocolate briefly if it starts to thicken.
- Let the chocolate set. Refrigerate the tray for about 20 to 30 minutes, or leave it at cool room temperature for about 1 hour, until the coating is firm and no longer tacky.

Pro Tips for the Best Results
- Chop the chocolate finely so it melts evenly and does not scorch in the microwave.
- Press the coconut firmly. Loose filling will crumble when you cut it.
- Chill the block fully before cutting. A slightly cold, firm filling gives cleaner edges.
- Use a hot, dry knife or wipe it between cuts to avoid dragging the filling.
- Dip only a few bars at a time so the chocolate stays fluid and coats evenly.
- Add a tiny pinch of flaky sea salt to the tops while the chocolate is still wet for a balanced flavor.
Common Mistakes to Avoid
Using unsweetened coconut. The filling will taste flat and may not hold together. Stick with sweetened shredded coconut.
Skipping the chill step. Cutting too soon results in sticky, squashed bars. Give the block enough time in the refrigerator.
Overheating the chocolate. Chocolate that is too hot can seize and turn dull. Heat it gently and stir often.
Dipping cold bars into very warm chocolate. This can cause the coating to look streaky. Let the bars sit at room temperature briefly if they are very cold.
Variations and Substitutions
- Milk chocolate version: Use milk chocolate for a sweeter, creamier coating.
- Toasted coconut: Toast part of the coconut in a dry skillet until golden, then fold it into the filling for a deeper flavor.
- Almond topping: Press a few chopped toasted almonds onto the chocolate before it sets.
- Vanilla or almond flavor: Swap half the vanilla for almond extract for a slightly different profile.
Serving Suggestions
Serve these bars chilled or at cool room temperature. They pair nicely with hot coffee, black tea, or a glass of cold milk. For a party, arrange them on a platter with fresh berries or a small bowl of toasted nuts to add contrast.
Storage and Reheating
Store the bars in an airtight container in the refrigerator. Place parchment between layers so the chocolate does not stick. They keep well for up to one week when chilled. For longer storage, freeze them in a single layer for about one month, then thaw in the refrigerator before serving. Reheating is not needed; these bars are meant to be eaten cold or at cool room temperature.
Frequently Asked Questions
Can I make these bars ahead of time?
Yes. Make them a day ahead, then keep them chilled in an airtight container until you are ready to serve.
Why is my coconut filling too crumbly?
The filling may be too dry or not pressed firmly enough. Make sure the coconut is fully coated with condensed milk and press it tightly into the pan.
Can I use a different type of chocolate?
Yes. Semisweet, dark, and milk chocolate all work. Choose a chocolate you enjoy eating on its own.
Why did my chocolate look dull after it set?
Chocolate can lose its shine if it overheats or if moisture gets into it. Melt it gently and keep the bars dry while they set.
Can I freeze these bars?
Yes. Freeze them in a single layer, then store them in a sealed container. Thaw in the refrigerator before serving.
Recipe Card
Recipe Name: Homemade Coconut Chocolate Bars
Short Description: Soft sweetened coconut filling dipped in melted chocolate, made without baking.
Prep Time: 20 minutes
Cook Time: 0 minutes (chilling time is separate)
Total Time: About 2 hours 20 minutes, including chilling
Servings: 12 bars
Course: Dessert, Snack
Cuisine: American
Cooking Method: No-bake, chilled
Ingredients:
- 2 cups (180 g) sweetened shredded coconut
- 1/2 cup (120 ml) sweetened condensed milk
- 1 teaspoon (5 ml) pure vanilla extract
- Pinch of fine salt
- 10 oz (280 g) semisweet or dark chocolate, finely chopped
- 1 teaspoon (5 ml) coconut oil or neutral oil
Instructions:
- Line an 8-inch square pan with parchment.
- Mix coconut, condensed milk, vanilla, and salt until well coated.
- Press into the pan to about 3/4 inch thick.
- Chill for about 1 to 2 hours until firm.
- Cut into 12 bars.
- Melt chocolate with coconut oil in short bursts, stirring between each.
- Dip each bar, tap off excess, and place on parchment.
- Chill or set at room temperature until firm.
Notes: Chill the filling fully before cutting for clean edges. Chocolate type and toppings can be adjusted to taste.
Storage: Refrigerate in an airtight container with parchment between layers for up to one week, or freeze for up to one month.
Nutrition: Nutrition information is an estimate and may vary depending on the ingredients and brands used. Per-bar values are not provided here.



