Desserts
This Ali bean pie recipe delivers the perfect balance of flaky crust and rich, velvety cocoa-bean filling—inspired by traditional Middle Eastern desserts that have been cherished for generations.
The secret lies in the contrast between the crisp, golden pastry and the smooth, slightly sweet bean mixture, creating a texture that's both satisfying and elegant. I've perfected this recipe through years of baking, ensuring every slice delivers that signature harmony of flavors and textures.
The foundation of this pie is a classic shortcrust pastry, rolled out thin and baked to a delicate golden brown before being filled with the signature cocoa-bean mixture.
The filling itself is where the magic happens—a blend of cooked black beans, cocoa powder, and a touch of sweetness that transforms humble ingredients into something truly special. This dish is more than just dessert; it's a celebration of heritage and tradition, often served during festive occasions or family gatherings.
What makes this recipe truly stand out is how the flaky crust holds up against the dense, velvety filling, creating a pie that's both sturdy and satisfying. The cocoa-bean mixture is rich yet balanced, with just enough sweetness to complement the earthy notes of the beans.
Each bite offers a perfect contrast of textures and flavors, making this pie a showstopper for any dessert table.
Whether you're preparing it for a special occasion or simply craving a taste of tradition, this Ali bean pie is sure to impress.
The recipe is designed to be approachable yet refined, with step-by-step instructions that guide you through every stage—from preparing the pastry to baking the filling to achieving that perfect golden crust. Let's get started on creating this timeless dessert.
Ingredients for ali bean pie
Eight simple ingredients transform into a showstopping pie with flaky crust and velvety filling.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 ½ cups | Sifted for flaky crust |
| Cold Unsalted Butter 🧈 | 1 cup | Cubed, full-fat preferred |
| Ice Water 💧 | ¼ cup | Chilled for pastry |
| Granulated Sugar 🍚 | ½ cup | For crust sweetness |
| Large Egg Yolk 🥚 | 1 whole | For binding crust |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Canned Black Beans 🌱 | 2 cups | Drained, rinsed, cooked |
| Unsweetened Cocoa Powder 🍫 | ½ cup | High-quality Dutch-processed |
| Granulated Sugar 🍚 | 1 cup | For filling sweetness |
| Ground Cinnamon 🌿 | 1 tsp | Freshly ground preferred |
| Ground Nutmeg 🌿 | ¼ tsp | Freshly grated |
| Vanilla Extract 🌸 | 1 tsp | Pure alcohol-free preferred |
| Whole Milk 🥛 | ½ cup | Warmed for filling |
| Eggs 🥚 | 2 whole | For filling binding |
| Pinch 🧂 | 1 pinch | Salt for filling balance |
The crust is where the magic happens—cold butter and ice water create that signature flakiness. King Arthur flour or Gold Medal works best for a tender texture. If your butter isn't cold enough, the crust will turn tough. I always cut mine into small cubes and freeze it for 15 minutes before mixing. The egg yolk binds everything together, so don't skip it—it's what makes the crust shine golden and crisp. For extra richness, some bakers add a splash of vanilla extract to the dough, but it's totally optional if you're keeping things classic.
No Dutch-processed cocoa powder? Natural cocoa works too, but the filling will be slightly tangier. The beans should be rinsed well to remove any canned sodium—trust me, your pie will taste better. Short on milk? Coconut milk adds a lovely depth, though it changes the texture slightly. The spices are non-negotiable though—freshly ground cinnamon and nutmeg make all the difference. If you can't find vanilla extract, a vanilla bean scraped into the filling gives that same luxurious touch. And if you're feeling fancy, a pinch of cardamom adds a Middle Eastern flair that pairs beautifully with the cocoa.
This pie tastes even better the next day—3-4 days in the fridge, sealed tightly. For serving, I like to dust with powdered sugar right before cutting. Freezes beautifully too—up to 3 months if wrapped in parchment and foil. Just let it thaw at room temperature before serving. The crust stays crisp if you reheat slices in a 350°F oven for 5-7 minutes. Leftovers? Perfect for breakfast toast—just warm and slice!
Why You'll Love This Recipe
- No Butter Waste: I swear by this crust—every last cube of that cold butter gets used, no scraps left behind. The flaky layers? Pure magic from just flour, ice water, and a food processor. (Yes, even if you’re not a baker.)
- Sweet-Savory Magic: That sugar in the crust isn’t just for show—it caramelizes just enough to balance the earthy beans, while the egg yolk ties it all together. Honestly? It’s the kind of dessert that sneaks up on you as something way better than pie.
- Make-Ahead Hero: Bake it ahead, freeze it, reheat it—this thing holds up like a champ. I’ve served it cold from the fridge on a hot day, warmed it in the oven for company, and even packed slices for lunch. (My kids still ask for it.)
- Pantry Staple Crust: No weird ingredients, no last-minute store runs. Flour, butter, sugar—stuff you already have. Between us, I’ve made this crust at least 20 times, and it’s never let me down. Budget-friendly? Absolutely. Reliable? Even more so.
Step-by-step instructions for Ali's bean pie recipe
Here's how to create the perfect balance of flaky crust and rich cocoa-bean filling.
Make the Flaky Crust
In a large bowl, combine the 2.5 cups all-purpose flour and 0.5 teaspoon salt. Cut in the 1 cup cold unsalted butter using a pastry cutter or your fingers until the mixture resembles coarse crumbs with pea-sized butter pieces. This texture is crucial for achieving that signature flaky crust.
Add the 0.5 cup granulated sugar and the 1 whole large egg yolk, then sprinkle in the 0.25 cup ice water while gently mixing with a fork. The dough should come together but remain slightly crumbly—this ensures proper layering when rolled out. Form the dough into a disk, wrap in plastic, and refrigerate for at least 1 hour to firm up.
Prepare the Velvety Filling
In a medium saucepan, combine the 2 cups canned black beans, 0.5 cup unsweetened cocoa powder, 1 cup granulated sugar, 1 teaspoon ground cinnamon, 0.25 teaspoon ground nutmeg, and 1 teaspoon vanilla extract. Stir over medium-low heat for 5 minutes until the mixture begins to thicken and the flavors meld together.
Remove from heat and stir in the 0.5 cup warmed whole milk and 2 whole eggs. Add a pinch of salt to balance the sweetness. The filling should be smooth and thick enough to coat the back of a spoon—this consistency ensures a perfect set when baked. Let it cool completely before assembling the pie.
Assemble and Bake the Pie
Preheat your oven to 375°F. Roll out the chilled crust dough on a floured surface to fit a 9-inch pie dish, leaving a 1-inch overhang on all sides. Transfer the dough to the pie dish and trim the edges, leaving the overhang intact. This will create a decorative crust after baking.
Pour the cooled filling into the prepared crust, spreading it evenly. Fold the overhang under itself to seal the edges, then crimp decoratively. Cut a few small slits in the top crust to allow steam to escape during baking. Bake for 45-50 minutes until the crust is golden brown and the filling is set but still slightly jiggly in the center.
Finish and Serve
Remove the pie from the oven and let it cool on a wire rack for at least 2 hours before slicing. This resting period allows the filling to fully set and the flavors to develop. The crust should be crisp and flaky, while the filling will be rich, velvety, and perfectly balanced between sweet and slightly earthy from the cocoa.
Slice into wedges and serve warm or at room temperature. The contrast between the flaky crust and the smooth, cocoa-infused bean filling makes this pie truly special. Store any leftovers in the refrigerator for up to 3 days or freeze for longer storage.
Pro Tips For Making Ali Bean Pie
- Cut Butter in Pulses: Use your food processor or pastry cutter in short bursts—no more than 3-4 seconds at a time—until the butter resembles coarse cornmeal. Overworking turns it into butter grease, and your crust will end up greasy instead of flaky. I learned this the hard way when my first batch turned out more like a biscuit than a pie.
- Weigh Your Flour: Scoop and level your all-purpose flour into the cup, then weigh it—250g, not "a cup." Flour packed down varies wildly, and your crust’s texture will suffer if it’s too dense. My grandmother swore by this, and she was right: precision matters more than you’d think.
- Chill the Dough Twice: Wrap the dough in plastic and refrigerate for 30 minutes before rolling it out, then chill the rolled crust for another 15 minutes on a tray. This prevents shrinking and guarantees a crisp, even bake—no soggy bottoms or uneven edges. Yes, even if you’re impatient like me.
- Egg Yolk Trick: Whisk the large egg yolk with 1 tablespoon of ice water before brushing it on the crust. The extra moisture seals the layers better and gives that golden, glossy finish without making the filling too wet. I was skeptical until I tried it—now it’s non-negotiable.
Creative variations of this recipe
Middle Eastern Twist
For a more authentic Middle Eastern flavor, swap the vanilla extract for 1 teaspoon rose water or ½ teaspoon orange blossom water. These floral notes are traditional in many regional bean desserts and add a delicate, aromatic depth.
Pair it with ½ teaspoon ground cardamom in the filling for a fragrant, spiced profile reminiscent of Persian or Turkish sweets. 🌸
Chocolate Chip Swirl
Add a playful twist by folding ½ cup chocolate chips into the filling before baking. For a marbled effect, drop spoonfuls of melted chocolate into the bean mixture and swirl gently with a knife.
This creates pockets of rich chocolate throughout each slice. I like using Enjoy Life chocolate chips for a dairy-free option that still melts beautifully. 🍫
Spiced Rum Version
Infuse the filling with warmth by adding 1 tablespoon spiced rum (like Captain Morgan) along with the vanilla extract. Simmer the bean mixture for an extra 2 minutes to let the alcohol cook off, leaving behind a subtle caramelized depth.
Top with a sprinkle of toasted coconut flakes before baking for added texture. This version feels especially cozy during holiday gatherings. 🔥
Nutty Crunch Topping
Before baking, sprinkle the top of the pie with ½ cup chopped toasted walnuts or pecans for a delightful crunch. Toast the nuts in a dry pan over medium heat for 3-4 minutes until fragrant, then sprinkle evenly over the filling.
The nuts add a satisfying bite that contrasts perfectly with the creamy filling. For extra richness, drizzle with melted white chocolate after cooling. 🌰
Lemon Zest Brightness
Cut through the richness with 1 tablespoon lemon zest mixed into the filling. The bright citrus notes complement the cocoa and spices beautifully. I also add 1 teaspoon lemon juice to the crust dough for a subtle tang that enhances the flakiness.
This variation works especially well if you prefer a lighter, more refreshing dessert. 🍋
Coconut Milk Adaptation
For a dairy-free version, replace the milk with ½ cup full-fat coconut milk and use ½ cup coconut cream instead of eggs in the filling. The coconut adds a tropical richness that pairs wonderfully with the cocoa.
Garnish with toasted coconut flakes before serving for a cohesive, plant-based treat. This version is perfect for those with dietary restrictions but still delivers on flavor. 🥥
Nutrition facts
Frequently asked questions
Can I use fresh beans instead of canned in this recipe?
Fresh beans work, but they require extra prep time. Cook 1.5 cups dried black beans with garlic, onion, and bay leaf until tender (about 1.5 hours), then mash slightly for the filling. Drain well to avoid excess moisture in your pie. Canned beans are more convenient since they're pre-cooked and rinsed.
Why does my crust turn out tough instead of flaky?
Tough crust usually means the butter wasn't cold enough or the dough was overworked. Keep your butter frozen while cutting into flour, and handle the dough minimally. Chill the dough at least 1 hour before rolling, and avoid pressing it too much when shaping. Cold butter creates steam during baking, which creates those signature flaky layers.
How can I make this pie ahead of time?
This pie actually tastes better the next day! Assemble and bake it 1 day ahead, then store it in an airtight container at room temperature. For longer storage, refrigerate for up to 3 days or freeze for 3 months. Thaw overnight in the fridge before serving. The flavors meld beautifully during resting time.
Can I substitute cocoa powder with chocolate?
You can, but the texture will differ. For ½ cup cocoa powder, use ½ cup unsweetened baking chocolate (melted and strained) or ½ cup dark chocolate chips (melted). The filling will be richer but slightly denser. Reduce the sugar by 1 tablespoon since chocolate is sweeter. For best results, stick with cocoa powder for that classic velvety texture.
What's the best way to serve this pie?
Serve warm or at room temperature with a dollop of whipped cream or vanilla ice cream for contrast. For a traditional touch, dust with powdered sugar or garnish with toasted nuts. It pairs beautifully with chai tea or espresso. The rich cocoa filling makes it a perfect dessert for special occasions or holiday gatherings.
