This chocolate pistachio cake is inspired by the viral Dubai chocolate bar. It's made with layers of chocolate cake, filled with pistachio cream and crunchy kataifi, and frosted with a melt-in-your-mouth whipped chocolate ganache.

Jump to:
Notes from the baker
This chocolate pistachio cake is inspired by the viral chocolate bar called "Can't Get Knafeh of It", or simply known as Dubai chocolate, created by Fix Dessert Chocolatier in Dubai. It features same iconic pistachio-kataifi filling as the famous chocolate bar with layers of chocolate cake and chocolate ganache frosting in place of the chocolate shell.
I made this as my birthday cake this year. It's truly a chocolate lover's dream. It's incredibly rich and decadent with a unique and unexpected filling.
I'm already thinking of other ways to incorporate the delicious filling into other chocolate desserts!
Why you'll love this recipe
- Soft chocolate cake layers. An easy-to-make chocolate cake that is my go-to recipe.
- Super crunchy toasted kataifi filling. The crunch is incredible! If you've tried the Dubai chocolate bar or kataifi made in the same way, you know what it's like!
- Delicious pistachio flavour. Pistachio and chocolate go so well together and it's an easy way to elevate this chocolate cake.
- Rich whipped dark chocolate ganache frosting. This fluffy ganache frosting melts in your mouth and is a welcome change from the usual buttercream frosting.

Tools
- 6" cake pans - This recipe was developed for a 3-layer 6" cake. If you want to use 8" cake pans, multiply all the ingredients by 1.8x or simply double the recipe to avoid any weird decimals.
- Whisk - You only need a whisk to mix the cake batter but you can also use a hand mixer if you prefer.
- Electric hand mixer - You'll need a hand mixer to whip the ganache frosting.
- Frying pan - You'll need a pan to toast the kataifi. Try to use a large pan so that there's enough room to spread the kataifi out so that it toasts evenly.
- Cake turntable - A turntable makes frosting cakes so much easier. If you're buying a new one, I would highly recommend spending a little more on a full metal turntable rather than a plastic one. Metal turntables are heavier (so they don't move around) and spin much smoother.
- Offset spatula - A offset spatula makes spreading the filling and frosting easier because it's bent at the perfect angle.
- Bench scraper - This is optional but a bench scraper allows you to smooth the frosting around the cake for straight edges. Depending on how you want to frost your cake and the design you want to create, you might not need it at all.
Ingredient notes
As always, the full recipe card with ingredient amounts and instructions is at the bottom of this post! Keep reading for more details on each ingredient or skip ahead to the recipe.
- All-purpose flour
- Cocoa powder - Use natural cocoa powder (usually the most common kind of cocoa powder you can find in store). You could also probably use dutch-processed cocoa powder with fine results but this recipe has not been tested with it.
- Baking powder
- Baking soda
- Salt
- Unsalted butter - This should be melted and cooled until it's lukewarm. Don't use the melted butter while it's hot - we don't want to dissolve all the sugar or cook the eggs in the batter.
- Oil - Use any light-tasting oil such as canola oil, avocado oil, or grapeseed oil. Using a combination of oil and butter makes the cake softer than an all-butter cake.
- Granulated sugar
- Brown sugar
- Eggs - These should be at room temperature. If you forget to take them out ahead of time, you can submerge them in a bowl of warm water for 5 minutes.
- Milk - Use any dairy or non-dairy milk that you prefer. It's important that this is also at room temperature to prevent the butter from solidifying into little chunks.
- Kataifi pastry - Kataifi, also called kadayif or katayif, is a type of shredded phyllo pastry commonly used in Turkish and Middle Eastern desserts. It can be found frozen or dry (shelf stable). This recipe was tested with the dry kind which may be easier to find online and easier to work with.
- Pistachio cream - This is a pistachio spread made with pistachios and usually milk-based ingredients and oils to make it a milky and spreadable texture.
- Dark chocolate - I would recommend using 55-70% dark chocolate. 70% dark chocolate will be on the more bitter side so it depends on what you prefer! Be sure to finely chop it so that it melts evenly.
- Whipping cream or heavy cream - Ganache works best when made with heavy cream because of the higher fat content but whipping cream also works.
- Pistachios - You only need a small handful of chopped pistachios to decorate the top of the cake.

