Chocolate Snack Bars are my go-to when I want a chewy baked bar that eats like a cookie but holds up like a snack. They’re rich, a little hearty from oats, and easy to slice into neat squares for grabbing on the way out the door.
My favorite thing about this version is the soft, chewy center with those golden edges and plenty of chocolate throughout. They’re sweet in a classic way, with that deeper flavor you get from brown sugar and butter.
I make these a lot for lunchboxes, road trips, and weekend baking when I want something reliable. They’re also great on a simple dessert plate with coffee or milk, especially with a little flaky salt on top.

Why You’ll Love This Recipe
Soft and Chewy: These bake up with a chewy bite that stays nice for days, thanks to the oats and a careful bake time.
Easy Grab-and-Go: They slice cleanly and travel well, so they’re great for lunches, after-school snacks, and busy mornings.
Classic Chocolate Flavor: The brown sugar and semisweet chips give you that familiar, rich chocolate-chip-cookie vibe in bar form.
No Mixer Needed: This is a simple bowl-and-whisk situation, which is exactly what I want for an everyday baking recipe.
Flexible Add-Ins: Walnuts are great, but you can swap in pecans, use dark chocolate, or keep it simple with just chips.
Ingredients You’ll Need
Dry Ingredients
- All-purpose flour: I use regular flour here. It gives the bars structure so they slice nicely instead of crumbling.
- Baking soda: This helps the bars lift a little and keeps them from baking up dense.
- Cornstarch: Don’t skip it if you can help it. It’s a small thing that really helps the bars stay tender and chewy.
- Fine salt: Salt matters in sweet bars, especially with chocolate. If you only have kosher salt, use it, but keep in mind it measures a little differently.
- Old fashioned rolled oats: Rolled oats give the best chewy texture here. Quick oats will work in a pinch, but the bars won’t have quite the same bite.
Wet Ingredients
- Unsalted butter: Melted butter keeps this easy and gives the bars that rich, buttery chew. Let it cool slightly so it doesn’t scramble the eggs.
- Light brown sugar: This is where a lot of the deep, caramel-like sweetness comes from. Dark brown sugar works too if that’s what you have.
- Granulated sugar: A little white sugar helps the edges set and adds a slight crispness around the outside.
- Eggs: Eggs bind everything together and help the bars bake up soft but sliceable.
- Vanilla extract: I use plain vanilla extract. It makes the chocolate flavor taste more rounded.
Mix-ins and Topping
- Semisweet chocolate chips: Semisweet is my usual choice for bars like this. Dark chocolate chips are also really good if you want a slightly less sweet bite.
- Walnuts (optional): I like the extra crunch, but you can leave them out. Pecans are a great swap.
- Flaky salt (optional): This is optional, but I love it on top. A light sprinkle makes the chocolate taste a little more intense.

Recipe Instructions
- Preheat the oven: Heat the oven to 350°F. Line a 9×13-inch baking pan with parchment paper and lightly grease it.
- Mix the dry ingredients: Whisk the flour, baking soda, cornstarch, and salt together in a bowl. Stir in the rolled oats.
- Mix the wet ingredients: In a separate bowl, whisk the melted butter, brown sugar, and granulated sugar until smooth.
- Add the eggs and vanilla: Whisk in the eggs, then whisk in the vanilla until combined.
- Add the dry ingredients: Fold the dry ingredients into the wet ingredients just until you don’t see dry flour.
- Fold in the mix-ins: Fold in the chocolate chips and walnuts, if using.
- Spread the batter: Spread the batter evenly in the prepared pan, then press it lightly into an even layer.
- Bake: Bake for 20 to 25 minutes, until the edges are golden and the center is set.
- Cool and slice: Cool completely in the pan, then lift out using the parchment and slice into bars.

