Hershey Bar Pie Recipe: Fudgy Layers and Creamy Swirl Bliss

Desserts

Hershey Bar Pie Recipe: Fudgy Layers and Creamy Swirl Bliss

This Hershey Bar Pie recipe delivers the ultimate combination of fudgy chocolate layers and creamy swirls that taste like a bite of your favorite candy bar. The secret lies in melting the chocolate bars properly and layering them with a velvety custard filling that sets just right.

After years of perfecting this classic dessert, I've developed a foolproof method that ensures every slice comes out rich, gooey, and irresistibly indulgent.

The recipe begins with a buttery, flaky crust that provides the perfect foundation for the chocolate filling. You'll use Hershey's milk chocolate bars (or your preferred variety) melted into a smooth, glossy mixture that spreads evenly.

The custard layer, made with eggs, sugar, and milk, swirls beautifully when combined with the melted chocolate, creating those signature marbled patterns that make this pie so visually appealing.

What you'll end up with is a pie that's creamy in the center with a fudgy chocolate crust at the bottom, all topped with a smooth chocolate ganache. The contrast of textures and flavors makes each bite unforgettable, and the aroma baking in the oven will have everyone gathering around.

This dessert is perfect for celebrations, holiday gatherings, or simply treating yourself to a decadent dessert.

With just 15 minutes of prep and 50 minutes of baking, you'll have a showstopping pie that looks and tastes like it came from a professional bakery. The recipe includes step-by-step instructions for melting the chocolate properly, assembling the layers, and achieving that perfect set without cracking.

Let's get started on creating your new favorite dessert!

👨‍🍳
Difficulty
Medium
🔥
Calories
Med Cal

Ingredients for hershey bar pie

Twelve ounces of chocolate magic, a velvety custard, and a buttery crust—this is your ultimate Hershey Bar Pie ingredient lineup.

Ingredient Amount Notes
Hershey's Milk Chocolate Bars 🍫 12 oz High-quality, not pre-shredded
All-Purpose Flour 🌾 2 ½ cups Sifted for flaky crust
Unsalted Butter 🧈 1 cup Cold, cubed for crust
Granulated Sugar 🍚 1 ½ cups For crust and filling
Large Eggs 🥚 4 whole Room temperature for custard
Whole Milk 🥛 2 cups Full-fat for creaminess
Cornstarch 🌾 ½ cup For smooth custard texture
Vanilla Extract 🌿 2 tsp Pure, high-quality
Diamond Crystal Kosher Salt 🧂 ½ tsp Adjust to taste
Heavy Whipping Cream 🥛 1 cup Full-fat for ganache
Light Corn Syrup 🍯 ¼ cup For glossy ganache
Dark Chocolate Chips 🍫 ½ cup Optional for extra fudginess
Semisweet Chocolate Chips 🍫 ½ cup Optional for variety

The chocolate is non-negotiable here. Hershey's Milk Chocolate Bars are the gold standard—they melt smoothly and deliver that classic candy bar flavor. If you're feeling adventurous, swap in Hershey's Special Dark for a richer twist, but stick with the milk chocolate for that nostalgic taste. For the crust, cold butter is key—it creates flaky layers that hold up to the rich filling. I always grab Land O'Lakes unsalted butter from the freezer section for the best results. The sugar? Domino brand works perfectly—just make sure it's granulated, not powdered. And don't skip the cornstarch in the custard—it's what gives that silky texture we're after.

No Hershey's bars? Ghirardelli squares or Lindt milk chocolate are fantastic substitutes—just chop them finely for even melting. Running low on vanilla? Almond extract at half the amount adds depth, though it'll taste different. The custard is where the magic happens, so don't cut corners. Eggs at room temperature blend smoother, and full-fat milk makes all the difference in creaminess. For the ganache, if you can't find light corn syrup, honey works in a pinch, though it'll add a subtle floral note. And if you're feeling extra decadent, those dark and semisweet chips on top? Total game-changer—they add crunch and extra chocolate layers that everyone will love.

This pie tastes even better the next day—trust me, I've tested it. Store leftovers in an airtight container in the fridge for up to 5 days, though I usually devour it within 48 hours. For the ganache topping, let it set at room temperature for 10 minutes before slicing—it'll hold its shape perfectly. Freezing? Not ideal, as the texture can get grainy, but you can freeze just the crust for 3 months if you're prepping ahead. And if you're making this for a crowd, double the recipe—it disappears faster than you'd think!

❤️