Tips for making the best chocolate pistachio cake
- Use room temperature ingredients. This is important in all recipes that call for it but especially in this one since we're using melted butter. Room temperature ingredients such as eggs and milk mix more seamlessly into the batter and won't cause the butter to solidifying or curdle.
- Use cake strips for flatter cake layers. The cake layers may bake with a domed top if the sides of the cake cook faster than the middle. You can either cut off the domed top once the cake layers have cooled or bake the cakes with cake strips. Cake strips are strips of fabric that you soak in water and wrap around the outside of the cake pans to help lower the temperature of the pan. You can also make DIY cake strips with wet paper towels wrapped in aluminum foil.
- Use a large pan to toast the kataifi. Once the kataifi starts toasting, it happens pretty quickly. A large pan allows you to spread the kataifi out and have room to move the pastry around so that each little piece toasts evenly.
- Use the ganache frosting immediately after whipping. Whipped ganache tends to firm up pretty quickly after whipping. It works best if used right away. If it becomes too stiff, you can re-whip it but be careful not to overwhip.
- Run your metal spatula and bench scraper under hot water to create a smooth finish in the frosting. Since the ganache is chocolate-based, it will melt and soften when exposed to heat. Using hot tools allows you to move the frosting around or create designs in it by slightly warming the surface.
Storage
This chocolate pistachio cake can be stored covered or in an airtight container at room temperature for a few hours or in the fridge for up to 3 days. Let the cake come back to room temperature before serving.
Leftovers can be frozen in an airtight container or wrapped well in plastic wrap and/or aluminum foil for up to 1 month. Thaw at room temperature for 1-2 hours or in the fridge overnight.

Frequently asked questions
To make an 8" cake, the exact conversion is 1.8x or you can double the recipe to avoid any decimals. Bake the cake layers for a few minutes longer.
Baking by weight is much more accurate than volume. When using US standard cups, ingredients like flour and sugar can easily be overpacked into the cup causing you to add too much of certain ingredients. Recipes with weight measurements are also easier to scale to smaller or bigger batches without dealing with weird fractions. To measure by weight, you simply need a kitchen scale which you can usually pick up for less than $20.
Small measurements are given in tablespoons and teaspoons because most kitchen scales are not accurate under about 10g. Tiny amounts like a ¼ teaspoon may not register accurately unless you have a drug scale. Mixing these measurements is a common practice among other recipe sites and commercial kitchens.
More cake recipes to try
- Raspberry Pistachio Cake
- Strawberry Chocolate Cake
- Chocolate Mousse Cake
- Chocolate Orange Cake
- Chocolate Cake with Peanut Butter Frosting
Recipe

