Coconut Oil Chocolate Chunk Cookie Bars

These Coconut Oil Chocolate Chunk Cookie Bars are everything you want—soft, gooey, and chocolatey! A dairy-free dessert that’s as easy as it is satisfying.

Stacked coconut oil chocolate chunk cookie bars with golden edges and gooey centers.

These Coconut Oil Chocolate Chunk Cookie Bars are a soft, chewy twist on classic cookies, baked in a single pan for easy prep and slicing. Made with melted coconut oil, these bars have a tender, slightly dense texture with crisp, golden edges and a rich, buttery flavor complemented by a subtle hint of coconut. Studded with generous chunks of melty chocolate, each bite is gooey and delicious!

For more coconut oil treats you have to check out my Coconut Oil Chocolate Chip Cookies, Coconut Oil Oatmeal Raisin Cookies, and Double Chocolate Cookies with Coconut Oil.

  • They’re made with simple ingredients that you likely already have in your kitchen.
  • Makes a batch perfect for family gatherings or gifting.
  • They’re dairy free so they’re a great option for a lactose-free treat!

Recipe Ingredients

Sliced chocolate chip bookie bars with a knife.

Chopped Chocolate – Adds melty, chocolatey pockets. Use a little extra for intense flavor.

Coconut Oil – Adds moisture and a hint of coconut flavor.

Vanilla Extract – Provides warmth and enhances the chocolate flavor.

For a full list of ingredients and amounts, see the recipe card below.

Variations

Add Chopped Nuts – Mix in chopped walnuts, pecans, or almonds for added crunch and texture. They pair well with the chocolate and coconut flavors.

Sprinkle Flaky Sea Salt on Top – For a flavor contrast, sprinkle a little flaky sea salt on top before baking.

Step 1: Preheat oven to 350 degrees Fahrenheit (175 degrees Celsius). Line an 8×8-inch baking pan with parchment paper and set aside.

Step 2: In a large microwave-safe mixing bowl, add the coconut oil and microwave until melted. Add sugars and vanilla extract, and whisk to combine. Add eggs, mixing well after each addition.

Cookie dough with chocolate chunks mixed in.

Step 3: In a medium mixing bowl, whisk together the flour, baking soda, and salt. Using a rubber spatula or wooden spoon, fold in dry ingredients along with the chopped chocolate.

Step 4: Transfer the cookie dough to the baking pan and spread it into an even layer. Place in the oven and bake for 20-25 minutes. Remove from oven and allow to cool in the pan for 30 minutes before slicing.

Baked cookie bar slab with chocolate chunks on top, cooling on parchment paper.

Expert Tips

Chill the Dough for a Thicker Texture – For thick, chewy bars, refrigerate the dough for 30 minutes before placing it in the pan. This helps the bars retain their shape as they bake.

Press Chocolate Chunks on Top Before Baking – Once the dough is spread, press a few chocolate chunks on top. This creates a visually appealing finish with extra chocolate in every bite.

Close-up of sliced cookie bars with a gooey chocolate layer and soft texture.

FAQs

What kind of chocolate works best for my Chocolate Chunk Cookie Bars recipe?

Semisweet or bittersweet chocolate provides a perfect balance. You can also use chocolate chips, which hold shape well during baking.

Can I use another oil instead of coconut oil?

Yes, though coconut oil gives a unique texture and taste. You can substitute with melted butter for a richer flavor or vegetable oil for a neutral taste.

Sliced coconut oil chocolate chunk cookie bars arranged on parchment paper.

Storage Information

STORE the Cookie Bars in an airtight container at room temperature for up to 3 days. They stay fresh without refrigeration, but for extended storage, FREEZE the cut bars in a freezer-safe bag for up to a month.

REHEAT in the microwave for 10-15 seconds for a warm, gooey texture.

Did you try this recipe? Leave a ⭐️ rating below and share it on Instagram, Facebook and Pinterest!

Close-up of chocolate chunk cookie bars with golden edges and gooey centers.
These Coconut Oil Chocolate Chunk Cookie Bars are everything you want—soft, gooey, and chocolatey! A dairy-free dessert that’s as easy as it is satisfying.
4.84 from 6 votes
Pin Rate
Course: Brownies & Bars
Cuisine: American
Diet: Dairy Free, Vegetarian
Prep Time: 10 minutes
Cook Time: 20 minutes
Additional Time: 30 minutes
Total Time: 1 hour
Servings: 12 squares
Calories: 532kcal
Author: Andrea
Print (email required)

Ingredients

  • 1/4 c. unrefined coconut oil
  • 1/2 c. refined coconut oil
  • 3/4 c. brown sugar - packed
  • 3/4 c. granulated sugar
  • 2 teaspoon vanilla extract
  • 2 large eggs
  • 2 1/3 c. all-purpose flour
  • 1 tsp. baking soda
  • 1/2 tsp. coarse sea salt
  • 1 c. semisweet or bittersweet chocolate - chopped
Save this recipe!
Get this sent to your inbox, plus get new and favorite recipes from us!

Instructions

  • Preheat oven to 350 degrees Fahrenheit (175 degrees Celsius). Line an 8×8-inch baking pan with parchment paper and set aside.
  • In a large microwave-safe mixing bowl, add the coconut oil and microwave until melted. Add sugars and vanilla extract, and whisk to combine. Add eggs, mixing well after each addition.
  • In a medium mixing bowl, whisk together the flour, baking soda, and salt. Using a rubber spatula or wooden spoon, fold in dry ingredients along with the chopped chocolate.
  • Transfer the cookie dough to the baking pan and spread it into an even layer. Place in the oven and bake for 20-25 minutes. Remove from oven and allow to cool in the pan for 30 minutes before slicing.

NOTES

  • If you have an allergy, please read all labels carefully when choosing chocolate.
  • Makes an 8×8-inch pan.
STORE the Cookie Bars in an airtight container at room temperature for up to 3 days. They stay fresh without refrigeration, but for extended storage, FREEZE the cut bars in a freezer-safe bag for up to a month.
REHEAT in the microwave for 10-15 seconds for a warm, gooey texture.

Nutrition

Calories: 532kcal | Carbohydrates: 75g | Protein: 7g | Fat: 23g | Saturated Fat: 17g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 4g | Trans Fat: 0.02g | Cholesterol: 32mg | Sodium: 211mg | Potassium: 193mg | Fiber: 3g | Sugar: 37g | Vitamin A: 55IU | Calcium: 36mg | Iron: 4mg

Want more inspiration?

More Recipes You'll Love

About the Author

Andrea

Hi I'm Andrea!

Hotelier turned Food Blogger to help make your life simple, one recipe at a time.

4.84 from 6 votes (2 ratings without comment)

Join the Conversation

Rate and Comment

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

Please click on the Stars below to share your Rating of this Recipe




Comments:

  1. These are excellent, even with 2 substitutions- for the eggs (used coconut yogurt, 8T.) and gluten-free flour. My son has very high sensitivity to eggs, dairy, and gluten…Actually, a third substitute, dairy free chocolate chips (Enjoy Life brand). Still awesome with changes.

  2. 5 stars
    We make all kinds of bars every week! They are our favorite dessert & super easy to make. These have great flavor & are so chocolate-y!

  3. 5 stars
    Thanks a lot for sharing this coconut oil chocolate chunk cookie bars! It’s very exciting to make and fam really enjoyed it! it taste amazing! Will have this again for sure!

  4. 5 stars
    I love to make these cookie bars. So much easier than cookies and they feed a crowd too! I also love that these are soy and dairy free!