Chocolate Coconut Cake Bars Recipe

Photo of author

By Gianna Poulef

These Chocolate Coconut Cake Bars are rich, chocolatey, and filled with sweet coconut flavor in every bite! With a soft, moist chocolate base and a delicious coconut layer, these homemade dessert bars are perfect for chocolate lovers who enjoy the classic combination of chocolate and coconut.

Easy to prepare and simple to slice, they’re ideal for family gatherings, holiday dessert trays, afternoon treats, or whenever you’re craving something sweet.

Why You’ll Love These Chocolate Coconut Cake Bars

  • Rich chocolate flavor: A soft chocolate cake base makes every bite delicious.
  • Sweet coconut filling: Shredded coconut adds texture and tropical flavor.
  • Easy to make: Simple ingredients and straightforward steps.
  • Perfect for sharing: Slice them into bars for parties, potlucks, or lunchbox treats.
  • Make-ahead friendly: Prepare them in advance for easy entertaining.

Ingredients

This Now, Make It Later!
IngredientAmount
All-purpose flour1 cup
Unsweetened cocoa powder1/3 cup
Granulated sugar3/4 cup
Baking powder1 teaspoon
Salt1/4 teaspoon
Large eggs2
Unsalted butter, melted1/2 cup
Milk1/2 cup
Vanilla extract1 teaspoon
Sweetened shredded coconut1 1/2 cups
Sweetened condensed milk1/2 cup
Semi-sweet chocolate chips1/2 cup
Coconut oil1 teaspoon

Ingredient Notes

Cocoa powder: Unsweetened cocoa powder gives the chocolate base a deep flavor without making it overly sweet.

Shredded coconut: Sweetened shredded coconut creates a tender, chewy coconut layer. Unsweetened coconut can also be used for a less-sweet result.

Sweetened condensed milk: This helps bind the coconut layer together and gives it a soft, rich texture.

Chocolate chips: Semi-sweet chocolate balances the sweetness of the coconut filling.

How to Make Chocolate Coconut Cake Bars

Step 1: Prepare the Pan

Preheat your oven to 350°F (175°C). Line an 8-inch square baking pan with parchment paper, leaving a little overhang to make removing the bars easier.

Lightly grease the parchment paper.

Step 2: Make the Chocolate Batter

In a medium bowl, whisk together the flour, cocoa powder, sugar, baking powder, and salt.

In a separate bowl, whisk the eggs, melted butter, milk, and vanilla extract until smooth.

Add the wet ingredients to the dry ingredients and stir just until combined. Avoid overmixing, which can make the cake base dense.

Step 3: Prepare the Coconut Layer

In another bowl, mix the shredded coconut with the sweetened condensed milk until the coconut is evenly coated.

The mixture should be thick and sticky.

Step 4: Assemble the Bars

Spread the chocolate batter evenly into the prepared baking pan.

Spoon the coconut mixture over the chocolate batter and gently spread it into an even layer. Don’t press too firmly into the batter.

Step 5: Bake

Bake for 25–32 minutes, or until the chocolate base is set and a toothpick inserted into a chocolate-only area comes out with a few moist crumbs.

The coconut layer should look lightly golden in places.

Step 6: Add the Chocolate Topping

Place the chocolate chips and coconut oil in a microwave-safe bowl.

Microwave in 15–20-second intervals, stirring between each interval, until the chocolate is smooth.

Drizzle the melted chocolate over the baked bars.

Step 7: Cool and Slice

Allow the bars to cool completely in the pan. For cleaner slices, refrigerate them for 20–30 minutes after cooling.

Lift them out using the parchment paper and cut into 12 or 16 bars.

Tips for the Best Results

  • Measure the flour carefully. Too much flour can make the chocolate base dry.
  • Don’t overbake. Remove the bars once the base is set to keep them moist.
  • Cool before cutting. Warm bars may crumble, and the coconut layer needs time to firm up.
  • Use parchment paper. It makes removing the bars much easier.
  • Adjust the sweetness. Use unsweetened shredded coconut if you prefer a less-sweet dessert.
  • Make neat chocolate drizzles. Let the melted chocolate cool slightly before drizzling so it doesn’t run off too quickly.

Easy Variations

Almond Chocolate Coconut Bars

Add 1/3 cup chopped almonds to the coconut mixture for extra crunch.

Dark Chocolate Coconut Bars

Use dark chocolate chips for a deeper, less-sweet chocolate topping.

Almond Joy-Inspired Bars

Add sliced almonds and use a combination of milk and dark chocolate for a candy-bar-inspired flavor.

Extra Coconut Bars

Sprinkle an additional 2–3 tablespoons of shredded coconut over the chocolate drizzle before it sets.

Chocolate Fudge Coconut Bars

Replace the chocolate drizzle with a thicker layer of melted chocolate for a richer finish.

How to Serve

Serve these bars at room temperature for a soft, tender texture, or slightly chilled for a firmer coconut layer.

They’re delicious with:

  • A cup of coffee or tea
  • A glass of cold milk
  • Fresh strawberries or raspberries
  • A scoop of vanilla ice cream
  • A little extra toasted coconut on top

Storage Instructions

Room temperature: Store in an airtight container for up to 2 days in a cool environment.

Refrigerator: Keep refrigerated in an airtight container for up to 5 days. Let the bars sit at room temperature briefly before serving if you prefer a softer texture.

Freezer: Freeze individual bars in a freezer-safe container with parchment between the layers for up to 2 months. Thaw overnight in the refrigerator.

Frequently Asked Questions

Can I make Chocolate Coconut Cake Bars ahead of time?

