• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Meet Kelly
  • Browse All Recipes
  • Contact

The Anthony Kitchen logo

  • Comfort Food
  • Southern
  • Tex-Mex
  • Dessert
  • Recipe Index
menu icon
go to homepage
search icon
Homepage link
  • Comfort Food
  • Southern Recipes
  • Tex-Mex & Mexican Food
  • Desserts
  • Recipe Index
  • About Kelly
  • Contact
×
Home · Recipes · Brownies and Bars · Coconut Chocolate Bars

Published: Nov 8, 2024 by Kelly Anthony · 40 CommentsThis post may contain affiliate links. Read our disclosure policy.

Coconut Chocolate Bars

Jump to Recipe Jump to Video Print Recipe
Image For Pinterest
Image For Pinterest
Image For Pinterest
Image For Pinterest
Image For Pinterest
Image For Pinterest
Image for PInterest
Image for PInterest
Image for PInterest

Coconut Chocolate Bars are an easy-to-make, crowd-pleasing dessert that consists of 5 main ingredients and comes together in less than 10 minutes of prep time!

Also known as Magic Cookie Bars, these bars are made of chocolate, coconut, and sweetened condensed milk. These ingredients come together to create a chewy, gooey bar cookie equipped with a buttery graham cracker crust. It's a flavor combination so delicious that it's magical indeed.

A front view of a Chocolate Coconut Bar sitting on a serving spatula with a white baking dish in the background.

Love gooey, delicious dessert bars? Save these 7-Layer Bars and gooey pecan pie bars to try next!

Magic Cookie Bar Ingredients

These coconut chocolate bars are extremely simple to make and require only a few ingredients. The ingredients for the bars are as follows:

  • Semi-Sweet Chocolate Chips
  • Unsweetened Coconut
  • Sweetened Condensed Milk | Do not confuse sweetened condensed milk with evaporated milk. After a short stint in the oven, this product offers a sticky-sweet texture and a flavor closely resembling vanilla pudding. However, it is very sweet. Adding a little salt across the top will go a long, long way in enhancing the overall flavor of your chocolate coconut bars.
  • Graham Cracker Crumbs | There are nine graham crackers in a package. One package of graham crackers converts into about 1-¼ cup of crumbs. Therefore, seven graham crackers will yield about one cup of crumbs.
  • Unsalted Butter
A photo of half of a baking dish of the chocolate coconut bars before they are cut. In the background are two white bowls of chocolate chips and shredded coconut.

How to Make Coconut Chocolate Bars

Make the Graham Cracker Crust | To make the crust, all you have to do is melt the butter and stir it into the graham cracker crumbs, along with the salt.

  • Crust note: The size of your graham cracker crumb will affect the consistency of your crust. The finer the crumb, the tighter the crust. Alternatively, the larger the crumb, the crumblier the crust.
  • If you prefer a crust that doesn't crumble, consider running the graham crackers through a food processor (or purchasing graham cracker crumbs) rather than crushing them with a rolling pin or mallet.

Add Sweetened Condensed Milk | Pour the sweetened condensed milk over the graham cracker crumbs and then it's time for the chocolate and the coconut.

Add Chocolate + Coconut | The semi-sweet chocolate chips will go on first, followed by a sprinkle of unsweetened coconut. Once the ingredients are in place, you'll use the tines of a fork to gently nudge the chocolate chips into the layer of sweetened condensed milk.

Bake | The bars go into the oven and bake for 28-30 minutes, just until the coconut is tinging with a gorgeous golden brown across the top.

How to Keep the Bars from Sticking to the Pan

As mentioned earlier, sweetened condensed is heavy on the sugar, which means when it gets hot, it gets sticky. This is part of what makes these chocolate coconut bars so ooey-gooey and addictively delicious: however, if that sweetened condensed milk creeps to the edges of the pan and seeps down along the sides, it could potentially make your bars somewhat difficult to remove from their baking vessel without any breaks.

There are a couple of things you can do to prevent this:

  1. Don't spread the sweetened condensed milk all the way to the edges of your pan.
  2. Run a knife along the edges of the pan as soon as it comes out of the oven and before you cut into bars.
  3. Or line the pan with parchment paper or nonstick aluminum foil before you begin.

Set + Cut | Once the bars are out of the oven, you'll need to give them at least 30 minutes to set up. In fact, it's actually preferable that your chocolate coconut bars are completely cooled before you make your first cut. If you cut into them too soon, the sweetened condensed milk will likely not stay put in bar form.

