Thick s’mores bars hit the table with everything people want from the campfire version: a sturdy graham cracker base, a dense fudgy chocolate middle, and a toasted marshmallow top that cracks and pulls when you slice into it. The layers stay distinct, which matters here. You get the crumbly, buttery bottom, the soft brownie-like center, and that sticky toasted finish without any one part turning soggy or falling apart.
The trick is keeping each layer in its own lane. The crust gets a quick bake so it sets before the chocolate goes on. The chocolate layer is mixed just until smooth, then baked only until the center looks set at the edges and still has the tiniest bit of give in the middle. That short bake keeps the bars dense instead of dry. The marshmallows go on after the bars come out of the oven, then get a fast blast of heat so they puff first and brown second.
Below, I’m breaking down the few places where these bars can go sideways, plus the small adjustments that make them easier to cut cleanly and serve without losing the gooey top.
The graham crust stayed crisp under the chocolate, and the marshmallows browned in just a few minutes without burning. I chilled them long enough to cut and the layers stayed neat.
Save these s’mores bars for the days when you want a fudgy chocolate center and a toasted marshmallow top without building a fire.
The Marshmallow Layer Only Works If the Bars Are Already Set
The biggest mistake with s’mores bars is rushing the topping. If the chocolate layer is still loose when the marshmallows go on, the heat from broiling softens everything underneath and the bars collapse when you cut them. Bake the chocolate layer until the center is just set, not wet, then add the marshmallows right away so they can puff from the residual heat before the final browning pass.
The other thing that matters is timing the broiler, not just turning it on and walking away. Marshmallows go from pale to burnt fast, and the top should be pulled when the peaks are deep gold, not dark brown. If you want clean slices, let the bars cool at least 30 minutes so the chocolate layer firms up enough to hold the top in place.
What Each Layer Is Doing in These S’mores Bars

- Graham cracker crumbs — These build the base that gives the bars their s’mores identity. Fresh crumbs make a tighter crust than very stale ones, but store-bought crumbs work fine here because the butter and sugar do most of the heavy lifting.
- Butter, in both layers — The crust needs enough butter to pack and bake into a firm foundation, and the chocolate layer needs it for that dense, glossy texture. Melted butter in the crust is nonnegotiable; softened butter won’t bind the crumbs as evenly.
- Cocoa powder — This is where the chocolate flavor comes from, so use a cocoa you actually like eating. Natural cocoa keeps the flavor bold and classic; Dutch-process will taste a little darker and smoother, but either one works in a bar like this.
- Eggs — They hold the chocolate layer together and give it that brownie-like bite. Add them after the butter and sugar have come together, and mix only until smooth so you don’t whip in extra air that makes the bars cakier.
- Mini marshmallows or halved large marshmallows — Mini marshmallows melt and brown into a more even blanket, while halved large marshmallows give you bigger toasted pockets and more dramatic pull. If you use large ones, cut them before they melt into one solid sheet.
Building the Crust, Chocolate Layer, and Toasted Top Without Overbaking Anything
Pressing and Prebaking the Graham Base
Mix the crust until every crumb looks damp, then press it firmly into the pan with the bottom of a measuring cup or your hands. You want an even layer with no loose patches at the corners, because thin spots bake too hard and crumble later. Eight minutes in the oven is enough to set the crust without drying it out. Pull it out and give it a few minutes to settle before adding the chocolate layer.
Cooking the Fudgy Center
Melt the butter in a saucepan, then stir in the sugar, eggs, and vanilla until the mixture looks glossy and thick. Add the cocoa, flour, baking powder, and salt, and stop mixing as soon as the batter is smooth. Spread it over the crust and bake until the edges are set and the center no longer looks shiny-wet. If you bake until the middle looks completely firm, the bars will lose that dense, fudgy bite.
Marshmallows and the Final Burst of Heat
Cover the hot chocolate layer completely with marshmallows as soon as the pan comes out of the oven. Return it to the oven just long enough for them to puff, then broil briefly to get the tops golden. Stay right there while they brown. The line between toasted and scorched is thin, and the top can burn in a single minute if you walk away. Cool the bars before cutting, and use a buttered knife for cleaner slices through the sticky marshmallow top.
Make Them Saltier and More Campfire-Like
Add a small pinch of flaky salt over the marshmallows right after broiling. It sharpens the chocolate and makes the sweetness taste more balanced. Don’t overdo it; you want contrast, not a salted dessert bar.
Gluten-Free S’mores Bars
Swap the all-purpose flour for a cup-for-cup gluten-free baking blend, and check that your graham crackers are gluten-free too. The texture stays close to the original, though the chocolate layer may be a touch more delicate when warm. Let the bars cool fully before cutting so they hold together.
Extra Gooey Marshmallow Top
Use large marshmallows, cut in half, and place them cut-side down across the top. They melt into dramatic pockets instead of a uniform blanket, which gives each slice a more obvious marshmallow pull. This version is messier to cut, but it looks the most like a campfire s’more.
Storage and Reheating
- Refrigerator: Store in an airtight container for up to 4 days. The marshmallow top softens a little in the fridge, but the flavor stays strong.
- Freezer: These freeze well if you cut them first and separate layers with parchment. Freeze for up to 2 months, then thaw at room temperature. The marshmallow won’t look as fresh after freezing, but the bars still taste good.
- Reheating: Warm individual bars for 8 to 10 seconds in the microwave if you want the chocolate a little softer. Don’t overheat them or the marshmallow turns stretchy and the crust goes limp.
Questions I Get Asked About This Recipe

S'mores Bars
Ingredients
Equipment
Method
- Preheat your oven to 350°F and line a 9x13 pan with parchment paper to prevent sticking.
- Mix graham cracker crumbs, granulated sugar, and melted butter, then press firmly into the bottom of the pan for an even, compact crust.
- Bake the crust for 8 minutes, then cool slightly until it looks set and aromatic.
- Melt butter in a saucepan over low heat until smooth.
- Stir in granulated sugar, eggs, and vanilla extract until the mixture turns glossy and fully combined.
- Mix in unsweetened cocoa powder, all-purpose flour, baking powder, and salt until smooth, with no dry streaks.
- Spread the chocolate batter over the cooled graham cracker crust so it reaches the edges.
- Bake at 350°F for 18-20 minutes until the center is just set but still fudgy-looking.
- Remove the pan from the oven and immediately cover the entire top with mini marshmallows in an even layer.
- Return to the oven and bake for 3-4 minutes at 350°F until the marshmallows puff and start to turn golden.
- Switch to broil and toast for 1-2 minutes until the marshmallows are golden brown and glossy.
- Cool for 30 minutes before cutting with a buttered knife so the layers hold their shape.