Yes! These bars are excellent for making ahead. Bake them a day in advance and refrigerate them once completely cooled.

Can I use unsweetened coconut?

Yes. Unsweetened shredded coconut works well if you prefer a less-sweet dessert. The texture and sweetness may vary slightly.

How do I know when the bars are done?

The chocolate base should be set, and a toothpick inserted into the cake portion should come out with a few moist crumbs rather than wet batter. Avoid testing only the coconut layer.

Why are my bars falling apart?

They may have been sliced while still warm or may need more time to cool. Let them cool completely before cutting.

Can I use a different pan size?

An 8-inch square pan gives these bars a nice thickness. A larger pan will produce thinner bars and may require less baking time, so begin checking early.

Can I toast the coconut first?

Yes. Lightly toasting the coconut before mixing it with the condensed milk adds a deeper, nuttier flavor. Let it cool before using.

Nutrition Information

The following values are estimates per bar, assuming the recipe makes 16 bars. Actual nutrition will vary by brand and portion size.

NutrientApprox. Amount
Calories210 kcal
Carbohydrates27 g
Protein3 g
Fat11 g
Saturated Fat7 g
Fiber2 g
Sugar19 g
Sodium100 mg

Final Thoughts

These Chocolate Coconut Cake Bars bring together everything you love about chocolate and coconut in one easy homemade dessert. The soft chocolate base, chewy coconut layer, and glossy chocolate drizzle make them a delicious treat for everyday baking or special occasions.

Make a batch, let them cool completely, and enjoy a little chocolate-coconut goodness with every bite!

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon

Chocolate Coconut Cake Bars Recipe


5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

  • Author: Gianna Poulef
  • Total Time: 45
  • Yield: 16 1x

Description

These Chocolate Coconut Cake Bars feature a soft, moist chocolate cake base, a sweet and chewy coconut layer, and a smooth chocolate drizzle. Easy to make and perfect for parties, holidays, afternoon treats, or whenever you crave chocolate and coconut


Ingredients

Scale

1 cup all-purpose flour

1/3 cup unsweetened cocoa powder

3/4 cup granulated sugar

1 teaspoon baking powder

1/4 teaspoon salt

2 large eggs

1/2 cup unsalted butter, melted

1/2 cup milk

1 teaspoon vanilla extract

1 1/2 cups sweetened shredded coconut

1/2 cup sweetened condensed milk

1/2 cup semi-sweet chocolate chips

1 teaspoon coconut oil


Instructions

Preheat the oven to 350°F (175°C). Line an 8-inch square baking pan with parchment paper, leaving some overhang for easy removal. Lightly grease the parchment paper.

In a medium bowl, whisk together the flour, cocoa powder, granulated sugar, baking powder, and salt.

In a separate bowl, whisk the eggs, melted butter, milk, and vanilla extract until smooth.

Add the wet ingredients to the dry ingredients and stir just until combined. Avoid overmixing.

In another bowl, mix the shredded coconut with the sweetened condensed milk until the coconut is evenly coated and the mixture is thick and sticky.

Spread the chocolate batter evenly into the prepared baking pan.

Spoon the coconut mixture over the chocolate batter and gently spread it into an even layer without pressing too firmly.

Bake for 25–32 minutes, or until the chocolate base is set and a toothpick inserted into a chocolate-only area comes out with a few moist crumbs. The coconut layer should look lightly golden in places.

Place the chocolate chips and coconut oil in a microwave-safe bowl. Microwave in 15–20-second intervals, stirring between each interval, until the chocolate is completely melted and smooth.

Drizzle the melted chocolate evenly over the baked bars.

Allow the bars to cool completely in the pan. For cleaner slices, refrigerate for 20–30 minutes after cooling.

Lift the bars out using the parchment paper and cut into 16 squares. Serve at room temperature or slightly chilled.

Notes

Measure the flour carefully to prevent a dry chocolate base.

Do not overbake the bars. Remove them once the chocolate base is set to keep the texture moist and tender.

Allow the bars to cool completely before slicing so the coconut layer can firm up and the bars hold their shape.

Use parchment paper with an overhang to make removing the bars easier.

For a less-sweet version, use unsweetened shredded coconut. The flavor and texture may vary slightly.

For almond chocolate coconut bars, add 1/3 cup chopped almonds to the coconut mixture.

For a darker chocolate flavor, use dark chocolate chips for the topping.

For an Almond Joy-inspired variation, add sliced almonds and use a combination of milk and dark chocolate.

For extra coconut flavor, sprinkle 2–3 tablespoons of shredded coconut over the chocolate drizzle before it sets.

For a thicker chocolate topping, increase the amount of melted chocolate.

Store the bars in an airtight container at room temperature for up to 2 days in a cool environment, or refrigerate for up to 5 days.

To freeze, place the bars in a freezer-safe container with parchment paper between the layers. Freeze for up to 2 months and thaw overnight in the refrigerator.

If using a larger baking pan, the bars will be thinner and may need less baking time. Begin checking early.

The recipe makes approximately 16 bars. Nutrition values are estimates and may vary depending on ingredient brands and portion size

  • Prep Time: 15
  • Cook Time: 30
  • Category: Dessert
  • Method: Baking
  • Cuisine: American
Chocolate Coconut Cake Bars Recipe
Gianna Poulef
CEO, Chef & Recipe Creator at BLYNO LLC | Website

I’m Gianna Poulef from Poulef Recipes. I love sharing perfected dishes from my kitchen. I’m sure they’ll earn a spot in your heart. Let’s savor this journey together!.

Let’s be friends!

0 Shares
Get Your FREE eBook Now!

You might also like these recipes

Leave a Comment

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star