Why You'll Love This Recipe

  • No-Bake Magic: I swear by this one—just melt chocolate, mix in a few pantry staples, and pour. No oven, no fuss, and honestly? The only skill you need is patience (and maybe a microwave).
  • Rich Without Effort: That gooey chocolate layer? It’s pure Hershey’s bars melted into something decadent, but the crust—flour, butter, and sugar—adds this perfect crunch. It’s like dessert got a shortcut, but still tastes like you slaved over it.
  • Party or Pajamas: Between us, this pie is my secret weapon for both. Serve it warm at a potluck (it disappears fast) or grab a slice straight from the fridge when you’re too tired to bake. Same pie, two vibes.
  • Budget Bargain: I make this with ingredients I already have—no fancy chocolate, no weird ratios. A few bars, some butter, and eggs? That’s it. And the leftovers? They last days, which means fewer late-night takeout runs. Win.

Step-by-step instructions for Hershey bar pie recipe

Here's how to create that perfect balance of fudgy layers and velvety creaminess - every slice will be pure indulgence.

1

Prepare the Chocolate Crust

Preheat your oven to 375°F and line a 9-inch pie dish with parchment paper. In a microwave-safe bowl, melt the 12 oz Hershey's Milk Chocolate Bars in 30-second intervals, stirring between each, until completely smooth. Let it cool slightly but remain liquid.

In a separate bowl, combine the 2.5 cups All-Purpose Flour and 1.5 cups Granulated Sugar. Cut in the 1 cup Unsalted Butter using a pastry cutter or your fingers until the mixture resembles coarse crumbs. Pour the melted chocolate over the dry ingredients and mix until fully incorporated. Press this mixture firmly into the prepared pie dish, creating an even layer about ¼-inch thick. Here's the thing - don't worry if it looks uneven. The chocolate will help create that signature fudgy texture we're after.

Bake the crust for 10-12 minutes until it begins to set but still appears soft. Remove from the oven and let it cool completely. This preliminary baking ensures the crust holds its shape when we add the filling later. Real talk: If you skip this step, you'll end up with a soggy bottom - and nobody wants that.

2

Create the Creamy Chocolate Filling

In a medium saucepan, whisk together the 2 cups Whole Milk, 0.5 cup Cornstarch, and 0.5 tsp Diamond Crystal Kosher Salt until smooth. Cook over medium heat, stirring constantly, until the mixture thickens enough to coat the back of a spoon - about 5-7 minutes. Remove from heat and stir in the 2 tsp Vanilla Extract and 4 whole Large Eggs, one at a time, whisking vigorously after each addition.

Return the mixture to low heat and cook for another 3-4 minutes, stirring constantly, until it reaches 160°F. This temperature ensures a perfect custard consistency without scrambling the eggs. Immediately pour the hot filling over the cooled crust. Here's where the magic happens: The residual heat from the filling will help set the crust completely.

At this stage, you have two options for the chocolate chips. For a classic look, sprinkle 0.5 cup Dark Chocolate Chips evenly over the filling. For extra decadence, combine both 0.5 cup Dark Chocolate Chips and 0.5 cup Semisweet Chocolate Chips and distribute them. The chips will melt into the custard, creating those beautiful marbled swirls we all love.

3

Prepare the Ganache Topping

In a heatproof bowl, combine the 1 cup Heavy Whipping Cream and 0.25 cup Light Corn Syrup. Place this bowl over a pot of simmering water (double boiler method) and heat until the mixture reaches 180°F, stirring occasionally. Remove from heat and immediately pour over the 12 oz Hershey's Milk Chocolate Bars, chopped into small pieces. Let it sit for 2 minutes before stirring gently until completely smooth and glossy.

This ganache should be thick but pourable - if it's too thick, warm it gently over the double boiler for another 30 seconds. Pour the ganache evenly over the chocolate custard filling. Here's the crucial part: Use an offset spatula to create swirls in the ganache. Don't worry about making perfect patterns - the contrast between the smooth ganache and marbled filling is what makes this pie visually stunning.

4

Chill and Set

Refrigerate the pie for at least 6 hours, preferably overnight. This long chilling time is essential for developing that perfect texture contrast - a firm crust with a creamy, fudgy center. The pie will be fully set when the top ganache has a slight sheen and the center barely jiggles when shaken gently.

Before serving, let the pie sit at room temperature for 10-15 minutes. This brief warm-up makes the ganache more spreadable and the filling more inviting. Here's the moment that matters: When you cut into it, you should see those beautiful swirls of chocolate throughout the creamy filling. Each bite should deliver that perfect combination of rich chocolate flavor and velvety texture that keeps people coming back for seconds.

👨‍🍳

Pro Tips For Making Hershey Bar Pie

  • CHOP CHOCOLATE SMALL: Cut the Hershey bars into ½-inch cubes instead of chunks—this melts faster and more evenly in the filling. I learned this the hard way when my first batch had uneven pockets of unmelted chocolate that turned into weird, grainy textures.
  • USE ROOM-TEMP BUTTER: Let the butter sit out for 30 minutes before creaming it with sugar—this prevents a greasy mess and ensures a smoother custard. Cold butter fights you, and nobody has time for that.
  • BAKE UNTIL SET: Check doneness at 15 minutes, then bake until the center wobbles just slightly—about 165°F. Overbaking turns the filling into fudge, and underbaking leaves it too soft. Trust the thermometer, not your eyes.
  • SKIP THE EXTRA FLOUR: The crust needs just enough flour to hold together—don’t overwork it. Too much makes it tough, and the whole pie suffers. Press it firmly into the pan, but don’t stress perfection.

