These vegan chocolate peanut butter cake bars deliver a rich, fudgy chocolate base layered with a creamy peanut butter swirl, all without dairy, eggs, or refined sugar. Perfect for satisfying sweet cravings while staying plant-based, they’re easy to make with pantry-friendly ingredients and require no mixer. The texture is dense yet tender, with a deep chocolate flavor balanced by the nutty sweetness of peanut butter.
Ingredients
- 1 cup (120g) all-purpose flour
- 1/2 cup (50g) unsweetened cocoa powder (natural or Dutch-process)
- 3/4 cup (150g) granulated sugar (use organic to ensure vegan)
- 1 tsp baking powder
- 1/2 tsp baking soda
- 1/4 tsp salt
- 1 cup (240ml) unsweetened almond milk (or any plant-based milk)
- 1/3 cup (80ml) neutral oil (such as canola, sunflower, or refined coconut oil)
- 1 tsp vanilla extract
- 2 tbsp (30g) apple cider vinegar or white vinegar
- 1/2 cup (130g) smooth, unsalted peanut butter (check label for added sugar or oil if desired)
- 2 tbsp (16g) powdered sugar (optional, for dusting)
Instructions
- Preheat the oven to 350°F (175°C). Line an 8x8-inch (20x20 cm) square baking pan with parchment paper, leaving overhang on two sides for easy removal.
- In a large mixing bowl, whisk together the flour, cocoa powder, granulated sugar, baking powder, baking soda, and salt until well combined and no lumps remain.
- In a separate medium bowl, combine the almond milk, oil, vanilla extract, and vinegar. Stir well. The mixture may appear slightly curdled — this is normal and helps mimic buttermilk for rise and tenderness.
- Pour the wet ingredients into the dry ingredients. Use a whisk or spatula to mix until just combined. Do not overmix; a few small lumps are acceptable. Overmixing can lead to tough bars.
- Transfer about 3/4 of the chocolate batter to the prepared pan. Spread it evenly with a spatula to form the base layer.
- In a small bowl, warm the peanut butter slightly (about 15–20 seconds in the microwave) to make it easier to swirl. Spoon the peanut butter over the chocolate layer in dollops.
- Drop spoonfuls of the remaining chocolate batter over the peanut butter. Use a knife or toothpick to gently swirl the peanut butter and chocolate together in a marbled pattern. Do not over-swirl — you want distinct pockets of peanut butter.
- Bake for 25 to 28 minutes, or until a toothpick inserted into the center comes out with moist crumbs (not wet batter). The bars should feel set on top and spring back slightly when touched.
- Allow the bars to cool completely in the pan on a wire rack, about 1 hour. This is crucial for clean slicing. For best texture, refrigerate for 30 minutes before cutting.
- Use the parchment overhang to lift the bars out of the pan. Place on a cutting board and slice into 9 or 12 even squares using a sharp knife wiped between cuts.
- Optional: Dust with powdered sugar just before serving for a finished look.
Tips
- If you don’t have apple cider vinegar, white vinegar or lemon juice work as acidic components to react with baking soda. Do not skip this — it ensures proper rise.
- For a gluten-free version, substitute the all-purpose flour with a 1:1 gluten-free baking blend (ensure it contains xanthan gum).
- Overbaking is the most common mistake — these bars should remain moist. Remove them when the center is just set. They continue to firm up as they cool.
- Use natural peanut butter only if it’s stirred well and pourable. Thick, refrigerated varieties can be too stiff to swirl. If using, warm and stir thoroughly first.
Serving Suggestions
Serve these bars at room temperature for the best texture. They pair well with a cold glass of oat milk or a scoop of vegan vanilla ice cream for an indulgent dessert. For a brunch twist, serve alongside fresh banana slices and a sprinkle of crushed peanuts. These also make excellent picnic or lunchbox treats when wrapped individually.
Variations
Swap peanut butter for almond, cashew, or sunflower seed butter to accommodate allergies or taste preferences. Add 1/2 cup (90g) vegan chocolate chips to the batter before baking for extra richness. For a salted caramel twist, drizzle the cooled bars with a mixture of warmed date syrup and flaky sea salt. You can also layer in crushed pretzels between the batter and peanut butter for a sweet-and-salty crunch.
Storage and Reheating
Store the bars in an airtight container at room temperature for up to 2 days. For longer storage, refrigerate for up to 5 days. They can also be frozen for up to 3 months — wrap tightly in plastic wrap and place in a freezer-safe container. To serve from frozen, thaw in the refrigerator for 1–2 hours. Do not reheat, as the texture may become greasy. Bring to room temperature for optimal taste and consistency.
Frequently Asked Questions
Can I make these bars oil-free?
Yes. Replace the oil with an equal amount of unsweetened applesauce or mashed banana. The texture will be denser and slightly moister, but still enjoyable. Avoid overmixing to prevent gumminess.
Why did my bars turn out dry?
Dry bars are usually the result of overbaking or overmixing the batter. Bake just until a toothpick shows moist crumbs, not clean. Also, ensure your cocoa powder isn’t expired, as it can absorb more moisture over time.
Can I use protein powder instead of flour?
No. Protein powder absorbs much more liquid and behaves differently than flour. Substituting it will result in a crumbly, dry texture. If you want added protein, mix in 1–2 tablespoons of peanut butter powder instead.
Do these bars need to be refrigerated?
They can be kept at room temperature for up to 2 days, but refrigeration is recommended beyond that, especially in warm environments, to maintain structure and freshness.
Can I double the recipe?
Yes, but use a 9x13-inch pan and increase baking time to 32–36 minutes. Check with a toothpick for doneness. Do not triple the recipe in one pan, as it may not cook evenly.
Are these bars safe for nut allergies?
Only if you substitute the peanut butter with a seed butter like sunflower seed butter and ensure all ingredients are processed in a nut-free facility, especially the chocolate and flour.