Cinnamon and Cream

Peanut Butter Swirl Brownie Bars

19 min read

↓ Jump to Recipe

There is a moment, just after you pull these bars from the oven, when the kitchen smells so good you will seriously consider eating them straight from the pan. The chocolate is dark and intense, the peanut butter swirl has caramelized slightly at the edges, and the whole thing looks like something from a bakery case — except you made it in one bowl in about fifteen minutes of active work. These peanut butter swirl brownie bars are the kind of recipe that earns you a reputation.

What sets this version apart is the ratio: more fat, less flour. By leaning into butter and eggs and pulling back on flour, the bars bake up with that coveted fudgy, dense interior rather than a cakey crumb. The peanut butter swirl is not just dropped on top — it is warmed slightly so it flows into the batter, creating true marbled pockets of nutty richness in every single bite. A sprinkle of flaky salt before baking pulls everything together and makes the chocolate flavor bloom.

This is a medium-difficulty recipe that any confident beginner can tackle. No stand mixer, no tempering chocolate, no fussy techniques. It is perfect for bake sales, potlucks, a weekend treat, or honestly any Tuesday when you need something deeply satisfying. If you have a 9×13-inch pan and 45 minutes, you are already most of the way there.

Prep: 20 minutesTotal: 1 hour (including cooling time)Yield: one 9×13-inch pan, cut into 16 barsDifficulty: ★★☆ IntermediateOccasion: Weekend Bake
✓ Vegetarian
Servings:

16

servings

Ingredients

  • Topping
  • 226 gunsalted butter (1 cup / 2 sticks), cut into pieces
  • 200 gdark chocolate chips or chopped dark chocolate (1 and 1/3 cups), 60 to 70% cacao
  • 300 ggranulated sugar (1 and 1/2 cups)
  • 100 glight brown sugar, packed (1/2 cup)
  • 4 largeeggs, at room temperature
  • 2 tsppure vanilla extract
  • 120 gall-purpose flour (1 cup, spooned and leveled)
  • 60 gunsweetened Dutch-process cocoa powder (3/4 cup, sifted)
  • 1 tspfine sea salt
  • 240 gcreamy peanut butter (about 1 cup), natural or commercial
  • 30 gpowdered sugar (3 tbsp), sifted
  • 1 tspflaky sea salt (such as Maldon)
  • Greasing The Pan
  • Extra butter or nonstick spray

Ingredient Substitutions

unsalted butter

  • Equal weight of coconut oil (refined, for neutral flavor) — the bars will be slightly less rich and may be a touch greasier
  • Vegan butter (same weight) — works well for a dairy-free version, results are nearly identical
dark chocolate chips or chopped dark chocolate

  • Semi-sweet chocolate chips (same weight) — slightly sweeter and less intense, still delicious
  • Unsweetened chocolate (same weight) — reduce sugar by 30g for balance, results in a more bittersweet bar
eggs

  • Flax eggs (1 tbsp ground flaxseed + 3 tbsp water per egg, rested 5 minutes) — bars will be slightly denser and less glossy on top but still fudgy
  • Do not use aquafaba here — the bars will not set correctly without enough binding fat
creamy peanut butter

  • Almond butter or cashew butter (same amount) — swaps in seamlessly for a different but equally delicious nutty note
  • Sunflower seed butter (same amount) — nut-free option, note that it may turn the swirl slightly greenish due to a reaction with baking soda if your pan has any residue; flavor is excellent
Dutch-process cocoa powder

  • Natural unsweetened cocoa powder (same amount) plus 1/4 tsp baking soda added to the batter — Dutch-process is less acidic so the addition of baking soda helps balance; flavor will be slightly sharper and fruitier
  • Black cocoa powder (replace half the Dutch-process cocoa) — creates an even darker, more Oreo-like intensity
all-purpose flour

  • 1:1 gluten-free baking flour (same weight) — works well in brownies because the low flour ratio means structural differences are minimal; use a blend with xanthan gum included

Instructions

🔧 Equipment

