Chocolate Peanut Butter Magic Cookie Bars are an easy dessert bar recipe made with a peanut butter cookie base, chocolate chips, peanuts, and a rich cocoa-infused condensed milk topping. These chocolate peanut butter bars are perfect for holidays, potlucks, and make-ahead desserts since they freeze and travel beautifully.

Chocolate Peanut Butter Magic Cookie Bars are the kind of easy dessert recipe you make when you need something fast, crowd-pleasing, and guaranteed to disappear. These cookie bars are loaded with chocolate and peanut butter flavor and come together in minutes thanks to a peanut butter cookie mix and simple pantry staples

The holidays can get busy fast, especially when you are juggling family time, parties, and traditions. One of my favorite traditions is baking with my kids, but I also love recipes that do not require hours in the kitchen. These Chocolate Peanut Butter Magic Cookie Bars are perfect for that. They are simple enough for kids to help with, but impressive enough to serve at any holiday gathering.
If you are a chocolate and peanut butter fan, this recipe is absolutely for you. The soft peanut butter cookie base pairs perfectly with melty chocolate chips, crunchy peanuts, and a rich cocoa condensed milk layer that pulls everything together. These bars also freeze really well, which makes them great for making ahead and pulling out when you need a last-minute dessert.
What I Love About This Recipe
- They use a peanut butter cookie mix for quick prep.
- The recipe comes together in just a few minutes.
- Chocolate and peanut butter is always a winning combination.
- These bars freeze, store, and travel very well.
- Perfect for holidays, parties, and bake sales.
Equipment You May Need
- 13×9-Inch Baking Pan – For baking the cookie bars evenly.
- Large Mixing Bowl – To mix the cookie dough base.
- Small Mixing Bowl – For combining the condensed milk and cocoa powder.
- Measuring Cups and Spoons – To measure ingredients accurately.
- Rubber Spatula or Spoon – For mixing and spreading ingredients evenly.
Ingredients
Cookie Base Ingredients
- Peanut Butter Cookie Mix – Forms the quick and easy cookie base.
- Vegetable Oil – Adds moisture and helps bind the dough.
- Water – Helps bring the dough together.
- Egg – Provides structure and richness to the cookie base.
Topping Ingredients
- Sweetened Condensed Milk – Creates the signature “magic bar” topping.
- Unsweetened Cocoa Powder – Adds rich chocolate flavor to the topping.
- Chocolate Chips – Melt into the bars for extra chocolate goodness.
- Salted Peanuts – Add crunch and balance the sweetness.
How to Make Chocolate Peanut Butter Magic Cookie Bars
Step One: Prepare the Pan
Preheat the oven to 350 degrees F and lightly spray a 13×9-inch baking pan with cooking spray.
Step Two: Make the Cookie Base
In a large bowl, stir together the peanut butter cookie mix, vegetable oil, water, and egg until a soft dough forms. Press the dough evenly into the bottom of the prepared pan.
Step Three: Mix the Topping
In a small bowl, stir together the sweetened condensed milk and cocoa powder until smooth and fully combined.
Step Four: Assemble the Bars
Sprinkle the chocolate chips and peanuts evenly over the cookie dough base. Pour the cocoa condensed milk mixture over the top, spreading gently to cover evenly.
Step Five: Bake
Bake for 25–30 minutes, or until the edges are lightly golden and the center is set. Remove from the oven and allow to cool completely before cutting.
(Full printable recipe card with full details is at bottom of post.)
Serving Suggestions
- Serve these bars chilled or at room temperature for clean slices.
- Add a scoop of vanilla ice cream for an extra indulgent dessert.
- Drizzle with chocolate sauce or peanut butter sauce over ice cream before serving.
- Cut into small squares for dessert trays or cookie platters.
Quick Tips for Best Results
- Do not overbake or the bars will become dry.
- Let the bars cool completely before slicing for clean cuts.
- Line the pan with parchment paper for easier removal.
- Use a sharp knife wiped clean between cuts for neat squares.

Chocolate Peanut Butter Magic Cookie Bars FAQ
How should I store Chocolate Peanut Butter Magic Cookie Bars?
Store the bars in an airtight container at room temperature for up to 3 days or in the refrigerator for up to a week.
Can I freeze Chocolate Peanut Butter Magic Cookie Bars?
Yes, these bars freeze very well. Wrap tightly and freeze for up to 3 months.
How long will Chocolate Peanut Butter Magic Cookie Bars last?
They will last about 3 days at room temperature, up to 7 days refrigerated, or several months frozen.
Substitutions?
You can use different chocolate chips, swap peanuts for peanut butter chips, or use mixed nuts instead.
Can I use low-fat ingredients?
Low-fat condensed milk or reduced-fat cookie mixes may change the texture and richness of the bars.
What else can I add to this recipe?
Try adding shredded coconut, toffee bits, or chopped candy pieces for extra texture and flavor.
Can I make this vegan/vegetarian/low carb/gluten-free?
Here are some suggestions, but I can’t guarantee results. Be sure as always to check particular brands and ingredients if you’re following a specific diet or have diet restrictions or allergies.
Vegan – You would have to substitute quite a few products, including possibly the cookie mix, eggs, sweetened condensed milk, and chocolate chips.
Vegetarian – The cookies are vegetarian.
Low-Carb – These would be hard to make lower-carb.
Gluten-Free – Try a gluten-free cookie mix.

Hope you enjoy these Chocolate Peanut Butter Magic Cookie Bars! You might also like this Peanut Butter Chocolate Cake or these Dark Chocolate & Peanut Butter Cookie Poppers!
Chocolate Peanut Butter Magic Cookie Bars Recipe
Ingredients
Cookie Base:
- 1 (1 lb 1.5 oz) pouch peanut butter cookie mix
- 3 tablespoons vegetable oil
- 1 tablespoon water
- 1 large egg
Topping:
Instructions
- Preheat oven to 350 degrees F. Lightly spray 13×9-inch baking pan with cooking spray.
- In a large bowl, stir together cookie mix, oil, water, and egg until soft dough forms. Press dough in bottom of prepared pan.
- In a small bowl stir together the sweetened condensed milk and cocoa powder until well combined.
- Sprinkle chocolate chips and peanuts on top of cookie dough. Pour condensed milk on top in even layer.
- Bake cookies about 25-30 minutes or until light golden brown around edges and center is set.
Notes
- Be careful to not overbake.
- You can use any kind of chocolate chips such as semi-sweet, bittersweet, or dark chocolate.
- You could also substitute peanut butter chips for the peanuts.
Nutrition:
(Nutrition data is provided when available for informational purposes only and calculated using an online nutritional calculator. For the most accurate information please calculate based on specific ingredients and brands you use as well as any changes you made to the recipe. I am not a certified nutritionist or registered dietician and any nutritional information provided should only be used as a general guideline and estimate.)






Valarie says
I just put in the oven..making for Bible study..pray the turn out good…ty
CakeSpy says
These are the bars of my dreammmmmmz. I love magic bars but these look tricked out to the delicious max.