Chocolate Chip Cookie Bars

Gooey chocolate chip cookie bars with golden edges, sliced on a wooden board for a family-friendly dessert.  Pin it
Gooey chocolate chip cookie bars with golden edges, sliced on a wooden board for a family-friendly dessert. | sunnypinkitchen.com

These rich, chewy chocolate chip cookie bars combine the classic flavors everyone loves with the convenience of a bar format. The melted butter creates an incredibly tender, gooey texture while the combination of brown and granulated sugars delivers that perfect crisp edge and soft center. Loaded with two cups of semisweet chips, each bite offers the ideal chocolate-to-dough ratio.

The straightforward method comes together in just 15 minutes of prep time—simply whisk the wet ingredients, fold in the dry mix and chips, then spread into your pan. After 22-25 minutes in the oven, you'll have golden-edged bars with a slightly underbaked, fudgy center that cookie enthusiasts crave.

Customize easily by swapping chocolate varieties or adding nuts. The optional flaky sea salt topping elevates these from delicious to downright gourmet. Store at room temperature for up to five days—though they rarely last that long.

The smell of brown sugar and butter melting together has this way of stopping me in my tracks, no matter how many times I've made these bars. My roommate wandered into the kitchen last weekend with that exact look—the one that says I know you're baking something, and I'm not leaving until I get some. We ended up eating them warm, standing over the counter with milk, while she told me about her day.

I brought these to a potluck last summer and watched them disappear in under ten minutes. Someone actually asked for the recipe while still chewing her first bite, which I took as the highest possible compliment. Now they're my go-to when I need something that feels homemade but won't keep me trapped in the kitchen all afternoon.

Ingredients

  • 2 1/4 cups all-purpose flour: Measuring by weight (280 g) gives the most consistent results, but the dip-and-sweep method works fine too
  • 1/2 teaspoon baking soda: Just enough to help the bars rise slightly without making them cakey or dry
  • 1/2 teaspoon salt: Balances the sweetness and makes the chocolate flavor pop
  • 1 cup unsalted butter, melted: Let it cool slightly before mixing so it doesn't cook the eggs when you add them
  • 1 cup light brown sugar, packed: The molasses in brown sugar is what creates that irresistible chewiness
  • 1/2 cup granulated sugar: Provides crisp edges while the brown sugar keeps centers soft
  • 2 large eggs: Room temperature eggs incorporate better and create a more uniform texture
  • 2 teaspoons pure vanilla extract: Don't skimp here—vanilla is the backbone of that classic cookie flavor
  • 2 cups semisweet chocolate chips: These distribute chocolate evenly in every bite, unlike chunks which can be less consistent

Instructions

Get your oven ready:
Preheat to 350°F and line a 9x13-inch pan with parchment paper, letting the edges hang over the sides like handles
Mix the dry team:
Whisk flour, baking soda, and salt in a medium bowl until everything's evenly distributed
Make the base:
Whisk melted butter with both sugars until smooth, then beat in eggs and vanilla until glossy
Bring it together:
Fold in the dry ingredients just until you don't see white streaks, then gently mix in the chocolate chips
Spread and bake:
Press the dough evenly into your prepared pan and bake 22 to 25 minutes until edges turn golden
The patience part:
Cool completely before slicing—they'll be much easier to cut and will hold their shape better
Freshly baked chocolate chip cookie bars served warm, with a glass of milk on the side.  Pin it
Freshly baked chocolate chip cookie bars served warm, with a glass of milk on the side. | sunnypinkitchen.com

My dad called me from three states away last month because he couldn't find the recipe I'd texted him months ago. He said the grandkids had been asking specifically for 'the square cookies' and he couldn't disappoint them. That's when I knew these weren't just dessert—they were becoming part of someone else's story too.

Getting the Texture Right

The melted butter technique is what makes these bars so distinctively chewy. Creamed butter creates air pockets and lighter cookies, but melted butter coats the flour proteins and prevents them from developing too much gluten. I learned this after years of wondering why some batches turned out cakey while others had that perfect dense, fudgy texture we're chasing here.

Pan Selection Matters

Light-colored metal pans bake evenly and give the best results. Dark pans absorb heat faster and can overbrown the edges before the center sets, while glass pans take longer to heat up and may leave you with undercooked centers no matter how long you bake them. If you only have dark metal, reduce the oven temperature by 25 degrees and check for doneness a few minutes early.