🟫9×13-inch metal baking pan
💨8×8-inch metal or foil pan (for air fryer method)
🥣large heatproof mixing bowl
♨️medium saucepan (for double boiler)
🍴flexible silicone spatula
🌀whisk
🔵fine-mesh sieve or sifter
🔪butter knife or wooden skewer (for swirling)
🔵wire cooling rack
📄parchment paper
💨air fryer (for air fryer method)
📡microwave-safe mug or ramekin, at least 12 oz (for microwave method)
🔪sharp chef’s knife or bench scraper (for slicing)



Prep: 20 minutes
Bake: 28 to 32 minutes at 350°F (175°C)
Total: 1 hour (including cooling)
  1. Preheat your oven to 350°F (175°C). Grease a 9×13-inch metal baking pan with butter or nonstick spray, then line with parchment paper leaving a 2-inch overhang on the long sides. This sling makes removing the bars effortless.
  2. Melt the butter and dark chocolate together in a large heatproof bowl set over a saucepan of barely simmering water, stirring occasionally, until completely smooth. Alternatively, microwave in 30-second bursts, stirring between each, until melted. Remove from heat and let cool for 5 minutes — it should feel warm but not hot to the touch.
  3. Whisk both sugars into the warm chocolate mixture until fully incorporated. Add the eggs one at a time, whisking vigorously after each addition. Whisk for a full 60 seconds after the last egg — this is what creates that signature crinkly, shiny top. Stir in the vanilla.
  4. Sift the flour, cocoa powder, and fine sea salt directly into the bowl. Switch to a flexible spatula and fold gently until just combined — a few faint streaks of flour are fine. Do not overmix, as this develops gluten and leads to cakey rather than fudgy bars.
  5. In a small microwave-safe bowl, combine the peanut butter and powdered sugar. Microwave for 20 to 30 seconds and stir until smooth and slightly fluid. The powdered sugar stabilizes the peanut butter so the swirl holds its shape rather than sinking.
  6. Pour the brownie batter into the prepared pan and spread to an even layer. Drop the peanut butter mixture in large spoonfuls across the surface — you want about 12 to 15 dollops. Use a butter knife or wooden skewer to swirl in wide figure-eight motions, pulling through the batter about 4 to 5 times. You want distinct ribbons, not a fully blended mixture.
  7. Sprinkle the flaky sea salt evenly over the top. Bake on the center rack for 28 to 32 minutes, until the edges are set and the center looks just slightly underdone — a toothpick inserted 2 inches from the edge should come out with moist crumbs, not wet batter. The center will firm up as it cools.
  8. Allow the bars to cool completely in the pan on a wire rack, at least 45 minutes, before lifting out using the parchment sling and slicing. For the cleanest cuts, refrigerate for 30 minutes after cooling, then slice with a sharp knife wiped clean between cuts.
Prep: 20 minutes
Bake: 22 to 26 minutes at 325°F (163°C)
Total: 55 minutes (including cooling)
This method is ideal for small batches. Use an 8×8-inch metal or foil pan that fits inside your air fryer basket. The recipe will yield 9 thicker bars. Reduce the total batter by half or bake in two batches.
  1. Make a half batch of the brownie batter and peanut butter swirl following steps 2 through 6 in the oven method. Prepare an 8×8-inch metal pan that fits your air fryer basket with a parchment sling.
  2. Preheat your air fryer to 325°F (163°C) for 3 minutes. The lower temperature than a standard oven is important here — air fryers circulate heat intensely and the top of the brownie will set too quickly at higher temperatures, leaving the center underbaked.
  3. Pour the batter into the prepared pan, add the peanut butter swirl, and sprinkle with flaky salt. Place the pan into the air fryer basket. If your air fryer has a strong fan, loosely tent the pan with a small piece of foil for the first 15 minutes to prevent the top from drying out before the interior cooks through.
  4. Bake at 325°F (163°C) for 22 to 26 minutes total. Remove the foil tent (if using) at the 15-minute mark to allow the top to set and develop a slight crust. Check at 22 minutes — the edges should be set, the center should have a slight jiggle but no visible wet batter.
  5. Remove the pan from the air fryer and cool on a wire rack for at least 40 minutes before slicing. These bars are particularly fudgy due to the fast even heat, so patience during cooling is especially important.