Flavor customization for these flavors

Classic Milk Chocolate

Stick with the original Hershey's Milk Chocolate Bars for that nostalgic candy bar flavor everyone loves. The 12 oz of chocolate creates a perfect balance between rich and creamy.

For an extra boost, add ½ cup dark chocolate chips to the filling before chilling—this adds depth and a subtle bitterness that contrasts beautifully with the milk chocolate. 🍫

Dark Chocolate Twist

Swap out the milk chocolate bars for Hershey's Special Dark to create a sophisticated variation. The higher cocoa content gives a deeper, more complex flavor profile. Pair it with ½ cup milk chocolate chips in the filling for a marbled effect that's visually stunning.

This version works especially well with a sprinkle of flaky sea salt on top before serving.

Peanut Butter Swirl

Add ½ cup creamy peanut butter to the custard filling for a Hershey's PB-inspired twist. The peanut butter swirls beautifully through the chocolate layers, creating pockets of nutty goodness.

For extra texture, sprinkle crushed peanuts on top before chilling. This variation is a crowd-pleaser that tastes like a Reese's Pieces dream come true.

Salted Caramel Layer

Drizzle ½ cup salted caramel sauce (homemade or store-bought) over the custard filling before adding the ganache. The caramel adds a buttery sweetness that pairs perfectly with the chocolate.

Top with flaky sea salt for a sophisticated finish. I recommend Trader Joe's salted caramel sauce for the best flavor without the hassle of making it from scratch.

Espresso Infusion

Boost the chocolate flavor with 1 tsp instant espresso powder mixed into the custard filling. The espresso enhances the chocolate's richness without overpowering it. Pair this with a dark chocolate ganache (using Hershey's Special Dark bars) for an adult-friendly twist.

This version is perfect for coffee lovers who want their dessert with a kick. ☕

Cookie Crumble Topping

Crush ½ cup Oreo cookies or chocolate sandwich cookies and sprinkle them over the ganache before chilling. The cookie crumbles add a delightful crunch that contrasts with the creamy filling.

For extra decadence, press a few whole cookies into the crust before baking. This variation is ideal for those who love texture in their desserts.

Nutrition facts

Servings 8
Amount Per Serving
Calories 580kcal
% Daily Value *
Total Fat 32g41%
Saturated Fat 20g100%
Cholesterol 120mg40%
Sodium 240mg10%
Total Carbohydrate 68g25%
Dietary Fiber 2g8%
Sugars 52g
Protein 8g16%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Can I use any type of chocolate bar for this pie?

The recipe calls for Hershey's Milk Chocolate Bars because they melt smoothly and deliver that classic candy bar flavor. However, you can substitute with Ghirardelli squares or Lindt milk chocolate for a similar result. For a richer taste, try Hershey's Special Dark bars, but expect a deeper, more intense chocolate flavor. The key is using high-quality chocolate that melts evenly.

2

Why does the crust need to bake before adding the filling?

Pre-baking the crust for 10-12 minutes prevents a soggy bottom when the hot filling is poured in. The crust sets enough to hold its shape while still remaining soft enough to blend with the chocolate layer. Skipping this step often leads to a crumbly or messy crust after chilling. Think of it as a "set the stage" moment for your pie's structure.

3

How do I fix lumps in my chocolate ganache?

If your ganache has lumps, gently reheat it over a double boiler until it reaches 160°F, stirring constantly. The heat will dissolve any remaining chocolate solids. For extra smoothness, strain the ganache through a fine-mesh sieve before pouring it over the pie. This ensures a silky, professional-looking finish.

4

Can I make this pie ahead of time?

This pie tastes even better after 6 hours or overnight in the fridge. The flavors meld and the textures set perfectly. Store leftovers in an airtight container for up to 5 days. Just let it sit at room temperature for 10-15 minutes before serving to soften the ganache slightly. The anticipation makes it even more delicious!

5

What's the secret to getting those pretty swirls in the ganache?

Use an offset spatula to drag the ganache in smooth, continuous strokes while the pie is still warm from the oven. Work quickly but gently to create the swirls. Don't worry about perfection—imperfect swirls still taste amazing! For extra drama, chill the pie for 2 hours before swirling, then finish with a final chill to set the pattern. The contrast between the smooth ganache and marbled filling is what makes this pie visually stunning.

★★★★★4.5(12 reviews)
Categories Desserts