The first time I set a tray of Chocolate Pistachio Barfi on our Diwali table, my daughter went straight for the dark chocolate layer and left the green pistachio squares for last. That is how I knew this recipe was a keeper: it looks like something from the mithai shop, but it comes together in one pan plus a quick syrup pan, without khoya or hours of stirring.
Chocolate pistachio barfi is a two-layer Indian sweet. The bottom is crumbly, nutty pistachio barfi made with freshly ground toasted pistachios. The top is the same milk-powder base spiked with cocoa powder, set while the first layer is still soft. Every square has that melt-in-the-mouth mithai texture I grew up chasing at festivals, with a chocolate finish that feels modern without being fussy.
If you have a square baking tray, full-fat milk powder, and about twenty-five minutes at the stove, we can make this together. Toast the pistachios first, keep the heat low when you roast the milk powder, and work quickly once you add cocoa to the top layer. I will walk you through the cues so you know when the mixture is ready to set.

What Is Barfi?
Barfi (sometimes spelled burfi) is a classic Indian milk fudge. Home versions often use milk powder cooked with milk, cream, and sugar until the mixture thickens into a mass that pulls away from the pan. The texture should be dry and crumbly, not sticky like halwa.
This recipe is a flavoured twist on plain white barfi: one batch of base, split into two layers. The pistachio layer gets coarsely ground nuts and cardamom. The chocolate layer gets cocoa powder only (no melted chocolate bar on top), which keeps cutting clean and the flavour deep rather than sweet-shop glossy.
For other sweets on the same platter, I like pairing barfi with easy rice kheer with millet swaps or chilled easy mango shrikhand so guests have something spoonable next to fudge squares. Kesar badam chia pudding is another make-ahead option when I want something chilled beside rich mithai.
Why You’ll Love This Recipe
- Two layers, one base. You cook the milk-powder mixture once, then split it for pistachio and chocolate. Less washing up than making two separate batches.
- Real pistachios, not paste. Toasted and coarsely ground nuts give colour and flaky texture without a heavy pistachio cream.
- About 25 minutes active time. Setting takes a few hours, but the stove work is short.
- Gift-ready squares. Cuts neatly from a 20 cm tray; garnish with pistachio slivers, rose petals, or edible silver for festivals.
- Festive-friendly. Works for Diwali, Holi, Raksha Bandhan, Eid, or any time you want a homemade mithai that still looks impressive.
- Pantry-forward. Milk powder, cocoa, and nuts are easy to find at Indian grocery stores and many supermarkets.
Perfect for Festival Platters
This sits in our Festival & Seasonal lane with a light Global Fusion angle: traditional barfi technique, chocolate layer for guests who reach for cocoa first. I pack these in parchment-lined boxes for neighbours and keep a few squares in the fridge for chai breaks after savory snacks like mixed veg cutlet or vegetable pakora. For another layered Indian dessert that feels special without long stove time, motichoor rabri parfait is a favourite when I am hosting.
Pro tip: The first time I paused too long after stirring cocoa into the top layer, it stiffened in the bowl and did not spread as smoothly. Have your tray ready, spread the pistachio layer first, then mix cocoa into the warm remaining portion and pour immediately.
Tips for Perfect Chocolate Pistachio Barfi
- Toast pistachios gently. Two to three minutes on low heat until aromatic; do not let them brown or the green colour dulls.
- Roast milk powder in ghee on the lowest heat. You want a gentle aroma, not colour change. Burnt milk powder tastes bitter.
- Simmer the milk-cream-sugar syrup until it thickens slightly before adding milk powder. Thin syrup makes a longer cook to reach the right mass.
- Split roughly two-thirds for pistachio, one-third for chocolate. Reserve about a quarter to a third of the warm base for the cocoa top layer.
- Grease or line a 20 × 20 cm square tray so release is easy after setting.
- Wash and dry your knife between cuts. Rinse the blade in cold water, wipe dry, then cut the next square for clean edges.