Prep: 20 minutes
Bake: 90 to 120 seconds on High
Total: 15 minutes
This method makes 2 individual brownie servings in mugs or small microwave-safe ramekins. It uses a simplified version of the batter and is perfect for a quick single-serving treat. Texture will be softer and more pudding-like than the baked version.
  1. In a medium microwave-safe mug or ramekin (at least 12 oz capacity), combine 2 tbsp unsalted butter and 3 tbsp dark chocolate chips. Microwave in 20-second bursts, stirring between each, until fully melted and smooth.
  2. Whisk in 3 tbsp granulated sugar, 1 egg yolk (not the whole egg — the white makes it rubbery in the microwave), and 1/4 tsp vanilla extract until smooth. Add 2 tbsp all-purpose flour, 1 tbsp Dutch-process cocoa, and a tiny pinch of fine salt. Stir until just combined.
  3. In a separate small bowl, stir together 1 tbsp peanut butter and 1/2 tsp powdered sugar until smooth. Drop half onto the surface of the batter in each mug and swirl once with a toothpick. Sprinkle a tiny pinch of flaky salt over the top.
  4. Microwave on High (100% power) for 60 seconds. Check the texture — the edges should be set and the very center may look slightly underdone. If the center is still visibly wet batter, microwave in 15-second increments until just set. Do not overcook or the texture becomes rubbery and dry.
  5. Let the mug brownie rest for 2 minutes before eating — it will continue to cook slightly from residual heat and the center will firm to a soft, fudgy texture. Serve directly in the mug, optionally topped with a small scoop of vanilla ice cream.

Nutrition Per Serving

Per 1 serving (makes one 9×13-inch pan, cut into 16 bars)

385Calories
44gCarbs
33gSugar
22gFat
7gProtein

Why This Recipe Works

The fudgy texture of these bars comes down to fat-to-flour ratio. By using 226g of butter and melted chocolate alongside only 120g of flour, we ensure there is far more fat than structure — and fat is what creates that dense, moist, almost truffle-like interior. The two sugars play different roles: granulated sugar contributes to the crinkly top crust (as it dissolves and re-crystallizes on the surface during baking), while brown sugar adds moisture and a subtle molasses depth that makes the chocolate flavor more complex.

Whisking the eggs vigorously into the warm chocolate mixture for a full minute is not just about combining them — it incorporates tiny air bubbles and partially emulsifies the batter, which is exactly what creates that glossy, papery top crust that brownie lovers obsess over. The warm (not hot) chocolate mixture is key here: too hot and the eggs scramble, too cool and the sugar does not dissolve properly. The brief cooling period before adding eggs is a step worth taking seriously.

The peanut butter swirl is warmed and mixed with a small amount of powdered sugar before it goes on top. This serves two purposes: warming loosens it enough to create real ribbons rather than stiff blobs, and the powdered sugar (which contains a small amount of cornstarch) slightly thickens the mixture so it stays suspended in the batter rather than sinking to the bottom. If your swirl ever disappears into the batter, it is usually because the peanut butter was too warm and thin. A brief rest in the refrigerator can help firm it back up before swirling.

Baker’s Tips

  • Use a metal baking pan rather than glass or ceramic. Metal conducts heat more efficiently and evenly, giving you better-set edges without overbaking the center.
  • Room temperature eggs are not optional here — cold eggs can cause the warm melted chocolate to seize or the batter to look broken. If you forgot to take them out, submerge them in warm (not hot) water for 5 minutes.
  • The toothpick test for brownies is tricky because fudgy brownies should NOT come out clean. Look for moist crumbs clinging to the toothpick when tested 2 inches from the edge. Wet smeared batter means more time is needed; a clean toothpick means they are overbaked.
  • Let the bars cool completely before cutting, or refrigerate for 30 minutes after cooling. Warm brownies are glorious to eat but impossible to slice cleanly.
  • If using natural peanut butter (the kind where the oil separates), stir it very thoroughly before measuring. The oil separation can make the swirl greasy if unmixed.
  • Sift the cocoa powder even if you are in a hurry — cocoa clumps stubbornly and unsifted cocoa creates dry bitter pockets in the finished bars.

