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 had great luck with this recipe at high altitude. I used the smaller recipe (for 8×8 pan) but baked it in a 9×13 glass pan for the full 28 minutes (I am at almost 7000 ft — for high altitude I just decreased the baking soda a little). I greased the baking dish with a little butter. After letting cool 10 min, they were fully cooked in the middle and came out of the pan easily. Thanks for this recipe! Much quicker than making cookies!
It’s when awhile since I made these but remember how good they were! I’m making them today and wondered if the brown sugar needs to be packed?
These chocolate chip cookie bars hit the spot! I wanted something with chocolate chips but did not want to make cookies. I added walnuts. I cooked them for 28 minutes and still wasn’t sure if done but did not want to burn them. The texture improved as they cooled. Did not know if I was to grease the pan so used parchment in bottom and sprayed a little oil on the sides. Thanks for the recipe!
These are my favorite recipe for sure! Definitely recommend cooking an extra 5-10 minutes, as they never seem to set in the center. That being said, absolutely amazing! I always crush some Heath bar pieces and mix in/top with, extra yum!