You can cut the bars into twelve bars or sixteen squares. To make bar shapes, make three evenly spaced cuts going in one direction and four cuts from the opposite direction.

To make squares, make four even cuts across the bars in each direction.

A half shot of the baking dish of Chocolate Coconut Bars that have been cut into squares.

How to Store Coconut Chocolate Bars

Store | Chocolate coconut bars do not need to be refrigerated and can be stored in an airtight container at room temperature for up to three to four days.

Freeze | You can keep chocolate coconut bars in the freezer for up to two months. In fact, these bars are just as delicious directly out of the freezer. To freeze them, transfer the cooled bars to an airtight, freezer-safe container, separated by sheets of wax paper to help prevent them from sticking. Once frozen, you can move them to a freezer-safe zip-top, gallon-sized bag to save space if needed. Be sure to remove as much air as possible before sealing.

Three Chocolate Coconut Bars stacked on top of each other served on a white plate. In the background is a red and white checkered napkin.

5 More Chocolatey Desserts to Try!

  • Texas Sheet Cake
  • Easy Coconut Macaroons
  • Fudgy Walnut Brownies
  • Classic Chocolate Brownies
  • Chocoflan
Chocolate Coconut Bars
Print Recipe
4.13 from 131 votes

Chocolate Coconut Bars

Chocolate Coconut Bars with a buttery graham cracker crust, a gooey chocolate center and a golden, flaky coconut topping and just 10 minutes of prep!
Prep Time10 minutes mins
Cook Time28 minutes mins
Total Time38 minutes mins
Course: Dessert
Cuisine: American
Keyword: Chocolate Coconut Bars
Servings: 12
Calories: 360kcal
Author: Kelly Anthony

Ingredients

  • 1 ½ cup fine graham cracker crumbs
  • ½ cup + 2 tablespoons unsalted butter, melted
  • ¾ teaspoon fine sea salt, separated
  • 1 (14 ounce) can sweetened condensed milk (not to be confused with evaporated milk)
  • 1 cup semi-sweet chocolate chips
  • ¾ cup unsweetened coconut flakes

Instructions

  • Preheat the oven to 350° and have ready a greased 8"x8" baking dish. 
  • In a small mixing bowl, stir together graham cracker crumbs, melted butter, and a ½ teaspoon salt. Transfer to the baking dish and press firmly across the bottom.
  • Pour the can of sweetened condensed milk over the crust and sprinkle a ¼ teaspoon of salt across the top.
  • Scatter chocolate chips across the dish, followed by the coconut. Use the tines of a fork to gently press the toppings into the condensed milk.
  • Bake for 28-30 minutes, until the coconut is tinging golden-brown across the top. Remove from the oven and run a sharp knife along the edges of the dish. 
  • Allow to cool completely -- 30 minutes to 1 hour. Cut into 12 bars or 16 squares, serve and enjoy!

Video

Notes

The crust will taste salty before baking.

Nutrition

Calories: 360kcal | Carbohydrates: 35g | Protein: 4g | Fat: 23g | Saturated Fat: 14g | Cholesterol: 38mg | Sodium: 261mg | Potassium: 257mg | Fiber: 2g | Sugar: 26g | Vitamin A: 405IU | Vitamin C: 0.9mg | Calcium: 116mg | Iron: 1.6mg
PInterest image for Chocolate Coconut Bars

Chocolate Coconut Bars
« Fruit Crisp Topping
All-Purpose Seasoning »
20478 shares
  • Share
  • Tweet

Looking for more recipes?

Be sure to check out the recipe index where you can browse recipes by meal type and category!

Check Out the Recipe Index

Reader Interactions