Chocolate Pistachio Barfi
Ingredients
For the pistachio layer
- 200 g raw unsalted pistachios about 1½ cups; shelled
- ¼ teaspoon ground cardamom
- Pinch ground nutmeg (optional)
For the barfi base
- 575 g full-fat milk powder about 4½ cups; Nestlé Nido or Indian grocery brands work well
- 300 ml whole milk about 1¼ cups
- 300 ml double cream or heavy cream about 1¼ cups
- 200 g granulated sugar about 1 cup
- 2 tablespoons ghee
For the chocolate layer
- 3 tablespoons unsweetened cocoa powder 100% cocoa
For decoration (optional)
- Edible silver or gold leaf
- 2 tablespoons slivered pistachios
- Edible dried rose petals
Instructions
Prep pistachios and tray
- Toast pistachios in a dry pan over low heat 2 to 3 minutes until fragrant. Do not let colour darken. Cool slightly, then grind coarsely in a food processor or spice grinder. Set aside.
- Grease a 20 × 20 cm square tray with neutral oil or line with parchment paper. Set aside.
Roast milk powder
- In a wide pan, melt ghee over the lowest heat. Add milk powder and stir constantly 2 to 3 minutes until you smell a gentle roasted aroma. Do not let the powder brown. Transfer to a bowl if your pan is small.
Make the syrup and barfi mass
- In a second pan, combine whole milk, cream, and sugar. Bring to a boil, then reduce heat and simmer gently until the liquid thickens slightly (a few minutes).
- Add the roasted milk powder to the syrup. Cook on low, stirring often, until the mixture forms a thick mass and starts leaving the sides of the pan.
Layer and set
- Remove about one-quarter to one-third of the warm mixture to a separate bowl for the chocolate layer.
- To the larger portion, add ground pistachios, cardamom, and nutmeg if using. Mix quickly and spread evenly into the prepared tray. Smooth with a spatula.
- Working quickly, sift or stir cocoa powder into the reserved warm portion until no dry streaks remain. Spread over the pistachio layer and smooth the top.
- Let set at room temperature 3 to 4 hours until firm enough to cut (or refrigerate once cool to speed up setting).
Cut and garnish
- Run a knife around the edges if needed. Cut into equal squares with a sharp knife, washing and drying the blade between cuts for clean edges.
- Garnish with slivered pistachios, rose petals, and edible silver or gold leaf if desired. Store covered.
Notes

FAQs
Can I use pistachio paste instead of ground nuts?
The recipe is written for coarsely ground toasted pistachios so the layer stays crumbly and not overly rich. Paste versions can taste cloying and heavy. If you only have paste, use a smaller amount (about half by weight) and expect a denser layer.
My pistachio layer is not bright green. What can I do?
Colour depends on the nuts. Fresh, vivid pistachios give the best green without additives. If yours are pale, stir in a tiny drop of green food colour into the pistachio portion just before you spread it in the tray.
Can I make this ahead for Diwali?
Yes. Make the barfi up to 3 days ahead, store in an airtight container in the refrigerator, and garnish the day you serve. Cut squares after the slab is fully set so edges stay neat.
Why did my chocolate layer crack or look dry on top?
The top layer stiffens as it cools. Spread it while still warm and workable. If the reserved portion cooled too much, warm the bowl over a pan of hot water for a minute, stir, then spread immediately.
How do I store leftovers?
Stack squares with parchment between layers in an airtight container. Refrigerate up to 1 week. Barfi firms when cold; let pieces sit at room temperature briefly before eating.
Can I swap another nut for pistachio?
Almonds or cashews can work with the same toast-and-grind method, but flavour and colour will change. Adjust cardamom to taste. Chocolate layer stays the same.
If you try this chocolate pistachio barfi, leave a comment and tell me: do you go for the pistachio layer first or the chocolate on top? Save this for your next festival tray, and tag me when you cut the first square.
Made this? Share a photo and tag @petitepaprika on Instagram. I love seeing your kitchen creations!
