Once the Dubai chocolate bar trend took over, it was only a matter of time before someone turned the whole thing into a cake.
Layers of rich chocolate cake, a crispy pistachio kunafa filling sandwiched in between, and a glossy chocolate ganache drip finished with even more crunchy kunafa and chopped pistachios on top. It’s a full dessert experience, built around everything people love about the original viral bar.
If the bar had you curious but you wanted something a bit more shareable for a group, this cake is exactly that. 🍰
Why This Recipe Works So Well
Using a rich, moist chocolate cake as the base gives you something sturdy enough to hold up to a generous, crunchy filling without falling apart.
Toasting the kunafa noodles before mixing them into the pistachio filling is what gives this cake its signature crunch running through the middle, the same trick that makes the original bar so addictive.
And a smooth chocolate ganache drip on the outside ties everything together, giving you that same rich chocolate shell the bar is known for, just in cake form.
What You’ll Need

For the chocolate cake:
- 2 cups all-purpose flour
- 2 cups sugar
- 3/4 cup cocoa powder
- 2 teaspoons baking soda
- 1 teaspoon baking powder
- 1 teaspoon salt
- 2 large eggs
- 1 cup buttermilk
- 1/2 cup vegetable oil
- 1 cup hot coffee or hot water
- 1 teaspoon vanilla extract
For the kunafa pistachio filling:
- 3 oz kunafa noodles (kataifi), finely chopped
- 3 tablespoons unsalted butter
- 1/2 cup pistachio cream
- 2 tablespoons tahini
- 1/4 cup chopped roasted pistachios
For the ganache and topping:
- 8 oz semisweet chocolate, chopped
- 3/4 cup heavy cream
- Extra toasted kunafa and chopped pistachios, for topping
Nineteen ingredients across three components, but each part is straightforward on its own.
Tools You’ll Need
- Two 8 or 9-inch round cake pans
- A large mixing bowl
- An electric mixer
- A skillet
- A small saucepan (for the ganache)
- A cake stand or plate
- An offset spatula
How to Make Dubai Chocolate Cake
- Preheat your oven to 350°F and grease your cake pans.
- Whisk together the flour, sugar, cocoa powder, baking soda, baking powder, and salt in a large bowl.
- Add the eggs, buttermilk, oil, and vanilla extract, mixing until combined.
- Slowly stir in the hot coffee or water until the batter is smooth (it will be thin, which is normal).
- Divide the batter between the prepared pans and bake for 30 to 35 minutes, until a toothpick comes out clean.
- Let the cakes cool completely before assembling.
- While the cakes cool, toast the chopped kunafa noodles in a skillet with butter until golden and crispy.
- Mix the toasted kunafa with the pistachio cream, tahini, and chopped pistachios to make the filling.
- Place one cooled cake layer on your serving plate and spread the kunafa pistachio filling evenly over the top.
- Place the second cake layer on top, pressing down gently.
- Heat the heavy cream until just simmering, then pour it over the chopped chocolate, letting it sit for a minute before stirring until smooth to make the ganache.
- Pour the ganache over the top of the cake, letting it drip down the sides.
- Top with extra toasted kunafa and chopped pistachios before serving.
Thirteen steps, and the payoff is a cake that looks like it came from a bakery window.
Pro Tips From Baking This a Few Times
Let the cake layers cool completely before filling. Warm cake will melt the pistachio filling and ganache, making the whole thing slide apart instead of staying neatly layered.
Toast the kunafa until deeply golden. This is where most of the crunch comes from, so don’t pull it off the heat too early.
Use room temperature ganache for a cleaner drip. Ganache that’s too hot runs straight off the cake, while ganache that’s too cool won’t drip at all. Aim for a pourable, slightly thick consistency.
Don’t overfill the middle layer. A generous but even layer of filling holds up better when sliced than an overly thick, unstable one.
Chill the cake briefly before slicing. A short 15 to 20 minutes in the fridge after assembling helps everything set and makes for cleaner slices.
Substitutions and Variations

| Swap this | For this |
|---|---|
| Pistachio cream | Pistachio butter blended with a touch of honey |
| Tahini | Almond butter (different flavor, still works) |
| Semisweet chocolate ganache | Milk chocolate ganache for a sweeter finish |
| Kunafa noodles | Finely chopped shredded phyllo dough |
| From-scratch cake | A boxed chocolate cake mix as a shortcut base |
You can also add a thin layer of extra pistachio cream between the ganache and the top garnish for an even richer bite.
Make Ahead Tips
Bake the cake layers up to 2 days ahead and store them wrapped tightly at room temperature or in the fridge.
The kunafa filling can also be made a day ahead and stored in the fridge, though it’s best to fully assemble and add the ganache closer to serving time for the freshest look and texture.
A Few Extra Details Worth Knowing
Nutrition-wise, a single slice lands around 480 to 550 calories, depending on the size of the slice and how generous the filling and ganache are.
For different diets:
- Gluten-free: use a gluten-free flour blend for the cake and note that kunafa noodles contain wheat, so a substitute would be needed for a fully gluten-free version
- Dairy-free: use dairy-free butter, a plant-based buttermilk substitute, and dairy-free chocolate and cream for the ganache
- Nut-free: this recipe relies heavily on pistachio, so a nut-free version isn’t really feasible without major changes
Pairing suggestions: this cake pairs well with a strong coffee or espresso, since the bitterness helps balance the sweetness.
Time-saving tip: bake the cake layers a day ahead so assembly day is just making the filling and ganache.
Leftovers and Storage
Store covered in the fridge for up to 5 days.
Let slices sit at room temperature for about 15 minutes before serving for the best texture, since cold cake can taste a bit dense straight from the fridge.
This cake can also be frozen, unfrosted, for up to 2 months. Add the ganache and toppings fresh after thawing.
FAQ
Where can I find kunafa noodles and pistachio cream?
Middle Eastern grocery stores typically carry both, and they’re also available through many online retailers.
Can I make this as cupcakes instead of a layer cake?
Yes, bake the batter in a cupcake tin, then core out the center of each cupcake slightly to add a small amount of the kunafa filling before topping with ganache.
Why did my ganache turn out grainy?
This usually happens if the chocolate seizes from overheating or moisture getting into the mixture. Heat the cream gently and stir the chocolate in slowly for the smoothest results.
Can I use a box cake mix instead of baking from scratch?
Yes, a boxed chocolate cake mix works as a shortcut base and cuts down on prep time significantly.
Is this cake very sweet?
It’s a rich dessert, though the tahini and pistachio filling bring some savory balance that keeps it from tasting one-note sugary.
Wrapping Up
This cake takes everything people love about the viral chocolate bar and turns it into something built for sharing.
Rich chocolate layers, a crunchy pistachio filling, and a glossy ganache drip that make it as fun to look at as it is to eat.
Make one for your next celebration and let me know how it turns out in the comments. I’d love to hear how your layers came together, and if you have any questions along the way, just ask. I read every comment.