Variations

  • Chocolate chips addition: Fold 100g (2/3 cup) of semi-sweet chocolate chips into the batter just before pouring into the pan for extra pockets of melted chocolate.
  • Espresso boost: Add 1 tsp of instant espresso powder to the melted butter and chocolate mixture — this deepens the chocolate flavor without making the bars taste like coffee.
  • Crunchy peanut butter version: Use crunchy peanut butter in the swirl for added texture and little nuggets of peanut throughout each bite.
  • Salted caramel swirl: Replace the peanut butter swirl with 80g of thick salted caramel sauce for a different but equally indulgent variation.
  • Gluten-free: Substitute the all-purpose flour with an equal weight of a 1:1 gluten-free baking flour blend containing xanthan gum. Results are nearly identical.

Troubleshooting & FAQ

My brownie bars came out cakey instead of fudgy. What went wrong?
There are a few likely culprits. First, overmixing once the flour is added develops gluten and traps air, both of which create a lighter, cakey texture — fold gently and stop as soon as no dry streaks remain. Second, overbaking is the most common cause: even five extra minutes can push fudgy into cakey. Pull the pan when the center still looks slightly underdone. Third, if you used natural cocoa instead of Dutch-process without adjusting, the extra acidity can affect the crumb structure.
The peanut butter swirl disappeared into the batter and I cannot see it in the baked bars. What happened?
This happens when the peanut butter was too warm and fluid, or when it was swirled too aggressively. The swirl should be just fluid enough to drop from a spoon but still hold some shape. If your peanut butter is very oily, add an extra half teaspoon of powdered sugar to firm it slightly. When swirling, use light, wide strokes — 4 to 5 passes maximum. Over-swirling fully blends the two batters and eliminates the distinct ribbon effect.
My batter looked broken and greasy after adding the eggs. Is it ruined?
Not at all — keep whisking. A broken-looking brownie batter almost always comes together with another 30 to 60 seconds of vigorous whisking. This happens most often when the chocolate mixture is too hot (the eggs partially cook and seize) or too cold (the fat re-solidifies and rejects the eggs). Aim for the chocolate mixture to feel warm but comfortable to hold your hand near. If it is truly seized and grainy, gently warming the bowl over the hot water bath while whisking can bring it back together.
The edges are overbaked and dry but the center is still underdone. How do I fix this?
This is usually an oven temperature issue. Many home ovens run hot or have uneven heat distribution. Try reducing your oven temperature by 25°F (about 15°C) and extending the bake time by 5 to 8 minutes. Placing the pan on the center rack (not the bottom) also helps. If your oven has a known hot spot at the back, rotate the pan 180 degrees at the halfway point. An oven thermometer is a worthwhile investment for consistent baking.
Can I double this recipe, and if so, do I need to adjust anything?
Yes, you can double the recipe and bake it in two 9×13-inch pans side by side. Do not try to bake a double batch in one pan — the increased depth will mean the center stays raw while the edges overbake. When baking two pans at once, rotate them (switching racks and rotating 180 degrees) halfway through baking to account for uneven heat. Add 3 to 5 extra minutes to the total bake time and check both pans individually since they may finish at slightly different times.

Storage & Make-Ahead

  • Storage: Store cut bars in an airtight container at room temperature for up to 4 days. Layer between sheets of parchment paper to prevent sticking. Refrigerate for up to 1 week — the cold temperature firms them up nicely for an even fudgier texture. Freeze individually wrapped bars for up to 3 months; thaw at room temperature for 30 minutes before serving.
  • Make-Ahead: The brownie batter (without the peanut butter swirl) can be made up to 24 hours ahead, covered tightly, and refrigerated. Before baking, let it come to room temperature for 20 minutes, then add the peanut butter swirl and bake as directed. Fully baked and cooled bars keep well and actually improve in texture after a day, making them an ideal make-ahead treat for events.


Leave a Comment