Dubai Chocolate Pistachio Cake
Equipment
- 1 whisk
Ingredients
Chocolate Cake
- 190 g all-purpose flour
- 75 g natural cocoa powder
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- ½ teaspoon salt
- 115 g unsalted butter, melted and cooled
- 100 g light-tasting oil, e.g. canola oil, avocado oil, etc.
- 100 g granulated sugar
- 100 g brown sugar
- 2 large eggs, room temperature
- 330 g milk, dairy or non-dairy, room temperature
Pistachio Kataifi Filling
- 100 g kataifi pastry (shredded phyllo pastry), also called kadayif or katayif
- 250 g pistachio cream
Whipped Chocolate Ganache Frosting
- 200 g dark chocolate, finely chopped
- 300 g whipping cream or heavy cream
- pistachios, shelled and chopped
Instructions
Chocolate Cake
- Prep: Preheat oven to 350°F. Line three 6" cake pans with rounds of parchment paper on the bottom. Set aside.
- Flour mixture: In a medium bowl, stir together the flour, cocoa powder, baking powder, baking soda, and salt. Set aside.
- Whisk: In a large mixing bowl, add the melted butter, oil, granulated sugar, and brown sugar. Whisk until combined. Add the eggs and whisk until smooth and combined.
- Alternate adding flour mixture and milk: Add half of the flour mixture and whisk until mostly combined. Add half of the milk and whisk until mostly combined. Repeat with the remaining flour mixture and milk until you have a smooth and fluid batter.
- Fill pans: Divide the batter into your three lined 6" cake pans, about 360g of batter in each pan.
- Bake: Bake cakes for about 35-40 minutes or until a toothpick inserted in the middle comes out mostly clean. Let the cakes cool in the pan on a wire rack until they're cool enough to handle without oven mitts.
- Level cakes: Run an offset spatula around the edges of the cake . Turn the cake layers out onto a wire rack and let them cool completely. Once cooled, use a serrated knife to level the cake layers (cut off the domed top) until flat and even.
Pistachio Kataifi Filling
- Toast: In a large dry pan on medium heat, add the kataifi pastry. If you're using dry kataifi, you can add it straight to the pan. If you're using frozen kataifi, you'll need to chop it up into smaller pieces first. Toast the kataifi until evenly golden brown, moving it around with a spatula often to prevent burning.
- Mix: Once golden brown, remove the pan from the heat. Add the pistachio cream and mix it thoroughly with the toasted kataifi. The residual heat from the pan will melt the pistachio cream so that it's easier to mix. Set aside to cool.
Whipped Chocolate Ganache Frosting
- Heat cream: In a medium bowl, add the finely chopped chocolate. In a pan on low-medium heat or in the microwave, heat the cream until tiny bubbles start coming to the surface and it just barely begins to simmer.
- Melt chocolate: Pour the hot cream on top of the chopped chocolate and let it sit undisturbed for about 5 minutes. Then, start stirring the mixture starting from the middle of the bowl outwards until all the chocolate has melted and the ganache is smooth.
- Cool: Let the ganache cool to room temperature either on the counter or in the fridge to speed up the process. Meanwhile, start assembling the cake.
Assemble the cake
- Layer: On a cake turntable, lay down a cake board. Place the first cake layer down on the board. Add half of the pistachio kataifi mixture on top of the cake layer and use an offset spatula to spread it out into a flat layer. Place the second cake layer on top and repeat.
- Whip ganache: Once the ganache is cooled and firmed up, use an electric hand mixer to whip the ganache for a few minutes until it lightens in colour and holds peaks. Use it to frost the cake immediately.
- Crumb coat: Spread a thin layer of whipped ganache around the cake as a crumb coat, focusing on the gaps in between the cake layers. Smooth the ganache with a bench scraper.
- Frost cake: Spread the rest of the whipped ganache on the cake and smooth with a bench scraper.
- Frosting design: Starting at the bottom of the cake, drag an offset spatula upwards through the ganache and repeat across the whole cake to create a vertical pattern. Drag the spatula across the top of the cake while spinning the turntable to create a spiral pattern on top.
- Decorate: Sprinkle the top with chopped pistachios to finish it off. Run a sharp knife under hot water and wipe dry before slicing for clean cuts.











Nishat says
I doubled this recipe to make it a three layer 8" cake. It was a complete hit! I made this for my niece's 16th birthday and a party of 30 people. There was more than enough cake to go around as well as plenty left over.
My adjustments/replacements:
- Replaced some of the milk in the cake batter with natural yoghurt
- Added some strong hot coffee to cake batter
- Used pre-made pistachio kunafe to make life a little easier
- Left the ganache unwhipped as I simply didn't see this step!
- Decorated with the ganche and topped the cake with homemade chocolate covered kunafe dates, chopped pistachios and edible rose petals
This was a great success!
Thank you so much for sharing this recipe.
Diana Rutherford says
I can’t wait to try this recipe, my son n law was raised in Dubai so Im hoping this will show him how much I appreciate him
Anonymous says
I can’t wait to try and make this for Thanksgiving, my son n law was raised in Dubai and I know he loves pistachios and hope he will know how much I appreciate him with this recipe
Jo says
When do I use the sugar oil, butter, and egg combination
Dannette Simpson says
Hi Gail
Can I use milk chocolate stead of Dark chocolate? Also the is it normal pistachio cream or sweet pistachio cream?
Kind regards
Dannette
Ashley says
I attempted to make this cake and it turned out pretty well for me. Thanks so much for sharing!
Jaffna says
Can I make the cake layers in advance.
Mylene says
Thanks for your recipe can't wait to try it out
Muthoni says
Hi Gail,
I love your chocolate cake it is absolutely delicious and it's a hit every time I bake it. Please advise , how I can sub the brown sugar if I want to use all white sugar ? How do I adjust the recipe in terms of moisture once I use all white without the brown.
Dalena says
Sounds amazing but it would be lovely to have the cups/spoons measurements.
Jas says
Hi. Like to ask how do you maintain the crispiness of the katayfi pastry? Mine seem to lose the crispiness after mixing with the katayfi