Make Ahead Storage

These bars actually improve slightly after sitting overnight, which makes them perfect for preparing ahead of parties or gatherings. The flavors meld together and the texture becomes more uniform throughout.

  • Wrap the uncut slab tightly in plastic and freeze for up to three months
  • Individual bars freeze well stacked between layers of parchment paper
  • Thaw at room temperature for about an hour before serving
Homemade chocolate chip cookie bars cooling on a rack, ready to be enjoyed at a party. Pin it
Homemade chocolate chip cookie bars cooling on a rack, ready to be enjoyed at a party. | sunnypinkitchen.com

There's something honest about a dessert that doesn't pretend to be fancy. These bars show up, taste incredible, and somehow make ordinary Tuesday afternoons feel a little more special.

Recipe FAQ

Melted butter creates a denser, chewier texture and distributes more evenly throughout the dough. It also eliminates the creaming step, making the preparation faster and simpler while still delivering that rich, tender crumb.

The edges should be golden brown, and a toothpick inserted in the center should come out with a few moist crumbs. Avoid overbaking—residual heat continues cooking the bars as they cool, preserving that gooey, fudgy texture.

Yes, double all ingredients and bake in a 12x18-inch (30x45 cm) pan. The baking time may increase slightly to 28-32 minutes. Check for doneness using the same visual and toothpick cues.

Cool completely before cutting. Use a sharp knife and wipe it clean between cuts. For extra precision, chill the cooled slab for 30 minutes, then use a ruler to mark even intervals before slicing through.

Absolutely. Wrap the cooled uncut slab tightly in plastic and foil, then freeze for up to 3 months. Thaw overnight at room temperature before cutting. Individual portions can also be frozen in airtight containers with parchment between layers.

Overmixing develops gluten strands, making the bars tough rather than tender. Stir just until the flour disappears and the dough comes together. A few streaks of flour are preferable to overworking the mixture.

Chocolate Chip Cookie Bars

Rich, chewy bars loaded with gooey chocolate chips. Ready in 40 minutes, perfect for sharing.

Prep 15m
Cook 25m
Total 40m
Servings 16
Difficulty Easy

Ingredients

Dry Ingredients

  • 2 1/4 cups all-purpose flour
  • 1/2 teaspoon baking soda
  • 1/2 teaspoon salt

Wet Ingredients

  • 1 cup unsalted butter, melted and slightly cooled
  • 1 cup light brown sugar, packed
  • 1/2 cup granulated sugar
  • 2 large eggs
  • 2 teaspoons pure vanilla extract

Add-ins

  • 2 cups semisweet chocolate chips

Instructions

1
Preheat and Prepare Pan: Preheat oven to 350°F. Line a 9x13-inch baking pan with parchment paper, leaving an overhang for easy removal.
2
Combine Dry Ingredients: In a medium bowl, whisk together flour, baking soda, and salt. Set aside.
3
Mix Butter and Sugars: In a large bowl, whisk melted butter with brown sugar and granulated sugar until smooth.
4
Add Eggs and Vanilla: Add eggs and vanilla to the butter mixture; whisk until well combined.
5
Incorporate Dry Ingredients: Gradually stir in the dry ingredients using a spatula or wooden spoon until just combined—do not overmix.
6
Fold in Chocolate Chips: Fold in chocolate chips evenly throughout the dough.
7
Spread Dough in Pan: Spread the dough evenly in the prepared pan and smooth the top.
8
Bake to Golden Perfection: Bake for 22–25 minutes, or until the edges are golden and a toothpick inserted in the center comes out with a few moist crumbs.
9
Cool and Cut: Cool completely in the pan on a wire rack before lifting out and cutting into bars.
Additional Information

Equipment Needed

  • 9x13-inch baking pan
  • Mixing bowls
  • Whisk
  • Spatula or wooden spoon
  • Parchment paper

Nutrition (Per Serving)

Calories 290
Protein 3g
Carbs 38g
Fat 15g

Allergy Information

  • Contains wheat (gluten), eggs, milk, and may contain soy (in chocolate chips)
  • Always check ingredient labels for potential allergens
Paula Henderson

Home cook sharing easy, comforting recipes and helpful kitchen tips for everyday meals.