Comments

  1. Kate Hackworthy says

    January 30, 2019 at 6:03 pm

    Ooh squares of amazingness! All the best things in one bar. They look incredible.

    Reply
    • Kelly Anthony says

      February 02, 2019 at 2:09 pm

      Ha! Thanks, Kate!

      Reply
  2. Mary Bostow says

    January 30, 2019 at 6:03 pm

    Mmmmmm…love the combo of chocolate and coconut! I can just imagine the delicious texture of these. They look so good!

    Reply
  3. kim says

    January 30, 2019 at 6:33 pm

    I love chocolate bars like this! I'm totally making them for game day!

    Reply
  4. Edyta says

    January 30, 2019 at 7:24 pm

    This looks absolutely Divine! You combined my all time favorite flavors. I can't believe how easy that is!

    Reply
  5. Natalie says

    January 30, 2019 at 8:20 pm

    These bars look absolutely perfect. i really wish for a slice right now. Love coconut and chocolate combo. Must save this recipe and make it soon.

    Reply
  6. Eden | Sweet Tea and Thyme says

    February 08, 2019 at 1:57 pm

    I need to make these ASAP! They look so good, love coconut and chocolate together!

    Reply
  7. Catherine Brown says

    February 08, 2019 at 2:12 pm

    Mmmm, ooey gooey goodness! Coconut and dark chocolate are so fantastic together too. This is the perfect dessert or lunchbox treat! Thanks for sharing.

    Reply
  8. Denise says

    February 08, 2019 at 2:17 pm

    Two of my favorite things! Chocolate and Coconut! These bars look so incredibly good! Thank you for sharing the recipe!

    Reply
  9. Annissa says

    February 08, 2019 at 3:41 pm

    What a mouthwatering sweet treat you have here! Chocolate and coconut are great flavor combination!

    Reply
  10. Mike Hultquist says

    February 08, 2019 at 3:43 pm

    These are GREAT, Kelly! They have an excellent sweetness with just the right amount of chocolate and coconut. Keeper for sure!

    Reply
  11. Mindy Fewless says

    April 30, 2019 at 7:02 pm

    I love these bars!! So good and so easy!

    Reply
  12. Kristina says

    April 30, 2019 at 7:18 pm

    These combo is one of the best combinations ever! Love a great chocolaty, gooey bar and this one sure doesn't disappoint!

    Reply
  13. Jamie says

    April 30, 2019 at 7:46 pm

    Wow this looks so decadent! I love chocolate with coconut together, one of my favorite combos!

    Reply
  14. Jenna @ SipBiteGo.com says

    April 30, 2019 at 8:37 pm

    When I think of comfort food treats, this tops my list! I am making these for the long weekend coming up!!

    Reply
  15. Eden | Sweet Tea and Thyme says

    April 30, 2019 at 8:39 pm

    So easy and SO perfect for the kiddos! My son loves these, I can't wait to make them with him again during the summer break.

    Reply
  16. SoCalGourmetCook says

    September 30, 2019 at 1:03 am

    The best recipe ever, if you love chocolate and coconut. I used Ghirardelli chocolate, which took the taste to the next level. I had all the ingredients in my pantry and it only took 10 min. to make! A great bar to take to special events. Everyone loved them. Thank you Anthony Kitchen for a great, easy recipe!

    Reply
    • Kelly Anthony says

      September 30, 2019 at 12:14 pm

      So glad you enjoyed them!

      Reply
  17. debbie e burton says

    November 14, 2019 at 8:42 pm

    just made these and they look super delicious I did not have enough crumbs so i used crushed cornflakes to make up the cup and half and it turned out fine!!

    Reply
    • Kelly Anthony says

      November 15, 2019 at 12:40 pm

      It probably added some nice texture as well! Great thinking! Glad you enjoyed them, Debbie 🙂

      Reply
  18. Ben says

    February 17, 2020 at 5:12 pm

    Chicka, chicka pow! That looks amazing. Nothing is better than chocolate and coconut.

    Reply
  19. Shelley says

    February 21, 2020 at 1:30 pm

    Thank you so much for this recipe! Magic Bars really are always such a guaranteed, HUGE hit - but you're right that they're just so, so sweet. I love that you figured out how to update them for "modern" palates! Still ooey-gooey-wonderful, but not quite so cloyingly sweet. Brilliant!

    Reply
  20. Veena Azmanov says

    February 21, 2020 at 4:47 pm

    Sounds delicious and chewy and a delicious snack box option.

    Reply
  21. Paige says

    February 21, 2020 at 5:43 pm

    Im salivating looking at this! I've never made these before but I love all these flavors so I'm going to give it a try...the golden coconut edges sold me 🙂

    Reply
  22. Tammy says

    February 21, 2020 at 7:09 pm

    Oh my word!!! These look divine! 😀 What a fabulous treat to kick off the weekend...definitely pinning these to try soon!

    Reply
  23. Kay says

    February 21, 2020 at 7:49 pm

    Well, you won over my fussy daughter with this recipe, that is not an easy task!! Delicious thank you so much!

    Reply
  24. GUNJAN C Dudani says

    February 23, 2020 at 8:40 pm

    Nothing beats chocolate. I love coconut and have a tendency to infuse it into recipes. So this one suits my palate perfectly.

    Reply
  25. Aline says

    February 24, 2020 at 4:43 am

    Made these this morning and, well, they're already gone ahaha SO GOOD!!! Need to make more ASAP!!

    Reply
  26. Jo says

    February 24, 2020 at 8:26 am

    Chocolate + coconut!! Nothing can beat that! How delicious are those bars! I don't have sweet tooth but looking at those bars made me crave for it. Can't wait to try it soon

    Reply
  27. Jennifer Banz says

    February 24, 2020 at 5:51 pm

    These chocolate coconut bars were so good and not too sweet!

    Reply
  28. Anne-Marie McMahon says

    June 30, 2020 at 1:42 pm

    WAY too sweet. My entire family got headaches after eating these. The addition of the salt does not compensate for the fact that a can of sweetened condensed milk and lots of chocolate chips are still concentrated in one 8x8" dish. This might be improved with only half a can of the milk, or a substitution of something much less sweet - like whipped cream cheese.

    Reply
  29. Ellen says

    February 14, 2021 at 9:38 pm

    Loved this recipe! Thanks for sharing. I think I prefer these to the 7 later bars I usually make. I only used 3/4 of the can of sweetened condensed milk.... it helped to cut back on the sweetness a bit. 🙂

    Reply
  30. Katalin says

    March 29, 2021 at 8:31 pm

    Question please! Attempting this for Easter : is the 2TBP butter for greasing the pan or for the crust (in addition to the 1.5 cups butter)

    Thanks sooo much!
    Katalin

    Reply
    • Kelly Anthony says

      March 30, 2021 at 4:48 pm

      For the crust 🙂

      Reply
      • Katalin says

        April 01, 2021 at 1:35 am

        Yay thanks so much doing it now !

        Reply
        • Kelly Anthony says

          April 01, 2021 at 11:07 am

          Enjoy! You're welcome 🙂

          Reply
  31. Lori Lichterman says

    October 03, 2021 at 10:07 pm

    If using reynolds nonstick aluminum foil as a way to prevent sticking, this eliminates a need for greasing. Will it affect the crust texture/flavor negatively?

    Reply
    • Kelly Anthony says

      November 15, 2021 at 2:50 pm

      No, not at all 🙂

      Reply
  32. Martha says

    August 03, 2025 at 3:24 pm

    Can I use regular salt

    Reply
    • Kelly Anthony says

      August 07, 2025 at 1:10 pm

      Yes, just cut the quantity in half since regular table salt has a sharper flavor profile 🙂

      Reply