Some of my tips!
This is the part that really makes a difference. If you only read one section, make it this one because this is where I share the little trick that helps the recipe turn out so well.
Recipe Tips & Tricks
Don’t overbake them. Pull the pan when the edges look set and golden and the center looks set, not dry. They’ll firm up as they cool, and that’s what keeps them chewy.
Use parchment paper. It makes lifting the whole slab out easy, and it also helps you get cleaner slices. I still lightly grease the pan so the corners don’t stick.
Press the batter in evenly. An even layer helps everything bake at the same speed, especially the center. I just use lightly greased hands or the back of a spoon.
Try the 9×9 pan for thicker bars. If you like a thicker, softer bar, the smaller pan is the move. Just plan on a longer bake time.
Flaky salt is worth it. You don’t need much, but a small sprinkle on top makes the chocolate pop. I usually add it right after baking.
Make some touches!
There are plenty of easy ways to serve this depending on the occasion. Keep it simple, or add a few small touches to make it feel a little more special.
Serving Suggestions
- Milk: A cold glass of milk is classic with these. It’s especially good if you add a little flaky salt on top.
- Coffee or espresso: These bars are really good with coffee, especially in the afternoon. I like them with a latte or plain black coffee.
- Ice cream: If you want dessert, serve a bar with vanilla ice cream on the side. A quick drizzle of chocolate sauce is nice too.
- Fruit: Fresh berries or sliced strawberries are easy on the side. It’s a simple way to make the plate feel a little less heavy.
Save it for later
This section covers how to store leftovers and what parts of the recipe you can prepare ahead of time.
Storage and Make Ahead
Store the bars covered at room temperature for 2 to 3 days. I keep them in an airtight container, and they stay chewy. If your kitchen is warm, the chocolate may get a little soft.
For a longer hold, store them covered in the fridge for up to 5 days. They’ll firm up a bit when chilled, which is nice if you’re packing them for lunches.
If you want them warm again, microwave a bar for about 10 to 15 seconds. It softens the chocolate and brings back that just-baked texture.
You can also freeze individual portions so you can grab one at a time. Thaw at room temperature for an hour or so, or thaw in the fridge overnight.

A few quick answers
This section covers a few extra details that may help before you head to the recipe card.
Recipe FAQs
How do I know when these chocolate snack bars are done?
I look for golden edges and a center that looks set (not wet or shiny). A toothpick should come out with a few moist crumbs, not raw batter.
Can I make thicker bars?
Yes. Use a 9×9-inch pan instead of 9×13 and bake for about 25 to 30 minutes. Keep an eye on the center, and don’t wait for it to look dry.
Can I use dark chocolate or chopped chocolate instead of semisweet chips?
Absolutely. Dark chocolate chips work great, and a mix of chips plus chopped chocolate gives you a few bigger melty pockets. Just keep the total amount of chocolate about the same.
Do I have to add walnuts?
No, you can leave the nuts out completely. If you want that crunch, pecans are a really nice swap.
Why did my bars turn out dry?
The most common reason is overbaking. These are best when you pull them a little earlier and let them finish setting as they cool in the pan.
You might also like
Before you go, take a look at a few other recipes below the recipe card. They use similar ingredients in a different way and are worth saving too.

Chocolate Snack Bars
INGREDIENTS
Dry Ingredients
- 1 cup all purpose flour
- 1 tsp baking soda
- 1 tsp cornstarch
- 1 tsp fine salt
- 2 cups old fashioned rolled oats.
Wet Ingredients
- 3/4 cup unsalted butter melted and slightly cooled
- 1 cup packed light brown sugar
- 1/4 cup granulated sugar
- 2 large eggs
- 2 tsp vanilla extract.
Mix ins and Topping
- 1 1/2 cups semisweet chocolate chips
- 1/2 cup chopped walnuts optional
- flaky salt to taste optional.
INSTRUCTIONS
Pan and Oven
- heat oven to 350 degrees F
- line a 9 by 13 inch baking pan with parchment paper and lightly grease.
Make Batter
- whisk flour baking soda cornstarch and salt
- stir in oats
- in a separate bowl whisk melted butter brown sugar and granulated sugar until smooth
- whisk in eggs and vanilla
- fold dry ingredients into wet ingredients just until combined
- fold in chocolate chips and walnuts if using.
Bake and Cool
- spread batter evenly in pan and press lightly
- bake until edges are golden and center is set 20 to 25 minutes
- cool completely in pan before lifting out and slicing into bars.
