Pin it I discovered this cake last winter while scrolling through videos at midnight, mesmerized by the way melted chocolate cascaded over something called a Dubai bar. Instead of hunting down the real thing, I figured I'd bake a shortcut version in my own kitchen—dense, fudgy, studded with pistachios that crunch between your teeth. What started as a late-night curiosity turned into something I now make whenever I need to feel like I've accomplished something delicious without fussing for hours.
My neighbor knocked on my door one afternoon while these squares were still warm, drawn by the smell of toasted cocoa and butter wafting through our shared hallway. She took one bite, closed her eyes, and said nothing for a solid minute—sometimes that's how you know you've nailed something. We ended up sharing the whole pan over coffee and conversation that stretched into evening, which felt like the highest compliment a cake could receive.
What's for Dinner Tonight? 🤔
Stop stressing. Get 10 fast recipes that actually work on busy nights.
Free. No spam. Just easy meals.
Ingredients
- All-purpose flour: The foundation that keeps this cake tender rather than dense like a brownie, so don't skip measuring it properly.
- Unsweetened cocoa powder: Gives you pure chocolate flavor without added sweetness, letting the pistachios and good chocolate shine through.
- Baking powder: Just enough to give the cake a slight crumb structure while keeping it fudgy in the center.
- Fine sea salt: A pinch that amplifies all the other flavors, especially the nuttiness and chocolate depth.
- Unsalted butter: Melted and cooled slightly before mixing, which creates a silky, cohesive batter.
- Granulated sugar: Whisked with butter to create the base that holds everything together and adds subtle richness.
- Eggs at room temperature: They blend in more smoothly and help create that tender crumb, so take them out of the fridge while you prep.
- Roasted pistachios: Already roasted so they bring their full nutty flavor; rough chop them to avoid a paste-like texture.
- Dark chocolate: Quality matters here since it's a main flavor player, not a supporting role.
- Flaky sea salt topping: Optional but worth it—the contrast between salt crystals and sweet chocolate is addictive.
Tired of Takeout? 🥡
Get 10 meals you can make faster than delivery arrives. Seriously.
One email. No spam. Unsubscribe anytime.
Instructions
- Get everything ready:
- Preheat your oven to 350°F and line your 8-inch square pan with parchment paper, leaving some overhang so you can lift the whole cake out later. This step saves you from wrestling with a crumbly cake and a stubborn pan.
- Mix your dry team:
- Whisk flour, cocoa powder, baking powder, and salt in a medium bowl until they're evenly distributed. You're looking for no streaks of cocoa powder, which means a more uniform crumb.
- Build your wet base:
- In a large bowl, whisk your melted cooled butter with sugar until it looks smooth and slightly pale. Add eggs one at a time, whisking well after each so the batter stays emulsified and silky.
- Bring it together gently:
- Fold the dry ingredients into the wet mixture using a rubber spatula, stopping as soon as you don't see streaks of flour. Overmixing here creates tough cake, which is the enemy of what we're going for.
- Fold in your mix-ins:
- Gently fold in the chopped pistachios and chocolate until they're evenly scattered throughout. Take your time here so you don't deflate all the air you've worked to incorporate.
- Into the pan and onto heat:
- Scrape the thick batter into your prepared pan and smooth the top with your spatula. Top with extra pistachios and a light sprinkle of flaky salt if you're feeling it.
- Bake with attention:
- Bake for 28 to 32 minutes—the toothpick test is your guide here, but moist crumbs are your friend. You want it fudgy, not underbaked and gooey, so find that sweet middle ground.
- Cool and cut:
- Let the cake cool completely in the pan before you even think about touching it. Once it's completely cool, lift it out using the parchment overhang and cut into twelve squares with a sharp knife.
Pin it There's something quietly satisfying about pulling a pan out of the oven and seeing the top set while the center still jiggles just slightly—it means you've hit that perfect moment between cooked and just-barely-gooey. That's when I know I'm about to have something special to share or hoard, depending on the day.
Still Scrolling? You'll Love This 👇
Our best 20-minute dinners in one free pack — tried and tested by thousands.
Trusted by 10,000+ home cooks.
Why Pistachios and Chocolate Are Meant to Be Together
Pistachios bring an earthiness and subtle sweetness that makes chocolate taste richer and more complex than it would on its own. The contrast in flavor is what keeps you reaching for another square instead of getting bored halfway through. I've learned this lesson through plenty of chocolate cakes that felt one-note until I added something with character.
Making This Cake Your Own
Once you've made this version a few times, the base becomes a canvas for your own ideas. Some people swear by adding a hint of cardamom or cinnamon, while others prefer a white chocolate drizzle on top. The beauty of a simple cake is that it's sturdy enough to handle your experiments without falling apart.
Storage and Serving Wisdom
These squares actually taste better on day two or three when the flavors have settled and deepened, so don't feel rushed to eat them all immediately. They keep at room temperature in an airtight container without drying out, and they're just as good with coffee in the morning as they are with tea in the afternoon.
- Keep them in an airtight container at room temperature for up to three days, or wrap individual squares in parchment and freeze for up to a month.
- If you want to dress them up, a drizzle of melted chocolate or a scoop of vanilla ice cream transforms them from snack into dessert.
- These squares travel well too, so they're perfect for lunchboxes, bake sales, or bringing to a friend's house when you want to show up empty-handed but not really.
Pin it This cake lives in that perfect space between indulgent and approachable, making it something you can bake for a dinner party or just for yourself on a quiet afternoon. Once you realize how easy it is, you might find yourself making it more often than you expected.
Recipe FAQs
- → How do pistachios affect the texture?
Roasted pistachios add a crunchy contrast to the fudgy, dense texture, enhancing each bite with nutty flavor and bite.
- → Can I substitute the flour for gluten-free options?
Yes, a 1:1 gluten-free baking blend works well without compromising the texture or flavor.
- → What type of chocolate is best for this bar?
High-quality dark chocolate with robust flavor enriches the bar, balancing the nuttiness and cocoa powder.
- → How to avoid overbaking?
Bake until a toothpick comes out with moist crumbs; overbaking leads to dryness and loss of fudgy texture.
- → What beverages pair well with this dessert?
Coffee or mint tea complement the richness and nuttiness, enhancing the overall tasting experience.
- → Can I add toppings?
Sprinkling extra chopped pistachios and flaky sea salt on top before baking adds flavor and texture contrast.