4.13 from 131 votes (106 ratings without comment)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recipe Rating




Primary Sidebar

I’m Kelly Anthony — a baker, home chef, and mom with a passion for food and an adoration for entertaining.

Comfort food is my specialty, and it is truly my pleasure to share these recipes with you. If you’d like to get to know me a little better, click here.

Trending recipes

  • Homemade cranberry sauce with orange juice served in a glass bowl, garnished with fresh mint.
    Cranberry Sauce with Orange Juice (Homemade + Easy!)
  • Stacked roast beef sliders with melted cheese on golden Hawaiian rolls served with fries.
    Roast Beef Sliders (Easy + Crowd Favorite)
  • Seasoned French fries on a baking sheet with a jar of homemade fry seasoning and a jar of ketchup for dipping.
    Fry Seasoning (The Best French Fry Spice Blend)
  • Close-up of perfectly cooked filet mignon with golden sear and tender texture.
    Air Fryer Filet Mignon (Perfect Every Time)
  • Closeup of crockpot beef tips and gravy
    Crockpot Beef Tips and Gravy
  • Homemade seasoning for steak on an uncooked cut of beef
    Steak Seasoning

Footer

↑ back to top

About

  • About Me
  • Privacy Policy
  • Disclosure Policy
  • Disclaimer
  • Accessibility Policy

Newsletter

  • Sign up for weekly recipes

Contact

  • Work with me
  • Contact

Rate This Recipe

Your vote:




Let us know what you thought of this recipe:

This worked exactly as written, thanks!
We loved this recipe!!
Will definitely make this again. Thank you for sharing!

Or write in your own words:

A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.