Desserts
This Hershey Bar Pie recipe delivers the ultimate chocolate dessert with rich, fudgy layers that stay perfectly moist and never crack.
After years of testing, I've perfected a foolproof method that combines a buttery crust with a velvety chocolate filling infused with crushed Hershey bars—creating a texture that's dangerously close to restaurant-quality.
The secret lies in a two-stage baking process: first, a partially baked crust prevents sogginess, while the filling cooks just long enough to set without drying out. I also use a cornstarch slurry to thicken the filling, ensuring that signature creamy consistency that makes this pie irresistible.
No one will believe this came from your kitchen.
What you'll end up with is a pie that looks stunning with its glossy chocolate top and golden crust, yet stays perfectly set without that dreaded crack.
Each slice delivers a perfect balance of crisp crust, rich chocolate filling, and bursts of melted Hershey bar pieces—every bite is pure indulgence without being overly sweet.
Perfect for holidays, potlucks, or satisfying chocolate cravings, this recipe makes two 9-inch pies. The crust is simple, the filling foolproof, and the results always impressive. Let's get baking!
Ingredients for hershey bar pie
Buttery crust meets velvety chocolate filling—this pie delivers restaurant-quality indulgence without the crack.
| Ingredient | Amount | Notes |
|---|---|---|
| Unsalted Butter 🧈 | 2 ½ cups | Cold, cubed for crust |
| All-Purpose Flour 🌾 | 2 cups | Sifted, plus extra for dusting |
| Granulated Sugar 🍚 | ¼ cup | For crust sweetness |
| Kosher Salt 🧂 | ½ tsp | Fine grain preferred |
| Large Egg 🥚 | 1 whole | Cold, for binding |
| Hershey Milk Chocolate Bars 🍫 | 12 oz | Semi-sweet, chopped fine |
| Heavy Cream 🥛 | 1 ½ cups | Full-fat for richness |
| Granulated Sugar 🍚 | 1 ½ cups | For filling sweetness |
| Cornstarch 🌾 | ¼ cup | For smooth filling |
| Vanilla Extract 🌸 | 1 tbsp | Pure, high-quality |
| Kosher Salt 🧂 | ¼ tsp | For filling balance |
| Large Egg Yolk 🥚 | 1 whole | For filling richness |
| Semisweet Chocolate Chips 🍫 | ½ cup | Extra chocolate bursts |
The butter matters most here—use European-style unsalted butter (like Plugrá) for that melt-in-your-mouth crust. If your store doesn't carry it, Land O'Lakes or ButterBerkshire are solid backups. Keep everything cold until mixing to prevent a tough crust. The flour? King Arthur or Gold Medal brands stay consistent. For the chocolate, Hershey's Special Dark or Milk Chocolate Bars are non-negotiable—they melt perfectly and deliver that signature Hershey flavor. Pro tip: chop the chocolate bars into pea-sized pieces for even distribution in the filling.
No Hershey bars? Substitute with 10 oz of high-quality milk chocolate bars (like Ghirardelli), but expect slightly less Hershey flavor. Running low on heavy cream? Full-fat coconut cream works (though it'll taste coconutty). The cornstarch slurry is key—it gives that signature creamy texture. If you don't have cornstarch, arrowroot powder at half the amount gets you close. For the crust, if you're short on butter, shortening works but lacks flavor. And if you're making this ahead, pre-bake the crust fully and store it wrapped at room temp for up to 2 days before adding filling.
This pie keeps beautifully—3 days at room temperature covered loosely, or 1 week refrigerated in an airtight container. For make-ahead genius, assemble the pie completely (unbaked) and refrigerate for up to 24 hours before baking. The filling reheats well, so you can even freeze the fully baked pie for 3 months—just thaw overnight in the fridge before serving. Slice it thick for that perfect ratio of crust to filling, and always serve with a dollop of whipped cream or a scoop of vanilla ice cream for maximum indulgence.
Why You'll Love This Recipe
- No-Fuss Assembly: I swear, this pie comes together faster than you can melt butter. Just mix the flour, sugar, and butter until it’s crumbly—no rolling required—and press it into the pan. Honestly, my kids think it’s a fun "cookie dough" step before baking.
- Rich Chocolate Magic: That Hershey’s bar flavor? It’s next-level—the sugar crust caramelizes into a buttery blanket, while the melted chocolate layer stays gooey. Between us, I’ve never met a pie that delivers that crispy-meets-creamy combo without fuss.
- Party-Ready Crowd-Pleaser: Serve it warm with vanilla ice cream, and suddenly you’re the hero of potlucks, birthdays, or even a lazy Sunday. I’ve brought this to book clubs and holiday gatherings—no one ever guesses how simple it is to make.
- Budget-Friendly Leftovers: A single pie feeds six, and the leftovers? Just as good cold the next day. I keep the recipe in my back pocket because it’s cheap (thanks to pantry staples) and turns into breakfast pastries or dessert in a flash. Zero waste, all win.
Step-by-step instructions for Hershey bar pie recipe
Here's the foolproof method for a rich, fudgy Hershey Bar pie with a perfect crust and no cracks.
Create the Ultimate Chocolate Crust
In a food processor, pulse the 2.5 cups unsalted butter (cold and cubed) with the 2 cups all-purpose flour, 0.25 cup granulated sugar, and 0.5 teaspoon kosher salt until the mixture resembles coarse crumbs with pea-sized butter pieces. Avoid over-processing or the crust will become tough.
Transfer the mixture to a 9-inch pie dish and press firmly into the bottom and up the sides using your fingers and a flat-bottomed glass. The crust should be about ¼-inch thick and evenly distributed. Chill in the refrigerator for 30 minutes while you prepare the filling. This cold rest prevents shrinking during baking and ensures a sturdy base.
Prepare the Fudgy Chocolate Filling
In a medium saucepan, combine the 12 ounces chopped Hershey milk chocolate bars, 1.5 cups heavy cream, 1.5 cups granulated sugar, 0.25 cup cornstarch, 1 tablespoon vanilla extract, and 0.25 teaspoon kosher salt. Whisk vigorously to ensure all the chocolate is melted and the sugar is fully incorporated.
Cook over medium heat, stirring constantly with a wooden spoon, until the mixture thickens enough to coat the back of the spoon (about 8-10 minutes). The filling should reach 210°F on a candy thermometer and have a smooth, pudding-like consistency. Remove from heat immediately to prevent over-thickening.
Assemble and Bake the Pie
Preheat your oven to 350°F. Pour the warm chocolate filling into the chilled crust, spreading it evenly with a spatula. Fold in the 0.5 cup semisweet chocolate chips by hand, distributing them throughout the filling for pockets of extra chocolate. Gently tap the pie dish on the counter to release any air bubbles.
Bake for 45-50 minutes until the filling is set but still slightly jiggly in the center. A toothpick inserted should come out with moist crumbs, not liquid. The edges should be golden brown but the center should remain fudgy. If the crust begins to darken too quickly, tent loosely with aluminum foil.
Finish with the Signature Egg Yolk Topping
While the pie bakes, beat the 1 whole large egg yolk in a small bowl. As soon as the pie comes out of the oven, brush the warm filling with the egg yolk mixture using the back of a spoon. Return the pie to the oven for 5-7 minutes to set the glaze, watching closely to prevent over-browning.
Remove from the oven and let cool completely at room temperature before slicing. The pie needs time for the filling to fully set and develop its signature fudgy texture. For best results, refrigerate for at least 4 hours before serving to allow flavors to meld and the chocolate to firm up slightly. This patience ensures clean slices and maximum chocolate satisfaction.
Pro Tips For Making Hershey Bar Pie
- Chill the Dough: After mixing your crust dough, pop it in the fridge for at least 30 minutes—even if you’re eager to bake. I used to skip this and end up with a soggy bottom because the butter didn’t set properly. Cold dough = crispy crust, no excuses.
- Whisk the Egg: Beat that large egg until it’s fully emulsified before adding it to the filling. I learned this the hard way when my pie filling curdled mid-bake. A few extra seconds with a fork makes all the difference.
- Skip the Overmixing: The moment your flour-butter mixture holds together, stop stirring. Overworking it turns the crust into tough, dense dough. Press it gently into the pan—no need to force it.
- Preheat the Pan: Place your pie dish in the oven while it preheats to 375°F (190°C). This ensures the crust starts baking immediately and doesn’t absorb moisture from a cold pan. Trust me, this keeps the bottom from getting gummy.
Perfect pairings for this dish
Classic Whipped Cream
No chocolate pie is complete without a cloud of whipped cream on top. I like using Cool Whip for its instant convenience, but for homemade, whip 1 cup heavy cream with 2 tablespoons powdered sugar and 1 teaspoon vanilla extract until stiff peaks form.
The cool, light texture contrasts perfectly with the warm, fudgy filling. 🥛
Vanilla Bean Ice Cream
A scoop of vanilla ice cream elevates this pie to next-level decadence. For store-bought, Blue Bell or Breyers vanilla bean are my go-tos—their creamy texture melts beautifully against the chocolate.
If you're feeling ambitious, make your own with 2 cups heavy cream, 1 cup whole milk, 1 cup sugar, and 2 vanilla beans, churned until smooth. Serve immediately after slicing for that classic pie-and-ice-cream combo. 🍦
Chocolate Ganache Drizzle
For a restaurant-worthy finish, drizzle the pie with chocolate ganache before serving. Heat ½ cup heavy cream with 6 ounces chopped dark chocolate until smooth, then let cool slightly before drizzling.
I use Ghirardelli 60% dark chocolate for its rich, bittersweet balance. The ganache adds a glossy sheen and extra chocolatey depth—perfect for sharing slices. 🍫
Caramel Sauce Swirl
Add a sweet contrast with a salted caramel swirl. Warm 1 cup heavy cream with 1 cup sugar and ¼ cup butter until caramelized, then whisk in 2 tablespoons corn syrup and ½ teaspoon flaky salt.
Drizzle over slices or spoon alongside for dipping. The saltiness cuts through the chocolate, making every bite more complex. 🍯
Crushed Peppermint Topping
For a festive twist, sprinkle crushed candy canes or peppermint candies on top of the pie. The cool mint flavor refreshes the rich chocolate, making it a crowd-pleaser during the holidays.
I use Candy Cane Mint Candy from Brach’s for its bright, crisp texture. Just add 2 tablespoons right before serving. ❄️
Warm Cinnamon Whisk
Stir a pinch of ground cinnamon into a whisk of warm cream and drizzle over the pie for a cozy, spiced note. The cinnamon enhances the chocolate’s warmth without overpowering it.
I mix 1 teaspoon cinnamon with ¼ cup warm heavy cream and 1 teaspoon honey for a subtle, aromatic finish. 🌿
Nutrition facts
Frequently asked questions
Why does this Hershey Bar pie recipe use a two-stage baking process?
The two-stage baking ensures a perfect texture: first baking the crust partially prevents sogginess, while the second stage with the egg yolk glaze creates that signature glossy finish. This method also prevents cracking by letting the filling set gradually. The egg yolk adds shine and richness without drying out the filling.
Can I make this pie ahead of time?
This pie keeps beautifully for 3 days at room temperature or 1 week refrigerated. For make-ahead genius, assemble the pie completely (unbaked) and refrigerate for up to 24 hours before baking. You can even freeze the fully baked pie for 3 months—just thaw overnight in the fridge before serving.
What's the secret to preventing cracks in the filling?
Use the cornstarch slurry to thicken the filling properly, and avoid overbaking. The egg yolk glaze helps too—brush it on when the pie first comes out of the oven, then return for just 5-7 minutes to set. Also, let the pie cool completely before slicing to prevent filling from sliding out.
Can I substitute regular chocolate bars for Hershey bars?
You can use 10 oz of high-quality milk chocolate bars like Ghirardelli, but expect slightly less Hershey flavor. The key is using semi-sweet chocolate—avoid dark chocolate over 60% cocoa, as it can make the filling too bitter. For best results, stick with the original recipe for that classic Hershey taste.
How do I know when the pie is fully set?
The filling should be slightly jiggly in the center when done (about 45-50 minutes at 350°F). A toothpick inserted should come out with moist crumbs, not liquid. If it's too runny, bake 5 more minutes. The edges should be golden brown, but the center should remain fudgy—this ensures maximum chocolate satisfaction!
