This post may contain affiliate links. Please read our disclosure policy.
Soft, chewy chocolate chip cookie bars with crisp golden edges, made in one 9×13 pan. All the flavor of classic cookies with no scooping!

These Chocolate Chip Cookie Bars are classic, buttery chocolate chip cookie dough baked in one pan and cut into squares. They have crisp golden edges, a soft and chewy center, and melty chocolate chips in every bite. It’s a chocolate chip cookie shaped like a brownie, and they disappear within minutes in our house.
If you think chocolate chip cookies should be their own food group, you’re my people. I’ve baked a lot of chocolate chip cookies over the years, from baking contests to my test kitchen at home, and I’ve been making this cookie bar recipe since I was a young girl. It’s the one I make when I want homemade cookies for a crowd without scooping and baking tray after tray.
The dough is made just like real cookie dough. You cream the butter and sugars until light and fluffy, which gives these bars their true cookie texture. Bake it in a 9×13 for a big batch of 24 bars, or make a half batch in an 8×8.
If you think chocolate chip cookies should be a food group, then you are going to go crazy over these chocolate chip cookie bars.

Why you will love these Chocolate Chip Cookie Bars:
- Crisp, golden edges and a soft, chewy center, just like a fresh-baked cookie.
- No scooping. Press the dough into one pan and bake it all at once.
- Feeds a crowd. One 9×13 pan makes 24 bars.
- Pantry ingredients. Butter, sugar, eggs, vanilla, flour, and chocolate chips.
- Freezer friendly. Bake now and freeze some for later.
Chocolate Chip Cookie Bar Ingredients:
These Chocolate Chip Cookie Bars are made like traditional chocolate chip cookie dough by creaming the butter and sugars for at least 4 minutes. This recipe calls for a good amount of sugar which gives it that ooey gooey texture that melts in your mouth. A hefty dose of vanilla is added for the depth of flavor and semi-sweet chocolate proves to be the best balance for the brown sugar dough.
Exact amounts are in the recipe card below.
- Butter: Use softened butter at room temperature, not melted. Creaming softened butter with the sugars traps air, which gives these bars their cookie texture instead of a dense blondie texture.
- Brown sugar: Pack it into the measuring cup. Brown sugar adds moisture and chewiness.
- Granulated sugar: Gives the bars their crisp, golden edges.
- Eggs: Room temperature eggs mix in more smoothly.
- Vanilla extract: This recipe uses a generous amount for deep flavor. Use pure vanilla.
- All-purpose flour: Spoon it into the cup and level it off. Too much flour is the most common cause of dry, cakey bars.
- Baking soda: Gives the bars a little lift without making them cakey.
- Salt: Balances the sweetness. If you use unsalted butter, you can add a pinch more.
- Semisweet chocolate chips: They balance the sweet brown sugar dough best. Milk chocolate, dark chocolate, or a mix all work. Save a handful to sprinkle on top before baking.

How to make Chocolate Chip Cookie Bars:
- Prep the pan. Preheat the oven to 350°F. Line a 9×13 metal pan with parchment paper, leaving some overhang on the sides so you can lift the bars out. Lightly spray the sides.
- Cream the butter and sugars. Beat the softened butter, brown sugar, and sugar for 4 minutes, until light and fluffy. Don’t rush this step, because it’s what gives the bars their cookie texture.
- Add the eggs and vanilla. Mix until smooth, scraping down the bowl.
- Add the dry ingredients. Mix in the flour, baking soda, and salt on low just until combined. Overmixing makes the bars tough.
- Fold in the chocolate chips. Save about ¼ cup for the top.
- Spread the dough in the pan. The dough is thick, so press it evenly into the corners with a spatula or lightly greased hands. Sprinkle the reserved chips on top.
- Bake. Bake the 9×13 for 25-30 minutes, or the 8×8 for 20-25 minutes, until the edges are golden brown and the center is set.
- Cool, then cut. Let the bars cool at least 30 minutes before lifting them out and cutting into squares.
This recipe can be made in a or doubled and baked in a 9×13 pan. The cookie bars will need to bake a few minutes longer so watch carefully. Let the bars cool for at least 10 minutes before cutting into squares, to allow time to set up.
TIP: I suggest using an aluminum pan. This recipe does NOT work as well in a glass pan.

How to tell when they’re done
This is where most people go wrong with cookie bars, and it’s the number one question when making cookie bars.
- The edges should be golden brown and starting to pull away from the sides of the pan.
- The top should look dry and lightly golden, not shiny or wet.
- The center should look set but still soft. It keeps baking as it cools.
- A toothpick in the center should come out with a few moist crumbs, not wet dough.
If the edges are browning before the center is set, loosely cover the pan with foil for the last 5–10 minutes.
What pan should I bake these cookie bars in:
Use a metal pan. These bars don’t bake as well in a glass pan, which heats slowly and can leave the center underdone while the edges overbake. If glass is all you have, lower the oven to 325°F and bake a little longer.
Tips for the best cookie bars
- Cream the butter and sugars the full 4 minutes. This is the difference between a cookie bar and a dense bar.
- Measure flour by spooning and leveling. Scooping straight from the bag packs in too much.
- Use a light-colored metal pan. Dark pans brown the edges too fast.
- Line with parchment. Lifting the whole slab out makes cutting much easier.
- Cool before cutting. For the cleanest squares, chill the bars 15–20 minutes and cut with a plastic knife.
Frequently asked questions:
Do I need to pack the brown sugar? Yes. Pack it firmly into the measuring cup.
Should I grease the pan? Line it with parchment and lightly spray the sides. The parchment lets you lift the bars out for clean cutting.
Why is the center of my cookie bars raw? They need a few more minutes. Ovens vary, and glass pans bake slower. Look for golden edges and a dry, set top, and bake in a metal pan.
Can I make these in a glass pan? You can, but a metal pan works better. In glass, lower the temperature to 325°F and bake a little longer.
Can I double the recipe? The 9×13 recipe is already a big batch. For more, bake two 9×13 pans instead of using one larger pan.
What’s the difference between cookie bars and blondies? Cookie bars use creamed softened butter and both sugars for a true cookie texture. Blondies use melted butter and brown sugar for a denser, fudgier, toffee-like bar.
Can I use melted butter? You can, but the bars will be denser and more like blondies. For a cookie texture, cream softened butter.
Can I make them gluten-free? A 1:1 gluten-free flour blend works in place of all-purpose flour.
Dessert Bar Recipes:

Pin this now to find it later
Pin It
Chocolate Chip Cookie Bars
Equipment
- kitchenaid mixer
- baking sheet
- parchment paper baking sheets
Ingredients
For 8×8 pan:
- 1/2 cup Butter softened
- 1/2 cup Brown Sugar
- 1/2 cup Sugar
- 1 Egg
- 2 teaspoons Vanilla
- 1 1/4 cup Flour
- 1/2 teaspoon Baking Soda
- 1/4 teaspoon Salt
- 1 cup Semi-sweet Chocolate Chips
For 9×13 pan:
- 1 cup Butter
- 1 cup Brown Sugar
- 1 cup Sugar
- 2 Eggs
- 1 Tablespoon Vanilla
- 2 1/2 cups Flour
- 1 teaspoon Baking Soda
- 1/2 teaspoon Salt
- 2 cups Semisweet Chocolate Chips
Instructions
- Preheat oven to 350 degrees.
- Cream butter, brown sugar, and sugar for 4 minutes, until light and fluffy. Stir in egg(s) and vanilla and mix well.
- Stir in flour, baking soda, and salt. Stir until incorporated.
- Stir in chocolate chips.
- Bake for 20-28 minutes, or until light golden brown.
- Let cool for 10 minutes before cutting into squares.
Notes
Nutrition information is automatically calculated, so should only be used as an approximation.
Happy Baking!


















I wanted something quick and easy to wipe up for my husband’s church lunch tomorrow. I found this recipe on Google. They turned out great. Thanks
Could this recipe be used for a cookie cake decorated with buttercream?
Hi Michelle! Absolutely. It would be fabulous! You may want to 1 1/2 times or double the recipe, possibly, depending on the size of your pan. Good luck!
Was really easy and was happy for the 8×8 recipe
Hi Michele! Happy to hear that it was easy and you were happy with the result. Thanks!
Do you need to grease the pan?
I line the pan with parchment paper. Not sure about greasing the pan.
Hi Gina! Since it has a hefty dose of butter, you don’t have to grease the pan. Parchment paper works like a charm since it makes them so easy to get out of the pan. Hope that helps!
My husband doesn’t want me to make chocolate chip cookies anymore… just these!! Sooooooooooooooooooo good!!!!!!
Smart husband! Thanks, Shawna. So happy you guys loved them. Thank you for trying out the recipe!
Just pulled up this recipe and new to your site. And it’s exactly what I am looking for==and thank you so much for showing the ingredients for the 9×13. In a hurry to bake them for a bunch of youth and be there in a couple of hours. Appreciate the recipe already! Thank you!
Hi Gail! Thank you so much for trying out the recipe. I hope you loved them!
These bars were what the chocolate chip cookie of my dreams tastes like. Better than any chocolate chip cookie I’ve ever made, and I’ve made a lot. These were soooo good!
Yay! I love to hear that, Candin! A chocolate chip cookie bar is one of the best things ever. Thank you for your nice comment!
Is the cooking time the same whether you make in 8×8 pan or 13×9 pan?
Hi! Since the cookie bars will be thinner in a 9 x 13 pan, you will want to reduce the baking time. I would set the time for 5-10 minutes less and just watch them. Hope that helps!
I made a 9×13 and set the timer for 23 minutes since you said to to do 5-10 less for 9×13 and could tell it wasn’t done at all in the middle. So I baked it for 29 minutes and took it out because the edges were getting quite dark but even thought the middle was light brown, it wasn’t done at all. It was super gooey (not done at all) in the middle and the edges were quite crisp. I don’t know what I did wrong. I used a glass pan maybe that was my problem. I’m bummed because this was to go to our family Christmas tonight.
I also used a glass pan, and had the same experience. I ended up baking them for 34 minutes at 350 plus an extra 10 at 300. They’re not cool yet, but they’re solid enough to sneak one. (I ate with with a fork. 🙂 I’m thinking once they cool, they’ll set into a more chewy bar. I’ll probably bake these at a lower temp for longer if I make them again — maybe split the difference and bake at 325.
I made these using a glass Pyrex 9 X 13 and added 2 extra tablespoons of unbleached flour … plus cut the granulated sugar back to 3/4 cup & added pecans. I also do not buy brown sugar, but instead add 1 tablespoon of molasses to granulated sugar for every cup of brown sugar called for. Very good.
I just made these bars and they are unbelievably good! This is the first recipe I’ve tried from your site and I absolutely will be back for more. Thank you for a great recipe — you’ve made my family very happy!
Yay! I am so glad that they turned out and you loved them. Thank you for taking the time to spread positivity. I appreciate it!
Your recipe was excellent ????????
I just made these bars, and they are unbelievably good! This is the first recipe I’ve tried from your site, and I absolutely will be back for more. Thank you for such a great recipe — you’ve made my whole family happy!
Thank you so much for taking the time to write a comment, Cari! I appreciate it and am so happy that your family loved them! Have a fabulous day! – Melissa 🙂
I just put this in the oven. Hopefully, I wasn’t suppose to grease or flour my pan.